sorry to do this to you guys, but pretty much exhausted everywhere else...
say you've got tomcat4.1.12 on one machine, happpily talking to apache2.0.43, and you want it to talk to jboss2.2.4, which is on another machine, in order to retrieve, say a session and an entity bean. how would you go about doing this?
lets assume that the
java on the
tomcat machine has to act in the same way as a normal, java, remote client would - ie: we can't load the same jar's from inside
jboss's lib directory etc.etc. and we are not running an integrated jboss/catalina instance.
For example, lets say we've used an env-entry tag inside web.xml to define:
Name: myName
Type: java.lang.String
Value: Matthew Webster
Which can be retrieved using normal lookup. We also get:
Name:
ejb Type: org.apache.naming.NamingContext
Value: org.apache.naming.NamingContext@11eb199
using the normal lookup process.
But trying to retrieve a session bean gives:
javax.naming.NameNotFoundException: Name Service is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
Help really appreciated on this one! Will post to products\Jboss if asked.
Thanks,
Matt.