Topic
1 reply Latest Post - ‏2013-04-18T18:22:27Z by bpaskin
AndyWuest
AndyWuest
1 Post
ACCEPTED ANSWER

Pinned topic Remote deployment fails with [dd_in_ear_load_EXC_]

‏2013-04-18T13:25:28Z |

Hello,

i am trying to remote deploy my ear application. Everything worked fine until i added the following to the web.xml of the web application.

    <session-config>
        <tracking-mode>URL</tracking-mode>
    </session-config>


After that the remote deployment using ws_ant.bat and WsAdmin Task fails with the following Stack trace that does not really help me.

The error message:

"Parent Translator (GenericTranslator(session-config,1387025068)) did not find a Child Translator for "tracking-mode"."

does not really tell me what i did wrong.

The Ear application is JEE6 using EJB3.1 and Servlet 3.0. WebSphere is Version 8.0.0.2.

If you need more information, please tell me.

 

Here is the complete stack trace.

[18.04.13 15:05:49:953 CEST] 0000000a wtp           E   Parent Translator (GenericTranslator(session-config,1387025068)) did not find a Child Translator for "tracking-mode".
[18.04.13 15:05:49:953 CEST] 0000000a wtp           E   WEB-INF/web.xml
[18.04.13 15:05:49:969 CEST] 0000000a AbstractShell E   WASX7120E: Die Diagnoseinformationen aus der Ausnahme mit Text "com.ibm.websphere.management.application.client.AppDeploymentException: AppDeploymentException: [dd_in_ear_load_EXC_]
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
" folgen:

AppDeploymentException: [dd_in_ear_load_EXC_]
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: dd_in_ear_load_EXC_
Stack trace of nested exception:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
Stack trace of nested exception:
java.lang.IllegalStateException: Parent Translator (GenericTranslator(session-config,1387025068)) did not find a Child Translator for "tracking-mode".
    at org.eclipse.wst.common.internal.emf.resource.CacheEventNode.init(CacheEventNode.java:128)
    at org.eclipse.wst.common.internal.emf.resource.CacheEventNode.init(CacheEventNode.java:96)
    at org.eclipse.wst.common.internal.emf.resource.CacheEventPool.createCacheEventNode(CacheEventPool.java:79)
    at org.eclipse.wst.common.internal.emf.resource.EMF2SAXDocumentHandler.addToStack(EMF2SAXDocumentHandler.java:288)
    at org.eclipse.wst.common.internal.emf.resource.EMF2SAXDocumentHandler.startElement(EMF2SAXDocumentHandler.java:185)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.eclipse.wst.common.internal.emf.resource.EMF2SAXRenderer.doLoad(EMF2SAXRenderer.java:150)
    at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:264)
    at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900)
    at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:259)
    at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:536)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.getMofResource(ArchiveImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.loadDeploymentDescriptor(War22ImportStrategyImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.War22ImportStrategyImpl.importMetaData(War22ImportStrategyImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getDeploymentDescriptor(WARFileImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl.getStandardDeploymentDescriptor(WARFileImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java)
    at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.rollUpRoles(EARFileImpl.java)
    at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.<init>(ArchiveDeploymentInfo.java:171)
    at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:321)
    at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfoGenericRead(AppInstallHelper.java:373)
    at com.ibm.ws.management.application.client.DefaultBindingHelper.prepareTask(DefaultBindingHelper.java:207)
    at com.ibm.ws.scripting.AdminAppClient.createPreferences(AdminAppClient.java:2553)
    at com.ibm.ws.scripting.AdminAppClient.doInstall(AdminAppClient.java:1879)
    at com.ibm.ws.scripting.AdminAppClient.doInstall(AdminAppClient.java:1791)
    at com.ibm.ws.scripting.AdminAppClient.install(AdminAppClient.java:1284)
    at com.ibm.ws.scripting.AdminAppClient.install(AdminAppClient.java:1272)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx4.installIcServerToCluster$1(<string>:55)
    at org.python.pycode._pyx4.call_function(<string>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.pycode._pyx4.f$0(<string>:345)
    at org.python.pycode._pyx4.call_function(<string>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.Py.exec(Py.java)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
    at com.ibm.bsf.engines.jython.JythonEngine$BSFPythonInterpreter.exec(Unknown Source)
    at com.ibm.bsf.engines.jython.JythonEngine.exec(Unknown Source)
    at com.ibm.bsf.BSFManager$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.ibm.bsf.BSFManager.exec(Unknown Source)
    at com.ibm.ws.scripting.AbstractShell.executeScript(AbstractShell.java:991)
    at com.ibm.ws.scripting.AbstractShell.run(AbstractShell.java:1957)
    at com.ibm.ws.scripting.WasxShell.main(WasxShell.java:1022)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:336)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:91)
 

 

 

 

Updated on 2013-04-18T13:32:31Z at 2013-04-18T13:32:31Z by AndyWuest
  • bpaskin
    bpaskin
    2634 Posts
    ACCEPTED ANSWER

    Re: Remote deployment fails with [dd_in_ear_load_EXC_]

    ‏2013-04-18T18:22:27Z  in response to AndyWuest

    Hi, You would usually configure the Session at the App Server level, however, it should work.  The error is stating that the tracking-mode is not a valid element.  Are you sure you are using Servlet 3.0?  I am attaching a simple Servlet 3.0 projects that works on my system,

    Attachments