I forgot to mention that i use abstract J2EE security roles in my EJBs. I
thought that the problem comes from the fact that i didn't include the
necessary security roles mapping in my application.
Since i know that OpenEJB handles properly all the GlassFish vendor specific
descriptors, i wrote manually a sun-ejb-jar.xml and specified the mapping
from my abstract security roles to groups. I added it in the application,
undeployed it and deployed it again.
Separately i created those groups in /conf/groups.properties and defined
them to include all the users i have in /conf/users.properties.

The problem remains the same....


To Add: when i look more carefully at :

Caused by: javax.ejb.EJBException: Unknown Container Exception:
java.lang.NullPointerException: null
        at
org.apache.openejb.client.EJBObjectHandler._invoke(EJBObjectHandler.java:184)Error
in statelessMethodPermissionsPositive

        at
org.apache.openejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:117)
        at
org.apache.openejb.client.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:52)
        at $Proxy0.statelessMethodPermissionsPositive(Unknown Source)

i come to the question: what does this package name "Jdk13InvocationHandler"
have to do with OpenEJB 3.1, running on JDK 6 ??
-- 
View this message in context: 
http://www.nabble.com/java.lang.NumberFormatException-when-calling-EJBs-tp23957712p23957839.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to