dcsimg
Exception while deploying the Entity Bean in WSAD 5.1
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   somnath_pal
Posted On:   Wednesday, September 8, 2004 07:47 AM

I am developing a java web based application using WebSphere Application Server 5.1 and db2 7.2 DataBase. For develop, I'm using WSAD 5.1. I configured JDBC resurces following what specified in IBM RedBook: - JDBC provider - JDBC datasource - Container-manager authentication alias; but when my application try to connect to DB I receive this exception as mention below regarding JNDI name not resolved. [9/1/04 9:51:25:192 EDT] 3ce06c4c ApplicationMg A WSVR0221I: Application started: IBMUTC [9/1/04 9:51:25:202 EDT] 3ce06c4c ApplicationMg A WSVR0200I: Starting application: ItsoBank5EAR [9/1/04 9:51:25:242 EDT] 3ce06c4c EJBContainerI I WSVR0207I: Preparing to   More>>

I am developing a java web based application using WebSphere Application Server 5.1 and db2 7.2 DataBase. For develop, I'm using WSAD 5.1.
I configured JDBC resurces following what specified in IBM RedBook:
- JDBC provider
- JDBC datasource
- Container-manager authentication alias;
but when my application try to connect to DB I receive this exception as mention below regarding JNDI name not resolved.






[9/1/04 9:51:25:192 EDT] 3ce06c4c ApplicationMg A WSVR0221I: Application started: IBMUTC
[9/1/04 9:51:25:202 EDT] 3ce06c4c ApplicationMg A WSVR0200I: Starting application: ItsoBank5EAR
[9/1/04 9:51:25:242 EDT] 3ce06c4c EJBContainerI I WSVR0207I: Preparing to start EJB jar: ItsoBank5CmpEJB.jar
[9/1/04 9:51:25:533 EDT] 3ce06c4c EJBContainerI I WSVR0037I: Starting EJB jar: ItsoBank5CmpEJB.jar
[9/1/04 9:51:26:033 EDT] 3ce06c4c J2CXAResource E J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource EJBBANK_CF : java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntry(J2CXAResourceFactory.java:371)InvocationTargetException
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1414)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1201)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:873)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:680)
at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1712)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1567)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1480)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1187)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory$1.run(IndirectJndiLookupObjectFactory.java:372)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:111)
at com.ibm.ws.naming.util.IndirectJndiLookupObjectFactory.getObjectInstanceExt(IndirectJndiLookupObjectFactory.java:221)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:868)
at com.ibm.ws.naming.urlbase.UrlContextHelper.processBoundObjectForLookup(UrlContextHelper.java:152)
at com.ibm.ws.naming.java.javaURLContextRoot.processBoundObjectForLookup(javaURLContextRoot.java:397)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1278)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:194)
at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:135)
at javax.naming.InitialContext.lookup(InitialContext.java:360)

   <<Less
About | Sitemap | Contact