-
1. Re: NamingException null on TopicConnectionFactory lookup
hchirino Nov 18, 2001 10:00 PM (in response to travers)Well i'm not sure if this is the problem but jboss-j2ee.jar jnp_client are not enough.
You need to add all the jars that are in the client directory to your classpath. -
2. Re: NamingException null on TopicConnectionFactory lookup
travers Nov 19, 2001 6:35 AM (in response to travers)Thanks,
I included all jars in the jboss client dir but still get the same error. Are there any other jars that need to be deployed on the client machine? -
3. Re: NamingException null on TopicConnectionFactory lookup
hchirino Nov 19, 2001 11:23 PM (in response to travers)that should be enough. Can you look up any other object in JNDI???
Regards,
Hiram -
4. Re: NamingException null on TopicConnectionFactory lookup
travers Nov 20, 2001 5:41 AM (in response to travers)I tried to lookup some other objects which I could see with JNDIView on port 8082. I get the same results - NamingException null. Another funny is that if I run the JMSPublisher client on the same machine as Jboss and topic, it works when I run and build with Ant, but from within Forte, I get the same exception - I made sure I have all the right jars included in Forte classpath. Now when I use the same ant build script on a remote machine, it does not solve the problem. It looks to be more of a jndi problem - maybe you can direct me somewhere.
-
5. Re: NamingException null on TopicConnectionFactory lookup
hchirino Nov 20, 2001 6:42 PM (in response to travers)Make sure that the jndi.properties file that is in the classpath is configured correctly.
-
6. Re: NamingException null on TopicConnectionFactory lookup
travers Nov 21, 2001 8:51 AM (in response to travers)This is the contents of my jndi.properties file
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=196.28.197.225:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces -
7. Re: NamingException null on TopicConnectionFactory lookup
hchirino Nov 22, 2001 1:50 AM (in response to travers)looks good to me. Post your question to the FAQ forum. Maybe someone has seen the same error before.