我在现有项目中进行了以下升级: JSF 1.2-JSF2.1 icefaces 1.6-icefaces 3.0
升级代码中的jar和icefaces组件后,在部署MyProject.ear文件时出现以下错误:
2018-11-22 12:07:41,133警告[org.jboss.as.dependency.private](MSC服务线程1-4)JBAS015867:部署“ deployment.MyProject.ear.MyProject_Web.war”正在使用私有模块(“ org.jboss.as.jsf-injection:2.1”),在将来的版本中可能会更改或删除,恕不另行通知。 2018-11-22 12:07:41,354错误[org.jboss.msc.service.fail](MSC服务线程1-3)MSC000001:无法启动服务jboss.deployment.subunit。“ MyProject.ear”。“ MyProject_Web” .war”。POST_MODULE:服务jboss.deployment.subunit中的org.jboss.msc.service.StartException。“ MyProject.ear”。“ MyProject_Web.war”。POST_MODULE:JBAS018733:无法处理子部署“ MyProject_Web.war”的阶段POST_MODULE。部署“ MyProject.ear” 在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166)上[jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] 在org.jboss.msc.service.ServiceControllerImpl $ StartTask.startService(ServiceControllerImpl.java:1980)[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] 在org.jboss.msc.service.ServiceControllerImpl $ StartTask.run(ServiceControllerImpl.java:1913)[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] 在java.util.concurrent.ThreadPoolExecutor.runWorker(未知来源)[rt.jar:1.8.0_171] 在java.util.concurrent.ThreadPoolExecutor $ Worker.run(未知来源)[rt.jar:1.8.0_171] 在java.lang.Thread.run(未知来源)[rt.jar:1.8.0_171] 原因:java.lang.StringIndexOutOfBoundsException:字符串索引超出范围:0 在java.lang.String.charAt(未知来源)[rt.jar:1.8.0_171] 在org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:451)[jboss-modules.jar:1.3.6.Final-redhat-1] 在org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)[jboss-modules.jar:1.3.6.Final-redhat-1] 在org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)[jboss-modules.jar:1.3.6.Final-redhat-1] 在org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)[jboss-modules.jar:1.3.6.Final-redhat-1] 在org.jboss.as.jsf.deployment.JSFManagedBeanProcessor.deploy(JSFManagedBeanProcessor.java:102) 在org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)上[jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] ...还有5个
2018-11-22 12:07:41,447信息[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor](MSC服务线程1-2)JNDI绑定,用于部署单元子部署“ MyProject_Ejb”中名为ProcessTimer的会话bean部署“ MyProject.ear”的“ .jar”如下:
java:global/MyProject/MyProject_Ejb/ProcessTimer!com.MyProject.architecture.process.server.mdb.IProcessTimer
java:app/MyProject_Ejb/ProcessTimer!com.MyProject.architecture.process.server.mdb.IProcessTimer
java:module/ProcessTimer!com.MyProject.architecture.process.server.mdb.IProcessTimer
java:global/MyProject/MyProject_Ejb/ProcessTimer
java:app/MyProject_Ejb/ProcessTimer
java:module/ProcessTimer
2018-11-22 12:07:41,697错误[org.jboss.as.controller.management-operation](控制器引导线程)JBAS014612:操作(“ deploy”)失败-地址:([(“ deployment” =>“ MyProject.ear”)])-失败描述:{ “ JBAS014671:服务失败” => {“ jboss.deployment.subunit。\” MyProject.ear \“。\” MyProject_Web.war \“。POST_MODULE” =>“ org.jboss.msc.service.StartException在服务jboss中。 Deployment.subunit。\“ MyProject.ear \”。\“ MyProject_Web.war \”。POST_MODULE:JBAS018733:无法处理部署\\ MyProject.ear \的子部署\ MyProject_Web.war \的阶段POST_MODULE。 由以下原因引起:java.lang.StringIndexOutOfBoundsException:字符串索引超出范围:0“}, “ JBAS014771:服务缺少/不可用的依赖项” => [ “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.ORB [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.Validator [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer]”, “缺少” jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.ORB [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB]“, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.ValidatorFactory [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB.Validator [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB]”, “” jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.Validator丢失[jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB]“, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.ORB [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.HandleDelegate [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.Validator [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.ValidatorFactory [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB.HandleDelegate [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.ValidatorFactory [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.HandleDelegate [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB.ORB [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.ORB [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.Validator [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.HandleDelegate [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB.ValidatorFactory [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.ValidatorFactory [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB]”, “缺少jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.HandleDelegate [jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB] ] } 2018-11-22 12:07:41,974信息[org.jboss.as.server](ServerService线程池-29)JBAS015859:部署了“ MyProject.ear”(运行时名称:“ MyProject.ear”) 2018-11-22 12:07:41,979信息[org.jboss.as.controller](控制器引导线程)JBAS014774:服务状态报告 JBAS014775:新的缺少/不满意的依赖项: 服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB(缺少)依赖项:[服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB.ValidatorFactory,服务jboss.naming.context.java。 comp.MyProject.MyProject_Ejb.BatchExecutionMDB.ORB,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecutionMDB.HandleDelegate,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchExecution 服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB(缺少)相关项:[服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.HandleDelegate,服务jboss.naming.context.java。 comp.MyProject.MyProject_Ejb.BatchMDB.Validator,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.ValidatorFactory,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMDB.ORB] 服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB(缺少)依赖项:[服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.Validator,服务jboss.naming.context。 comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.ValidatorFactory,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMassExecutionMDB.ORB,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.BatchMgate 服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB(缺少)依赖项:[服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.ORB,服务jboss.naming.context.java。 comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.HandleDelegate,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionMDB.Validator,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessExecutionFactoryM 服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer(缺失)相关项:[服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.ValidatorFactory,服务jboss.naming.context.java。 comp.MyProject.MyProject_Ejb.ProcessTimer.ORB,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.Validator,服务jboss.naming.context.java.comp.MyProject.MyProject_Ejb.ProcessTimer.HandleDelegate] JBAS014777:无法启动的服务:service jboss.deployment.subunit。“ MyProject.ear”。“ MyProject_Web.war”。POST_MODULE:service jboss.deployment.subunit中的org.jboss.msc.service.StartException。“ MyProject.ear “。” MyProject_Web.war“。POST_MODULE:JBAS018733:无法处理部署“ MyProject.ear”的子部署“ MyProject_Web.war”的阶段POST_MODULE
2018-11-22 12:07:42,100错误[org.jboss.as](控制器引导线程)JBAS015875:JBoss EAP 6.4.0.GA(AS 7.5.0.Final-redhat-21)已启动(错误)在102383毫秒内-从819个服务中启动了755个(23个服务失败或缺少依赖项,286个服务处于惰性,被动或按需状态) 2018-11-22 12:07:42,579 INFO [org.jboss.as.server.deployment](MSC服务线程1-3)JBAS015974:在183毫秒内停止了子部署(运行时名称:MyProject_Ejb.jar) 2018-11-22 12:07:50,233信息[org.jboss.as.server.deployment](MSC服务线程1-1)JBAS015974:在7846毫秒内停止了子部署(运行时名称:MyProject_Web.war) 2018-11-22 12:07:50,775信息[org.jboss.as.server.deployment](MSC服务线程1-4)JBAS015877:在8398毫秒内停止部署MyProject.ear(运行时名称:MyProject.ear) 2018-11-22 12:07:50,916信息[org.jboss.as.server](DeploymentScanner线程-2)JBAS015858:取消部署“ MyProject.ear”(运行时名称:“ MyProject.ear”) 2018-11-22 12:07:50,916信息[org.jboss.as.controller](DeploymentScanner-threads-2)JBAS014774:服务状态报告 JBAS014775:新的缺少/不满意的依赖项: 服务jboss.naming.context.java.module.MyProject.MyProject_Ejb(缺失)相关项:[service jboss.deployment.subunit。“ MyProject.ear”。“ MyProject_Ejb.jar” .INSTALL] JBAS014777:无法启动的服务:service jboss.deployment.subunit。“ MyProject.ear”。“ MyProject_Web.war” .POST_MODULE