Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-791

ERROR - Failed to start ActiveMQ JMS Message Broker. Reason: java.lang.IllegalStateException: Shutdown in progress upon executing org.apache.openejb.assembler.classic.MdbConfigTest

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment Visibility
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.1.x
    • tests
    • None

    Description

      Running org.apache.openejb.assembler.classic.MdbConfigTest
      INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory, type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)
      INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
      INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
      INFO - Configuring Service(id=Default Unmanaged JDBC Database, type=Resource, provider-id=Default Unmanaged JDBC Database)
      INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource, provider-id=Default JMS Resource Adapter)
      INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
      INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
      INFO - Configuring app: fake.jar
      WARN - Unable to scrape for @Stateful, @Stateless or @MessageDriven annotations. Invalid EjbModule URL: fake.jar
      INFO - Configuring Service(id=JmsMdb, type=Resource, provider-id=Default Queue)
      INFO - Auto-creating a Resource with id 'JmsMdb' of type 'javax.jms.Queue for 'JmsMdb'.
      INFO - Configuring Service(id=FakeMdb, type=Resource, provider-id=Default Queue)
      INFO - Auto-creating a Resource with id 'FakeMdb' of type 'javax.jms.Queue for 'FakeMdb'.
      INFO - Loaded Module: fake.jar
      INFO - Assembling app: fake.jar
      INFO - Jndi(name=JmsMdb) --> Ejb(deployment-id=JmsMdb)
      INFO - Created Ejb(deployment-id=JmsMdb, ejb-name=JmsMdb, container=Default MDB Container)
      INFO - Created Ejb(deployment-id=FakeMdb, ejb-name=FakeMdb, container=FakeContainer)
      INFO - Deployed Application(path=fake.jar)
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.299 sec
      ERROR - Failed to start ActiveMQ JMS Message Broker. Reason: java.lang.IllegalStateException: Shutdown in progress
      java.lang.IllegalStateException: Shutdown in progress
      at java.lang.Shutdown.add(Shutdown.java:81)
      at java.lang.Runtime.addShutdownHook(Runtime.java:190)
      at org.apache.activemq.broker.BrokerService.addShutdownHook(BrokerService.java:1371)
      at org.apache.activemq.broker.BrokerService.start(BrokerService.java:385)
      at org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnect(VMTransportFactory.java:113)
      at org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTransportFactory.java:52)
      at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:43)
      at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:77)
      at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:230)
      at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:245)
      at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
      at org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:133)
      at org.apache.activemq.ra.ActiveMQEndpointWorker$1.run(ActiveMQEndpointWorker.java:145)
      at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
      at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jlaskowski Jacek Laskowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment