Hi everybody,
I am trying to setup an Installation of Jonas on Win98.
I got the EJBServer running now (thanks to Phillipe Coq) an I created the Op.ser file
and all the *.class files as well as an
Op.jar file which is located in %JONAS_ROOT%/examples/classes I also set the classpath
to this specific file.
When I start the Server it says: EJBHome: sb.JOnASOpBeanOpHome for OpBeanAvailable
So that it seems to me that the server is fine.
When I start the client with
java -Djava.naming.provider.url="rmi://192.168.100.101:1099" sb.ClientOp
it says:
Cannot lookup OpHome: javax.namingCommunicationException [Root Exception is
java.rmi.UnmarshalException: error unmarshall return; nested Exception is:
java.io.IOException: Malformed URL: file: ... here comes my whole classpath ...
file:/c:/objectweb/jonas_jdk12/examples/classes/op.jar]
What's wrong there??? Please give me a hint.
Thanks, best reagards and a happy new year !!
Alexander Schmidt
Qubix Consulting
------------------------------------------------------------------------------------------------------
Alexander Schmidt
Qubix Consulting GmbH
Schillerstr. 5
35584 Wetzlar
Tel.: 06441 / 382278
Fax.: 06441 / 33252
mail: [EMAIL PROTECTED]
homepage: www.qubix.de
-----Urspr�ngliche Nachricht-----
Von: Philippe Coq [SMTP:[EMAIL PROTECTED]]
Gesendet am: Dienstag, 28. Dezember 1999 17:55
An: ALEXANDER SCHMIDT
Cc: [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Betreff: Re: Installation of Jonas / RMIRegistry
ALEXANDER SCHMIDT wrote:
>
> Hi everybody,
> I am trying to set up JONAS on Win98-Machine evertything is fine til it tries
>connect the RMIregistry through the JNDI.
> (The RMIRegistry is running!)
>
> In the TMServer class (line 97) the following command fails
> initialContext.rebind("TMFactory", tm);
> It throws the following Exception:
>
> Cannot rebind UserTransaction:
> javax.naming.CommunicationException [Root exception is java.rmi.ServerException:
>RemoteException occurred in server thread; nested exception is:
> java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
>is:
> java.lang.ClassNotFoundException: rmitest.TransactionFactoryImpl_Stub]
>
> Does anybody no, what's wrong??
>
> Thanks and best regards from Germany,
>
> Alexa Schmidt
>
The CLASSPATH was not correct in the environment where you have launched
rmiregistry.
Use $JONAS_ROOT/bin/registry to run rmiregistry.
Regards,
--
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
----
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".