Register / Login
EJB and other Java EE Technologies
Tomcat shutdown when i run JMS App
posted 7 years ago
Hi i have created two
MessageProducer.java and MessageConsumer.java
When i run MessageProducer.java and MessageConsumer.java from command prompt, It works fine it produces the message and consumer receives the messages.
but now i have tried to create a war file, one
calls the producer.java's mothod, at that instance, My
is shutting down.
and i can see the following error in the log,
/jmsapp/produce.do ***Produce.do*** - Destination name is MyQueue - JNDI API lookup failed: javax.naming.NameNotFoundException: Name ConnectionFactory is not bound in this Context - Pausing Coyote HTTP/1.1 on http-8080 - Stopping service Catalina - SessionListener: contextDestroyed() - ContextListener: contextDestroyed() - SessionListener: contextDestroyed() - ContextListener: contextDestroyed() - Waiting for 1 instance(s) to be deallocated - Waiting for 1 instance(s) to be deallocated - Waiting for 1 instance(s) to be deallocated - WebLM Server: WebLMServlet - webLMDestroy() - WebLM Server: Successfully stopped PeriodicManager. - WebLM Server: Successfully stopped PeakUsageHistoryTimer. - WebLM Server: Number of products for which peak usage data is to be saved: 0 - WebLM Server: Number of products for which peak usage data could not be saved: 0 - WebLM Server: Tried to save PeakUsageHistory for all products. - WebLM Server: License server destroyed - Stopping Coyote HTTP/1.1 on http-8080 - Failed shutdown of Apache Portable Runtime
Can anybody give some input on it ???
It is sorta covered in the
JavaRanch Style Guide
Eclipse with Tomcat 7 on Ubuntu v11.10
my servlets not working well on Centos
shutdown failed Tomcat in netbeans6.1
JMS - Name QueueConnectionFactory is not bound in this Context
org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed