Did you try writing a quick pure java test to see if it's the jndi config or something else?
On 2010-03-16, phasor <bruno.fernandesbr...@gmail.com> wrote: > > Hi, > > I´m facing a problem when deploying an extjs app(using ibatis plugin) to > oracle application server 10. > In sqlmapconfig.xml i´m referencing a jndi datasource that was previously > created on AS adding the following configuration to the file: > > <transactionManager type="JDBC"> > <dataSource type="JNDI"> > <property name="DataSource" > value="java:comp/env/jdbc/CotacoesDS"/> > </dataSource> > </transactionManager> > > After deploy the app don´t recognize the datasource showing this log file > error: > > Caused by: java.lang.RuntimeException: Error parsing XPath > '/sqlMapConfig/transactionManager/dataSource/end()'. Cause: > com.ibatis.sqlmap.client.SqlMapException: There was an error configuring > JndiDataSourceTransactionPool. Cause: javax.naming.NamingException: > Error instantiating web-app JNDI-context: Error creating context: > jdbc/CotacoesDS not found > > > Any ideias? > > thanks in advance > > > > > > > -- > View this message in context: > http://old.nabble.com/Datasource-JNDI-tp27916153p27916153.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org > For additional commands, e-mail: user-java-h...@ibatis.apache.org > > -- Sent from my mobile device --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org