You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Christian Graf <ch...@knapp.com> on 2009/07/07 09:12:34 UTC

Re: Servicemix 3.3 SendSync hangs after one night in idle mode.

Hi,

the problem still exists and i got the following exceptions when i stop the
servicemix (there are a lot of these entries inside the log file). I copied
one of them for you. The database i use is Oracle 9.2.0.5.0. If this does
not work with oracle, is it save to use the "file" persistence for jms? 

07:39:18,316 | ERROR | ActiveMQ Cleanup Timer | DefaultDatabaseLocker    |
ore.jdbc.DefaultDatabaseLocker  109 | Failed to update database lock:
java.sql.SQLException: Io exception: Connection reset by peer: socket write
error
java.sql.SQLException: Io exception: Connection reset by peer: socket write
error
	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
	at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
	at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:992)
	at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
	at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370)
	at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3454)
	at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
	at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
	at
org.apache.activemq.store.jdbc.DefaultDatabaseLocker.keepAlive(DefaultDatabaseLocker.java:104)
	at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.databaseLockKeepAlive(JDBCPersistenceAdapter.java:458)
	at
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter$3.run(JDBCPersistenceAdapter.java:260)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)


07:39:20,910 | ERROR | pool-flow.seda.servicemix-jms-thread-443 |
JmsComponent             | emix.common.AsyncBaseLifeCycle  512 | Error
processing exchange InOnly[
  id: ID:192.168.0.83-1224fe29298-8:258
  status: Active
  role: provider
  service: {java://com.knapp.bus.jms.wms}wms2osr
  endpoint: osrQueue
  in: <?xml version="1.0" encoding="UTF-8"?><LCPROT route="OSR1"
service="SSSUBSYSTEM" version="1.1">
  <REQUEST>NEW_TRANSPORT</REQUEST>
  <REQUESTID>LCPRID0000000097</REQUESTID>
  <NEW_TRANSPORT>
    <DATAFORMAT>SSSUBSYSTEM.XML</DATAFORMAT>
    <DATATYPE>TEXT</DATATYPE>
    <DATA format="SSSUBSYSTEM.XML" name="wms2wcs" type="TEXT">
      <![CDATA[
        <?xml version="1.0" encoding="UTF-8"?><wms2wcs><exp_event
action="ADD" dcr="2009-07-07 06:27:59" dmr="" errorid="" id="" status="10"
sub_action="TRANSPORT" systemid="01" ><exp_container cntno="0" cont_refno=""
conttypeid="10" creation_date="2009-07-07 06:27:59" errorid="" event_id=""
licenceplate="803184" lock_state="N" person="" priority="0" returns_flag=""
status="" weight_act="21000" weight_tara="" wpono="354629" wptypeid="RP"
/><exp_ws bundlesize="1" cntno="0" creation_date="2009-07-07 06:27:59"
errorid="" event_id="" expiry_date="2009-12-03 00:00:00"
flag_check_required="" flag_fefo="Y" flag_lot="" height=""
item_description="SADJE SUHO EKSOTI�NO ME�." itembarcode="" itemgroup=""
itemno="P629277" itemtype="WEIGHT" itemweight="" lbarcode="" length=""
locno="5200111" lot_change="" lot_number="" person=""
pick_location="OSR12DEG" priority="0" qty="8000" status="" unit="1000"
volume="" width="" wpono="354629" ws_no="1" ws_seq="" ws_type="GET"
><exp_cont_qty bundlename="PE1" bundlesize="1" conttypeid="10"
itemno="P629277" qty="20" wpono="354629" ws_no="1" /></exp_ws><exp_ws
bundlesize="1" cntno="0" creation_date="2009-07-...
]
javax.jms.JMSException: java.io.EOFException
	at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
	at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1201)
	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1644)
	at
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:227)
	at
org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
	at
org.apache.servicemix.jms.multiplexing.MultiplexingProviderProcessor.process(MultiplexingProviderProcessor.java:114)
	at org.apache.servicemix.soap.SoapEndpoint.process(SoapEndpoint.java:367)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
	at
org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
	at
org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
	at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
	at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
	at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
	at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
	at java.io.DataInputStream.readInt(DataInputStream.java:375)
	at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:269)
	at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:203)
	at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:195)
	at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
	... 1 more
-- 
View this message in context: http://www.nabble.com/Servicemix-3.3-SendSync-hangs-after-one-night-in-idle-mode.-tp24143726p24368255.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Servicemix 3.3 SendSync hangs after one night in idle mode.

Posted by Christian Graf <ch...@knapp.com>.
Hi,

i switched from Database persistence to File persistence and it had the same
behavior this morning as with the database. The jms component just "hang".
Can anyone help me? Is there any other component to queue and save messages?

Regards,
Christian
-- 
View this message in context: http://www.nabble.com/Servicemix-3.3-SendSync-hangs-after-one-night-in-idle-mode.-tp24143726p24404470.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.