When I simply start the latest code on a w2k system with the testsuite
idgen.jar in the deploy directory I get the following error:

2001-12-20 19:22:29,828 ERROR [org.jboss.deployment.J2eeDeployer#Default]
Starting idgen.jar failed!
java.lang.IllegalAccessError: try to access class org.hsqldb.Trace from
class org.hsqldb.jdbcConnection
 at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:713)
 at org.hsqldb.jdbcConnection.setAutoCommit(jdbcConnection.java:305)
 at
org.jboss.resource.adapter.jdbc.local.JDBCManagedConnectionFactory.createMan
agedConnection(JDBCManagedConnectionFactory.java:381)
 at
org.jboss.resource.connectionmanager.ManagedConnectionPoolFactory.createObje
ct(ManagedConnectionPoolFactory.java:97)
 at org.jboss.pool.ObjectPool.createNewObject(ObjectPool.java:1013)
 at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:672)
 at
org.jboss.resource.connectionmanager.SharedLocalConnectionManager.allocateCo
nnection(SharedLocalConnectionManager.java:124)
 at
org.jboss.resource.adapter.jdbc.JDBCDataSource.getConnection(JDBCDataSource.
java:110)
 at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:6
95)
 at
org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitCommand.java
:119)
 at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceMana
ger.java:129)
 at
org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.jav
a:134)
 at org.jboss.ejb.EntityContainer.create(EntityContainer.java:309)
 at org.jboss.ejb.Application.start(Application.java:214)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:377)
 at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:300)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:464)
 at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:202)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:683)
 at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326)
 at java.lang.Thread.run(Thread.java:484)

The are also multiple deployments of the hsqldb.jar:
jboss-3.0.0alpha 1489>find . -name 'hsqldb.jar' -print
./lib/ext/hsqldb.jar
./tmp/deploy/ServiceDeployer/deploy.56/hsqldb.jar
./tmp/deploy/ServiceDeployer/deploy.7/hsqldb.jar

and debugging the exception shows that the Trace and jdbcConnection classes
are being loaded by different class loaders from different jars:

org.hsqldb.Trace
"(file:/D:/usr/local/src/cvsroot/Main/jboss-all/build/output/jboss-3.0.0alph
a/tmp/deploy/ServiceDeployer/deploy.56/hsqldb.jar <no certificates>)"
instance of org.jboss.system.URLClassLoader(id=1211)

org.hsqldb.jdbcConnection
instance of org.jboss.system.URLClassLoader(id=1212)
"(file:/D:/usr/local/src/cvsroot/Main/jboss-all/build/output/jboss-3.0.0alph
a/tmp/deploy/ServiceDeployer/deploy.7/hsqldb.jar <no certificates>)"

The same setup works fine on RedHat linux 7.2, but there is only a single
deployment that includes the hsqldb.jar:

[starksm@banshee jboss-3.0.0alpha]$ find . -name 'hsqldb.jar' -print
./lib/ext/hsqldb.jar
./tmp/deploy/ServiceDeployer/deploy.31/hsqldb.jar

I don't know what the reason for the two deployments is at this point.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to