j2ee-weblogic部署web.xml问题

问题描述

weblogic部署web.xml问题

#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <Unable to load descriptor D:scyj_new/WEB-INF/web.xml of module scyj_new. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.utils.WarUtils.getWebAppBean(WarUtils.java:124)
at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:413)
at weblogic.application.compiler.WARModule.merge(WARModule.java:455)
at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
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:88)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
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:157)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)

Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ErrorPageBeanImpl@1c1f051f(/ErrorPages[404])"
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
... 122 more

Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ErrorPageBeanImpl@1c1f051f(/ErrorPages[404])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
at weblogic.j2ee.descriptor.WebAppBeanImpl.setErrorPages(WebAppBeanImpl.java:1833)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
... 130 more

解决方案

weblogic部署常见问题

解决方案二:

D:scyj_new/WEB-INF/web.xml of module scyj_new. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
好像是这个模块名重复了,造成冲突,改一下试试

时间: 2024-09-14 23:59:43

j2ee-weblogic部署web.xml问题的相关文章

不能连接数据库-weblogic部署web项目报:连接数据库失败,请检查系统数据库连接配置

问题描述 weblogic部署web项目报:连接数据库失败,请检查系统数据库连接配置 2C youngtop.sys.exception.YoungtopException: 系统错误:youngtop.sys.exception.YoungtopException: 数据库操作错误:errcode=17002sqlstate=08006java.sql.SQLRecoverableException: IO 错误: Software caused connection abort: socke

weblogic部署web项目出现org/springframework/core/NestedExceptionUtils错误

问题描述 weblogic部署web项目出现org/springframework/core/NestedExceptionUtils错误求帮忙啊

J2EE deployment files(web.xml)

j2ee|web|xml <web-app> This file contains the configuration for a web-application. <icon> The icon element contains a small-icon and a large-icon element which specify the location within the web application for a small and large image used to

was 增量部署 web.xml不生效问题

问题描述 was版本是8.0.0.0在web.xml中增加了一个listener,增量包投产后新增加的listener怎么都不生效,实在不知道怎么解决了缓存中该修改的都修改了,还是不行

weblogic部署web项目报错java.lang.ClassCastException

问题描述 tomcat本地测试都是可以的,但在weblogic上部署,就会报错:java.lang.RuntimeException:UnabletocreateXMLReaderatorg.jasig.cas.client.util.XmlUtils.getXmlReader(XmlUtils.java:58)atorg.jasig.cas.client.util.XmlUtils.getTextForElement(XmlUtils.java:130)atorg.jasig.cas.clie

weblogic部署web工程,类型转换异常。

问题描述 20:36:02[ERROR]Digester.getParser:java.lang.ClassCastException:weblogic.xml.jaxp.RegistrySAXParserFactorycannotbecasttojavax.xml.parsers.SAXParserFactoryatjavax.xml.parsers.SAXParserFactory.newInstance(UnknownSource)atorg.apache.commons.digester

weblogic的部署web应用的几种方法?

问题描述 weblogic部署web应用,通常采用war包形式通过控制台部署,但是这样会出现一些路径的问题,也不知道怎么通过url访问上传的照片.在网上上找了很久发现除了war包形式部署应用,还可以将Web应用复制到WebLogic域的autodeploy目录下,系统就会把应用部署到WebLogic域中,但是我把web项目部署到autodeploy中重启weblogic,怎么不能访问应用呢? 解决方案 weblogic支持的部署包有很多种,ear.war.应用路径.jar等等部署方式也很多种,可

weblogic中部署web报错,各位大大看看

问题描述 部署的目录是D:beauser_projectsapplicationsmydomainDefaultWebApp,整套程序考进去的,启动server没报错,一点deploy就报错,红叉叉一个.报错信息如下weblogic.management.DeploymentException:Exception:weblogic.management.ApplicationException:start()failed.Module:DefaultWebAppError:weblogic.ma

weblogic 10 安装好后 Configuration Wizard却运行不了。无法部署web项目

问题描述 weblogic 10 安装好后 Configuration Wizard却运行不了.无法部署web项目 weblogic 10 安装好后 Configuration Wizard却运行不了.无法部署web项目