cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandeep singh <cocoondevelo...@yahoo.com>
Subject websphere studio and j2ee datasource
Date Fri, 18 Jun 2004 19:47:32 GMT
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 
Mime
View raw message