I have following problem,
On quicky run the Jonas providing a Bean. Local access runs without any problem.
Now I start a client on stella :
java \
-Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory\
-Djava.naming.provider.url=rmi://quicky:1099 \
-Djava.naming.factory.url.pkgs=org.objectweb.jonas.namming \
BeanClient
and I get this Exception:
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
exception is:
java.net.ConnectException: Verbindungsaufbau abgelehnt
java.net.ConnectException: Verbindungsaufbau abgelehnt
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFacto
ry.java:25)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFacto
ry.ja
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
at
vub.bookstore.article.ejb.bean.JOnASArticleBeanArticleHome_Stub.findByPrimaryKey
(JOnASArticleBeanArticleHome_Stub.java:114)
at
vub.test.bookstore.article.ArticleClient.findByPK(ArticleClient.java:118)
at vub.test.bookstore.article.MLFindByPK.execEvent(MLFindByPK.java:36)
at vub.util.ejb.client.Client.callMenuEventListener(Client.java:136)
at vub.util.ejb.client.Client.readMenuCommand(Client.java:112)
at vub.util.ejb.client.Client.run(Client.java:47)
at
vub.test.bookstore.article.ArticleClient.main(ArticleClient.java:213)
Why do rmi connect to localhost (quicky is not the localhost) and not to quicky.
What must I do?
Christof Lehmann
VUB Printmedia GmbH
Berlin Bonn Dresden K�ln Leipzig
Chopinstr. 4 TEL: +49 341 960 50 93
04103 Leipzig FAX: +49 341 960 50 92
----
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".