geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GERONIMO-5725) ActiveMQ errors showed when deployed daytrader sample
Date Wed, 29 Jun 2011 08:21:28 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan resolved GERONIMO-5725.
----------------------------

    Resolution: Fixed

This is caused by an issue on ActiveMQ side, the required changes are done to the activemq-4.1
package from Geroimo side at rev.1100170
AMQ-3121: Avoid connection creation while creating XAResource if the connection factory is
not an xa connection factory

> ActiveMQ errors showed when deployed daytrader sample
> -----------------------------------------------------
>
>                 Key: GERONIMO-5725
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5725
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: ActiveMQ
>    Affects Versions: 2.1.7
>         Environment: Apache Geronimo V2.1.7
> JVM in use = IBM JVM 1.6.0
> [java.runtime.version]  = pxi3260sr8fp1-20100624_01 (SR8 FP1)
> JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr8ifx-20100609_59383 (JIT enabled, AOT enabled)
> Fedora 14
>            Reporter: Tina Li
>            Assignee: Ivan
>            Priority: Minor
>             Fix For: 2.1.8
>
>
> 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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message