> DataSource ds = (DataSource)ctxt.lookup("java:DB2DS");
Change the lookup to "java:comp/env/DB2DS"
Assuming you have everything else set up correctly, that should work.
r.kalaimathi@gmail.com - 03 Nov 2006 15:42 GMT
> > DataSource ds = (DataSource)ctxt.lookup("java:DB2DS");
>
> Change the lookup to "java:comp/env/DB2DS"
>
> Assuming you have everything else set up correctly, that should work.
thanks for ur reply...
even now im getting the same error..
i changed the jboss-web.xml and web.xml in the folder
jboss-4.0.5\server\default\deploy\management\console-mgr.sar\web-console.war\WEB-INF
and db2-ds.xml in jboss-4.0.5\server\default\deploy as i mentioned
previously...is it correct to change in the jboss server folder.
is it possible to configure the connection pooling and jndi mapping as
we are doing in WAS 6.0
plz give me the solution and steps to do this.
r.kalaimathi@gmail.com - 03 Nov 2006 15:46 GMT
> > DataSource ds = (DataSource)ctxt.lookup("java:DB2DS");
>
> Change the lookup to "java:comp/env/DB2DS"
>
> Assuming you have everything else set up correctly, that should work.
im using jdk1.5,jboss4.0.5 and eclipse 3.2.
r.kalaimathi@gmail.com - 06 Nov 2006 14:02 GMT
> > > DataSource ds = (DataSource)ctxt.lookup("java:DB2DS");
> >
[quoted text clipped - 3 lines]
>
> im using jdk1.5,jboss4.0.5 and eclipse 3.2.
this mapping is working in jsp file but it is not working in standalone
application and servlet ..
how to create Remote jndi lookup...
will you plz me the solution.
thanks and regards,
kalaimathi.