我在Linux环境下在JBOSS 6.3 EAP UAT中部署耳朵时遇到问题。同样的耳朵我可以在本地Windows和Linux环境中部署,没有任何错误。但是在UAT中,它会对xmlparserv2.jar.产生问题,如果我成功地删除了部署的jar应用程序。由于应用程序正在使用xmlparserv2.jar无法删除它。以下是服务器日志中捕获的错误。
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/collections]] (ServerService Thread Pool -- 71) JBWEB000289: Servlet cxf threw load() exception: java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment cannot be cast to org.w3c.dom.Element
at java.util.XMLUtils.importProperties(XMLUtils.java:114) [rt.jar:1.7.0_45]
at java.util.XMLUtils.load(XMLUtils.java:86) [rt.jar:1.7.0_45]
at java.util.Properties.loadFromXML(Properties.java:868) [rt.jar:1.7.0_45]
at org.apache.cxf.common.util.PropertiesLoaderUtils.loadAllProperties(PropertiesLoaderUtils.java:71) [cxf-common-utilities-2.2.3.jar:2.2.3]
at org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:224) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLManagerImpl.java:219) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:109) [cxf-rt-core-2.2.3.jar:2.2.3]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_45]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_45]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_45]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [rt.jar:1.7.0_45]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [spring-beans-2.5.5.jar:2.5.5]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) [spring-beans-2.5.5.jar:2.5.5]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) [spring-context-2.5.5.jar:2.5.5]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) [spring-context-2.5.5.jar:2.5.5]
at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53) [cxf-rt-core-2.2.3.jar:2.2.3]
at org.apache.cxf.transport.servlet.CXFServlet.updateContext(CXFServlet.java:117) [cxf-rt-transports-http-2.2.3.jar:2.2.3]
at org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:101) [cxf-rt-transports-http-2.2.3.jar:2.2.3]
at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:70) [cxf-rt-transports-http-2.2.3.jar:2.2.3]
at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:90) [cxf-rt-transports-http-2.2.3.jar:2.2.3]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
我想请你帮忙,谢谢。
这似乎是一个已报告的错误并已修复,请尝试升级您的java版本
Fixed Versions:
6u29-rev (b22)
在开展实验之前,我们需要根据不同的平台提前安装相关依赖的软件包,具体需要的软件包如下: Rust 工具链 Rust 版本管理工具:rustup Rust 软件包管理工具:cargo Rust 编译器:rustc 等等 虚拟机软件:QEMU (版本至少支持 RISC-V 64) 具体安装的方法在不同平台上安装方式类似,但也有细微差别,后面会有具体说明。 安装 QEMU 根据不同平台,我们分为下面 3
我使用maven原型“org.jboss.spec.archetypes:jboss-javaee6-webapp-ear-archetype”生成代码。我启动了JBoss7,然后尝试从project root进行部署。 包装成功了。 非常感谢! 这是我打包后的项目结构(部分省略)
PWA 项目必须部署在 HTTPS 环境上才能够生效,主要是因为 Service Worker 只会在 HTTPS 环境下才能注册成功,我们不用担心在本地开发的时候 Service Worker 是否生效的问题,因为 Service Worker 在 localhost 和 127.0.0.1 的 host 下是能够注册成功的,这样可以确保我们在本地调试工作是能够顺利进行的。我们这里讲述的是如何部
当我在glassfigh 3.1.2.2 Build 5中部署应用程序时,我的生产环境中出现了digester错误。JDK版本是JDK 1.6 update 31。glassfish服务器将文件路径视为URL。请注意,我的应用程序使用相同的glassfish和jdk版本在本地windows环境中成功运行。在我的UAT linux环境中,同样的方法运行良好。但在我的生产环境是linux,它不工作。你
我在Tomcat服务器上运行了一堆war文件。我将这些文件打包到一个ear中,并希望将其部署到WebLogic12c服务器上。在我进行部署时,Weblogic似乎试图预编译包中包含的所有jsp。它给了我以下错误: 我想jstl库有一些问题。我按照这个指南https://docs.oracle.com/cd/e24329_01/web.1211/e21049/configureJSFandJTSL.
这就是我想要达到的目标: 1 ear-package:all.ear 耳朵包包含两个war(耳朵根部的a.war和b.war) ear-package包含1个自制的jar C和许多第三方jar(在app-inf\lib下) 这个包需要部署在JBoss WildFly 8.2.1上 我使用的是Maven的ear插件(maven-ear-plugin,版本2.10.1)。我在pom中的配置如下所示(这