Hi there,

I've just tried to invoke a simple SesionBean and got a
java.lang.IllegalAccessException. :-(

The EJB deployed fine, the Home interface was created in the client,
but if I invoke a simple method on the bean, it crashes.
Trace from JBOSS-console:
-----------
[EjbTest] TX_REQUIRED for create
[EjbTest] Begin tx
[EjbTest] commiting
[EjbTest] TX_REQUIRED for hello
[EjbTest] Begin tx
[EjbTest] commiting
[EjbTest] Could not instantiate bean; nested exception is:
        java.lang.IllegalAccessException: EjbTestBean  
--------------
the method hello() should simply return a String.
My JBoss is from   latest source, all classes compiled an run with SUNs
latest jdk1.3 for linux on RedHat6.2.

The 'interest' example is running fine.

Any hints?

thanks 
tom


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to