gpt4 book ai didi

java - 莫哈拉升级

转载 作者:太空宇宙 更新时间:2023-11-04 14:58:22 25 4
gpt4 key购买 nike

我使用的是 JBoss 6.1.0.Final,我必须将 Mojarra 版本从 2.0 升级到 2.1.24 以解决报告的问题 here 。这次升级成功了,但是引入了another problem 。所以我正在尝试升级到 Mojarra 的最新版本,即 2.1.28。尝试启动服务器时,这会引发以下错误:

16:44:06,815 INFO  [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/home/cassio/jboss-6.1.0.Final/
Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml
Common Base: $JBOSS_HOME/common/
Common Library: $JBOSS_HOME/common/lib/
Server Name: default
Server Base: $JBOSS_HOME/server/
Server Library: $JBOSS_HOME/server/default/lib/
Server Config: $JBOSS_HOME/server/default/conf/
Server Home: $JBOSS_HOME/server/default/
Server Data: $JBOSS_HOME/server/default/data/
Server Log: $JBOSS_HOME/server/default/log/
Server Temp: $JBOSS_HOME/server/default/tmp/

16:44:06,817 INFO [AbstractServer] Starting: JBossAS [6.1.0.Final "Neo"]
16:44:07,859 INFO [ServerInfo] Java version: 1.6.0_20,Sun Microsystems Inc.
16:44:07,859 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
16:44:07,859 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 16.3-b01,Sun Microsystems Inc.
16:44:07,859 INFO [ServerInfo] OS-System: Linux 2.6.38-10-generic-pae,i386
16:44:07,860 INFO [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.x Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/home/cassio/jboss-6.1.0.Final/lib/endorsed -Djava.library.path=/home/cassio/jboss-6.1.0.Final/bin/native -Dlogging.configuration=file:/home/cassio/jboss-6.1.0.Final/bin/logging.properties -DAMBIENTE=desenvolvimento -DFILE_PATH=/mnt/imagens -DPDF_FILE_PATH=/home/cassio/projetos/app-pdfs -Dfile.encoding=UTF-8
16:44:07,895 INFO [JMXKernel] Legacy JMX core initialized
16:44:10,509 INFO [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
16:44:10,979 INFO [JSFImplManagementDeployer] Initialized 4 JSF configurations: [Mojarra-2.1.26, Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
16:44:13,067 ERROR [AbstractKernelController] Error installing to PostParse: name=vfs:///home/cassio/jboss-6.1.0.Final/server/default/deploy/my-app.war state=Parse mode=Manual requiredState=PostParse: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///home/cassio/jboss-6.1.0.Final/server/default/deploy/my-app.war
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.2.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.2.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.2.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.1.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.1.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
Caused by: java.lang.IllegalArgumentException: Null attachment
at org.jboss.deployers.plugins.attachments.AttachmentsImpl.addAttachment(AttachmentsImpl.java:72) [:2.2.2.GA]
at org.jboss.deployers.structure.spi.helpers.TrackingMutableAttachments.addAttachment(TrackingMutableAttachments.java:131) [:2.2.2.GA]
at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addAttachment(AbstractDeploymentUnit.java:334) [:2.2.2.GA]
at org.jboss.deployers.spi.attachments.helpers.AbstractMutableAttachments.addAttachment(AbstractMutableAttachments.java:44) [:2.2.2.GA]
at org.jboss.deployers.spi.attachments.helpers.AbstractMutableAttachments.addAttachment(AbstractMutableAttachments.java:67) [:2.2.2.GA]
at org.jboss.jsf.deployer.JSFImplManagementDeployer.deploy(JSFImplManagementDeployer.java:281) [:1.0.3]
at org.jboss.jsf.deployer.JSFImplManagementDeployer.deploy(JSFImplManagementDeployer.java:56) [:1.0.3]
at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56) [:2.2.2.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63) [:2.2.2.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.2.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.2.GA]
... 43 more

如果尝试升级到 2.1.27、2.1.26 和 2.1.25,也会发生同样的情况。关于可能出现的问题有什么想法吗?

注意:为了执行升级,我按照 here 中的“Jboss 6 升级 JSF”部分的步骤进行操作。 .

最佳答案

问题出在 Eclipse 方面;它被损坏了。我切换回旧的“.metadata”备份,它又恢复工作了。

关于java - 莫哈拉升级,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22922148/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com