Hi Dharjaraj,
I'm squeaky new, so probably don't have a great answer for you, but
whenever I see that, I go check my PATH & CLASSPATH, then recompile,
redeploy *and* make sure the PATH and CLASSPATH are correct when running
the client and server. So far, it's always fixed that problem.
Patti :)
-----Original Message-----
From: Dharmaraj, Vasanth (CTS) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 8:03 AM
To: jBoss
Subject: RE: [jBoss-User] Connecting a client to a deployed session bean
I am geting a similar error...
Exception in thread "main" javax.naming.NameNotFoundException:
test.hello
not bo
und
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:167)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:152)
at javax.naming.InitialContext.lookup(Unknown Source)
at Client.main(Client.java:10)
The server log shows...
[Auto deploy] Watching D:\jboss2\deploy
[Auto deployer] Initialized
[Auto deployer] Starting
[Auto deploy] Auto deploy of file:/D:/jboss2/deploy/Cust.jar
[Auto deployer] Initializing
[Container factory] Deploying:file:/D:/jboss2/deploy/Cust.jar
[Container factory] Deploying Customer
[Container factory] Deployed application:
file:/D:/jboss2/deploy/Cust.jar
[Container factory] Deploying:file:/D:/jboss2/deploy/Hello.jar
[Auto deploy] Auto deploy of file:/D:/jboss2/deploy/Hello.jar
[Container factory] Deployed application:
file:/D:/jboss2/deploy/Hello.jar
[Auto deployer] Started
[JMX RMI Adaptor] Initializing
[JMX RMI Adaptor] Initialized
[JMX RMI Adaptor] Starting
[JMX RMI Adaptor] Started
[Default] jBoss 2.0 Started
I am trying to use a stateless session bean in Hello.jar... please tell
me
whats wrong?
> _____________
> Vasanth Dharmaraj
>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: None
To: jBoss
Subject: Re: [jBoss-User] Connecting a client to a deployed session bean
Patti,
I assume you're getting an exception? What exception is being thrown??
cheers,
peter
<pre>
Hi,
I'm having difficulty getting a client to connect to a bean I've
successfully deployed in the JBoss server. This bean and client work
fine under WebLogic. Hopefully one of y'all can see what I'm doing
wrong.
I'm using the JNDI values in the jndi.properties file for the context
lookup, but never get a connection.
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost
Is there something else I need to do, like maybe 'tween JNDI and LDAP?
Thanks!
Patti :)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
</pre>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]