| Author |
Generation of Deployment code fails
|
thomasj
Greenhorn
Joined: Oct 08, 2002
Posts: 1
|
|
Hi, In my enterprise project exists one EJB-project containing the entity beans if the enterprise project. In WSAD this works fine without any problems. When I want to deploy the code onto a WebSphere however, the generation of deployed code fails. In AAT I get the following message. Any help on this appreciated. regards, Thomas Expansionsverzeichnis C:\TEMP\CSD_28_09_ear wird bereinigt Deployment f�r Modul CSDEntity.jar Starting workbench. Creating the project. Creating EJB Project... Creating EJB Project... Opening: /CSDEntity.jar. Creating EJB Project... Creating EJB Project... Setting classpath... Creating EJB Project... Updating. Importing JAR..META-INF/ibm-ejb-jar-bnd.xmi Importing JAR..META-INF/Map.mapxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID.schxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_ATTRIBUTEJOIN.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_ATTRIBUTES.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_BUSINESSENTITY.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_BUSINESSSERVICE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_BUSINESSSERVICETYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_CATEGORYBUSINESSSERVICE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_CATEGORYSCHEME.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_CATEGORY_L.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_CONFIRMATION.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_CONTACT.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_CONTACTTYPE_L.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_COUNTRY_L.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_ENTITYTYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_IDENTIFIEDENTITYTYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_IDENTIFIER.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_IDENTIFIERTYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_LANGUAGE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_LOCATION.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_LOCATIONTYPE_L.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_MAILTEMPLATE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_MAILTYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_NEXTID.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_OBJECTTYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_ORGANIZATIONALROLE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_PDATTRIBUTES.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_PENDINGPROCESS.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_PENDINGREGISTRATIONS.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_PRIVATEDATA.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_PRIVATEDATAMETA.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_QUESTIONNAIRE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_RELATEDENTITYTYPES.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_RELATIONSHIP.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_RELATIONSHIPTYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_ROLE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_ROLETYPE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_STATE.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_STATUS_L.tblxmi Importing JAR..META-INF/Schema/BD2Entity_NULLID_STRINGDIRECTORY.tblxmi Importing JAR..META-INF/Schema/Schema.dbxmi Importing JAR..META-INF/ejb-jar.xml Importing JAR..META-INF/ibm-ejb-jar-ext.xmi Updating. Generating deployment code Building: /CSDEntity.jar. Invoking Java Builder on /CSDEntity.jar. Scrubbing output folder Analyzing packages Analyzing sources Copying all resources on the classpath Build done. Java build completed 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.etools.ejbrdbmapping.impl.EjbRdbDocumentRootImpl.ejbsAreInput(EjbRdbDocumentRootImpl.java:257) at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getEJBEnd(RDBEjbMapperImpl.java:298) at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getEJB(RDBEjbMapperImpl.java:276) at com.ibm.ObjectQuery.crud.schema.ClassMap.name(ClassMap.java:501) at com.ibm.ObjectQuery.crud.schema.DataStoreMap.build(DataStoreMap.java:77) at com.ibm.ObjectQuery.crud.schema.DataStoreMap.<init>(DataStoreMap.java:66) at com.ibm.ObjectQuery.crud.schema.DataStoreMap.singletonFor(DataStoreMap.java:548) at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:557) at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.java:228) at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeployment(BatchExtension.java:744) at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:904) at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:129) at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:68) at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:248) Moduldatei C:\TEMP\CSD_28_09_ear\CSDEntity_source.jar wird gel�scht Deployment f�r Modul CSDSession.jar Starting workbench. Creating the project. Creating EJB Project... Creating EJB Project... Opening: /CSDSession.jar. Creating EJB Project... Creating EJB Project... Setting classpath... Creating EJB Project... Updating. Importing JAR..META-INF/ibm-ejb-jar-bnd.xmi Importing JAR..META-INF/ejb-jar.xml Importing JAR..META-INF/ibm-ejb-jar-ext.xmi Updating. Generating deployment code Processing session bean: ApprovalSession Processing session bean: AttributeSession Processing session bean: BCategoryList Processing session bean: BusinessEntitySession Processing session bean: ConfirmationSession Processing session bean: ContactSession Processing session bean: Country_L Processing session bean: Id Processing session bean: LanguageSession Processing session bean: LocationSession Processing session bean: MailSession Processing session bean: MetadataSession Processing session bean: PendingRegistrationSession Processing session bean: PlantSession Processing session bean: PrivateDataBatchSession Processing session bean: PrivateDataSession Processing session bean: QuestionnaireSession Processing session bean: RegistrationSession Processing session bean: RelationshipSession Processing session bean: SearchEngineSession Processing session bean: Service Processing session bean: StateSession Processing session bean: StatusSession Processing session bean: UpdateRelationshipSession Processing session bean: RemoteBDAPISession Building: /CSDSession.jar. Invoking Java Builder on /CSDSession.jar. Scrubbing output folder Analyzing packages Analyzing sources Compiling content of ejbModule/com/sap/csd/component/dadbinterface/ejb Compiling content of ejbModule/com/sap/csd/component/privatedata/ejb Compiling content of ejbModule/com/sap/csd/component/mail/ejb Compiling content of ejbModule/com/sap/csd/api/bp/registration/ejb Compiling content of ejbModule/com/sap/csd/ejb/session Compiling content of ejbModule/com/sap/csd/component/updaterelationship/ejb Compiling content of ejbModule/com/sap/csd/component/contact/ejb Compiling content of ejbModule/com/sap/csd/ejb/search Compiling content of ejbModule/com/sap/csd/component/metadata/ejb Compiling content of ejbModule/com/sap/csd/component/confirmation/ejb Compiling content of ejbModule/com/sap/csd/component/questionnaire/ejb Compiling content of ejbModule/com/sap/csd/component/searchengine/ejb Compiling content of ejbModule/com/sap/csd/component/businessentity/ejb Compiling content of ejbModule/com/sap/csd/component/dadbinterface/ejb Compiling content of ejbModule/com/sap/csd/component/privatedata/ejb Compiling content of ejbModule/com/sap/csd/component/mail/ejb Compiling content of ejbModule/com/sap/csd/api/bp/registration/ejb Compiling content of ejbModule/com/sap/csd/ejb/session Compiling content of ejbModule/com/sap/csd/component/updaterelationship/ejb Compiling content of ejbModule/com/sap/csd/component/contact/ejb Compiling content of ejbModule/com/sap/csd/ejb/search Compiling content of ejbModule/com/sap/csd/component/metadata/ejb Compiling content of ejbModule/com/sap/csd/component/confirmation/ejb Compiling content of ejbModule/com/sap/csd/component/questionnaire/ejb Compiling content of ejbModule/com/sap/csd/component/searchengine/ejb Compiling content of ejbModule/com/sap/csd/component/businessentity/ejb (2 problems found) Copying all resources on the classpath (2 problems found) Build done. Java build completed Invoking RMIC. Building: /CSDSession.jar. Invoking Java Builder on /CSDSession.jar. Reading resource change information for : CSDSession.jar Preparing for build Analyzing packages Analyzing package org.omg.stub.java.lang Analyzing package org.omg.stub.javax.ejb Analyzing package org.omg.stub.javax Analyzing default package for CSDSession.jar Analyzing package com Analyzing package com.sap Analyzing package com.sap.csd Analyzing package com.sap.csd.api Analyzing package com.sap.csd.api.bp Analyzing package com.sap.csd.api.bp.registration Analyzing package com.sap.csd.api.bp.registration.ejb Analyzing package com.sap.csd.component Analyzing package com.sap.csd.component.businessentity Analyzing package com.sap.csd.component.businessentity.ejb Analyzing package com.sap.csd.component.confirmation Analyzing package com.sap.csd.component.confirmation.ejb Analyzing package com.sap.csd.component.contact Analyzing package com.sap.csd.component.contact.ejb Analyzing package com.sap.csd.component.dadbinterface Analyzing package com.sap.csd.component.dadbinterface.ejb Analyzing package com.sap.csd.component.mail Analyzing package com.sap.csd.component.mail.ejb Analyzing package com.sap.csd.component.metadata Analyzing package com.sap.csd.component.metadata.ejb Analyzing package com.sap.csd.component.privatedata Analyzing package com.sap.csd.component.privatedata.ejb Analyzing package com.sap.csd.component.questionnaire Analyzing package com.sap.csd.component.questionnaire.ejb Analyzing package com.sap.csd.component.searchengine Analyzing package com.sap.csd.component.searchengine.ejb Analyzing package com.sap.csd.component.updaterelationship Analyzing package com.sap.csd.component.updaterelationship.ejb Analyzing package com.sap.csd.ejb Analyzing package com.sap.csd.ejb.search Analyzing package com.sap.csd.ejb.session Analyzing package org Analyzing package com.ibm.websphere Analyzing package com.ibm.ejs.container Analyzing package com.ibm.websphere.csi Analyzing package com.ibm.ejs Analyzing package org.omg.stub.java Analyzing package org.omg Analyzing package org.omg.stub Analyzing package com.ibm Analyzing sources Compiling content of ejbModule/org/omg/stub/java/lang Compiling content of ejbModule/org/omg/stub/javax/ejb Compiling content of ejbModule/com/sap/csd/api/bp/registration/ejb Compiling content of ejbModule/com/sap/csd/component/businessentity/ejb Compiling content of ejbModule/com/sap/csd/component/confirmation/ejb Compiling content of ejbModule/com/sap/csd/component/contact/ejb Compiling content of ejbModule/com/sap/csd/component/dadbinterface/ejb Compiling content of ejbModule/com/sap/csd/component/mail/ejb Compiling content of ejbModule/com/sap/csd/component/metadata/ejb Compiling content of ejbModule/com/sap/csd/component/privatedata/ejb Compiling content of ejbModule/com/sap/csd/component/questionnaire/ejb Compiling content of ejbModule/com/sap/csd/component/searchengine/ejb Compiling content of ejbModule/com/sap/csd/component/updaterelationship/ejb Compiling content of ejbModule/com/sap/csd/ejb/search Compiling content of ejbModule/com/sap/csd/ejb/session Compiling content of ejbModule/com/ibm/ejs/container Compiling content of ejbModule/com/ibm/websphere/csi Compiling content of ejbModule/org/omg/stub/java/lang Compiling content of ejbModule/org/omg/stub/javax/ejb Compiling content of ejbModule/com/sap/csd/api/bp/registration/ejb Compiling content of ejbModule/com/sap/csd/component/businessentity/ejb Compiling content of ejbModule/com/sap/csd/component/confirmation/ejb Compiling content of ejbModule/com/sap/csd/component/contact/ejb Compiling content of ejbModule/com/sap/csd/component/dadbinterface/ejb Compiling content of ejbModule/com/sap/csd/component/mail/ejb Compiling content of ejbModule/com/sap/csd/component/metadata/ejb Compiling content of ejbModule/com/sap/csd/component/privatedata/ejb Compiling content of ejbModule/com/sap/csd/component/questionnaire/ejb Compiling content of ejbModule/com/sap/csd/component/searchengine/ejb Compiling content of ejbModule/com/sap/csd/component/updaterelationship/ejb Compiling content of ejbModule/com/sap/csd/ejb/search Compiling content of ejbModule/com/sap/csd/ejb/session Compiling content of ejbModule/com/ibm/ejs/container Compiling content of ejbModule/com/ibm/websphere/csi (2 problems found) Updating resources on the classpath (2 problems found) Build done. Java build completed ejbModule/com/sap/csd/component/businessentity/ejb/EJSRemoteStatelessBusinessEntitySession.java(381): The method create(com.sap.csd.api.bp.businessentity.data.BusinessEntityCoreVO, boolean, boolean) from the type com.sap.csd.component.businessentity.ejb.BusinessEntitySessionBean is deprecated ejbModule/com/sap/csd/component/businessentity/ejb/EJSRemoteStatelessBusinessEntitySession.java(539): Overrides deprecated method from com.sap.csd.component.businessentity.ejb.BusinessEntitySession ejbModule/com/sap/csd/component/businessentity/ejb/_BusinessEntitySession_Stub.java(1079): Overrides deprecated method from com.sap.csd.component.businessentity.ejb.BusinessEntitySession ejbModule/com/sap/csd/component/businessentity/ejb/_BusinessEntitySession_Stub.java(1120): The method update(com.sap.csd.api.bp.businessentity.data.BusinessEntityVO) from the type com.sap.csd.component.businessentity.ejb.BusinessEntitySession is deprecated Building: /CSDSession.jar. Invoking Java Builder on /CSDSession.jar. Building: /CSDSession.jar. Reading resource change information for : CSDSession.jar Building: /CSDSession.jar. Building: /CSDSession.jar. Updating resources on the classpath Building: /CSDSession.jar. Build done. Building: /CSDSession.jar. Building: /CSDSession.jar. Java build completed Building: /CSDSession.jar. Invoking Validation on /CSDSession.jar. Building: /CSDSession.jar. Updating. Shutting down workbench. EJBDeploy complete. 0 Errors, 4 Warnings, 0 Informational Messages Moduldatei C:\TEMP\CSD_28_09_ear\CSDSession_source.jar wird gel�scht Module nach Deployment als EAR-Datei F:\temp\Deployed_CSD_28_09.ear speichern
|
 |
Patrick Finnegan
Ranch Hand
Joined: Mar 05, 2002
Posts: 179
|
|
|
This is a class not found error. Export your project from WSAD as an EAR and import into WebSphere directly with no code generation. AAT is normally used for projects developed with third party software(e.g Jbuilder) as it generates WebSphere specific deployment descriptors.
|
 |
 |
|
|
subject: Generation of Deployment code fails
|
|
|