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

问题描述

<Unable to load descriptor G:UTONGIBEWebRoot/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: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:395) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754) at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164) 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.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java: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.java: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(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.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@ http://www.bea.com/ns/weblogic/90 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) ... 32 more.><2011-8-23 上午11时11分37秒 CST> <Error> <HTTP> <BEA-101064> <[WebAppModule(UTONGIBENEW:WebRoot)] Error parsing descriptor in Web appplication "G:UTONGIBEWebRoot"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.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360) Truncated. see log file for complete stacktracecom.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ http://www.bea.com/ns/weblogic/90 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) Truncated. see log file for complete stacktrace><2011-8-23 上午11时11分37秒 CST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'UTONGIBENEW' due to error weblogic.application.ModuleException: [HTTP:101064][WebAppModule(UTONGIBENEW:WebRoot)] Error parsing descriptor in Web appplication "G:UTONGIBEWebRoot"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.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java: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.java: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(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.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@ http://www.bea.com/ns/weblogic/90 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:395) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754) at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164) at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:828) ... 24 moreweblogic.application.ModuleException: Unmarshaller failed.weblogic.application.ModuleException: [HTTP:101064][WebAppModule(UTONGIBENEW:WebRoot)] Error parsing descriptor in Web appplication "G:UTONGIBEWebRoot"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.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java: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.java: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(ConfiguredDeployments.java:233) at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.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@ http://www.bea.com/ns/weblogic/90 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:395) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745) at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754) at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164) at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:828) ... 24 moreweblogic.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.java:93) Truncated. see log file for complete stacktracecom.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@ http://www.bea.com/ns/weblogic/90 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) Truncated. see log file for complete stacktrace>网上说的都是改web.xml的<?xml version="1.0" encoding="UTF-8"?><web-app id="WebApp_ID" version="2.4">部分,但是改了之后毫无作用。版本信息:jdk1.5weblogic 10. 问题补充:pigswimming 写道

解决方案

weblogic10 自带的是JDK1.6所以必须让项目在JDK1.6的环境下编译,选中项目,右键---Properties----Java compiler---设置编译器为6.0另外:<web-app id="WebApp_ID" version="2.4"> 2.4 2.5 都试试看
解决方案二:
weblogic.xml文件里面的配置不正常 不同容器 加载的方式不相同

时间: 2024-11-05 04:52:10

Tomcat下启动正常 WebLogic启动错误。的相关文章

Tomcat下不同应用的启动顺序怎么更改???

问题描述 Tomcat下有两个应用aa , bb 现在的启动顺序是先启bb 后启动aa请问:怎么样设置下能先启动aa 等aa启动好后再启动bb ????问题补充:没有办法? 可是为什么每次一定都是bb先启动?Tomcat是按什么来决定先启动哪一个应用?问题补充:如果是按文件夹的字母顺序,为什么是bb先启动,而不是aa?问题补充:谢谢大家的回复.可能问题的根结不在启动顺序吧.因我配了个RMI. bb要调用aa中的方法. 应该配两个虚拟主机吧 解决方案 听说tomcat 5 相比 tomcat 4

启动故障-weblogic启动卡住了!!求高手解答!!!

问题描述 weblogic启动卡住了!!求高手解答!!! 解决方案 哎,我不是高手,没办法帮你解决了,你可以问问百度 解决方案二: 哎,我不是高手,没办法帮你解决了,你可以问问百度

SMSLIB 短信部署到TOMCAT下就不行了 急啊!!

问题描述 我把开发的SMSLIB程序部署到TOMCAT下就不行了在main()方法里没事一部署到TOMCAT下就不行了出现的错误是org.smslib.GatewayException:Commlibraryexception:java.lang.RuntimeException:javax.comm.NoSuchPortException文件都是按官方配置的啊comm.jar配置在了jdk/jre/lib/ext/javax.comm.propertiesjdk/jre/lib/win32co

把一个项目import到eclipse下,启动tomcat,就报了这样的错误

问题描述 把一个项目import到eclipse下,启动tomcat,就报了这样的错误 六月 19, 2015 5:29:53 下午 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8. 六月 19, 2015 5:29:53 下午 org.apache.catalina.core.Ap

拦截器-tomcat启动时出现这种错误

问题描述 tomcat启动时出现这种错误 严重: Dispatcher initialization failed Unable to load configuration. - bean - jar:file:/D:/Program%20Files/apache-tomcat-6.0.29/webapps/struts2.myeclipse.bak/WEB-INF/lib/struts2-spring-plugin-2.3.20.jar!/struts-plugin.xml:29:132 at

eclipse-bubbo消费端在工具中启动报错打包后tomcat下正常

问题描述 bubbo消费端在工具中启动报错打包后tomcat下正常 2016-04-04 15:12:03,845 ERROR [ContextLoader.java:336] : Context initialization failed java.lang.NoClassDefFoundError: Lvaolon/facade/user/service/UserFacade; at java.lang.Class.getDeclaredFields0(Native Method) at j

springMVC+CXF3.0 tomcat下启动正常,用脚本启动报错.

问题描述 如题.springMVC+CXF3.0,部署到tomcat下启动,一切ok.用脚本启动一直报错NoClassDefFoundError:Couldnotinitializeclasscom.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.网上查说是jdk版本的问题,但我的已经是1.6.24,应该不存在说的问题.看了一下,报错的这个类在jdk的rt.jar和jaxb-impl-2.2.7.jar下面都有.怀疑是类加载顺序问题,在jre的end

关于Eclipse3.4中默认的配置Tomcat,启动访问出现404错误

问题描述 使用的Eclipse3.4+Tomcat6.0在Eclipse中有配置Server的,配置好以后就会有一个Server项目.然后我创建一个Dynamic Web Project.并设置其服务器为Tomcat 6.0然后启动Tomcat,结果直接访问http://localhost:8080都是404错误.但是直接从tomcat启动又没问题,请问这个是怎么回事呢?这个主要是看了新的Eclipse里面带了控制Server的功能了应该就不用加其他插件了吧? 解决方案 从jee 版的eclip

Windows下PHP安装路径配置错误导致Apache无法启动怎么解决?

  这篇文章主要介绍了Windows下PHP安装路径配置错误导致Apache无法启动的解决方法,本文可以说是一个引号引发的悲剧,需要的朋友可以参考下 LoadModule php5_module "C(/D):/Program Files/php5/php5apache2_2.dll" PHP安装路径引起的apache无法启动错误 今天给一同事的PC机安装部署web服务的时候,按同事要求把所有程序文件放到安装目录的program files下,于是我把apache安装到了c:progr