Jean-Christophe Durand wrote:
> 
> Hi,
> 
> I had the following Exception when lauching EJBServer:
> 
> JonAS - Version 1.5
> Working with a colocated Transaction Manager
> Create and register TM factory
> TransactionFactory constructor
> java.lang.NoSuchMethodError: javax.naming.spi.NamingManager: method
> 
>getStateToBind(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
> not found
>         at
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:138)
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:145)
>         at javax.naming.InitialContext.rebind(InitialContext.java:335)
>         at org.objectweb.jonas.jtm.TMServer.init(TMServer.java:95)
>         at org.objectweb.jonas.server.Server.main(Server.java:116)
> 
> With all CLASSPATH correct. There is a conflict between sun's
> distributions: jndi1_1_2.jar and rmiregistry1_2_1.jar.
> So I upgraded jndi package to release jndi1_2_1.jar and EJBServer runs
> now.
> 
> Regards,
> 
>         Jean-Christophe

As you told me directly, the problem is  that packages jndi1_1_2.jar and
rmiregistry1_2_1.jar are not compatible.
The solution is to use the jndi1_2_1.jar.
Thanks,
-- 
        Philippe

Philippe Coq  Groupe Bulll/BullSoft/OpenMaster  Phone: (33) 04 76 29 78
49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]  http://www-frec.bull.com
Download our EJBServer at http://www.bullsoft.com/ejb

Reply via email to