-------- Original Message --------
From: Eric Richardson <[EMAIL PROTECTED]>
Subject: Re: Jonas help needed
To: Stanislav Maximov <[EMAIL PROTECTED]>

Hi Stanislav,

I think this was caused by the client not finding the stub. Are you
trying
to run the client
remotely? The client needs to setSecurityManager(new RMISecurityManager)
and
then you must copy the stubs and then interfaces to the client machine.
Then
the client will run. The stubs should be dynamically downloadable but we
had
no luck with this. The bind call of course has to point to the remote
machine not localhost. I used the RMI section of the tutorial at
http://java.sun.com/docs/books/tutorial/ as a reference.

In the examples, both client and server have the same classpath. This
makes
the examples
work with a minimum of work. Hope this works. We have given up for the
time
being since
none of the servers work the J2EE way. Hopefully the Enhydra/Jonas in a
few
months will be good.

Best of luck,

Eric :-)

Stanislav Maximov wrote:

> Hello, Eric
>
> Have you found out what was wrong when your ran your client and got this
> exception:
> "UserImplHome: Not found: javax.naming.CommunicationException [Root
> exception is
> java.rmi.UnmarshalException: error unmarshalling return; nested exception
> is:
> java.lang.ClassNotFoundException: test.JOnASUserImplBeanUserHome_Stub]"
> I'm having absolutely the same problem and have absolutely no idea how to
> make this beast work.
> Help me please, it is almost two weeks of my failing with Jonas.
> Thanks in advance.
>
> Best wishes,
>              Stanislav Maximov
> _____________________
> SW Interactive
> www.swinteractive.com
----
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