You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by sandeep singh <co...@yahoo.com> on 2004/06/18 21:47:32 UTC

websphere studio and j2ee datasource

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