[jboss-dev] Weird boot error under jrockit

David M. Lloyd david.lloyd at redhat.com
Sun Nov 9 14:44:44 EST 2008


Just a guess, but maybe it's because the field type is 
ContextClassLoaderSwitcher.NewInstance rather than 
PrivilegedAction<ContextClassLoaderSwitcher>?  Or at most, just a 
"PriviligedAction"?  I'm assuming that it's actually failing on the field 
access of "ContextClassLoaderSwitcher.INSTANTIATOR".

In other words, maybe it's mad that the field's type is a private class.

- DML

On 11/09/2008 04:39 AM, Dimitris Andreadis wrote:
> In AS trunk, an instance compiled with sun jdk1.5 when run with jrockit 
> 1.5 produces:
> 
> 12:29:44,688 INFO  [MailService] Mail Service bound to java:/Mail
> 12:29:46,156 ERROR [AbstractKernelController] Error installing to 
> Described: nam
> e=WorkManagerThreadPool state=PreInstall
> java.lang.IllegalAccessError: tried to access class 
> org/jboss/util/loading/Conte
> xtClassLoaderSwitcher$NewInstance from class 
> org/jboss/util/threadpool/BasicThre
> adPool
>         at java.lang.Class.getDeclaringClass()Ljava.lang.Class;(Native 
> Method)
>         at java.lang.Class.getEnclosingClass()Ljava.lang.Class;(Unknown 
> Source)
>         at 
> java.lang.Class.getSimpleBinaryName()Ljava.lang.String;(Unknown Sourc
> e)
>         at java.lang.Class.getSimpleName()Ljava.lang.String;(Unknown 
> Source)
>         at 
> org.jboss.aop.Advisor.initializeConstructorChain(Advisor.java:1695)
>         at 
> org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.j
> ava:312)
>         at 
> org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:
> 138)
>         at 
> org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.
> java:72)
>         at 
> org.jboss.aop.proxy.container.ClassProxyContainer.initialise(ClassPro
> xyContainer.java:177)
>         at 
> org.jboss.aop.proxy.container.ContainerCache.createContainer(Containe
> rCache.java:203)
>         at 
> org.jboss.aop.proxy.container.ContainerCache.createAndCacheContainer(
> ContainerCache.java:191)
>         at 
> org.jboss.aop.proxy.container.ContainerCache.initClassContainer(Conta
> inerCache.java:164)
>         at 
> org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCach
> e.java:92)
>         at 
> org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCach
> e.java:72)
>         at 
> org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDepe
> ndencies(AOPDependencyBuilder.java:99)
>         at 
> org.jboss.kernel.plugins.dependency.DescribeAction.installActionInter
> nal(DescribeAction.java:56)
>         at 
> org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction
> (InstallsAwareAction.java:54)
>         at 
> org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction
> (InstallsAwareAction.java:42)
>         at 
> org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
> pleInstallAction(SimpleControllerContextAction.java:62)
>         at 
> org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
> tall(AccessControllerContextAction.java:71)
>         at 
> org.jboss.dependency.plugins.AbstractControllerContextActions.install
> (AbstractControllerContextActions.java:51)
>         at 
> org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
> ctControllerContext.java:348)
>         at 
> org.jboss.dependency.plugins.AbstractController.install(AbstractContr
> oller.java:1598)
>         at 
> org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
> ctController.java:934)
>         at 
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
> actController.java:1062)
>         at 
> org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
> actController.java:984)
>         at 
> org.jboss.dependency.plugins.AbstractController.install(AbstractContr
> oller.java:774)
>         at 
> org.jboss.dependency.plugins.AbstractController.install(AbstractContr
> oller.java:540)
>         at 
> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(B
> eanMetaDataDeployer.java:121)
>         at 
> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(B
> eanMetaDataDeployer.java:51)
>         at 
> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
> nternalDeploy(AbstractSimpleRealDeployer.java:62)
>         at 
> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
> AbstractRealDeployer.java:50)
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list