Hi,
I am new to jonas server.
i am running Jonas 2.0 , on linux
with ApacheJserv for servlet
I am facing the problem that,
i have written a small session stateless bean which takes a number and give
back its negation. I have generated beans classes with EJBWizard.
I have written a Servlet as client , When i am passing any value to my bean
i am getting error
" Exception Occued java.rmi.ConnectException: Connection refused to host:
shiva.infotech-financials.com; nested
exception is: java.net.ConnectException: Connection refused "
I dont why this error is coming.
when iam going through mailing list odf jonas
i found problem " Problem looking up Bean from remote client "
where you mentioned that pass arjument to JVM
" When you start the JVM for the client, do you have these enviroment
settings, it's required so the lookup can connect to the server,
where <machinename> is the machine running rmiregistry and EJBServer ...
-Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory
-Djava.naming.provider.url=rmi://<machinename>:1099/ "
I mentioned the abovre things into the jndi properties.
then i run registry
then EJBServer
then through browser servlet.
can you help me in sorting it out, How to pass arjuments to JVM .
Thanks in advance.
Ritesh.
----
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".