Hi James, Thanks for your response.
I made some progress in running the examples. I need to do the following 1. Download commons-logging.jar (the jms example war does not contain it) 2. Download a newer version of commons-beanutil.jar (v1.2) (the beanutil.jar in the example war does not contain the MethodUtils.class) But I still have problem in running the sendTool.jsp. I got the following exception: exception javax.servlet.ServletException: Failed to create the Destination for: MyTopic at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463) at org.apache.jsp.sendTool$jsp._jspService(sendTool$jsp.java:276) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) I am using Tomcat 4.0.2 and J2ee sdk for my JMS server. And I hace check my JMS server, I do have a topic called "MyTopic". So I don't know why I got an exception saying "Failed to create the Destination for: MyTopic" when I try the send.jsp page. Thanks. Sam (p.s. My E:\j2sdkee1.3.1\bin>j2eeadmin -listJmsDestination JmsDestination -------------- < JMS Destination : jms/Queue , javax.jms.Queue > < JMS Destination : MyTopic , javax.jms.Topic > < JMS Destination : MyQueue , javax.jms.Queue > < JMS Destination : jms/Topic , javax.jms.Topic > E:\j2sdkee1.3.1\bin> -----Original Message----- From: James Strachan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 8:51 PM To: Tag Libraries Users List Subject: Re: Question about using JMS tags example of Jakarta tagLib Hey Sam Sorry for the delay getting back to you - I've been offline for a few days. Are you using the web.xml from the examples that has the initServlet to initialize Messenger? Here's the snippet from the web.xml that does the magic... <!-- Initialize the Messenger JMS connections --> <servlet> <servlet-name>InitMessenger</servlet-name> <servlet-class>org.apache.commons.messenger.InitMessengerServlet</servlet-cl ass> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/Messenger.xml</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> Could it be that the above fails for some reason earlier in your Servlet log? What Servlet engine are you using? I've tested these tags thoroughly on Tomcat 4.0.x and they seem to work fine for me. James ----- Original Message ----- From: "Sam Cheung" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 1:53 AM Subject: Question about using JMS tags example of Jakarta tagLib > Hi, > > I am trying to run the JMS tags example of Jakarta > taglib. I have the following exception when I try the > sendTool.jsp: > > javax.servlet.ServletException: Could not find JMS > Connection named: topic. Reason: > javax.jms.JMSException: No Messenger.xml configuration > document found on the CLASSPATH. Could not initialise > the default MessengerManager!! > at > org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:463) > at > org.apache.jsp.sendTool$jsp._jspService(sendTool$jsp.java:276) > at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > But I have the Messsenger.xml file in {Tomcat > directory}/webappsjmstags-examplesWEB-INF. > > I appreciate if anyone can help me on this. > > Thanks. > > Sam > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Greetings - Send FREE e-cards for every occasion! > http://greetings.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>