Hi again!
In the test client you define the JNDI settings. One of those values is
java.naming.provider.url . Can you ping the host which is given in the
url ? Please try it.

If you install a TCP/IP sniffer, can you see the client trying to
connect on that porton the server ?

Please also make sure that there is NO jndi.properties file in your
client directory or in any jar or directory included into the classpath
for this example client. A jndi.properties file will override the
settings in the client program !
Strip down the classpath to the minimum needed by the client.

What are your results now ?

Ciao,
Tobias

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Yes the client & server both are in the same machine.
> Can somebody help me out of this situation please...
> I'm unable to proceed further .. :(
> 
> Thanks,
> -Swam
> 
> -- Original Message --
> 
> >Are you starting the client on the server or from a remote host ?
> >
> >Cheers,
> >Tobias
> >
> >
> >[EMAIL PROTECTED] wrote:
> >>
> >> I should have written my previous mail in detail.
> >>
> >> Yes.. the Bean is properly deployed in the JBoss server.
> >>
> >> This is what is printed in my console when I added interest.jar in 'deploy'
> >> folder.
> >> ------------------------------------------------------------
> >> [Auto deploy] Auto deploy of file:/D:/program 
>files/JBoss-2.2.1/deploy/interest.jar
> >> [J2EE Deployer Default] Deploy J2EE application: file:/D:/program 
>files/JBoss-2.2.1/deploy/interest.jar
> >> [J2EE Deployer Default] Create application interest.jar
> >> [J2EE Deployer Default] install module interest.jar
> >> [Container factory] Deploying:file:/D:/program 
>files/JBoss-2.2.1/tmp/deploy/Default/interest.jar
> >> [Verifier] Verifying file:/D:/program 
>files/JBoss-2.2.1/tmp/deploy/Default/interest.jar/ejb1002.jar
> >> [Container factory] Deploying Interest
> >> [Container factory] Deployed application: file:/D:/program 
>files/JBoss-2.2.1/tmp/deploy/Default/interest.jar
> >> [J2EE Deployer Default] J2EE application: file:/D:/program 
>files/JBoss-2.2.1/deploy/interest.jar
> >> is deployed.
> >>
> >> ------------------------------------------------------------
> >> I'm using JBoss 2.2.1, OS is  Windows NT, JDK version 1.3.
> >> When I run the InterestClient it gets the Context, and then a 
>ServiceUnavailableException
> >> is thrown, reason given is ConnectException ..Connection Refused.
> >>
> 
>  This is what is printed in the console when I start the InterestClient
> :
> 
> ----------------------------------------------------------------
> >> >D:\My Working Folder\XYZ\Beans\interest>java InterestClient
> >> >Got context
> >> >javax.naming.ServiceUnavailableException: Connection refused: no further
> >> >information [Root exception is java.net.ConnectException: Connection
> >> >refused:
> >> >no further information]
> >
> ----------------------------------------------------------------
> 
> >> What is the problem ? Please help me!
> >>
> >> Thanks,
> >> -Swam

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

Reply via email to