• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error during generation of deployment

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using AE 4.0.3 and have an ear file that was created in WSAD. I have successfully verified the ear file in AAT and ready to generate deployment code. I get an error message that looks to me like it refers to a problem with the schema document.
NOTE: The ejbs in this ear file were migrated from ejb 1.0 to ejb 1.1 via WAS 3.5 to WAS 4.0.
tia
Ron

Cleanup the expanded directory C:\Temp\IWLDefaultEAR_ear
Deploy module IWL_CustomerJournal.jar
Starting workbench.
Creating the project.
Creating EJB Project...
Creating EJB Project... Opening: /IWL_CustomerJournal.jar.
Creating EJB Project...
Creating EJB Project... Setting classpath...
Creating EJB Project...
Updating.
Importing EJB Jar.. Importing Jar..
Importing file..
Updating.
Starting Validation.
Validation of IWL_CustomerJournal.jar by EJB Validator has started...
Validating org.lacsd.iwl.cmp.IwlcustomerjournalBean.
Validating org.lacsd.iwl.cmp.Iwlcustomerjournal.
Validating org.lacsd.iwl.cmp.IwlcustomerjournalHome.
Validating org.lacsd.iwl.cmp.IwlcustomerjournalKey.
Validation of IWL_CustomerJournal.jar by EJB Validator is complete. All known problems have been reported.
Validation of IWL_CustomerJournal.jar by Map Validator has started...
Validation of IWL_CustomerJournal.jar by Map Validator ended abnormally. The list of problems may be incomplete. Please check the information messages for the cause of the abnormal termination.
/IWL_CustomerJournal.jar: An internal error has occurred. Please check the log files for more information on the error occured.
Generating deployment code
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.)
WrappedExecption of WarningsException ResourceImpl, file = META-INF/Schema/Schema.dbxmi
[WarningExecption: com.ibm.xmi.base.ClassNotFoundException, line number = 54]
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.getObjectAndLoad(ResourceSetImpl.java:184)
at com.ibm.etools.emf.ref.impl.RefBaseObjectImpl.resolve(RefBaseObjectImpl.java(Compiled Code))
at com.ibm.etools.emf.ref.impl.OwnedListImpl.get(OwnedListImpl.java(Compiled Code))
at com.ibm.etools.ejbrdbmapping.impl.EjbRdbDocumentRootImpl.ejbsAreInput(EjbRdbDocumentRootImpl.java:202)
at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getEJBEnd(RDBEjbMapperImpl.java:288)
at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getEJB(RDBEjbMapperImpl.java:266)
at com.ibm.ObjectQuery.crud.schema.ClassMap.name(ClassMap.java:467)
at com.ibm.ObjectQuery.crud.schema.DataStoreMap.build(DataStoreMap.java:53)
at com.ibm.ObjectQuery.crud.schema.DataStoreMap.<init>(DataStoreMap.java:42)
at com.ibm.ObjectQuery.crud.schema.DataStoreMap.singletonFor(DataStoreMap.java:487)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:504)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.java:217)
at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeployment(BatchExtension.java:704)
at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:861)
at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:122)
at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:60)
at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:207)
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You would need to remap your entity beans using either WSAD 4.x or VAJ 4.x so that the new schema mappings are generated.
-cheers
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic