Running Example Code
pat.flanigan Oct 26, 2011 1:05 PMI am trying to run run example code from the ActiveMQ in action book, directly from unmodified jar files and the war files. This example is taken from chapter 8, and is the jms-webapp-local, though I've done the webapp-global with the same results. I'm running on a Mac OS/X under Lion. I think this is the key. I've used Tomcat 6.0.33 for this latest test. This war file appears to deploy, but won't start because of a listener error. Here is the relevant log during startup.
INFO: Deploying configuration descriptor manager.xml
Oct 26, 2011 10:38:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive jms-webapp.war
Oct 26, 2011 10:38:06 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 26, 2011 10:38:06 AM org.apache.catalina.core.StandardContext start
SEVERE: Context /jms-webapp startup failed due to previous errors
Oct 26, 2011 10:38:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Oct 26, 2011 10:38:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Oct 26, 2011 10:38:06 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Oct 26, 2011 10:38:06 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 26, 2011 10:38:06 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 26, 2011 10:38:06 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null
Oct 26, 2011 10:38:06 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 992 ms
Also taking place during this time is a message issued by the kernel. This message is new to Lion. I don't know if this is affecting things, but it seems to be affecting other development systems.
10/26/11 10:38:07.000 AM kernel: nstat_lookup_entry failed: 2
Has anyone else gotten this example to run on Mac OS/X Lion?