I've also compiled JBoss JPA example of booking for weblogic and tried deploying it to
WL 10. I get different kind of error
anonymous wrote :
|
| Error loading the persistence descriptor
WEB-INF/lib/jboss-seam-jpa.jar!/META-INF/persistence.xml from the module
jboss-seam-jpa.war. See the following stack trace for nested errors:
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:438) 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:438) 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)
| Error loading the persistence descriptor
WEB-INF/lib/jboss-seam-jpa.jar!/META-INF/persistence.xml from the module
jboss-seam-jpa.war. See the following stack trace for nested errors:
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:438) 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:438) 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)
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032836#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...