Com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-j

When I try to migrate my ejb application from weblogic 8.1 to 9.2 using Ant build script , I have received the following error stacks :
[wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
[wlappc]      at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
[wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
[wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
[wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
[wlappc]      at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
[wlappc]      at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
[wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:517)
[wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
[wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
[wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1351)
[wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
[wlappc]      at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:297)
[wlappc]      at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:96)
[wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
[wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:163)
[wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:174)
[wlappc]      at weblogic.appc.main(appc.java:14)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
[wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
[wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
[wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
[wlappc]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
[wlappc]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
[wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
[wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
[wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wlappc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
So. please help me to comeout from the above said problem.
Thanks in advance This is very very urgent..
-- Atanu
Edited by atanud at 10/25/2007 5:19 AM
Edited by atanud at 10/25/2007 5:20 AM

When I try to migrate my ejb application from weblogic 8.1 to 9.2 using Ant build script , I have received the following error stacks :
[wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
[wlappc]      at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
[wlappc]      at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
[wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
[wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
[wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
[wlappc]      at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
[wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
[wlappc]      at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
[wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:517)
[wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
[wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
[wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1351)
[wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
[wlappc]      at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:297)
[wlappc]      at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:96)
[wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
[wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:163)
[wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
[wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:174)
[wlappc]      at weblogic.appc.main(appc.java:14)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
[wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
[wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
[wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
[wlappc]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
[wlappc]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
[wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
[wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
[wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
[wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wlappc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
So. please help me to comeout from the above said problem.
Thanks in advance This is very very urgent..
-- Atanu
Edited by atanud at 10/25/2007 5:19 AM
Edited by atanud at 10/25/2007 5:20 AM

Similar Messages

  • Unmarshaller failed and com.bea.xml.XmlException: failed to load java type

    Hello guys!
    i use weblogic 9.2.3 and JDK 150_12 and JDeveloper 10
    i set up a connection from JDeveloper to WeblogicServer
    now i want to deploy an application with the JDeveloper using "Deploy to WeblogicServer" in Application field of the JDeveloper, but i get this error-message!
    Can somebody help me?
    Stack trace for message 149004
    weblogic.management.DeploymentException: Unmarshaller failed
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:378)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:277)
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:174)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    i opened the console and want to install the application with the EAR.file, but there appears new Errors:
    Error     Unable to access the selected application
    Error     Exception in AppMerge flows' progression
    and the log.file throws:
    <Error> <J2EE> <BEA-160197> <Unable to load descriptor /opt/oracle/bea/user_projects/domains/SOADomain/servers/AdminServer/tmp/.appmergegen_1234189517852_SOADEMO-CREDITSERVICE-CreditService-WS.ear/META-INF/application.xml of module SOADEMO-CREDITSERVICE-CreditService-WS.ear. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:378)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:277)
    at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:127)
    at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:139)
    at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:64)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:43)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:133)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:145)
    at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:70)
    at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:51)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:177)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:150)
    at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:645)
    at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:450)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:63)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:167)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:49)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:57)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:86)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:234)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:144)
    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168)
    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:222)
    at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:351)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:128)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:162)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:419)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:267)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:197)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:237)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    ... 123 more

  • Failed to load java type corresponding to e=application !!

    Hello and execuse my poor english.
    When migrating from the WLS 8.1 to WLS 9.1, and when i try to deploy an EAR who contains some ejbs, i'd the folowing error :
    <i>"Failed to parse descriptor at 'META-INF/application.xml' for module 'null': com.bea.xml.XmlException: failed to load java type corresponding to e=application"</i>
    Should be rebuilt all our EJBs when we migrate from the 8.1 to the 9.1 ?
    I tried to rebuild the EAR, and i get the error :
    <i> [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:735)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.descriptor.DescriptorException: Unmarshaller failed
    [ejbc] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:149)
    [ejbc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:271)
    [ejbc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:240)
    [ejbc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:300)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [ejbc] at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [ejbc] at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [ejbc] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [ejbc] at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:672)
    [ejbc] at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:337)
    [ejbc] at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:133)
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:718)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [ejbc] at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [ejbc] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:138)
    [ejbc] ... 17 more
    [ejbc] There are 3 nested errors:
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error from ejbc: Unmarshaller failed
    [ejbc] at weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc couldn't load descriptor from jar
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:463)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)</i>
    I've read some threads in dev2dev, i did not change any thing in the classpath, just default classpath generated by the config wizard (WLS domain).
    Here the header of my ejb-jar.xml :
    <i><!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'><ejb-jar></i>
    when i try to use the XML schema <i><ejb-jar
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
    version="2.1"></i>, I get a validation error in the schema ??
    Thank you in advance.

    Did you try upgrading the descriptors using the DDConverter tool?
    http://e-docs.bea.com/wls/docs91/programming/overview.html#1075156
    <BaBoU BaBoU> wrote in message news:[email protected]...
    Hello and execuse my poor english.
    When migrating from the WLS 8.1 to WLS 9.1, and when i try to deploy an
    EAR who contains some ejbs, i'd the folowing error :
    <i>"Failed to parse descriptor at 'META-INF/application.xml' for module
    'null': com.bea.xml.XmlException: failed to load java type corresponding
    to e=application"</i>
    Should be rebuilt all our EJBs when we migrate from the 8.1 to the 9.1 ?
    I tried to rebuild the EAR, and i get the error :
    <i> [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error
    creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:735)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.descriptor.DescriptorException: Unmarshaller failed
    [ejbc] at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:149)
    [ejbc] at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:271)
    [ejbc] at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:240)
    [ejbc] at
    weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:300)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [ejbc] at
    weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [ejbc] at
    weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [ejbc] at
    weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [ejbc] at
    weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:672)
    [ejbc] at
    weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:337)
    [ejbc] at
    weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:133)
    [ejbc] at weblogic.ejbc20.getDescriptorFromJar(ejbc20.java:718)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:453)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] Caused by: com.bea.xml.XmlException: failed to load java type
    corresponding to e=ejb-jar
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [ejbc] at
    com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [ejbc] at
    weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:138)
    [ejbc] ... 17 more
    [ejbc] There are 3 nested errors:
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error
    creating descriptor from jar file C:\dev\myEAR\build\tm
    p\myEAR-generic.jar:
    [ejbc] at
    weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: Error from
    ejbc: Unmarshaller failed
    [ejbc] at
    weblogic.ejbc20.formatErrorsInCollection(ejbc20.java:659)
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:462)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)
    [ejbc] and
    [ejbc] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc
    couldn't load descriptor from jar
    [ejbc] at weblogic.ejbc20.runBody(ejbc20.java:463)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [ejbc] at weblogic.ejbc.main(ejbc.java:36)</i>
    I've read some threads in dev2dev, i did not change any thing in the
    classpath, just default classpath generated by the config wizard (WLS
    domain).
    Here the header of my ejb-jar.xml :
    <i><!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'><ejb-jar></i>
    when i try to use the XML schema <i><ejb-jar
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
    version="2.1"></i>, I get a validation error in the schema ??
    Thank you in advance.

  • Failed to load java type corresponding to e=weblogic-ejb-jar Error

    Hi,
    I am getting the following error when I try to build my application.
    [java] <Aug 21, 2007 11:56:52 AM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error mess
    age(s) below.>
    [java] failed to load java type corresponding to e=weblogic-ejb-jar@http://www.bea.com/ns/weblogic/910
    Note that I am upgrading my 8.1 descriptors to 9.1.
    Any help is appriciated.
    Thanks
    Rajaram

    Try the 90 namespace, even if you are running 9.1 or 9.2
    <weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90"

  • Weblogic 10.0 Parsing Failure in config.xml: failed to load java type

    Hello,
    I've just installed a Weblogic 10.0 on a Linux server and when i try to start it, by :
    bash$ : sudo -u weblogic ./startWebLogic.sh
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=128m
    WLS Start Mode=Production
    CLASSPATH=:/opt/weblogic/10.0/patch_wls1002/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/weblogic/10.0/patch_cie640/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/weblogic/10.0/jdk150_15/lib/tools.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic_sp.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic.jar:/opt/weblogic/10.0/modules/features/weblogic.server.modules_10.0.2.0.jar:/opt/weblogic/10.0/modules/features/com.bea.cie.common-plugin.launch_2.1.2.0.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/webservices.jar:/opt/weblogic/10.0/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/weblogic/10.0/modules/net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar::/opt/weblogic/10.0/weblogic10.0/common/eval/pointbase/lib/pbclient51.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/xqrl.jar::
    PATH=/opt/weblogic/10.0/weblogic10.0/server/bin:/opt/weblogic/10.0/modules/org.apache.ant_1.6.5/bin:/opt/weblogic/10.0/jdk150_15/jre/bin:/opt/weblogic/10.0/jdk150_15/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.5.0_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    Starting WLS with line:
    /opt/weblogic/10.0/jdk150_15/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=128m -da -Dplatform.home=/opt/weblogic/10.0/weblogic10.0 -Dwls.home=/opt/weblogic/10.0/weblogic10.0/server -Dweblogic.home=/opt/weblogic/10.0/weblogic10.0/server -Dwli.home= -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/weblogic/10.0/patch_wls1002/profiles/default/sysext_manifest_classpath:/opt/weblogic/10.0/patch_cie640/profiles/default/sysext_manifest_classpath -Dweblogic.security.providers.authentication.LDAPDelegatePoolSize=50 -Dweblogic.management.username=system -Dweblogic.management.password=admin9424 -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic.policy weblogic.Server
    <Jun 7, 2010 9:49:12 AM CEST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n-schemas.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n_common.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n_system.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/wlp_services.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_common.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_schemas.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_system.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/wsrp-client.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/wsrp-common.jar>
    <Jun 7, 2010 9:49:13 AM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
    <Jun 7, 2010 9:49:13 AM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 MP2 Sat Apr 25 01:45:38 EDT 2009 1213942 >
    i got the following error messages :
    *<Jun 7, 2010 9:49:14 AM CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: failed to load java type corresponding to e=domain@http://www.bea.com/ns/weblogic/920/domain>*
    <Jun 7, 2010 9:49:14 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 7, 2010 9:49:14 AM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 7, 2010 9:49:14 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    If i start the server as root, it boots but i cant deploy anything.
    Any idea about this behavior ?

    Hi,
    It is the problem in prasing the DTD of config.xml file
    It look like this
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://www.bea.com/ns/weblogic/920/domain" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/security/xacml http://www.bea.com/
    ns/weblogic/90/security/xacml.xsd http://www.bea.com/ns/weblogic/90/security http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/92
    0/domain http://www.bea.com/ns/weblogic/920/domain.xsd http://www.bea.com/ns/weblogic/90/security/wls http://www.bea.com/ns/weblogic/90/security/wls.xsd">
    Please change your DTD to this lines and start the server.
    Regards
    Ravi D

  • Com.bea.xml.XmlException

    Hi,
    I am using the XMLBeans in Weblogic 8.1. When I use the following Call
    <i>MeasureDocDocument.Factory.parse(new File(xmlFileName));</i>
    I got the following error.
    com.bea.xml.XmlException: d:\processing\20030AB__004294AMD.xml:122: error: Unexpected character encountered (lex state 4): 'a'
         at com.bea.xbean.store.Root$SaxLoader.load(Root.java:776)
         at com.bea.xbean.store.Root.loadXml(Root.java:1050)
         at com.bea.xbean.store.Root.loadXml(Root.java:1036)
         at com.bea.xbean.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:322)
         at com.bea.xbean.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:233)
         at gov.ca.lc.legalservices.schemas.caml.MeasureDocDocument$Factory.parse(Unknown Source)
         at PostmortemXml.<init>(PostmortemXml.java:81)
         at XMLOperations.<init>(XMLOperations.java:15)
         at Helper.<init>(Helper.java:16)
         at startProgram.ProcessFiles(startProgram.java:85)
         at startProgram.RecursiveThroughDirs(startProgram.java:43)
         at startProgram.main(startProgram.java:23)
    Caused by: org.xml.sax.SAXParseException: Unexpected character encountered (lex state 4): 'a'
         at com.bluecast.xml.Piccolo.reportFatalError(Piccolo.java:1003)
         at com.bluecast.xml.Piccolo.parse(Piccolo.java:705)
         at com.bea.xbean.store.Root$SaxLoader.load(Root.java:749)
         ... 11 more
    Any help is appriciated.
    thanks
    Somesh

    I currently have this issue open as well. I can tell you that if you run the setWLSenv.cmd/sh script and run the target from the command line it will likely work.
    I'm having the same issue when I put weblogic.jar on the classpath of the ant target instead of the classpath of java process that launches ant... Weird...
    Did you resolve this?
    -Chris

  • Com/bea/xml/XmlException in wls9.2

    I'm migrating the application from wls8.1 to wls9.2 and to jdk1.5
    maven build is being successful with wls8.1's weblogic.jar. But I'm getting following build error when i replaced it with wls9.2's weblogic.jar.
    [java] <Jan 4, 2007 5:20:15 PM MST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [java] com/bea/xml/XmlException
    this error is displayed when maven tries to create a jar for ejb. Please help me to solve this issue.
    Thanks

    I currently have this issue open as well. I can tell you that if you run the setWLSenv.cmd/sh script and run the target from the command line it will likely work.
    I'm having the same issue when I put weblogic.jar on the classpath of the ant target instead of the classpath of java process that launches ant... Weird...
    Did you resolve this?
    -Chris

  • Com.bea.xml.XmlException error for "could not create child element"

    In Workshop 9.2, after I created a project with XMLBeans Builder Builder against the xsd's and created a web service control against a wsdl, I inserted the control in a client project for consumption. However, when calling into a method of the control, I got a com.bea.xml.XmlException, saying "could not create child element" for an object parameter passed in the call to the method. The relevant info in the server console looks like this:
    Caused by: com.bea.xml.XmlException: could not create child element 'wirelessPhoneNumber' for Wrapped XMLBean operation on '<?xml version="1.0" encoding="UTF-8
    "?><m:sendSMSMessage xmlns:m="http://service.xyz.com/provider/mobile/abc/sendSMSMessage/200701/"><ns:behaviorVersion xmlns:ns="http://service.xyz.com/entity/message/2003/">0</ns:behaviorVersion><ns:custNbr xmlns:ns="http
    ://service.xyz.com/entity/party/2003/">Hello</ns:custNbr></m:sendSMSMessage>'
    Does any have an idea what this is trying to tell me?
    Thanks in advance for any help,
    Jason

    Looking into it further, I think it's the parameter wirelessPhoneNumber, which is a complex type from xsd and a java object passed to the call sendSMSMessage, that is having a namespace problem, or other problem.
    This parameter object was from XMLBeans java binding. I created and set it up like this before passing it to the call:
    PhoneNumberType phoneNumberType = phoneNumberType.Factory.newInstance();
    phoneNumberType.setFormat(PhoneNumberFormatEnum.FREEFORM);
    phoneNumberType.setFullNumber(phoneNumber);
    Obviously, com.bea.xbeanmarshal.buildtime.internal.util.XmlBeanUtil.createWrappedXBeanTopElement of XmlBeanUtil.java had a problem creating a wrapper element for it.
    Any clue from anyone?
    Jason

  • Package com.bea.xml does not exist

    Hello all,
    I would like to try the nice features of XMLBeans, but I am not able to import
    the package com.bea.xml in my first Java XMLBeans demo program, which I tried
    to create.
    The error message is "package com.bea.xml does not exist", even when the path
    "C:\LocalProgFiles\Bea\xkit" (where the file xbean.jar is located) is included
    in the CLASSPATH. Also the environemt variable XMLBEANDIR is set correctly to
    "C:\LocalProgFiles\Bea\xkit".
    Has anyone an idea, what is wrong?
    Thanx in advance
    Stefan

    Hey, Stefan:
    I am having the same problem as you were but I'm using Eclipse and I think I've set up the environment properly. Except I cannot, for the life of me, figure out where the Package, "com.bea.xml.stream.MXParserFactory", either resides on my computer or is located for download or is included in some other utility.
    We found an example that used the following code:
    System.setProperty("javax.xml.stream.XMLInputFactory","com.bea.xml.stream.MXParserFactory");
    So, I included that line just before I create a new instance of the XMLInputFactory, which I have included here:
    XMLInputFactory factory = XMLInputFactory.newInstance();
    When my application tries to execute this statement I get the error below. Am I supposed to have this package on my computer? I don't even have a bea directory. What am I doing wrong?
    Thank you,
    Patricia
    javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
         at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
         at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:120)
         at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
         at VSTEP.XMLFile.ReadInputStream(XMLFile.java:88)
         at VSTEP.XMLFile.openFile(XMLFile.java:39)
         at VSTEP.RoadmapApp.openFile(RoadmapApp.java:257)
         at VSTEP.FileChooser.<init>(FileChooser.java:44)
         at VSTEP.RMInitialDialog$ButtonHandler.actionPerformed(RMInitialDialog.java:131)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Code:com.bea.xml.marshal.XmlEncodingException String:Unrecognized element

    I am connecting to an external web service. However, I am getting the XmlEncodingException.
    Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:com.bea.xml.marshal.XmlEncodingException
    String:Unrecognized element ...
    Here is the stack trace.
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(Ljava.lang
    .reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(ServiceControlImpl.jcs:12
    37)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Obje
    ct;[Ljava.lang.Object;)Ljava.lang.Object;(DispMethod.java:373)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object
    ;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.O
    bject;)Ljava.lang.Object;(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runt
    ime.core.dispatcher.DispMethod;[Ljava.lang.Object;)Ljava.lang.Object;(Invocable.
    java:396)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runt
    ime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Inv
    ocable.java:248)
    at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(Lcom.bea.wlw.ru
    ntime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(J
    csContainer.java:84)
    at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.w
    lw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResu
    lt;(BaseContainerBean.java:198)
    at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(Lcom.bea.wlw.r
    untime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(
    SLSBContainerBean.java:103)
    at ...
    at com.bea.wlwgen.StatelessContainer_ngdnix_ELOImpl.findTdaByZip(Lcom.be
    a.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.dispatcher.InvokeR
    esult;(StatelessContainer_ngdnix_ELOImpl.java:153)
    at
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea
    .wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(B
    aseDispatcherBean.java:153)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(BaseDi
    spatcherBean.java:54)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(Lcom.bea.wlw.
    runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Response;(SyncDi
    spatcherBean.java:160)
    at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(Lco
    m.bea.wlw.runtime.core.request.Request;)Lcom.bea.wlw.runtime.core.request.Respon
    se;(SyncDispatcher_k1mrl8_EOImpl.java:100)
    at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Lcom.be
    a.wlw.runtime.core.dispatcher.DispFile;Lcom.bea.wlw.runtime.core.request.Request
    ;)Lcom.bea.wlw.runtime.core.request.Response;(Dispatcher.java:161)
    at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(Lcom.bea
    .wlw.runtime.core.request.Request;)Ljava.lang.Object;(ServiceHandleImpl.java:436
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(Lcom.bea.wlw
    .runtime.core.request.ExecRequest;)Ljava.lang.Object;(WlwProxyImpl.java:326)
    at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(Ljava.lang.Ob
    ject;Ljava.lang.reflect.Method;[Ljava.lang.Object;)Ljava.lang.Object;(WlwProxyIm
    pl.java:315)
    Any suggestions or ideas?

    Hey any solution for this problem ..
    I am having it.
    I am testing the webservice from a simple client and the test is succesfull but when I am running through workshop is gives me
    ata(); Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:com.bea.xml.marshal.XmlEncodingException
    String:Unrecognized element item - expected
    Please help me in this.

  • 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.

    Hi,
    I'm new to Weblogic and am stumped by a (hopefully) simple problem. I am trying to load a Myeclipse jsfdemo application, and get the following. Any help would be most appreciated.
    Mar 6, 2009 11:43:51 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/jsfdemo'
    Mar 6, 2009 11:43:51 AM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
    SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
    Mar 6, 2009 11:43:51 AM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.

    Hi,
    I'm new to Weblogic and am stumped by a (hopefully) simple problem. I am trying to load a Myeclipse jsfdemo application, and get the following. Any help would be most appreciated.
    Mar 6, 2009 11:43:51 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/jsfdemo'
    Mar 6, 2009 11:43:51 AM com.sun.faces.spi.InjectionProviderFactory getProviderInstance
    SEVERE: JSF1030: The specified InjectionProvider implementation 'com.bea.faces.WeblogicInjectionProvider' cannot be loaded.
    Mar 6, 2009 11:43:51 AM com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.

  • Wsdlc: Provider com.bea.xml.stream.XMLOutputFactoryBase not found

    So I'm trying to run wsdlc in Eclipse (and as a command line, both don't work). I want to run wsdlc without having to run setDomainEnv.cmd first (painful if i'm in eclipse). I've gotten previous commands (8.1 stuff) working w/o running this first. If I add weblogic.jar to the Ant runtime classpath it also works, but again, I want to avoid this because a) i've never had to do it in the past and b) it blows up my <junitreport> task because it tries to use weblogic's SAX stuff.
    The error I get is:
    javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.XMLOutputFactoryBase not found
    Anyways, is there a way to set up the classpath within ant for just this task? I've tried adding weblogic jars into wsdlc classpaths but it doesn't seem to work.
    It seems that com.bea.xml.stream.* can't be found anywhere but weblogic.xml.stream is in there. Any way I can redirect the XStream stuff to point there? I've tried system properties but didn't seem to work.
    Any help would be appreciated.
    Andy O

    Hmm... so that works as long as i add all of those jars to the ANT runtime classpath which is what I want to avoid in the first place. I'm starting to think it's wsdlc that's not paying any attention to the classpathref's I'm giving it.
    Previous weblogic ant tasks never required the jar to be in the ANT runtime classpath and I could just pass it a classpathref to the my weblogic jars and thing worked fine.
    Any other help?

  • JWSDP 2.0/ JAX-WS 2.0: can not find com.bea.xml.stream.MXParserFactory

    Hi,
    when I invoke wsimport with Ant to create the client artifacts with the custom-client-binding file I always get an error like "javax.xml.stream.FactoryConfigurationError, can not find provider class com.bea.xml.stream.MXParserFactory".
    I can not find the BEA provider in the JWSDP 2.0.
    Who can help me?
    wolfgang

    You need an implementation of the JSR-173 API on your classpath, e.g. sjsxp.jar from the JWSDP.

  • Portal Install Fails During "Load Java Database Content"

    Hi,
    I'm installing our production enterprise portal and it is failing on
    the following step:
    "Load Java Database Content"
    When I load at the jload.log I see the following error message:
    20.06.06 14:11 com.sap.inst.jload.Jload main
    INFO: Jload -sec
    EPP,jdbc/pool/EPP,D:\usr\sap\EPP\SYS\global/security/data/SecStore.properties,D:\usr\sap\EPP\SYS\global/security/data/SecStore.key -dataDir
    Z:/NW04PortalCDs/DVD_JAVA\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\Program
    Files\sapinst_instdir/IMPORT.XML -log C:\Program
    Files\sapinst_instdir/jload.log
    20.06.06 14:11 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    java.sql.SQLException: [SAP NetWeaver][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPEPPDB'. Reason: Not associated with a trusted
    SQL Server connection.
    Our landscape is as follows:
    production portal server - serverA
    production datbase instance (clustered) - serverB
    production database server (cluster) - serverB(virtual name)The portal is sharing a database with our R3 production server.
    I've noticed that the user SAPEPPDB exists in the database as a windows
    user and I've given that user all roles in the database but it is still
    unable to connect.
    Please help.
    Regards,
    Jeff

    Did you get an answer back on this? I am getting the same problem

  • Custom ClassLoader - fails to load java/lang/Object

    I have created a custom class loader based substantially on Jim Farley's code in "Java Distributed Computing" pp 39-44.
    The code does get a URL connection, download the class file, but fails when it tries to load (re-load) java/lang/Object. My understanding is that the same (custom) class loader is also used to load dependent classes (needed by the class your are originally loading). I had assumed that this would be handled by the call to findSystemClass() I had assumed.
    Any help or direction is appreciated,
    Jeff.
    Here is the output:
    File=/tasks/Person.class
    Host=n01
    Trying to load:/tasks/Person
    Check system :/tasks/Person
    Not found in System:/tasks/Person
    Check stream:/tasks/Person
    Class file is 815 bytes.
    Available = 815
    RemoteClassLoader: Reading class from stream...
    RemoteClassLoader: Defining class...
    java.lang.ClassNotFoundException: Cannot find class definition:
    java.lang.NoClassDefFoundError: java/lang/Object
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
         at RemoteClassLoader.readClass(RemoteClassLoader.java:83)
         at RemoteClassLoader.loadClass(RemoteClassLoader.java:139)
         at TestRemoteClassLoader.main(TestRemoteClassLoader.java:18)
    Class was not loaded.Here is the code:
    import java.lang.*;
    import java.net.*;
    import java.io.*;
    import java.util.Hashtable;
    public class RemoteClassLoader extends ClassLoader {
       URL classURL = null;
       InputStream classStream = null;
       java.lang.Object o = null;
       Hashtable classCache = new Hashtable();
       InputStream source = null;
       // Constructor
       public RemoteClassLoader()
       // Parse a class name from a class locator (URL, filename, etc.)
       protected String parseClassName(String classLoc)
          throws ClassNotFoundException
             String className = null;
             try { classURL = new URL(classLoc); }
             catch (MalformedURLException malex) {
                throw new ClassNotFoundException("Bad URL \"" + classLoc + "\"given: " + malex);
             System.out.println("File=" + classURL.getFile());
             System.out.println("Host=" + classURL.getHost());
             String filename = classURL.getFile();
             // Make sure this is a class file
             if (!filename.endsWith(".class"))
                throw new ClassNotFoundException("Non-class URL given.");
             else
                className = filename.substring(0,filename.lastIndexOf(".class"));
             return className;
       // Initialize the input stream from a class locator
       protected void initStream(String classLoc)
          throws IOException
             classStream = classURL.openStream();
       // Read a class from the input stream
       protected Class readClass(String classLoc, String className)
          throws IOException, ClassNotFoundException
             //See how large the class file is.
             URLConnection conn = classURL.openConnection();
             int classSize = conn.getContentLength();
             System.out.println("Class file is " + classSize + " bytes.");
             // Read the class bytecodes from the stream
             DataInputStream dataIn = new DataInputStream(classStream);
             int avail = dataIn.available();
             System.out.println("Available = " + avail);
             System.out.println("RemoteClassLoader: Reading class from stream...");
             byte[] classData = new byte[classSize];
             dataIn.readFully(classData);
             // Parse the class definition from the bytecodes
             Class c = null;
             System.out.println("RemoteClassLoader: Defining class...");
             try{ c = defineClass(null, classData, 0, classData.length); }
             catch (ClassFormatError cfex) {
                throw new ClassNotFoundException("Format error found in class data.");
             catch (NoClassDefFoundError clsdeferr) {
                clsdeferr.printStackTrace();           
                throw new ClassNotFoundException("Cannot find class definition:\n" + clsdeferr);
             return c;
       // load the class
       public Class loadClass(String classLoc, boolean resolve)
          throws ClassNotFoundException
             String className = parseClassName(classLoc);
             Class c;
             System.out.println("Trying to load:" + className);
             //maybe already loaded
             c = findLoadedClass(className);
             if (c!=null) {
                System.out.println("Already loaded.");
                return c;
             c = (Class) classCache.get(className);
             if (c!=null) {
                System.out.println("Class was loaded from cache...");
                return c;
             System.out.println("Check system :" + className);
             // Not in cache, try the system class...
             try {
                c = findSystemClass(className);
                if (c!=null) {
                   System.out.println("System class found...");
                   classCache.put(className, c);
                   return c;
             catch (ClassNotFoundException cnfex) {
                System.out.println("Not found in System:" + className);
                ; // keep looking
             System.out.println("Check stream:" + className);
             // Not in system either, so try to get from tthe stream
             try {initStream(classLoc); }
             catch (IOException ioe) {
                throw new ClassNotFoundException("Failed opening stream to URL.");
             // Read the class from the input stream
             try {c = readClass(classLoc, className); }
             catch (IOException ioe) {
                   throw new ClassNotFoundException("Failed reading class from stream: " + ioe);
             // Add the new class to the cache for the next reference.
             classCache.put(className, c);
             // Resovle the class, if requested
             if (resolve)
                resolveClass(c);
             return c;

    Never mind - I've figure it out.
    The problem is that the ClassLoader calls RemoteClassLoader.loadClass() to load in java.lang.Object, which is fine. But, my code tries to first create a URL from this, which fails, eventually throwing a NoClassDefFoundError.
    I have fixed it by delaying the call to parseName() until after checking loaded classes and system classes.

Maybe you are looking for