Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5725

ActiveMQ errors showed when deployed daytrader sample

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.1.8
    • Component/s: ActiveMQ
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Description

      1.Using geronimo 2.1.7,startup geronimo server
      2.Run daytrader sample using derby plan following "Readme.txt":
      ./deploy.sh deploy ${SAMPLE_HOME}/applications/daytrader/modules/ear/target/daytrader-ear-2.1.1.5.ear ${SAMPLE_HOME}/applications/daytrader/plans/target/classes/daytrader-derby-xa-plan.xml
      where ${SAMPLE_HOME}is the path of the daytrder sample.
      3.Open" http://localhost:8080/daytrader" and Populate the daytrader database tables by

      • Select the "Configuration" tab.
      • Click "Configure DayTrader run-time parameters" to configure proper runtime parameters
      • Then click "(Re)-create DayTrader Database Tables and Indexes" to create tables and indexes
      • Then Click the "(Re)populate Daytrader Database" link to populate data to the database
      • Now you can run the daytrader sample by clicking "Trading & Portfolios"
        4. See "server.log" file of geronimo server .Then errors showed as follows:
        2010-12-07 09:29:09,022 ERROR [TransportConnector] Could not accept connection from /127.0.0.1:50067: java.net.SocketException: Connection reset
        java.net.SocketException: Connection reset
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:108)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:148)
        at org.apache.activemq.transport.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:109)
        at java.io.DataOutputStream.flush(DataOutputStream.java:118)
        at org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:119)
        at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:145)
        at org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:80)
        at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:93)
        at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:47)
        at org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1138)
        at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:805)
        at org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:885)
        at org.apache.activemq.broker.TransportConnector$1.onAccept(TransportConnector.java:148)
        at org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:162)
        at java.lang.Thread.run(Thread.java:736)
        2010-12-07 09:29:09,208 INFO [startup] Created Ejb(deployment-id=dt-ejb.jar/TradeSLSBBean, ejb-name=TradeSLSBBean, container=Default Stateless Container)
        2010-12-07 09:29:09,208 INFO [startup] Created Ejb(deployment-id=dt-ejb.jar/DirectSLSBBean, ejb-name=DirectSLSBBean, container=Default Stateless Container)
        2010-12-07 09:29:09,208 INFO [startup] Created Ejb(deployment-id=dt-ejb.jar/DTStreamer3MDB, ejb-name=DTStreamer3MDB, container=TradeJMS.TradeJMSResources-javax.jms.MessageListener)
        2010-12-07 09:29:09,208 INFO [startup] Created Ejb(deployment-id=dt-ejb.jar/DTBroker3MDB, ejb-name=DTBroker3MDB, container=TradeJMS.TradeJMSResources-javax.jms.MessageListener)
        2010-12-07 09:29:09,208 INFO [startup] Deployed Application(path=/home/lyl/Downloads/ce2115/var/temp/geronimo-deploymentUtil488428322297389749.jar)
        2010-12-07 09:29:09,217 ERROR [TransportConnector] Could not accept connection from /127.0.0.1:50068: java.net.SocketException: Broken pipe
        java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:104)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:148)
        at org.apache.activemq.transport.tcp.TcpBufferedOutputStream.flush(TcpBufferedOutputStream.java:109)
        at java.io.DataOutputStream.flush(DataOutputStream.java:118)
        at org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:119)
        at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:145)
        at org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:80)
        at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:93)
        at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:47)
        at org.apache.activemq.broker.TransportConnection.dispatch(TransportConnection.java:1138)
        at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:805)
        at org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:885)
        at org.apache.activemq.broker.TransportConnector$1.onAccept(TransportConnector.java:148)
        at org.apache.activemq.transport.tcp.TcpTransportServer.run(TcpTransportServer.java:162)
        at java.lang.Thread.run(Thread.java:736)

        Attachments

          Activity

            People

            • Assignee:
              xuhaihong Haihong Xu
              Reporter:
              lylyuchen Tina Li

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment