0

I want to implement JMS server on tomcat, I have all configurations to setup JMS but I made some mistakes,

I have 3 classes (JMSServlet, JMSSender and JMSReceiver) JMSServlet don't handle my http requests and don't reply as throw exception from startInternal() method in catalina.jar in apache-tomcat-8.0.0-RC1\libs

*java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/BasicJMS]]
    at java.util.concurrent.FutureTask.report(Unknown Source)   at
java.util.concurrent.FutureTask.get(Unknown Source)     at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:918)
    at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:852)
    at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1390)
    at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1380)
    at java.util.concurrent.FutureTask.run(Unknown Source)  at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  at
java.lang.Thread.run(Unknown Source)*
phuclv
  • 37,963
  • 15
  • 156
  • 475
yasin
  • 49
  • 1
  • 9
  • You're missing the root cause of the reason it failed to start. – Kayaman May 16 '18 at 07:13
  • ok I see, my root cause was [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:BasicJMS' did not find a matching property, And I handel it , I opened the server configuration. Under server options check ‘Publish module contents to separate XML files’ checkbox. Restart my server. This time my page will come without any issues. – yasin May 16 '18 at 08:47
  • Include the full stacktrace in the question itself. – Kayaman May 16 '18 at 08:49
  • when any answer helps you (including your own) [click the green checkmark to mark it as answered](https://stackoverflow.com/help/accepted-answer). Also takes one minute for the [tour] to understand how this site works – phuclv Aug 05 '18 at 02:22

1 Answers1

0

I handel it , I opened the server configuration. Under server options check ‘Publish module contents to separate XML files’ checkbox. Restart my server. This time my page will come without any issues.

yasin
  • 49
  • 1
  • 9