ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phasor <bruno.fernandesbr...@gmail.com>
Subject Datasource JNDI
Date Tue, 16 Mar 2010 11:08:51 GMT

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-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message