iteye_19501
2011-08-23 11:16
浏览 475
已采纳

Tomcat下启动正常 WebLogic启动错误。

<Unable to load descriptor G:\UTONGIBE\
WebRoot/WEB-INF/weblogic.xml of module WebRoot. 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:2
92)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:2
60)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abs
tractDescriptorLoader2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDe
scriptorLoader2.java:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(A
bstractDescriptorLoader2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDesc
riptorLoader2.java:754)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:16
4)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:828)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:282)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176
)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.ja
va:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.j
ava:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.
java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.
java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:
147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.jav
a:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:
39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)

    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeploy

ments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.j
ava:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.ja
va:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerServic
e.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService
.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ h
ttp://www.bea.com/ns/weblogic/90
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:32
9)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.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)
... 32 more
.>
<[WebAppModule(UTONGIBENEW:WebRoot)] Er
ror parsing descriptor in Web appplication "G:\UTONGIBE\WebRoot"
weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:833)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:282)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176
)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.ja
va:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.j
ava:360)
Truncated. see log file for complete stacktrace
com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ http://www.b
ea.com/ns/weblogic/90
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:32
9)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:306)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287
)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153
)
Truncated. see log file for complete stacktrace

<Failed to initialize the applicati
on 'UTONGIBENEW' due to error weblogic.application.ModuleException: [HTTP:101064][WebAppModule(UTONG
IBENEW:WebRoot)] Error parsing descriptor in Web appplication "G:\UTONGIBE\WebRoot"
weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:833)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:282)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176
)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.ja
va:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.j
ava:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.
java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.
java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:
147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.jav
a:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:
39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)

    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeploy

ments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.j
ava:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.ja
va:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerServic
e.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService
.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ h
ttp://www.bea.com/ns/weblogic/90
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:32
9)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.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:2
92)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:2
60)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abs
tractDescriptorLoader2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDe
scriptorLoader2.java:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(A
bstractDescriptorLoader2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDesc
riptorLoader2.java:754)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:16
4)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:828)
... 24 more

weblogic.application.ModuleException: Unmarshaller failed.
weblogic.application.ModuleException: [HTTP:101064][WebAppModule(UTONGIBENEW:WebRoot)] Error parsing
descriptor in Web appplication "G:\UTONGIBE\WebRoot"
weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:833)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:282)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176
)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.ja
va:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.j
ava:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.
java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.
java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:
147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.jav
a:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:
39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)

    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeploy

ments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.j
ava:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.ja
va:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerServic
e.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService
.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ h
ttp://www.bea.com/ns/weblogic/90
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:32
9)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.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:2
92)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:2
60)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(Abs
tractDescriptorLoader2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDe
scriptorLoader2.java:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(A
bstractDescriptorLoader2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDesc
riptorLoader2.java:754)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:16
4)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:828)
... 24 more

weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1048)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:282)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176
)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.ja
va:93)
Truncated. see log file for complete stacktrace
com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ http://www.b
ea.com/ns/weblogic/90
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:32
9)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalRes
ult.java:306)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287
)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153
)
Truncated. see log file for complete stacktrace

网上说的都是改web.xml的
<?xml version="1.0" encoding="UTF-8"?>

部分,但是改了之后毫无作用。

版本信息:
jdk1.5
weblogic 10.

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • zhuzhuxianghuahua007 2011-08-23 11:30
    已采纳

    weblogic10 自带的是JDK1.6
    所以必须让项目在JDK1.6的环境下编译,选中项目,右键---Properties----Java compiler---设置编译器为6.0
    另外: 2.4 2.5 都试试看

    已采纳该答案
    评论
    解决 无用
    打赏 举报
  • AngelAndAngel 2011-08-23 11:53

    weblogic.xml文件里面的配置不正常
    不同容器 加载的方式不相同

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题