In cocoon.xonf
<datasources>
               <j2ee name= "myDb2connection">
                           <dbname>mydatasourcename</dbname>
                </j2ee>
</datasources>
 
Where as mydatasourcename is the datasource created at Websphere Application Server 4.0 with jndi name jdbc/mydatasourcename connecting to DB2 on As400.
 
Using this (myDb2connection) within XSP for database connectivity
I am getting below error
javax.naming.NameNotFoundException: Name comp/env/jdbc not found in context "java:".
Any help is appreciated.
Thanks!
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to