It's all about the answers!

Ask a question

Isuue with db.type = J2EE (driver M5a)


Michael Haeberlen (81165) | asked Mar 18 '08, 3:38 p.m.
Hello,

I have jazz server installed on WASand have a DB2 datasource defined in
my appserver at server scope. After switching from JDBC to J2EE I got
the following error in SystemOut.log:

javax.naming.NameNotFoundException: Name not found in context
"java:comp/env".
at
com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1767)
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1083)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
at
com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
at
com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
at
com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1307)
at
com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:353)
at com.ibm.team.repository.service.JNDIUtil.lookup(JNDIUtil.java:36)
at
com.ibm.team.repository.service.internal.rdb.DataSourceConnectionPool.<init>(DataSourceConnectionPool.java:31)
... 54 more

any ideas what could be wrong in my setup?

Thanks,
Michael

One answer



permanent link
Ritchie Schacher - IBM (47611) | answered Mar 18 '08, 3:43 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Michael,

There is a bug that our application does not currently work with the J2EE
datasource on WebSphere. See different classLoader when retrieving a
datasource in WAS (37694) (web).

--
Ritchie

**********************************************
Ritchie Schacher
Jazz Repository/Server Team
"Michael Haeberlen" <haeber@de.ibm.com> wrote in message
news:frp5ns$q4b$1@localhost.localdomain...
Hello,

I have jazz server installed on WASand have a DB2 datasource defined in my
appserver at server scope. After switching from JDBC to J2EE I got the
following error in SystemOut.log:

javax.naming.NameNotFoundException: Name not found in context
"java:comp/env".
at
com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1767)
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1083)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
at
com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
at
com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:384)
at
com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1307)
at
com.ibm.ws.naming.java.javaURLContextImpl.lookup(javaURLContextImpl.java:353)
at com.ibm.team.repository.service.JNDIUtil.lookup(JNDIUtil.java:36)
at
com.ibm.team.repository.service.internal.rdb.DataSourceConnectionPool.<init>(DataSourceConnectionPool.java:31)
... 54 more

any ideas what could be wrong in my setup?

Thanks,
Michael

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.