[jboss-user] [JBoss Messaging] - Re: Tomcat and JBoss messaging

jaya_srini do-not-reply at jboss.com
Thu Feb 14 11:47:37 EST 2008


Thanks for the reply, Andy!

I tried that as well but then I get a ServletException when it's trying to look up teh conenction factory

2008-02-13 14:42:16,046 [http-8000-1] ERROR org.apache.catalina.core.ContainerBase.[Standalone].[localhost].[/allocationmessaging].[AllocationMessaging] - Servlet.service() for servlet AllocationMessaging threw exception
javax.servlet.ServletException: Servlet execution threw an exception
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
	at com.disney.tomcat.GreenCookieValve.invoke(Unknown Source)
	at com.disney.tomcat.RequestThrottleValve.invoke(Unknown Source)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:888)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:624)
	at org.apache.tomcat.util.net.NioEndpoint$Worker.run(NioEndpoint.java:1465)
	at java.lang.Thread.run(Thread.java:619)

Couple of questions...

1) Does tomcat support external JNDI calls? My tomcat app and the JBOSS App server are on the same machine but they are separate services.

2) If it does then just modifying the initial context to point to JBOSS JNDI should be sufficient, correct (the way I am doing in the code posted earlier)? I should need to modify the server.xml or web.xml on the tomcat side, right?

I am sorry if the questions are too trivial :(. I am a newbie with JBoss messaging.

Any input/ideas appreciated!

thank you
jaya

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129443#4129443

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129443



More information about the jboss-user mailing list