Hi and thanks Philippe for his immediate answer.

This seems to be a day work configuration mess:

Trying to start EJBServer now I get a CommunicationException

----------------------------------------------------------------------------
---------------
JOnAS Server, version 2.0, running on rmi.
main : 2:55:8:672 TransactionService: Cannot rebind TM:
javax.naming.CommunicationException [Root exception is
java.rmi.ServerException: Server RemoteException; 
nested exc
n is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
        java.lang.ClassNotFoundException:
org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub]
main : 2:55:8:672 JOnAS: Cannot start Transaction Service
javax.naming.CommunicationException.  Root exception is
java.rmi.ServerException: Server RemoteException; 
nested ex
on is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is:
        java.lang.ClassNotFoundException:
org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
is:
        java.lang.ClassNotFoundException:
org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub
java.lang.ClassNotFoundException:
org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:249)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:224)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:358)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        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:370)
        at
org.objectweb.jonas.naming.NamingManager.rebind(NamingManager.java:226)
        at
org.objectweb.jonas.jtm.TransactionService.<init>(TransactionService.java:66
)
        at org.objectweb.jonas.server.Server.main(Server.java:89)
----------------------------------------------------------------------------
---------------


addition information

1. Configured JOnAs 2.0 for Windows NT 4 (SP5) with JDK 1.2, setting
environment variables
with:

@ECHO OFF
SET JONAS_ROOT=E:\jonas_jdk1.2
SET JDBCEXT_CLASSES=E:\jlib\jdbc2_0-stdext.jar
SET EJB11_CLASSES=E:\jlib\ejb.jar
SET JTA_CLASSES=E:\jlib\jta-spec1_0_1.jar
SET JNDI_HOME=E:\jlib
SET 
JNDI_CLASSES=%JNDI_HOME%\jndi.jar;%JNDI_HOME%\providerutil.jar;%JNDI_HOME%\r
miregistry.jar
SET ORACLE_CLASSES=E:\Orant8\jdbc\lib\classes111.zip
SET XTRA_CLASSPATH=%JONAS_ROOT%
SET JNDI_PROPS=%JONAS_ROOT%\jndi.properties

REM Set jar libraries
SET 
CLASSPATH=%EJB11_CLASSES%;%JTA_CLASSES%;%JNDI_CLASSES%;%ORACLE_CLASSES%;%JND
I_PROPS%;
REM include JOnAs libraries
SET 
CLASSPATH=%CLASSPATH%;%JONAS_ROOT%;%JONAS_ROOT%\lib\jpp.jar;%JONAS_ROOT%\lib
\RMI_jonas.jar
REM for Jeremie add: %JONAS_ROOT%\lib\JEREMIE_jonas.jar;
SET OBJECTWEB_ORB=RMI

----------------------------------------------------------------------------
-----------------------

2. rmiregistry is running (localhost)

3.  in jndi.properties I set
----------------------------------------------------------------------------
------------------------
# if you use rmi only
java.naming.factory.initial com.sun.jndi.rmi.registry.RegistryContextFactory
java.naming.provider.url rmi://localhost:1099

# In both cases
java.naming.factory.url.pkgs org.objectweb.jonas.naming
----------------------------------------------------------------------------
----------------------------

Thanks in advance (again)

----------------------------------------------------------------------------
--------------
Dipl Psych. R�diger Breit Systema GmbH
Tel.:   +49 941 78392-31
Fax.:   +49 941 78392-72
e-mail:   [EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------


----
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