[mod_cluster-issues] Not able to configure mod_cluster with JBoss 6.0.0.M1

Mohan Singh mosingh at q3tech.com
Mon Sep 5 02:12:14 EDT 2011


Hi Paul,
Thanks for replying.
I have tried to remove commons-logging jar, but then I am getting below
error

DEPLOYMENTS IN ERROR:
  Deployment
"vfs:///D:/Softwares/jboss-6.0.0.20100721-M4/server/default/deploy/MyApps.wa
r" is in error due to the following reason(s): java.lang.LinkageError:
loader constraint violation in interface itable initialization: when
resolving method
"org.apache.taglibs.standard.tag.common.xml.JSTLXPathImpl.evaluate(Ljava/lan
g/String;Lorg/xml/sax/InputSource;Ljavax/xml/namespace/QName;)Ljava/lang/Obj
ect;" the class loader (instance of
org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/apache/taglibs/standard/tag/common/xml/JSTLXPathImpl, and the class
loader (instance of <bootloader>) for interface javax/xml/xpath/XPath have
different Class objects for the type javax/xml/namespace/QName used in the
signature

	at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersI
mpl.java:1228) [:2.2.0.Alpha6]
	at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployer
Impl.java:905) [:2.2.0.Alpha6]
	at
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkCom
plete(MainDeployerPlugin.java:87) [:6.0.0.20100721-M4]
	at
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllCo
mplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]
	at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
