activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Topher Fangio <tfan...@fractech.net>
Subject Latest Snapshot Troubles (apache-activemq-5.0-20071028.173739-45.zip)
Date Wed, 31 Oct 2007 14:37:17 GMT

Hello all,

We downloaded the apache-activemq-5.0-20071028.173739-45.zip snapshot
yesterday and were able
to get everything working eventually. However, we noticed that the default
win32 wrapper.conf file
appears to be missing the start parameter necessary to actually start
activemq. We were able to get
it working by adding the following line to the application parameters:

<code>
wrapper.app.parameter.2=start
</code>

We are not sure if this is the intended default configuration, but it did
take us (those completely new
to ActiveMQ and Wrapper) about two hours to track this down. Perhaps a bit
of documentation on the
FAQ might be appropriate (which I would be more than happy to add if
asked/approved).

Also, there appears to be a problem stopping ActiveMQ when run as a Windows
service. Below is an
excerpt from the output log. We are running the instance on a single laptop
that is not connected to
the network and simply starting the service, waiting a few seconds and
stopping the service. Please
let me know if there is any more information that I can give that may be of
use.

Topher Fangio
Frac Tech Services, Ltd.

<code>
INFO   | jvm 1    | 2007/10/30 12:00:55 | Send a packet PING : ok
INFO   | jvm 1    | 2007/10/30 12:00:55 | Non-daemon thread count = 10 -
1(system) = 9
DEBUG  | wrapperp | 2007/10/30 12:00:55 | read a packet PING : ok
DEBUG  | wrapper  | 2007/10/30 12:00:55 | Got ping response from JVM
DEBUG  | wrapperp | 2007/10/30 12:00:56 | send a packet SERVICE_CONTROL_CODE
: 1
DEBUG  | wrapper  | 2007/10/30 12:00:56 | ServiceControlHandler(1)
DEBUG  | wrapper  | 2007/10/30 12:00:56 |   SERVICE_CONTROL_STOP
DEBUG  | wrapper  | 2007/10/30 12:00:56 | wrapperStopProcess(0) called.
INFO   | jvm 1    | 2007/10/30 12:00:56 | Received a packet
SERVICE_CONTROL_CODE : 1
INFO   | jvm 1    | 2007/10/30 12:00:56 | Wrapper Manager:
ServiceControlCode from Wrapper with code 1
INFO   | jvm 1    | 2007/10/30 12:00:56 | Non-daemon thread count = 10 -
1(system) = 9
DEBUG  | wrapper  | 2007/10/30 12:00:56 | Sending stop signal to JVM
DEBUG  | wrapperp | 2007/10/30 12:00:56 | send a packet STOP : NULL
INFO   | jvm 1    | 2007/10/30 12:00:56 | Received a packet STOP : 
INFO   | jvm 1    | 2007/10/30 12:00:56 | Thread, Wrapper-Connection,
handling the shutdown process.
INFO   | jvm 1    | 2007/10/30 12:00:56 | calling listener.stop()
INFO   | jvm 1    | 2007/10/30 12:00:56 | WrapperSimpleApp: stop(0)
INFO   | jvm 1    | 2007/10/30 12:00:56 | returned from listener.stop()
INFO   | jvm 1    | 2007/10/30 12:00:56 | Send a packet STOPPED : 0
DEBUG  | wrapperp | 2007/10/30 12:00:56 | read a packet STOPPED : 0
DEBUG  | wrapper  | 2007/10/30 12:00:56 | JVM signalled that it was stopped.
INFO   | jvm 1    | 2007/10/30 12:00:56 | Closing socket.
DEBUG  | wrapperp | 2007/10/30 12:00:56 | socket read no code (closed?).
DEBUG  | wrapperp | 2007/10/30 12:00:56 | server listening on port 32001.
INFO   | jvm 1    | 2007/10/30 12:00:57 | calling System.exit(0)
INFO   | jvm 1    | 2007/10/30 12:00:57 | INFO  BrokerService                 
- ActiveMQ Message Broker (localhost, ID:achaicus-2861-1193763594187-0:0) is
shutting down
INFO   | jvm 1    | 2007/10/30 12:00:57 | WrapperSimpleApp: main method
completed
INFO   | jvm 1    | 2007/10/30 12:00:57 | INFO  NetworkConnector              
- Network Connector
org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent@e7e8eb
Stopped
INFO   | jvm 1    | 2007/10/30 12:00:59 | INFO  TransportConnector            
- Connector openwire Stopped
INFO   | jvm 1    | 2007/10/30 12:00:59 | WARN  ActiveMQConnection            
- Async exception with no exception listener: java.io.EOFException
INFO   | jvm 1    | 2007/10/30 12:00:59 | java.io.EOFException
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
java.io.DataInputStream.readInt(Unknown Source)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:190)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:182)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:170)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at java.lang.Thread.run(Unknown
Source)
INFO   | jvm 1    | 2007/10/30 12:00:59 | ERROR
efaultMessageListenerContainer - Setup of JMS message listener invoker
failed - trying to recover
INFO   | jvm 1    | 2007/10/30 12:00:59 |
org.apache.activemq.ConnectionFailedException: The JMS connection has
failed: java.io.EOFException
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1233)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:291)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.springframework.jms.support.JmsAccessor.createSession(JmsAccessor.java:200)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:292)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:254)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:818)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at java.lang.Thread.run(Unknown
Source)
INFO   | jvm 1    | 2007/10/30 12:00:59 | Caused by: java.io.EOFException
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
java.io.DataInputStream.readInt(Unknown Source)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:190)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:182)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:170)
INFO   | jvm 1    | 2007/10/30 12:00:59 | 	... 1 more
INFO   | jvm 1    | 2007/10/30 12:01:05 | INFO  TransportConnector            
- Connector ssl Stopped
INFO   | jvm 1    | 2007/10/30 12:01:10 | INFO  TransportConnector            
- Connector stomp Stopped
INFO   | jvm 1    | 2007/10/30 12:01:15 | INFO  TransportConnector            
- Connector xmpp Stopped
INFO   | jvm 1    | 2007/10/30 12:01:15 | INFO  TransportConnector            
- Connector vm://localhost Stopped
INFO   | jvm 1    | 2007/10/30 12:01:15 | INFO  BrokerService                 
- ActiveMQ JMS Message Broker (localhost,
ID:achaicus-2861-1193763594187-0:0) stopped
ERROR  | wrapper  | 2007/10/30 12:01:15 | Shutdown failed: Timed out waiting
for the JVM to terminate.
ERROR  | wrapper  | 2007/10/30 12:01:15 | JVM did not exit on request,
terminated
STATUS | wrapper  | 2007/10/30 12:01:16 | <-- Wrapper Stopped
</code>
-- 
View this message in context: http://www.nabble.com/Latest-Snapshot-Troubles-%28apache-activemq-5.0-20071028.173739-45.zip%29-tf4725436s2354.html#a13510554
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message