Hi,
this is a FAQ. 
Thank Redhat for this.
Somehow they messed the localhost config up. That's why using your
machine name works and localhost won't. 
I can't remember what was wrong with the localhost config on RedHat. Can
anyone else ?

Cheers,
Tobias

Paul Robinson wrote:
> 
> Gary,
> 
> There where no exceptions when JBoss started up.
> 
> I just fixed the problem by modifying the jndi.properties file in the
> jboss/client directory from
> 
> java.naming.provider.url=jnp://localhost:1099/
> 
> to
> 
> java.naming.provider.url=jnp://"machinename":1099/
> 
> I also changed the the jboss.properties file from
> 
> java.rmi.server.hostname=localhost
> 
> to
> 
> java.rmi.server.hostname="machinename"
> 
> Once I changed this everthying started working fine.
> 
> Cheers
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gary S.
> Cuozzo
> Sent: Thursday, 6 June 2002 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBoss Running on RedHat Linux 7.2
> 
> Connection refused is either:  you don't have anything listening on the
> port, or the port is firewalled somehow.
> 
> try doing 'netstat -a | grep <portnumber>' and see if there is an open
> socket on that port.  If there is, then jboss (or something) is listening.
> 
> if not, then you have to figure out why there is nothing listening when
> there should be.
> 
> do you see any exceptions scroll by as jboss starts up?
> 
> gary.
> 
> Paul Robinson wrote:
> 
> > When I am attempting to connect to a Deployed EJB running under Jboss
> > on Linux I am getting a connection refused error, Is this a config
> > problem with Linux or Jboss.
> >
> >
> >
> > Any help would be appreciated??
> >
> >
> >
> > Cheers
> >
> > Paul
> >
> >
> >
> >
> >
> >
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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

Reply via email to