Resending due to my messed up sendmail config...

----------  Forwarded Message  ----------

Subject: Re: [JBoss-dev] HEAD & ClassCircularityError
Date: Wed, 15 May 2002 00:16:57 +0000
From: Jason Dillon <[EMAIL PROTECTED]>
To: "Sacha Labourey" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, 
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>

I just ran into another CCE in a seperate/non-clustering location.  Below is
the start of the exception throw when deployed a .ear:

<snip>
17:13:23,440 ERROR [MainDeployer] could not create deployment:
njar:file:/home/jason/ws/jboss/jboss-all/build/output/jboss-3.1.0alpha/server
/ben/tmp/deploy/server/ben/deploy/manager.ear/81.manager.ear^/mailing.jar
 java.lang.ClassCircularityError:
org/jboss/resource/connectionmanager/PoolFiller
        at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnect
ion(InternalManagedConnectionPool.java:107) at
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getC
onnection(JBossManagedConnectionPool.java:312) at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnect
ion(BaseConnectionManager2.java:440) at
org.jboss.resource.connectionmanager.LocalTxConnectionManager.getManagedConne
ction(LocalTxConnectionManager.java:221) at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnectio
n(BaseConnectionManager2.java:504) at
org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalData
Source.java:101) at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:69
4) at
org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitCommand.java:
120) at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManag
er.java:129) at
org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java
:155) at
org.jboss.ejb.EntityContainer.createService(EntityContainer.java:318)
        at
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:170)
        at org.jboss.ejb.Container.invoke(Container.java:778)
        at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1024)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
        at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java
:867) at $Proxy0.create(Unknown Source)
        at
org.jboss.system.ServiceController.create(ServiceController.java:271)
        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:324)

</snip>

--jason

On Thursday 09 May 2002 08:45 am, Sacha Labourey wrote:
> Hello Jason,
>
> This seems to happen only with Sun JVM on Linux (or some combination of
> os/jvm/hotspot). I've tried to reproduce this on my jdk 1.3.1, 1.4 on
> windows 2000 and have been unable to do so.
>
> I've searched sun.com, google, ... and one of the possibilities is that a
> JAR that is loaded by JBoss contains some class definitions that are not
> compatible by the one used by javagroups. Maybe this is even worst with our
> own classloader where mixes of definitions can happen more easily.
>
> Jason, can you try to remove almost everything from deploy and
> jboss-services.xml and only deploy the clustering service to see what
> happen?
>
> Cheers,
>
>
>                       Sacha
>
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de
> > Jason Dillon
> > Envoyé : jeudi, 9 mai 2002 10:29
> > À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Cc : [EMAIL PROTECTED]
> > Objet : [JBoss-dev] HEAD & ClassCircularityError
> >
> >
> > From the VM spec 5.3.5 Deriving a Class from a class File Representation:
> > ...
> > * Otherwise, if any of the superclasses of C is C itself, loading throws
> > a ClassCircularityError.
> > ...
> > * Otherwise, if any of the superinterfaces of C is C itself,
> > loading throws a
> > ClassCircularityError.
> >
> > Here is a link to the page I looked at:
> > http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPoo
> > l.doc.html
> >
> > From the Language Spec, here 13.4.4 Superclasses and Superinterfaces:
> >
> > A ClassCircularityError is thrown at load time if a class would
> > be a superclass
> > of itself. Changes to the class hierarchy that could result in such a
> > circularity when newly compiled binaries are loaded with
> > pre-existing binaries
> > are not recommended for widely distributed classes.
> >
> > Taken from:
> > http://java.sun.com/docs/books/jls/first_edition/html/13.doc.html
> >
> > From 12.2.1:
> >
> > # ClassCircularityError: A class or interface could not be loaded
> > because it
> > would be its own superclass or superinterface
> >
> > Why they didn't just put this in the javadocs I have no clue.
> >
> > * * *
> >
> > I am still getting these very reliably when attempting to deploy
> > cluster-service.xml.  I am running this on Linux under 1.4 and I
> > also see it
> > under 1.3.1_03.  Here is the first (of many + evil printStackTrace's):
> >
> > <snip>
> > ChannelException: JChannel(): java.lang.ClassCircularityError:
> > org/javagroups/log/Trace
> >     at org.javagroups.JChannel.<init>(JChannel.java:144)
> >     at
> > org.jboss.ha.framework.server.ClusterPartition.createService(Clust
> > erPartition.java:154)
> >     at
> > org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:170)
> >     at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > cessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:324)
> >     at
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM
> > BeanDispatcher.java:284)
> >     at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >     at
> > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCont
> > roller.java:867)
> >     at $Proxy0.create(Unknown Source)
> >     at
> > org.jboss.system.ServiceController.create(ServiceController.java:271)
> >     at
> > org.jboss.system.ServiceController.create(ServiceController.java:211)
> >     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > cessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:324)
> >     at
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM
> > BeanDispatcher.java:284)
> >     at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >     at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
> >     at $Proxy3.create(Unknown Source)
> >     at org.jboss.deployment.SARDeployer.create(SARDeployer.java:277)
> >     at org.jboss.deployment.MainDeployer.create(MainDeployer.java:651)
> >     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:526)
> >     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)
> >     at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > cessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:324)
> >     at
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM
> > BeanDispatcher.java:284)
> >     at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >     at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
> >     at $Proxy4.deploy(Unknown Source)
> >     at
> > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploy
> > mentScanner.java:405)
> >     at
> > org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(UR
> > LDeploymentScanner.java:586)
> >     at
> > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeployme
> > ntScanner.java:465)
> >     at
> > org.jboss.deployment.scanner.AbstractDeploymentScanner.startServic
> > e(AbstractDeploymentScanner.java:237)
> >     at
> > org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:198)
> >     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > cessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:324)
> >     at
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM
> > BeanDispatcher.java:284)
> >     at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >     at
> > org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceCont
> > roller.java:867)
> >     at $Proxy0.start(Unknown Source)
> >     at
> > org.jboss.system.ServiceController.start(ServiceController.java:339)
> >     at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > cessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:324)
> >     at
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM
> > BeanDispatcher.java:284)
> >     at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >     at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
> >     at $Proxy3.start(Unknown Source)
> >     at org.jboss.deployment.SARDeployer.start(SARDeployer.java:342)
> >     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:692)
> >     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:527)
> >     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)
> >     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:472)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
> > pl.java:39)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
> > cessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:324)
> >     at
> > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedM
> > BeanDispatcher.java:284)
> >     at
> > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
> >     at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:318)
> >     at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216)
> >     at org.jboss.Main.boot(Main.java:148)
> >     at org.jboss.Main$1.run(Main.java:381)
> >     at java.lang.Thread.run(Thread.java:536)
> > </snip>
> >
> >
> > Is this problem unique to my environment or does anyone else see
> > this with HEAD?
> >
> > --jason
> >
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> >
> > _______________________________________________________________
> >
> > Have big pipes? SourceForge.net is looking for download mirrors. We
> > supply the hardware. You get the recognition. Email Us:
> > [EMAIL PROTECTED] _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development

-------------------------------------------------------

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to