-
1. Need Help in Deploying a EAR File and WAR file in the Same Node
wdfink May 2, 2011 1:51 PM (in response to sudheerchandracse)Could you attach the logfile?
If the WAR use classes from a JAR inside the EAR it might be that the classloader prevent that the class is visible from the WAR.
See http://community.jboss.org/wiki/ClassLoadingOverview and http://community.jboss.org/wiki/ClassLoadingConfiguration
-
2. Re: Need Help in Deploying a EAR File and WAR file in the Same Node
sudheerchandracse May 3, 2011 2:06 AM (in response to wdfink)Fink,
Thanks for the Reply. Please find the attached log file.
Please Note that War has some Jars, EAR has some JARs. There are some same Jars present in both EAR and WAR.
Sudheer
-
server.log.zip 66.1 KB
-
-
3. Need Help in Deploying a EAR File and WAR file in the Same Node
wdfink May 3, 2011 4:34 AM (in response to sudheerchandracse)It looks like that you remove classes needed by your configuration or you use the wrong configuration.
2011-05-03 11:20:23,702 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Classes needed for clustered webapp unavailable
java.lang.NoClassDefFoundError: org/jgroups/blocks/MethodCall
....
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jgroups.blocks.MethodCall
and later on:
2011-05-03 11:21:14,133 ERROR [org.apache.axis.configuration.EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2011-05-03 11:21:15,289 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] init(): replicationGranularity_ is 0 and invalidateSessionPolicy is 2
2011-05-03 11:21:15,289 DEBUG [org.jboss.web.tomcat.service.TomcatDeployer] Classes needed for clustered webapp unavailable
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.web.tomcat.service.session.JBossCacheService
What do you change in your JBoss configuration and which one do you use as base?
-
4. Re: Need Help in Deploying a EAR File and WAR file in the Same Node
sudheerchandracse May 3, 2011 5:10 AM (in response to wdfink)We are using the jboss version, jboss-4.2.2.GA.We downloaded from the jboss site and we changed the CallByValue to true in conf/jboss-service.xml and deploy/ear-deployer.xml. This is the only change we did in the installed Jboss.
Is there any change needed or is there any configurtaion required to make the classes available ?