Error while compile client! Please help

Hi everybody,

I am new to J2EE. I hav got application server and client in the same computer.

While compile client application to test the server part followint error is shown:

28-Feb-2007 10:36:05 com.sun.corba.ee.spi.logging.LogWrapperBase doLog

INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3122"

Caught an exception:

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.

NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource

at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:161)

at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)

at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)

at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)

at bank._CustomerFacadeRemote_DynamicStub.createAccount(_CustomerFacadeRemote_DynamicStub.java)

at bankaccountclient.Main.insertInfo(Main.java:55)

at bankaccountclient.Main.<init>(Main.java:38)

at bankaccountclient.Main.main(Main.java:78)

Caused by: java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.

NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource

at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:199)

at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:853)

at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:160)

at $Proxy22.createAccount(Unknown Source)

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:597)

at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)

at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)

at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)

at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)

at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)

at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)

at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)

at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)

at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:469)

at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1258)

at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)

BUILD SUCCESSFUL (total time: 4 seconds)

Please let me know the solution of the error!

And also if client and application server is in same mechine which interface must be used to talk client with session bean?

Please help me!

[4057 byte] By [hottirona] at [2007-11-26 19:56:25]
# 1

1) It looks like you have an error in JDBC configuration.

The main string is "Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource

".

Check out JDBC connection pools and resources.

2) If your beans and client there are at the same JVM you can use local interface, else use remote interface.

straivera at 2007-7-9 22:50:25 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...