[JBoss-user] Jboss server on Linux and jboss client on windows

2001-04-18 Thread Thierry Templier

Hi,

I have problem to connect on a linux jboss server with a windows 2000 jboss client ( 
This problem doesn't occur when I use a windows 2000 jboss server ). The client try to 
connect on the linux server because tcpdump receive informations from the client.
The client have the following exeception:

javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: 
Connection refused to host: 127.0.0.1; nested exception is:
 java.net.ConnectException: Connection refused: no further information] 

The jvm of the linux server is:
java version "1.3.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)

and the jvm of the windows client is:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) 
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

Is anyone has already have this problem or know how to resolve this problem?
Thanks
Templ

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Jboss server on Linux and jboss client on windows

2001-04-18 Thread Ken Jenks

At 12:13 PM 4/18/01 +0200, you wrote:
Hi,

I have problem to connect on a linux jboss server with a windows 2000 
jboss client ( This problem doesn't occur when I use a windows 2000 jboss 
server ). The client try to connect on the linux server because tcpdump 
receive informations from the client.
The client have the following exeception:

javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested 
exception is:
  java.net.ConnectException: Connection refused: no further information]

I can tell from the "127.0.0.1" that your client is trying to connect with 
itself, not with the server. You need to specify a property,
   java.naming.provider.url=your_server_address:1099

You can do this on the command line like this:

java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 
-Djava.naming.provider.url=localhost:1099 -classpath 
eb;..\..\client\jboss-client.jar;..\..\client\jbosssx-client.jar;..\..\lib\ext\ejb.jar;..\..\lib\ext\jms.jar;..\..\lib\ext\jbossmq.jar
 
com.web_tomorrow.cd.SwingGUIApp

-- Ken Jenks, http://abiblion.com/

Tools for reading.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Rép. : Re: [JBoss-user] Jboss server on Linux and jboss client on windows

2001-04-18 Thread Thierry Templier

Hello,

Thanks for your answer.
I don't really the exception because I know that the client try to connect on the 
remote server because I do a tcpdump and I see trafic from the client...
I try too your command line.
Thanks
Templ

 [EMAIL PROTECTED] 18/ 4 13h15  
At 12:13 PM 4/18/01 +0200, you wrote:
Hi,

I have problem to connect on a linux jboss server with a windows 2000 
jboss client ( This problem doesn't occur when I use a windows 2000 jboss 
server ). The client try to connect on the linux server because tcpdump 
receive informations from the client.
The client have the following exeception:

javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested 
exception is:
  java.net.ConnectException: Connection refused: no further information]

I can tell from the "127.0.0.1" that your client is trying to connect with 
itself, not with the server. You need to specify a property,
   java.naming.provider.url=your_server_address:1099

You can do this on the command line like this:

java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 
-Djava.naming.provider.url=localhost:1099 -classpath 
eb;..\..\client\jboss-client.jar;..\..\client\jbosssx-client.jar;..\..\lib\ext\ejb.jar;..\..\lib\ext\jms.jar;..\..\lib\ext\jbossmq.jar
 
com.web_tomorrow.cd.SwingGUIApp

-- Ken Jenks, http://abiblion.com/

Tools for reading.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Rép. : Re: [JBoss-user] Jboss server on Linux and jboss client on windows

2001-04-18 Thread Alexander Kogan

Thierry Templier wrote:
 
 Hello,
 
 Thanks for your answer.
 I don't really the exception because I know that the client try to connect on the 
remote server 
Nope, it does NOT. And the exception clearly states that

 java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested

 because I do a tcpdump and I see trafic from the client...

it can be something different.


 I try too your command line.
 Thanks
 Templ
 
  [EMAIL PROTECTED] 18/ 4 13h15  
 At 12:13 PM 4/18/01 +0200, you wrote:
 Hi,
 
 I have problem to connect on a linux jboss server with a windows 2000
 jboss client ( This problem doesn't occur when I use a windows 2000 jboss
 server ). The client try to connect on the linux server because tcpdump
 receive informations from the client.
 The client have the following exeception:
 
 javax.naming.CommunicationException [Root exception is
 java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
 exception is:
   java.net.ConnectException: Connection refused: no further information]
 
 I can tell from the "127.0.0.1" that your client is trying to connect with
 itself, not with the server. You need to specify a property,
java.naming.provider.url=your_server_address:1099
 
 You can do this on the command line like this:
 
 java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
 -Djava.naming.provider.url=localhost:1099 -classpath
 
eb;..\..\client\jboss-client.jar;..\..\client\jbosssx-client.jar;..\..\lib\ext\ejb.jar;..\..\lib\ext\jms.jar;..\..\lib\ext\jbossmq.jar
 com.web_tomorrow.cd.SwingGUIApp
 
 -- Ken Jenks, http://abiblion.com/
 
 Tools for reading.
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
__
Alexander Kogan  PTC   www.ptc.com
[EMAIL PROTECTED]140 Kendrick St. Needham MA 02494

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Jboss server on Linux and jboss client on windows

2001-04-18 Thread danch



Ken Jenks wrote:
 
 
 You can do this on the command line like this:
 
 java -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
 -Djava.naming.provider.url=localhost:1099 -classpath

or give the client a jndi.properties containing the proper URL in the
root of its classpath.
Confidential e-mail for addressee only.  Access to this e-mail by anyone else is 
unauthorized.
If you have received this message in error, please notify the sender immediately by 
reply e-mail 
and destroy the original communication.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user