Bruno,
Remove java:comp/env from your datasource name in sqlmapconfig and
data-sources.XML
Richard
Sent from my iPhone
On Mar 16, 2010, at 4:08 AM, 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 previ
ously
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 lo
g 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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org