Discussions

EJB programming & troubleshooting: Weblogic10 APPC Problem on Windows

  1. Weblogic10 APPC Problem on Windows (3 messages)

    Actually My problem .. as stated in earlier thread .. related to deployment is resolved. There were duplicate entries of the same name in the ejb-jar.xml and it seems that weblogic10 parser is more strict on that. I have successfully build and deployed my application on WL10 at AIX. But i am still having problem to run appc on windows. Its throwing the following exception Unable to load descriptor --------------------------------------------- I think this back slash and forward slash making problem.. E:\FMSAntBuild\WLS10_Build\jars\FMS-raw.jar/META-INF/ejb-jar.xml (see full exception below) --------------------------------------------- [java] Created working directory: C:\DOCUME~1\kymsh2\LOCALS~1\Temp\appcgen_1188625950850_FMS-raw.jar [java] [GC 8128K->3358K(130112K), 0.0161498 secs] [java] [GC 11486K->5074K(130112K), 0.0172815 secs] [java] [GC 13202K->5831K(130112K), 0.0129304 secs] [java] [GC 13959K->6728K(130112K), 0.0116495 secs] [java] <Unable to load descriptor E:\FMSAntBuild\WL S10_Build\jars\FMS-raw.jar/META-INF/ejb-jar.xml of module FMS-raw.jar. The error is java.io.IOException [java] at weblogic.descriptor.internal.MarshallerFactory.>(MarshallerFactory.java:50) [java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131) [java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165) [java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289) [java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescrip torLoader2.java:774) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoad er2.java:395) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescr iptorLoader2.java:745) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader 2.java:754) [java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131) [java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderI mpl.java:671) [java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:2 20) [java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescript orReaderImpl.java:185) [java] at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:9 3) [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430) [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467) [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298) [java] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83) [java] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.jav a:16) [java] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31) [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) [java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26) [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25) [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118) [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43) [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) [java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26) [java] at weblogic.application.compiler.Appc.runBody(Appc.java:172) [java] at weblogic.utils.compiler.Tool.run(Tool.java:158) [java] at weblogic.utils.compiler.Tool.run(Tool.java:115) [java] at weblogic.application.compiler.Appc.main(Appc.java:183) [java] at weblogic.appc.main(appc.java:14) [java] Caused by: com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClass Loader@133056f [java] at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryIm pl.java:50) [java] at weblogic.descriptor.internal.MarshallerFactory.(MarshallerFactory.java:48) [java] ... 35 more [java] .> [java] com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClassLoader@1330 56f [java] at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryIm pl.java:50) [java] at weblogic.descriptor.internal.MarshallerFactory.(MarshallerFactory.java:48) [java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131) [java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165) [java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289) [java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescrip torLoader2.java:774) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoad er2.java:395) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescr iptorLoader2.java:745) [java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader 2.java:754) [java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131) [java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderI mpl.java:671) [java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:2 20) [java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescript orReaderImpl.java:185) [java] at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:9 3) [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430) [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467) [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298) [java] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83) [java] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.jav a:16) [java] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31) [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) [java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26) [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25) [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118) [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43) [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) [java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26) [java] at weblogic.application.compiler.Appc.runBody(Appc.java:172) [java] at weblogic.utils.compiler.Tool.run(Tool.java:158) [java] at weblogic.utils.compiler.Tool.run(Tool.java:115) [java] at weblogic.application.compiler.Appc.main(Appc.java:183) [java] at weblogic.appc.main(appc.java:14) [java] unable to load type library from classloader sun.misc.Launcher$AppClassLoader@133056f [java] Java Result: 1 **** ANY IDEA.. ANY BODY ??? *************

    Threaded Messages (3)

  2. sawal ka hal[ Go to top ]

    boss atiqa odo ki mail kar dain, reply jaldi ajaey ga....
  3. The same problem here...[ Go to top ]

    Did you find the solution for the problem? I am currently having exactly the same stack trace on Windows XP, although at loading the application.xml. Thanks in advance, Balazs
  4. Re: The same problem here...[ Go to top ]

    did anybody find out about the reason? Looks pretty much as if Appc finds the file but has problems with the content. Removing ejb-jar.xml from the file system, Appc says: weblogic.utils.compiler.ToolFailureException: [J2EE:160112]Error: The directory, 'D:\somePath', does not contain a valid module. If the directory represents an ear file, it must contain a META-INF/application.xml file. If the directory represents an ejb-jar file, it must contain a META-INF/e jb-jar.xml file. If the directory represents a war file, it must contain a WEB-INF/web.xml file. Please ensure the source directory is a valid module and try again. Regards, Holger