Claudio,
That was the problem.

The default /etc/hosts looks like this and doesn't let remote jndi clients connect to 
jboss 
127.0.0.1       Cuddles localhost.localdomain localhost

where Cuddles is the machine name and 10.100.1.35 is its IP address.
If this is changed to:
127.0.0.1       localhost.localdomain localhost
10.100.1.35     Cuddles

then remote jndi clients can connect, but Sendmail doesn't work!

At least we can run our tests now, but I wish RedHat wouldn't keep 
changing all this.
Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612




"Claudio Miranda" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
23.10.2002 11:13
Please respond to jboss-user

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Re: [JBoss-user] JNDI problem on Redhat 7.3 and JBoss



  Some linux boxes (notably rh), put in /etc/hosts the 
127.0.0.1 pointing to the name of machine (eg: myhost or 
localhost.localdomain) instead of localhost, replace the 
127.0.0.1 for just localhost. I think your error 
is "Connection refused: cannot connect to 127.0.0.1" ? is 
that right ? if not send to us the exceptio or error.

Claudio Miranda

> From: Jonathan.O'[EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Date: Wed, 23 Oct 2002 10:17:18 +0100
> Subject: [JBoss-user] JNDI problem on Redhat 7.3 and JBoss 
> 3.0.2
> Reply-To: [EMAIL PROTECTED]
> 
> Folks,
> Has anyone seen any problems with Redhat Linux 7.3 and 
> JBoss? We recently installed Redhat 7.3 on a test box. We 
> installed JBoss 3.0.2 on it and added our EAR. We can 
> connect to our application via the web interface, including 
> the jmx-console. The application works. But, when we 
> try running our JUnit tests, we always fail to get a JNDI 
> connection. We have tried connecting locally as well as 
> remotely. It makes no difference.
> 
> Does anyone know what we are doing wrong? We have put 
> Windows 2000 on instead and our setup worked fine. Finally, 
> we have our app and JBoss 
> 3.0.0 running with no problems on Redhat Linux 6.2
> 
> Can anyone suggest a fix?
> 
> Ciao,
> Jonathan O'Connor
> Ph: +353 1 872 3305
> Mob: +353 86 824 9736
> Fax: +353 1 873 3612
> 

 
---
UOL Elei��es 2002 - Todos os lances da disputa pol�tica
http://eleicoes.uol.com.br/



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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





-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to