Hello,
As you told us 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,
H�l�ne.
Jean-Christophe Durand wrote:
>
> Hi,
>
> I can't manage to run EJBServer, still with same Exception:
>
> 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)
>
> I use JOnAS binaries distribution for jdk 1.1.x
> The system is:
> JOnAS 1.5
> jdk 1.1.7
> FreeBSD 4.2
> JDBC 2.0 se
> JNDI 1.1.2
> JTA 1.0.1
> RmiRegistry 1.2.1
>
> I'm still working on this problem for 2 days ago...
>
> Regards,
> Jean-Christophe
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________