Chander Shivdasani [
http://community.jboss.org/people/chandershivdasani] created the
discussion
"Deploying liferay on JBoss 7"
To view the discussion, visit:
http://community.jboss.org/message/620202#620202
--------------------------------------------------------------
I've been trying to deploy Liferay on JBoss 7 and have been failing miserably. I
followed the usual steps:
* Downloaded Jboss 7 and liferay.war
* I copied liferay.way at JBOSS_HOME/standalone/deployments
* And i ran JBOSS_HOME/bin/standalone.sh
I've been getting following errors. Did anyone try doing this before? I would be nice
if any of you can share the instructions.
12:06:02,088 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,088 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,089 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,089 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,089 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,089 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,090 WARN [org.jboss.as.server.deployment] (MSC service thread 1-47) 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.
12:06:02,250 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-47) MSC00001: Failed
to start service jboss.deployment.unit."liferay.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."liferay.war".PARSE: Failed to process phase PARSE of
deployment "liferay.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_23]
at java.lang.Thread.run(Thread.java:661) [:1.6.0_23]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to
parse "/content/liferay.war/WEB-INF/jboss-web.xml"
at
org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:66)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,2]
Message: Unexpected element 'class-loading' encountered
at
org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
at
org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:182)
at
org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:64)
... 6 more
12:06:02,267 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2)
Deployment of "liferay.war" was rolled back with failure message {"Failed
services" => {"jboss.deployment.unit.\"liferay.war\".PARSE"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"liferay.war\".PARSE: Failed to process phase PARSE of
deployment \"liferay.war\""}}
12:06:02,268 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) Service
status report
Services which failed to start:
service jboss.deployment.unit."liferay.war".PARSE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."liferay.war".PARSE: Failed to process phase PARSE of
deployment "liferay.war"
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/620202#620202]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]