[jboss-user] [Beginner's Corner] - Classloading conflicts in Jboss5.1 GA

Kulbhushan patil do-not-reply at jboss.com
Fri Jun 7 01:39:47 EDT 2013


Kulbhushan patil [https://community.jboss.org/people/kulbhushan333] created the document:

"Classloading conflicts in Jboss5.1 GA "

To view the document, visit: https://community.jboss.org/docs/DOC-48857

--------------------------------------------------------------
Hi All,

Can any one tell me about how to isolate War applications

I these two Wab Apps (War) i have almost same jars.

I configured the jboss-classloading.xml as given below but it is not working.

web App first.
<classloading xmlns="urn:jboss:classloading:1.0" parent-first="true" domain="DefaultDomain" name="eQubeMI.war" top-level-classloader="false" import-all="true">
</classloading>


web App second. 
<classloading xmlns="urn:jboss:classloading:1.0" parent-first="false" domain="GenericMigrationUI.war" name="GenericMigrationUI.war" top-level-classloader="false">
</classloading>
After above config  
i am getting following error

10:59:31,400 INFO  [Environment] Hibernate 3.3.1.GA
10:59:31,404 INFO  [Environment] hibernate.properties not found
10:59:31,408 INFO  [Environment] Bytecode provider name : javassist
10:59:31,411 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
10:59:31,463 INFO  [Configuration] configuring from resource: /hibernate.cfg.xml
10:59:31,463 INFO  [Configuration] Configuration resource: /hibernate.cfg.xml
10:59:31,487 INFO  [Configuration] Reading mappings from resource : com/eqtechnologic/eqube/license/
client/licenseManagementTables.hbm.xml
10:59:31,529 INFO  [HbmBinder] Mapping class: com.eqtechnologic.eqube.license.util.eQFeatureConsumer
Details -> LICENSE_FEATURE_DETAILS
10:59:31,553 INFO  [HbmBinder] Mapping class: com.eqtechnologic.eqube.license.util.eQLicensedeQubeDe
tails -> LICENSE_DETAILS
10:59:31,560 INFO  [HbmBinder] Mapping class: com.eqtechnologic.eqube.license.util.eQLicenseServerMe
tadata -> LICENSE_METADATA
10:59:31,564 INFO  [HbmBinder] Mapping collection: com.eqtechnologic.eqube.license.util.eQLicenseSer
verMetadata.totalFeatureCounts -> LICENSE_FEATURE_METADATA
10:59:31,566 INFO  [HbmBinder] Mapping class: com.eqtechnologic.eqube.license.client.eQFailoverLicen
seServers -> FAILOVER_LICENSE_SERVERS
10:59:31,569 INFO  [HbmBinder] Mapping class: com.eqtechnologic.eqube.license.client.eQFailoverLicen
sePeriod -> FAILOVER_PERIOD
10:59:31,571 INFO  [HbmBinder] Mapping class: com.eqtechnologic.eqube.license.util.eQServerBasedFeat
ures -> LICENSE_SERVERBASEDFEATURES
10:59:31,573 INFO  [Configuration] Configured SessionFactory: null
10:59:31,574 INFO  [HbmBinder] Mapping collection: com.eqtechnologic.eqube.license.util.eQLicensedeQ
ubeDetails.featureConsumers -> LICENSE_FEATURE_DETAILS
10:59:31,577 INFO  [HbmBinder] Mapping collection: com.eqtechnologic.eqube.license.util.eQLicenseSer
verMetadata.setLicenseDetails -> LICENSE_DETAILS
10:59:31,634 INFO  [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not f
or production use!)
10:59:31,634 INFO  [DriverManagerConnectionProvider] Hibernate connection pool size: 1
10:59:31,634 INFO  [DriverManagerConnectionProvider] autocommit mode: false
10:59:31,635 INFO  [DriverManagerConnectionProvider] using driver: oracle.jdbc.driver.OracleDriver a
t URL: jdbc:oracle:thin:@192.168.2.105:1521:orcl
10:59:31,635 INFO  [DriverManagerConnectionProvider] connection properties: {user=EQUBEMI302QA19, pa
ssword=****}
10:59:31,640 WARN  [SettingsFactory] Could not obtain connection metadata
java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@192.168.2.105:1521:orcl
        at java.sql.DriverManager.getConnection(DriverManager.java:602)
        at java.sql.DriverManager.getConnection(DriverManager.java:154)
        at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConne
ctionProvider.java:133)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
        at com.eqtechnologic.eqube.license.hibernate.HibernateUtil.if(SourceFile:86)
        at com.eqtechnologic.eqube.license.hibernate.HibernateUtil.configure(SourceFile:27)
        at com.eqtechnologic.eqube.eQube.initServer(SourceFile:592)
        at com.eqtechnologic.eqube.eQInitServlet.init(SourceFile:103)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo
yment.java:310)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja
va:142)
        at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
        at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
        at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
        at $Proxy38.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:42)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
Action.java:37)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
pleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
rContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
ontextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
        at org.jboss.system.ServiceController.start(ServiceController.java:460)
        at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
ctSimpleRealDeployer.java:62)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1157)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
va:1178)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye
rAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl
oyAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP
rofileAction.java:53)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract
ProfileService.java:361)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
4)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
082)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
84)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
        at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(
AbstractProfileService.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
rap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:662)
--------------------------------------------------------------

Comment by going to Community
[https://community.jboss.org/docs/DOC-48857]

Create a new document in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130607/9f8a1e3a/attachment-0001.html 


More information about the jboss-user mailing list