Discussions

EJB design: wsejbdeploy- fails for Entity Bean

  1. wsejbdeploy- fails for Entity Bean (1 messages)

    Hello I am having a peculiar problem where the build machine (wsejbdeploy command) works for all other beans but for Entity Beans.The same Entity bean has no problem in RSA.I suspect that there might be a mssing jar or package but am not sure.I hope someone has seen this problem before. The interesting thing here is that the build machine after failing to parse the Mapping file tries to create a DB2 entity bean while the backend is Oracle. Below is the exception trace ... (platform:/resource/5ac4335a/ejbModule/META-INF/backends/ORACLE_V9_1/Map.mapxmi, 6, -1) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:1667) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:1510) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1249) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1209) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1048) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:448) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:65) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:431) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.SAXWrapper.startElement(SAXWrapper.java:75) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674) [wsejbdeploy] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) [wsejbdeploy] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) [wsejbdeploy] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) [wsejbdeploy] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) [wsejbdeploy] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) [wsejbdeploy] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) [wsejbdeploy] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:129) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:155) [wsejbdeploy] at com.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:228) [wsejbdeploy] at com.ibm.wtp.emf.resource.ReferencedXMIResourceImpl.basicDoLoad(ReferencedXMIResourceImpl.java:228) [wsejbdeploy] at com.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:214) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:884) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:741) [wsejbdeploy] at com.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:76) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:247) [wsejbdeploy] at com.ibm.wtp.internal.emf.workbench.ProjectResourceSetImpl.demandLoad(ProjectResourceSetImpl.java:69) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:262) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346) [wsejbdeploy] at com.ibm.wtp.internal.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:229) [wsejbdeploy] at com.ibm.wtp.emf.workbench.nature.EMFNature.getResource(EMFNature.java:228) [wsejbdeploy] at com.ibm.etools.ejb.ws.ext.helpers.EJBExtHelper.getMapXmiResource(EJBExtHelper.java:288) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.findMapResource(BackendManager.java:240) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.isBackendValid(BackendManager.java:147) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.getAllBackendIDs(BackendManager.java:107) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.operation.RDBSchemaTransformationOperation.removePersistentCommands(RDBSchemaTransformationOperation.java:411) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.operation.RDBSchemaTransformationOperation.execute(RDBSchemaTransformationOperation.java:397) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.doRun(WTPOperation.java:267) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.runExtendedOps(WTPOperation.java:359) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.runPostOps(WTPOperation.java:330) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.doRun(WTPOperation.java:268) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation$1.run(WTPOperation.java:181) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.run(WTPOperation.java:199) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.createJarProject(BatchExtension.java:1142) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:870) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$1(BatchExtension.java:867) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:289) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:271) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:234) [wsejbdeploy] at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) [wsejbdeploy] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [wsejbdeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [wsejbdeploy] at java.lang.reflect.Method.invoke(Method.java:324) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:413) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:144) [wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83) [wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313) [wsejbdeploy] Wrapped by [wsejbdeploy] Wrapped exception [wsejbdeploy] org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http:///com/ibm/db/models/oracle/oracle.ecore' not found. (platform:/resource/5ac4335a/ejbModule/META-INF/backends/ORACLE_V9_1/Map.mapxmi, 6, -1) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:1667) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:1510) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1249) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1209) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1048) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:448) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:65) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:431) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.SAXWrapper.startElement(SAXWrapper.java:75) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1674) [wsejbdeploy] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) [wsejbdeploy] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) [wsejbdeploy] at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) [wsejbdeploy] at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) [wsejbdeploy] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) [wsejbdeploy] at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) [wsejbdeploy] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) [wsejbdeploy] at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:129) [wsejbdeploy] at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:155) [wsejbdeploy] at com.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.basicDoLoad(CompatibilityXMIResourceImpl.java:228) [wsejbdeploy] at com.ibm.wtp.emf.resource.ReferencedXMIResourceImpl.basicDoLoad(ReferencedXMIResourceImpl.java:228) [wsejbdeploy] at com.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:214) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:884) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:741) [wsejbdeploy] at com.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:76) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:247) [wsejbdeploy] at com.ibm.wtp.internal.emf.workbench.ProjectResourceSetImpl.demandLoad(ProjectResourceSetImpl.java:69) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:262) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346) [wsejbdeploy] at com.ibm.wtp.internal.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:229) [wsejbdeploy] at com.ibm.wtp.emf.workbench.nature.EMFNature.getResource(EMFNature.java:228) [wsejbdeploy] at com.ibm.etools.ejb.ws.ext.helpers.EJBExtHelper.getMapXmiResource(EJBExtHelper.java:288) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.findMapResource(BackendManager.java:240) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.isBackendValid(BackendManager.java:147) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.getAllBackendIDs(BackendManager.java:107) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.operation.RDBSchemaTransformationOperation.removePersistentCommands(RDBSchemaTransformationOperation.java:411) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.operation.RDBSchemaTransformationOperation.execute(RDBSchemaTransformationOperation.java:397) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.doRun(WTPOperation.java:267) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.runExtendedOps(WTPOperation.java:359) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.runPostOps(WTPOperation.java:330) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.doRun(WTPOperation.java:268) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation$1.run(WTPOperation.java:181) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.run(WTPOperation.java:199) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.createJarProject(BatchExtension.java:1142) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:870) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$1(BatchExtension.java:867) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:289) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:271) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:234) [wsejbdeploy] at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) [wsejbdeploy] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [wsejbdeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [wsejbdeploy] at java.lang.reflect.Method.invoke(Method.java:324) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:413) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:144) [wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83) [wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313) [wsejbdeploy] Wrapped by [wsejbdeploy] org.eclipse.emf.common.util.WrappedException: Package with uri 'http:///com/ibm/db/models/oracle/oracle.ecore' not found. (platform:/resource/5ac4335a/ejbModule/META-INF/backends/ORACLE_V9_1/Map.mapxmi, 6, -1) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:266) [wsejbdeploy] at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:346) [wsejbdeploy] at com.ibm.wtp.internal.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:229) [wsejbdeploy] at com.ibm.wtp.emf.workbench.nature.EMFNature.getResource(EMFNature.java:228) [wsejbdeploy] at com.ibm.etools.ejb.ws.ext.helpers.EJBExtHelper.getMapXmiResource(EJBExtHelper.java:288) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.findMapResource(BackendManager.java:240) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.isBackendValid(BackendManager.java:147) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.BackendManager.getAllBackendIDs(BackendManager.java:107) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.operation.RDBSchemaTransformationOperation.removePersistentCommands(RDBSchemaTransformationOperation.java:411) [wsejbdeploy] at com.ibm.etools.ejbrdbmapping.operation.RDBSchemaTransformationOperation.execute(RDBSchemaTransformationOperation.java:397) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.doRun(WTPOperation.java:267) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.runExtendedOps(WTPOperation.java:359) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.runPostOps(WTPOperation.java:330) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.doRun(WTPOperation.java:268) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation$1.run(WTPOperation.java:181) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) [wsejbdeploy] at com.ibm.wtp.common.operation.WTPOperation.run(WTPOperation.java:199) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.createJarProject(BatchExtension.java:1142) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:870) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$1(BatchExtension.java:867) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:289) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673) [wsejbdeploy] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:271) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:234) [wsejbdeploy] at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) [wsejbdeploy] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [wsejbdeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [wsejbdeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [wsejbdeploy] at java.lang.reflect.Method.invoke(Method.java:324) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:413) [wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:144) [wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:83) [wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313) [wsejbdeploy] Creating Top Down Map [wsejbdeploy] Initializing... [wsejbdeploy] Mapping [wsejbdeploy] Saving... [wsejbdeploy] Generating deployment code [wsejbdeploy] Generating queries [wsejbdeploy] Processing CMP map of EnrollProfiles to TopDown1 (DB2 Universal Database V8.1)
  2. HI Chaitanya, I am experiencing the same problem. Did you find a solution? Herman