[jboss-user] [JBoss Seam] - Help: Seam on Weblogic 10

lisaanm do-not-reply at jboss.com
Fri Jul 13 04:55:40 EDT 2007


Hi,
 I'm trying to run JPA example with Seam 1.2.1 GA, ended up with 

  | ####<12.07.2007 13.30 Uhr CEST> <Error> <J2EE> <toms-2000> <examplesServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1184239814906> <BEA-160197> <Unable to load descriptor weblogic.utils.classloaders.ChangeAwareClassLoader at 1df0959 finder: weblogic.utils.classloaders.CodeGenClassFinder at 19f58a annotation: consoleapp at console/WEB-INF/lib/jboss-seam-jpa.jar!/META-INF/persistence.xml of module jboss-seam-jpa.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
  | 	at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
  | 	at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
  | 	at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:397)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
  | 	at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:157)
  | 	at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:86)
  | 	at weblogic.deployment.PersistenceUnitViewer$ResourceViewer.loadDescriptors(PersistenceUnitViewer.java:41)
  | 	at weblogic.application.compiler.WARModule.merge(WARModule.java:427)
  | 	at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
  | 	at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
  | 	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.ReadOnlyWarMerger.merge(ReadOnlyWarMerger.java:27)
  | 	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:137)
  | 	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:149)
  | 	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)
  | Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=persistence
  | 	at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
  | 	at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
  | 	at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
  | 	at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
  | 	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:141)
  | 	at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
  | 	at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:397)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
  | 	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
  | 	at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:157)
  | 	at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:86)
  | 	at weblogic.deployment.PersistenceUnitViewer$ResourceViewer.loadDescriptors(PersistenceUnitViewer.java:41)
  | 	at weblogic.application.compiler.WARModule.merge(WARModule.java:427)
  | 	at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
  | 	at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
  | 	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.ReadOnlyWarMerger.merge(ReadOnlyWarMerger.java:27)
  | 	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:137)
  | 	at weblogic.utils.compiler.Tool.run(Tool.java:158)
  | 
  | 

If anyone got SEAM working on Weblogic 10, please share your comments.

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063848#4063848

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063848



More information about the jboss-user mailing list