Liferay 6.2 on JBoss 7.2



我有问题。我正在尝试在JBOSS 7.2上运行Liferay 6.2。我遵循了安装步骤(https://www.liferay.com/de/documentation/liferay-portal/6.2/user-guide/-/ai/installing-liferay-liferay-on-jboss-7-7-liferay-portal-6--6--2-用户指南15-en),但我无法部署/开始Liferay。我一直都会得到Hornetq例外。

17:28:17,271 INFO  [org.hornetq.core.server] (MSC service thread 1-9) HQ221004: HornetQ Server version 2.3.0.CR1 (buzzzzz!, 122) [fa28bdb6-0fc3-11e3-ad50-a3678588ef85] stopped
17:30:25,437 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122018: Can not connect to XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null] on auto-generated resource recovery: HornetQException[errorType=NOT_CONNECTED message=HQ119026: Cannot connect to server(s). Tried with all available servers.]
    at [...]
17:30:25,440 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122010: XA Recovery can not connect to any hornetq server on recovery [XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null]]
17:30:25,442 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Error trying to connect to any providers for xa recovery
    at [...]
Caused by: HornetQException[errorType=NOT_CONNECTED message=null]
    at [...]
    ... 7 more
17:30:25,443 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122018: Can not connect to XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null] on auto-generated resource recovery: HornetQException[errorType=NOT_CONNECTED message=HQ119026: Cannot connect to server(s). Tried with all available servers.]
    at [...]
17:30:25,444 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122010: XA Recovery can not connect to any hornetq server on recovery [XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null]]
17:30:25,444 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122018: Can not connect to XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null] on auto-generated resource recovery: HornetQException[errorType=NOT_CONNECTED message=HQ119026: Cannot connect to server(s). Tried with all available servers.]
    at [...]
17:30:25,445 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122010: XA Recovery can not connect to any hornetq server on recovery [XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null]]
17:30:25,446 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122018: Can not connect to XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null] on auto-generated resource recovery: HornetQException[errorType=NOT_CONNECTED message=HQ119026: Cannot connect to server(s). Tried with all available servers.]
    at [...]
17:30:25,447 WARN  [org.hornetq.jms.server] (Periodic Recovery) HQ122010: XA Recovery can not connect to any hornetq server on recovery [XARecoveryConfig [transportConfiguration = [TransportConfiguration(name=8e623d60-82ae-11e3-847c-e5da1aae7895, factory=org-hornetq-core-remoting-impl-invm-InVMConnectorFactory) ?server-id=0], discoveryConfiguration = null, username=null, password=null]]
17:30:25,447 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Error trying to connect to any providers for xa recovery
    at [...]
Caused by: HornetQException[errorType=NOT_CONNECTED message=null]
    at [...]
    ... 7 more

我知道Liferay 6.2已获得JBOSS 7.1的认证,而不是7.2,但我已经在JBOSS 7.2上运行了Liferay 6.1.2 CE,所以我想也必须有6.2 EE的方法。

有人有想法还是可以帮助我?

你的问候塞巴斯蒂安


我对我的JBOSS配置进行了一些更改。将所有特定于Liferay的设置从Full-HA配置文件转移到HA配置文件(HA中没有Hornetq)。因此,不再存在HornetQ错误。但是我仍然无法将Liferay部署到我的JBOSS。服务器试图部署Liferay,但(似乎)停止进步/工作而没有任何其他信息。

