At 16:24 30.8.2000 -0400, you wrote:

Hi,

make sure you comment out the line

java.rmi.server.hostname=localhost

in conf/jboss.properties

-- Juha

>  When I run my client from a remote machine, I get the following output:  
>>java -classpath %CLASSPATH%;\jboss\client\ejb.jar;\jboss\ 
>client\jboss-client.jar;\jboss\client\jnp-client.jar;.
>com.aprisma.gpe.SnmpClien 
>t2 input_data.txt   Got context 
>  Root exception is java.rmi.ConnectExceptio 
>n: Connection refused to host: localhost; nested exception is: 
>        java.net.ConnectException: Connection refused: no further
information 
>java.net.ConnectException: Connection refused: no further information 
>        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) 
>       <>(Socket.java:273) 
>       <>(Socket.java:100) 
>        at
>sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirect 
>SocketFactory.java:25) 
>        at
>sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMaster 
>SocketFactory.java:120) 
>        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.invoke(UnicastRef.java:83) 
>        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) 
>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:280) 
>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265) 
>        at javax.naming.InitialContext.lookup(InitialContext.java:350) 
>        at com.aprisma.gpe.SnmpClient2.main(SnmpClient2.java:40) 
>javax.naming.CommunicationException [Root exception is
>java.rmi.ConnectException 
>: Connection refused to host: localhost; nested exception is: 
>        java.net.ConnectException: Connection refused: no further
>information]   "" ""  Any ideas what the problem might be?  Thanks, 
>Craig Dube    



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to