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.
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.
server.log.zip 66.1 KB
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
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?
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 ?