dev@glassfish.java.net

Re: Transaction exceptions in server.log

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Wed, 14 Oct 2009 06:55:03 -0700

https://glassfish.dev.java.net/issues/show_bug.cgi?id=10161

Prashanth Abbagani wrote:
> I see the following exception in the server.log with my most recent
> build. Any idea whats wrong?
>
> SEVERE: Error processing com.sun.enterprise.v3.server.TransactionRecovery
> org.jvnet.hk2.component.ComponentException: Injection failed on
> com.sun.hk2.component.Holder<org.glassfish.transaction.api.ResourceRecoveryManager>
> com.sun.enterprise.v3.server.TransactionRecovery.rrMgr
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107)
>
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
> at
> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>
> at
> com.sun.enterprise.v3.server.AppServerStartup$2.run(AppServerStartup.java:223)
>
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:637)
> Caused by: java.lang.IllegalArgumentException: Can not set
> com.sun.hk2.component.Holder field
> com.sun.enterprise.v3.server.TransactionRecovery.rrMgr to
> org.jvnet.hk2.component.Habitat$5
> at
> sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
>
> at
> sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
>
> at
> sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
>
> at java.lang.reflect.Field.set(Field.java:657)
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:84)
> ... 15 more
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>