I have been searching the archive, so I know that this
is not a new issue, but I did not find a viable
answer. Here is my question:

I am running Tomcat 3.2.1 and JBoss 2.0-Final in
separate VMs and I am having problems with my JNDI
lookup() call. 

I set the system lookup properties as follows:
java.naming.factory.initial =
org.jnp.interfaces.NamingContextFactory

java.naming.provider.url=localhost:1099

As a matter of fact immediately before I call lookup()
I get these system properties and they are properly
set.

But I get the following Exception in Tomcat:

[Tomcat] javax.naming.NameNotFoundException:
OrganizationManager not bound
[Tomcat]        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:245)
[Tomcat]        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:220)
[Tomcat]        at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
[Tomcat]        at
org.jnp.server.NamingServer_Stub.lookup(Unknown
Source)
[Tomcat]        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:29
5)
[Tomcat]        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:27
9)
[Tomcat]        at
javax.naming.InitialContext.lookup(InitialContext.java:350)
[Tomcat]        at
com.ipnetsolutions.config.utils.EJBUtils.getHome(EJBUtils.jav
a:31)
[Tomcat]        at
com.ipnetsolutions.config.itf.EJBConfigurator.findOrgs(EJBCon
figurator.java:398)
[Tomcat]        at
com.ipnetsolutions.webapps.msgsrv.commands.ShowLogonCommand.e
xecute(ShowLogonCommand.java:44)


If you were successful in connecting to JBoss from
Tomcat (in separate VMs), please let me know
step-by-step how you configured your Tomcat/JBoss
setup..

Thanks in advance!
Steve


=====
Steven Haines
Technical Lead
IPNet Solutions
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(949)476-4463 x388

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to