Hi,


I have written and succesfuly compiled an entity bean with container managed
persistence.
But when i try to deploy the bean i get an error:

the deploytool window shows:

Contacting server...
...
Compiling RMI-IIOP Code...
Making Client Jars...
Making Server Jars...

and then popups an errormessage stating a DeployException has occured on top
of a RemoteException


the j2ee server window has the following stacktrace:

java.lang.NullPointerException
        at
com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(../../sr
c/share/com/sun/ejb/persistence/PersistenceManagerImpl.java:595)
        at
com.sun.ejb.persistence.PersistenceManagerImpl.getConnection(../../sr
c/share/com/sun/ejb/persistence/PersistenceManagerImpl.java:587)
        at
com.sun.ejb.persistence.PMDeployerImpl.createTable(../../src/share/co
m/sun/ejb/persistence/PMDeployerImpl.java:291)
        at
com.sun.ejb.persistence.PMDeployerImpl.ejbJarDeployed(../../src/share
/com/sun/ejb/persistence/PMDeployerImpl.java:76)
        at
com.sun.enterprise.tools.deployment.backend.JarManagerImpl.loadJar(Ja
rManagerImpl.java:117)
        at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEj
bs(JarInstallerImpl.java:729)
        at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployAp
plication(JarInstallerImpl.java:210)
        at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployAp
plication(JarInstallerImpl.java:118)
        at
org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstalle
rImpl_Tie._invoke(Unknown Source)
        at
com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegat
e.java:326)
        at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:264)
        at
com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
sor.java:85)
        at
com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
ool.java:91)


Can anyone tell me what might cause this error and how to track/solve them?

I have been able to deploy and run a BMP version of the same bean under
j2sdkee1.3


thanks


Jan Plasqui

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to