Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Isuue with db.type = J2EE (driver M5a)

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

0 votes



One answer

Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 18 '08, 3:38 p.m.

Question was seen: 4,579 times

Last updated: Mar 18 '08, 3:38 p.m.

Confirmation Cancel Confirm