private ejbCreate is used as an Init method
-------------------------------------------
Key: EJBTHREE-1147
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1147
Project: EJB 3.0
Issue Type: Bug
Reporter: Carlo de Wolf
Assigned To: Carlo de Wolf
Fix For: AS 5.0.0.Beta3
10:32:46,882 ERROR [STDERR] java.lang.RuntimeException: java.lang.IllegalAccessException:
Class org.jboss.ejb3.stateful.StatefulContainer can not access a member of class
com.sun.ts.tests.ejb30.bb.session.stateful.callback.method.annotated.SessionBeanCallbackBean
with modifiers "private"
10:32:46,882 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulContainer.invokeInit(StatefulContainer.java:501)
10:32:46,882 ERROR [STDERR] at
org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:121)
10:32:46,882 ERROR [STDERR] at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
10:32:46,883 ERROR [STDERR] at
org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:58)
10:32:46,883 ERROR [STDERR] at
org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:113)
10:32:46,883 ERROR [STDERR] at
org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:351)
10:32:46,883 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:362)
10:32:46,883 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
10:32:46,883 ERROR [STDERR] at
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
10:32:46,884 ERROR [STDERR] at
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:771)
10:32:46,884 ERROR [STDERR] at
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
10:32:46,884 ERROR [STDERR] at
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
10:32:46,884 ERROR [STDERR] at
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
10:32:46,884 ERROR [STDERR] Caused by: java.lang.IllegalAccessException: Class
org.jboss.ejb3.stateful.StatefulContainer can not access a member of class
com.sun.ts.tests.ejb30.bb.session.stateful.callback.method.annotated.SessionBeanCallbackBean
with modifiers "private"
10:32:46,884 ERROR [STDERR] at
sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
10:32:46,885 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:578)
10:32:46,885 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulContainer.invokeInit(StatefulContainer.java:494)
10:32:46,885 ERROR [STDERR] ... 12 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira