Websphere 6.1, Datasource, two apps

Posted by asrijaal on Stack Overflow See other posts from Stack Overflow or by asrijaal
Published on 2010-05-03T14:04:51Z Indexed on 2010/05/03 14:08 UTC
Read the original article Hit count: 328

Filed under:
|
|

Hi,

I've got a webapp running on a Websphere 6.1 Server which JNDI lookups for a datasource. This webapp runs fine, the Websphere server recognizes the datasource ref in the web.xml etc..

Now we added a second webapp which should use this datasource with same configuration but I only getting a NULL Object when I invoke my JNDI lookup and a ClassCastException is thrown (which is correct).

Maybe one of you has some suggestions?

© Stack Overflow or respective owner

Related posts about java

Related posts about websphere