Wrong JMS resource deployment plan causes server down
-----------------------------------------------------

                 Key: GERONIMO-4512
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4512
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: ActiveMQ
    Affects Versions: 2.2
         Environment: JDK 1.6
Ubuntu 8.04
            Reporter: Forrest Xia


Steps:
1. Use the attached daytrader application and the wrong deployment plan to 
deploy to the default geronimo server instance.
2. The admin console responses the deployment and start is OK
3. Check the geronimo.log and geronimo.out
4. Try to uninstall the daytrader application
5. Try to stop the server

Problems:
1. The log endlessly prints errors like this:
2009-01-14 13:38:22,241 ERROR [ActiveMQEndpointWorker] Failed to connect to 
broker [tcp://localhost:61636]: Could not connect to broker URL: 
tcp://localhost:61636. Reason: java.net.ConnectException: 连接被拒绝
javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61636. 
Reason: java.net.ConnectException: 连接被拒绝
        at 
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
        at 
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
        at 
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:179)
        at 
org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:128)
        at 
org.apache.activemq.ra.ActiveMQEndpointWorker$1.run(ActiveMQEndpointWorker.java:106)
        at 
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at 
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
        at 
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:735)
2. daytrader application cannot be stopped or restarted.
3. The default server instance cannot be stopped gracefully, unless use kill 
process method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to