[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] [EJB/JBoss] - Error trying to access EJB.
From:       geoff74 <nukes () jboss ! org>
Date:       2004-04-30 20:11:24
Message-ID: 24990643.1083355884496.JavaMail.root () nukes ! jboss ! org
[Download RAW message or body]

I am getting the following error trying to access an EJB:

15:55:05,803 ERROR [LogInterceptor] EJBException, causedBy:
java.lang.IllegalAccessException: Class \
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor can not access a member \
of class com.knights.camelot.company.CompanyBean with modifiers "public"  at \
sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)  at \
                java.lang.reflect.Method.invoke(Method.java:317)
        at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
                
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
                
        at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
                
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
                
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
                
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
        at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)        at \
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
                
        at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
  at org.jboss.ejb.Container.invoke(Container.java:674)
        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)
        at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
                
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)       \
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)  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)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)        \
at sun.rmi.transport.Transport$1.run(Transport.java:148)  at \
java.security.AccessController.doPrivileged(Native Method)  at \
                sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  at java.lang.Thread.run(Thread.java:534)
 

What could be causing this error and how can I go about debugging it???

I am running JBoss 3.2.1 with JDK 1.4.2_04.

Any suggestions greatly appreciated.  I'm at the end of my rope with this....

Geoff

View the original post : \
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833290#3833290

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833290



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic