We solved the problem. A known issue in Solaris tar causes files of typeflag 'L' to be truncated. This appears to affect most files in the WEB-INF directory. To fix, we used GNU tar to unpack.
x apache-activemq-5.0.0/webapps/admin/js/plotkit/SVG.js, 25177 bytes, 50 tape blocks tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file x ././@LongLink, 106 bytes, 1 tape blocks x apache-activemq-5.0.0/webapps/admin/WEB-INF/classes/org/apache/activemq/web/DurableSubscriberFacade., 950 bytes, 2 tape blocks x apache-activemq-5.0.0/webapps/admin/WEB-INF/classes/org/apache/activemq/web/SessionPool.class, 2420 bytes, 5 tape blocks tar: ././@LongLink: typeflag 'L' not recognized, converting to regular file ttmdev wrote: > > ApplicationContextFilter is deployed as part of the 'admin' web > application, so you can find it in .../webapps/admin/WEB-INF/classes > > FWIW, I don't set CLASSPATH when I launch the standalone broker via > .../bin/activemq > > Joe > > > DaveKant wrote: >> >> I have a problem starting ActiveMQ (5.0.0) on the Solaris 10 platform >> with a ClassNotFoundException thrown. The problem is related to the admin >> console so that when the section below is commented, the server starts up >> fine. Where is org.apache.activemq.web.filter.ApplicationContextFilter? >> >> We set the CLASSPATH to include all jars in $ACTIVEMQ_HOME, >> $ACTIVEMQ_HOME/lib, $ACTIVEMQ_HOME/lib/optional and >> $ACTIVEMQ_HOME/lib/web/ but this did not resolve the problem. >> >> >> Thanks, >> >> Dave >> >> <!-- An embedded servlet engine for serving up the Admin console --> >> <jetty xmlns="http://mortbay.com/schemas/jetty/1.0"> >> <connectors> >> <nioConnector port="8161" /> >> </connectors> >> <handlers> >> <webAppContext contextPath="/admin" >> resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true" /> >> <webAppContext contextPath="/demo" >> resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true" /> >> </handlers> >> </jetty> >> >> >> ACTIVEMQ_HOME: /export/home/sbebeta/apache-activemq-5.0.0 >> ACTIVEMQ_BASE: /export/home/sbebeta/apache-activemq-5.0.0 >> Loading message broker from: xbean:activemq.xml >> INFO BrokerService - Using Persistence Adapter: >> AMQPersistenceAdapter(/export/home/sbebeta/apache-activemq-5.0.0/data/localhost) >> INFO BrokerService - ActiveMQ 5.0.0 JMS Message Broker >> (localhost) is starting >> INFO BrokerService - For help or more information >> please see: http://activemq.apache.org/ >> INFO AMQPersistenceAdapter - AMQStore starting using directory: >> /export/home/sbebeta/apache-activemq-5.0.0/data/localhost >> INFO KahaStore - Kaha Store using data directory >> /export/home/sbebeta/apache-activemq-5.0.0/data/localhost/kr-store/state >> INFO AMQPersistenceAdapter - Active data files: [] >> WARN AMQPersistenceAdapter - The ReferenceStore is not valid - >> recovering ... >> INFO KahaStore - Kaha Store successfully deleted >> data directory >> /export/home/sbebeta/apache-activemq-5.0.0/data/localhost/kr- >> store/data >> INFO AMQPersistenceAdapter - Journal Recovery Started from: >> DataManager:(data-) >> INFO AMQPersistenceAdapter - Recovered 0 operations from redo >> log in 0.052 seconds. >> INFO AMQPersistenceAdapter - Finished recovering the >> ReferenceStore >> INFO KahaStore - Kaha Store using data directory >> /export/home/sbebeta/apache-activemq-5.0.0/data/localhost/kr-store/data >> INFO TransportServerThreadSupport - Listening for connections at: >> tcp://lonsbeapp-zq3:61616 >> INFO TransportConnector - Connector openwire Started >> INFO TransportServerThreadSupport - Listening for connections at: >> ssl://lonsbeapp-zq3:61617 >> INFO TransportConnector - Connector ssl Started >> INFO TransportServerThreadSupport - Listening for connections at: >> stomp://lonsbeapp-zq3:61613 >> INFO TransportConnector - Connector stomp Started >> INFO TransportServerThreadSupport - Listening for connections at: >> xmpp://lonsbeapp-zq3:61222 >> INFO TransportConnector - Connector xmpp Started >> INFO NetworkConnector - Network Connector >> [EMAIL PROTECTED] >> Started >> INFO BrokerService - ActiveMQ JMS Message Broker >> (localhost, ID:lonsbeapp-zq3-61216-1200998110370-0:0) started >> INFO TransportConnector - Connector vm://localhost Started >> INFO log - Logging to >> org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via >> org.mortbay.log.Slf4jLog >> INFO log - jetty-6.1.4 >> INFO WebConsoleStarter - ActiveMQ WebConsole initialized. >> WARN log - EXCEPTION >> java.lang.ClassNotFoundException: >> org.apache.activemq.web.filter.ApplicationContextFilter >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >> at >> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:375) >> at >> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337) >> at org.mortbay.util.Loader.loadClass(Loader.java:91) >> at org.mortbay.util.Loader.loadClass(Loader.java:71) >> at org.mortbay.jetty.servlet.Holder.doStart(Holder.java:73) >> at >> org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:83) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) >> at >> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594) >> at >> org.mortbay.jetty.servlet.Context.startContext(Context.java:139) >> at >> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) >> at >> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) >> at >> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) >> at >> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) >> at >> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) >> at org.mortbay.jetty.Server.doStart(Server.java:220) >> at >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) >> at >> org.mortbay.jetty.xbean.JettyFactoryBean.run(JettyFactoryBean.java:47) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> >> > > -- View this message in context: http://www.nabble.com/ClassNotFoundException-ApplicationContextFilter-tp15016509s2354p15020395.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.