p.start(BasicProfileServiceBootstrap.java:133) [:6.0.0.20100721-M4]
	at
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
p.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
	at
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(Abstract
Server.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
	at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(Abst
ractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
	at java.lang.Thread.run(Unknown Source) [:1.6.0_26]


This is a Linker error so I think It might require commons-logging.jar 

Thanks & Regards
Mohan Singh


-----Original Message-----
From: Paul Ferraro [mailto:paul.ferraro at redhat.com] 
Sent: Friday, September 02, 2011 9:11 PM
To: mosingh at q3tech.com
Cc: mod_cluster-issues at lists.jboss.org
Subject: RE: [mod_cluster-issues] Not able to configure mod_cluster with
JBoss 6.0.0.M1

Have you tried removing the commons-logging jar from your war?  It
doesn't need to be there and seems to be the cause of your deployment
headache.

On Fri, 2011-09-02 at 11:18 +0530, Mohan Singh wrote:
> Hi Paul,
> I am using older version on JBOSS because when I deploy my application in
> jboss-6.0.0.Final then I am getting below error at deployment 
> DEPLOYMENTS IN ERROR:
>   Deployment
> "vfs:///D:/Softwares/jboss-6.0.0.Final/server/all/deploy/MyApp.war" is in
> error due to the following reason(s): java.lang.SecurityException: class
> "org.apache.commons.logging.impl.Log4jFactory"'s signer information does
not
> match signer information of other classes in the same package
> 
> 	at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersI
> mpl.java:1228) [:2.2.0.GA]
> 	at
>
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployer
> Impl.java:905) [:2.2.0.GA]
> 	at
>
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkCom
> plete(MainDeployerPlugin.java:87) [:6.0.0.Final]
> 	at
>
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllCo
> mplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
> 	at
>
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
> p.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
> 	at
>
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
> p.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
> 	at
>
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(Abstract
> Server.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> 	at
>
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(Abst
> ractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> 	at java.lang.Thread.run(Unknown Source) [:1.6.0_26]
> 
> 
> 
> I don't know how to resolve this error.
> I know that there is version mismatch of jar files.
> I have searched in My workspace and found that commons-logging.jar
> containing Log4jFactory class. I think there is some different version of
> commons-logging.jar for jboss-6.0.0.Final version.
> I might be wrong. Please suggest me some solution. I will be very thankful
> to you.
> 
> Thanks & Regards
> Mohan Singh
> 
> -----Original Message-----
> From: Paul Ferraro [mailto:paul.ferraro at redhat.com] 
> Sent: Friday, September 02, 2011 1:07 AM
> To: mosingh at q3tech.com
> Cc: mod_cluster-issues at lists.jboss.org
> Subject: Re: [mod_cluster-issues] Not able to configure mod_cluster with
> JBoss 6.0.0.M1
> 
> Why are you attempting to use pre-release versions of both JBoss AS and
> mod_cluster when the final versions are available?
> 
> I recommend using AS 6.0 Final (or better yet, AS 7.0.1), where
> mod_cluster is fully supported out of the box.
> 
> On Thu, 2011-09-01 at 16:09 +0530, Mohan Singh wrote:
> > Hi,
> > 
> > 1.
> > 
> > I have gone through http://209.132.182.48/message/545331 link and
> > followed
> > 
> > "To use 1.1.0.CR2, with a vanilla JBoss AS 6.0.0.Mx release, all you
> > need to do is replace the existing
> > $JBOSS_HOME/server/<profile>/deploy/mod_cluster.sar with the
> > corresponding sar from the mod_cluster release tarball. "
> > 
> >  
> > 
> > I have downloaded JBoss 6.0.0.M4 and replace mod_cluster.sar of  JBoss
> > 6.0.0.M1 with JBoss 6.0.0.M4 mod_cluster.sar
> > 
> >  
> > 
> > Now I am getting the below error
> > 
> > DEPLOYMENTS MISSING DEPENDENCIES:
> > 
> >   Deployment "ModClusterListener" is missing the following
> > dependencies:
> > 
> >     Dependency "WebServer" (should be in state "Create", but is
> > actually in state "Configured")
> > 
> >   Deployment "WebServer" is missing the following dependencies:
> > 
> >     Dependency "ModClusterListener" (should be in state "Create", but
> > is actually in state "Configured")
> > 
> >   Deployment "jboss.web.deployment:war=/ROOT" is missing the following
> > dependencies:
> > 
> >     Dependency "jboss.web:service=WebServer" (should be in state
> > "Create", but is actually in state "Configured")
> > 
> >   Deployment "jboss.web.deployment:war=/admin-console" is missing the
> > following dependencies: ....................
> > 
> >  
> > 
> > 2.
> > 
> >      I have also tried to deploy my application in JBoss 6.0.0.M4 but
> > I am getting the bleow error
> > 
> > Deployment
> >
>
"vfs:///D:/Softwares/jboss-6.0.0.20100721-M4/server/default/deploy/MyApp.war
> " is in error due to the following reason(s): java.lang.SecurityException:
> class "org.apache.commons.logging.impl.Log4jFactory"'s signer information
> does not match signer information of other classes in the same package
> > 
> >  
> > 
> >  
> > 
> >           at
> >
>
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersI
> mpl.java:1228) [:2.2.0.Alpha6]
> > 
> >           at
> >
>
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployer
> Impl.java:905) [:2.2.0.Alpha6]
> > 
> >           at
> >
>
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkCom
> plete(MainDeployerPlugin.java:87) [:6.0.0.20100721-M4]
> > 
> >           at
> >
>
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllCo
> mplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]
> > 
> >           at
> >
>
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
> p.start(BasicProfileServiceBootstrap.java:133) [:6.0.0.20100721-M4]
> > 
> >           at
> >
>
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
> p.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
> > 
> >           at
> >
>
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(Abstract
> Server.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> > 
> >           at org.jboss.bootstrap.impl.base.server.AbstractServer
> > $StartServerTask.run(AbstractServer.java:417)
> > [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> > 
> >           at java.lang.Thread.run(Unknown Source) [:1.6.0_26]
> > 
> >  
> > 
> > My priority is to continue with
> > 
> > Deployment
> >
>
"vfs:///D:/Softwares/jboss-6.0.0.20100721-M4/server/default/deploy/FirstGrou
> pRailApps.war" is in error due to the following reason(s):
> java.lang.SecurityException: class
> "org.apache.commons.logging.impl.Log4jFactory"'s signer information does
not
> match signer information of other classes in the same package
> > 
> >  
> > 
> >  
> > 
> >           at
> >
>
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersI
> mpl.java:1228) [:2.2.0.Alpha6]
> > 
> >           at
> >
>
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployer
> Impl.java:905) [:2.2.0.Alpha6]
> > 
> >           at
> >
>
org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkCom
> plete(MainDeployerPlugin.java:87) [:6.0.0.20100721-M4]
> > 
> >           at
> >
>
org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllCo
> mplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]
> > 
> >           at
> >
>
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
> p.start(BasicProfileServiceBootstrap.java:133) [:6.0.0.20100721-M4]
> > 
> >           at
> >
>
org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra
> p.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
> > 
> >           at
> >
>
org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(Abstract
> Server.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> > 
> >           at org.jboss.bootstrap.impl.base.server.AbstractServer
> > $StartServerTask.run(AbstractServer.java:417)
> > [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> > 
> >           at java.lang.Thread.run(Unknown Source) [:1.6.0_26]
> > 
> >  
> > 
> >  
> > 
> > I am new to JBOSS
> > 
> > Please help me
> > 
> >  
> > 
> > Thanks
> > 
> > 
> > _______________________________________________
> > mod_cluster-issues mailing list
> > mod_cluster-issues at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/mod_cluster-issues
> 



More information about the mod_cluster-issues mailing list