16:12:51,691 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.2.0.Final "Janus" started in 7662ms - Started 164 of 277 services (112 services are passive or on-demand)
16:17:13,699 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-30) JBAS015876: Starting deployment of "liferay-portal-6.2.10.1-ee-ga1.war" (runtime-name: "liferay.war")
16:17:33,174 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jaxws-api.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,174 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jsr181-api.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,174 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jsr250-api.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,175 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jsr173_api.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,175 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry sjsxp.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,175 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry woodstox.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,176 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry resolver.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,176 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jaxb-api.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,176 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry activation.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,177 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry stax-utils.jar in /content/liferay.war/WEB-INF/lib/jaxws-rt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,180 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry unoloader.jar in /content/liferay.war/WEB-INF/lib/jurt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,181 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry ../../lib/ in /content/liferay.war/WEB-INF/lib/jurt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,181 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry ../bin/ in /content/liferay.war/WEB-INF/lib/jurt.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,181 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry activation.jar in /content/liferay.war/WEB-INF/lib/saaj-impl.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,188 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry lib/ant.jar in /content/liferay.war/WEB-INF/lib/truezip.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,189 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry lib/lcrypto-jdk14-135.jar in /content/liferay.war/WEB-INF/lib/truezip.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,196 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jaxb-api.jar in /content/liferay.war/WEB-INF/lib/jaxb-impl.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,197 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry activation.jar in /content/liferay.war/WEB-INF/lib/jaxb-impl.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,197 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jsr173_1.0_api.jar in /content/liferay.war/WEB-INF/lib/jaxb-impl.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,197 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jaxb1-impl.jar in /content/liferay.war/WEB-INF/lib/jaxb-impl.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,200 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry asm-3.3.jar in /content/liferay.war/WEB-INF/lib/asm-xml.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,201 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry asm-util-3.3.jar in /content/liferay.war/WEB-INF/lib/asm-xml.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,201 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry asm-attrs-3.3.jar in /content/liferay.war/WEB-INF/lib/asm-xml.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,202 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry mchange-commons-java-0.2.3.4.jar in /content/liferay.war/WEB-INF/lib/c3p0.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,212 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry commons-cli.jar in /content/liferay.war/WEB-INF/lib/xuggle-xuggler-noarch.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,212 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry logback-classic.jar in /content/liferay.war/WEB-INF/lib/xuggle-xuggler-noarch.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,213 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry logback-core.jar in /content/liferay.war/WEB-INF/lib/xuggle-xuggler-noarch.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,214 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jakarta-oro.jar in /content/liferay.war/WEB-INF/lib/struts.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,215 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jaxp-api.jar in /content/liferay.war/WEB-INF/lib/saaj-api.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,216 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry jax-qname.jar in /content/liferay.war/WEB-INF/lib/saaj-api.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,216 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry activation.jar in /content/liferay.war/WEB-INF/lib/saaj-api.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,216 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015960: Class Path entry servlet.jar in /content/liferay.war/WEB-INF/lib/saaj-api.jar  does not point to a valid jar for a Class-Path reference.
16:17:33,553 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'
16:17:33,554 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'DRIVER=TRUE' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,554 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'DEFAULT=ear|jar|war|zip' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,554 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'zip=de.schlichtherle.io.archive.zip.ZipDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'ear|jar|war=de.schlichtherle.io.archive.zip.JarDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'odg|odp|ods|odt=de.schlichtherle.io.archive.zip.OdfDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'otg|otp|ots|ott=de.schlichtherle.io.archive.zip.OdfDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'odb|odf|odm|oth=de.schlichtherle.io.archive.zip.OdfDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,555 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'exe=de.schlichtherle.io.archive.zip.ReadOnlySfxDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,556 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'tzp|zip.rae|zip.raes=de.schlichtherle.io.archive.zip.raes.SafeZipRaesDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,556 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'tar=de.schlichtherle.io.archive.tar.TarDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,556 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'tgz|tar.gz=de.schlichtherle.io.archive.tar.TarGZipDriver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,556 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'tbz2|tar.bz2=de.schlichtherle.io.archive.tar.TarBZip2Driver' for service type 'de.schlichtherle.io.registry.properties'
16:17:33,559 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-22) JBAS015893: Encountered invalid class name 'org.kxml2.io.KXmlParser,org.kxml2.io.KXmlSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'
16:17:33,583 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-25) JBAS015897: Could not find Extension-List entry ExtensionListEntry [name=javax.crypto, title=crypto] referenced from ResourceRoot [root="/content/liferay.war/WEB-INF/classes"]
16:17:36,766 INFO  [org.jboss.web] (ServerService Thread Pool -- 74) JBAS018210: Register web context: 
16:17:37,886 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/]] (ServerService Thread Pool -- 74) Initializing Spring root WebApplicationContext
16:18:03,800 INFO  [org.jboss.web] (ServerService Thread Pool -- 79) JBAS018224: Unregister web context: /JvmMonitor
16:18:03,834 INFO  [org.apache.coyote.http11] (MSC service thread 1-3) JBWEB003075: Coyote HTTP/1.1 pausing on: http-/10.173.121.39:8380
16:18:03,843 INFO  [org.apache.coyote.http11] (MSC service thread 1-3) JBWEB003077: Coyote HTTP/1.1 stopping on : http-/10.173.121.39:8380
16:18:03,877 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010409: Unbound data source [java:jboss/datasources/LIFERAY_TEST_DS]
16:18:03,883 INFO  [org.apache.coyote.ajp] (MSC service thread 1-31) JBWEB003048: Pausing Coyote AJP/1.3 on ajp-/10.173.121.39:8309
16:18:03,884 INFO  [org.apache.coyote.ajp] (MSC service thread 1-31) JBWEB003051: Stopping Coyote AJP/1.3 on ajp-/10.173.121.39:8309
16:18:03,937 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-24) JBAS015877: Stopped deployment JvmMonitor.war (runtime-name: JvmMonitor.war) in 150ms

那就是...

解决了我的问题。如果您打算在JBOSS 7.2上运行Liferay 6.2,请确保您使用的是Liferay.war和Liferay依赖性的相同版本。即使是微小的差异也会导致JBOSS节点残废。可悲的是,logfiles除了表明某些事情可能出错外,没有提供太多信息。

相关内容

  • 没有找到相关文章

最新更新