wood burning stoves 2.0*
The moose likes Websphere and the fly likes Trying to use JNDI connection I get the following error: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Trying to use JNDI connection I get the following error:" Watch "Trying to use JNDI connection I get the following error:" New topic

Trying to use JNDI connection I get the following error:

Rajinda de Alwis

Joined: Mar 20, 2006
Posts: 1
J2CA0009E: An exception occurred while trying to instantiate the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/teamlink : java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.ibm.ejs.j2c.J2CXAResourceFactory.createMCFEntry(J2CXAResourceFactory.java:375) at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1420) at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1208) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301) 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.jnd -- <truncated> --.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3702

Sounds like the method you are trying to invoke does not much the method on the middle tier, either because the name is wrong or the number/types of the input parameters is wrong.

My Blog: Down Home Country Coding with Scott Selikoff
Consider Paul's rocket mass heater.
subject: Trying to use JNDI connection I get the following error:
Similar Threads
WAS 5.0 and Oracle 9i JNDI lookup problem
Urgent...not able to get data source
Datasource with WSAD5
Client is not permitted Exception ?WSAD