Hello,

I'm just switching from JOnAS 1.6.1 to JOnAS 2.1 and get the following
exception after loading the sessionbean:

JBeanHome.setEJBMetaData
JOnASLookupSBHome(LookupSB)
EJBHome:de.dpd.dp903.JOnASLookupSBHome for LookupSB available
Security deployed for LookupSB
SecurityDeploymentServiceImpl.setMethodRoleMapping()
SecurityServiceDeploymentImpl.setRoleRefMapping()
Exception in thread "main" java.lang.NoSuchMethodError:
javax.naming.Context: me
thod getNameInNamespace()Ljava/lang/String; not found
        at
org.objectweb.jonas.naming.NamingManager.setComponentContext(NamingMa
nager.java:148)
        at
org.objectweb.jonas.container.JContainerImpl.setBeanEnvironment(JCont
ainerImpl.java, Compiled Code)
        at
org.objectweb.jonas.container.JContainerImpl.addBeans(JContainerImpl.
java:418)
        at
org.objectweb.jonas.container.EJBServiceImpl.createContainer(EJBServi
ceImpl.java, Compiled Code)
        at
org.objectweb.jonas.container.EJBServiceImpl.start(EJBServiceImpl.jav
a, Compiled Code)
        at org.objectweb.jonas.server.Server.main(Server.java, Compiled
Code)
        at
de.dpd.dp902.JonasServerPassthrough.main(JonasServerPassthrough.java,
 Compiled Code)

Does anybody knows whats wrong?
The GenIC compiles without errors.

Thanks for any help

Juergen Messer

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to