Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing application in websphere 6 -> Exception

843830Aug 13 2005 — edited Oct 19 2006
Hi, I'm getting the following error when installing an application in websphere 6 via the admin consolle.
I have created one entity bean (cmp) in RAD, packaging it with an WEB application into an Enterprise application (.EAR) and installing it into websphere.
Going through all steps in the websphere console, but when ws installs it I get the following error, anyone know why? I have installed db2-connection/datasource, etc. in websphere before I install the application...

java.lang.NullPointerException

at com.ibm.ObjectQuery.crud.schema.ClassMap.getBeanName(ClassMap.java:404)

at com.ibm.ObjectQuery.crud.schema.ClassMap.asn(ClassMap.java:381)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.build(DataStoreMap.java:138)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.initialize(DataStoreMap.java:112)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.(DataStoreMap.java:72)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.singletonFor(DataStoreMap.java:766)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.generateQueries(EJBDeployOperation.java:1816)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.getClassMapsForBackend(EJBDeployOperation.java:1784)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.invokeCodeGeneration(EJBDeployOperation.java:1562)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(EJBDeployOperation.java:1427)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:1316)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.java:984)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeploymentCodegen(BatchExtension.java:1953)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.internalJarProcess(BatchExtension.java:956)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(BatchExtension.java:404)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$0(BatchExtension.java:305)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:288)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:272)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:235)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:390)

at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:144)

at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83)

at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:312)

An unexpected exception was thrown. Halting execution.

An unexpected exception was thrown. Halting execution.

Shutting down workbench.

Error during generation of deployment code: null.
com.ibm.etools.ejbdeploy.EJBDeploymentException (Error during generation of deployment code: null.)
java.lang.NullPointerException

at com.ibm.ObjectQuery.crud.schema.ClassMap.getBeanName(ClassMap.java:404)

at com.ibm.ObjectQuery.crud.schema.ClassMap.asn(ClassMap.java:381)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.build(DataStoreMap.java:138)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.initialize(DataStoreMap.java:112)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.(DataStoreMap.java:72)

at com.ibm.ObjectQuery.crud.schema.DataStoreMap.singletonFor(DataStoreMap.java:766)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.generateQueries(EJBDeployOperation.java:1816)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.getClassMapsForBackend(EJBDeployOperation.java:1784)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.invokeCodeGeneration(EJBDeployOperation.java:1562)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(EJBDeployOperation.java:1427)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:1316)

at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.java:984)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeploymentCodegen(BatchExtension.java:1953)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.internalJarProcess(BatchExtension.java:956)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(BatchExtension.java:404)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$0(BatchExtension.java:305)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:288)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:272)

at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:235)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:390)

at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:144)

at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83)

at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:312)

EJBDeploy level: dms0444.09

ADMA5007I: The EJBDeploy command completed on C:\WINDOWS\TEMP\app_105b08a2006\dpl\dpl_HTC_Ebusiness.ear

ADMA5008E: EJBDeploy failed on C:\WINDOWS\TEMP\app_105b08a2006\dpl\dpl_HTC_Ebusiness.ear: com.ibm.websphere.management.exception.AdminException: ADMA0063E: An error occurred in EJB deployment - [An unexpected exception was thrown. Halting execution.]

ADMA5011I: The cleanup of the temp directory for application HTC Ebusiness is complete.

ADMA5014E: The installation of application HTC Ebusiness failed.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2006
Added on Aug 13 2005
4 comments
405 views