users@glassfish.java.net

ClassCircularityError: com/sun/jndi/url/java/javaURLContextFactory

From: <forums_at_java.net>
Date: Thu, 15 Sep 2011 22:09:11 -0500 (CDT)

Getting the below error on the production environment, and we are clueless as
to where or how to approach this issue..

Does anyone have similar problem? We are using GF 3.1.1.

Appreciate any type of tips or guidance in this regards. 

Cheers

com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)

    at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
    at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
    at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassCircularityError:
com/sun/jndi/url/java/javaURLContextFactory
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:54)
    at
com.sun.naming.internal.ResourceManager.getFactory(ResourceManager.java:371)
    at
javax.naming.spi.NamingManager.getURLObject(NamingManager.java:575)
    at
javax.naming.spi.NamingManager.getURLContext(NamingManager.java:533)
    at
com.sun.enterprise.naming.impl.WrappedSerialContext.getURLOrDefaultInitCtx(WrappedSerialContext.java:106)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at
com.sun.enterprise.resource.pool.monitor.ConnectionPoolEmitterImpl.getAppName(ConnectionPoolEmitterImpl.java:319)
    at
com.sun.enterprise.resource.pool.monitor.ConnectionPoolEmitterImpl.connectionUsed(ConnectionPoolEmitterImpl.java:234)
    at
com.sun.enterprise.resource.pool.PoolLifeCycleListenerRegistry.connectionUsed(PoolLifeCycleListenerRegistry.java:145)
    at
com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:532)
    at
com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
    at
com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242)
    at
com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:338)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:236)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
    at
org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
    at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    at
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    at
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
    at org.hibernate.loader.Loader.doQuery(Loader.java:696)
    at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
    at org.hibernate.loader.Loader.loadCollection(Loader.java:2015)
    at
org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:59)
    at
org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:587)
    at
org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
    at
org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1743)
    at
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366)
    at
org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108)
    at
org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:183)
    at org.hibernate.collection.PersistentMap.get(PersistentMap.java:169)
    at
org.jbpm.graph.def.ProcessDefinition.getDefinition(ProcessDefinition.java:431)
    at
org.jbpm.graph.def.ProcessDefinition.getFileDefinition(ProcessDefinition.java:441)
    at sun.reflect.GeneratedMethodAccessor1744.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
    at
org.jbpm.graph.def.ProcessDefinition_$$_javassist_154.getFileDefinition(ProcessDefinition_$$_javassist_154.java)
    at
org.jbpm.instantiation.SharedProcessClassLoader.findClass(SharedProcessClassLoader.java:85)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:54)
    at
com.sun.naming.internal.ResourceManager.getFactory(ResourceManager.java:371)
    at
javax.naming.spi.NamingManager.getURLObject(NamingManager.java:575)
    at
javax.naming.spi.NamingManager.getURLContext(NamingManager.java:533)
    at
com.sun.enterprise.naming.impl.WrappedSerialContext.getURLOrDefaultInitCtx(WrappedSerialContext.java:106)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at
com.sun.enterprise.resource.pool.monitor.ConnectionPoolEmitterImpl.getAppName(ConnectionPoolEmitterImpl.java:319)
    at
com.sun.enterprise.resource.pool.monitor.ConnectionPoolEmitterImpl.connectionAcquired(ConnectionPoolEmitterImpl.java:132)
    at
com.sun.enterprise.resource.pool.PoolLifeCycleListenerRegistry.connectionAcquired(PoolLifeCycleListenerRegistry.java:115)
    at
com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:390)
    at
com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:242)
    at
com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:167)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:338)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:301)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:236)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:165)
    at
com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:160)
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:113)
    at
org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
    at
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
    at
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
    at
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
    at org.hibernate.loader.Loader.doQuery(Loader.java:696)
    at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
    at org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
    at
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
    at
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
    at
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
    at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
    at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
    at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
    at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:121)
    at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
    at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:863)
    at
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:95)
    at
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
    at
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
    at
org.jbpm.instantiation.Delegation_$$_javassist_4.getInstance(Delegation_$$_javassist_4.java)
    at org.jbpm.graph.def.Action.execute(Action.java:128)
    at
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:284)
    at
org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:241)
    at
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:213)
    at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:196)
    at org.jbpm.graph.def.Node.enter(Node.java:371)
    at sun.reflect.GeneratedMethodAccessor2447.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
    at
org.jbpm.graph.def.Node_$$_javassist_268.enter(Node_$$_javassist_268.java)
    at org.jbpm.graph.def.Transition.take(Transition.java:167)
    at org.jbpm.graph.def.Node.leave(Node.java:479)
    at sun.reflect.GeneratedMethodAccessor2625.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
    at
org.jbpm.graph.def.Node_$$_javassist_268.leave(Node_$$_javassist_268.java)
    at org.jbpm.graph.exe.Token.signal(Token.java:223)
    at org.jbpm.graph.exe.Token.signal(Token.java:180)
    at sun.reflect.GeneratedMethodAccessor2693.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
    at
org.jbpm.graph.exe.Token_$$_javassist_155.signal(Token_$$_javassist_155.java)
    at
com.deposco.workflow.service.impl.WorkflowServiceImpl.continueProcess(WorkflowServiceImpl.java:425)
    at sun.reflect.GeneratedMethodAccessor2690.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy265.continueProcess(Unknown Source)
    at
com.deposco.resource.workflow.WorkflowResource.getScreen(WorkflowResource.java:557)

 


--
[Message sent by forum member 'tosehee']
View Post: http://forums.java.net/node/843707