Error deploy liferay in Jboss6
j.gutierrez Oct 28, 2010 12:39 PMI have trouble making the project deploy liferay on jboss6, specifically I get this:
java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfs:///usr/local/jboss/server/all/deploy/ROOT.war -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///usr/local/jboss/server/all/deploy/ROOT.war
DEPLOYMENTS IN ERROR:
Deployment "vfs:///usr/local/jboss/server/all/deploy/ROOT.war" is in error due to the following reason(s): java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "freemarker.ext.dom.SunInternalXalanXPathSupport$1.getNamespaceForPrefix(Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/lang/String;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, freemarker/ext/dom/SunInternalXalanXPathSupport$1, and the class loader (instance of <bootloader>) for interface com/sun/org/apache/xml/internal/utils/PrefixResolver have different Class objects for the type org/w3c/dom/Node used in the signature
at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:312)
at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)
at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)
at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)
at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:173)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfs:///usr/local/jboss/server/all/deploy/ROOT.war -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///usr/local/jboss/server/all/deploy/ROOT.war
DEPLOYMENTS IN ERROR:
Deployment "vfs:///usr/local/jboss/server/all/deploy/ROOT.war" is in error due to the following reason(s): java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "freemarker.ext.dom.SunInternalXalanXPathSupport$1.getNamespaceForPrefix(Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/lang/String;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, freemarker/ext/dom/SunInternalXalanXPathSupport$1, and the class loader (instance of <bootloader>) for interface com/sun/org/apache/xml/internal/utils/PrefixResolver have different Class objects for the type org/w3c/dom/Node used in the signature
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968)
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82)
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:125)
at org.jboss.profileservice.plugins.deploy.actions.DeploymentStartAction.doPrepare(DeploymentStartAction.java:104)
at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:100)
at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87)
at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234)
at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213)
at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150)
at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDeployments(AbstractDeployHandler.java:168)
at org.jboss.profileservice.management.upload.remoting.DeployHandlerDelegate.startDeployments(DeployHandlerDelegate.java:74)
at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:148)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1961)
at org.jboss.remoting.Client.invoke(Client.java:804)
at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)
... 15 more