ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Engel, Gregory A" <GAEn...@Tribune.com>
Subject Configuring Data source in Orion
Date Wed, 22 Feb 2006 21:16:52 GMT
Hi all

I'm using Orion app server. My Datasource is configured as follows...

<data-source
  name="oraclePooled"
  location="jdbc/9i/webservices"
  ejb-location="jdbc/9i/webservicesEJB"
  xa-location="jdbc/9i/webservicesXA"
  class="oracle.jdbc.pool.OracleConnectionCacheImpl"
  max-connections="25"
  min-connections="1"
  inactivity-timeout="6000"
  wait-timeout="5"
  username="username"
  password="password"
  url="jdbc:oracle:thin:@server.my.place:1526:database"
  schema="database-schemas/oracle.xml" >
  <property name="explicitCachingEnabled" value="true"/>
  <property name="implicitCachingEnabled" value="true"/>
  <property name="maxLimit" value="25"/>
  <property name="minLimit" value="1"/>
  <!-- value of 1 for OracleConnectionCacheImpl.DYNAMIC_SCHEME -->
  <property name="cacheScheme" value="1"/>
 </data-source>

In my SqlMapConfig I have

<transactionManager type="JDBC" >
 <dataSource type="JNDI">
  <property name="DataSource" value="java:comp/env/jdbc/9i/webservices"/>
 </dataSource>
</transactionManager>

When I create my sql maps client I get...

Caused by:
javax.naming.NameNotFoundException: jdbc/9i/webservices not found in
CustomerApp
/TMS Customer App, there are no bound values
        at com.evermind._ik.lookup(Unknown Source)
        at com.evermind._au._rv(Unknown Source)
        at com.evermind._au.lookup(Unknown Source)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at
com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initialize(
JndiDataSourceFactory.java:48)
        at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$10.process(Sq
lMapConfigParser.java:306)
        at
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java
:112)
        at
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:96)
        at
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:93)
        at
com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:93)
        at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:63)
        at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51)


Anybody worked with orion before that knows how to config this stuff?

Thanks
Greg

Mime
View raw message