You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by inter <ga...@126.com> on 2009/08/24 11:14:44 UTC

Servicemix embered in Tomcat can not startup..

I used servicemix-web-3.3.1.war in Tomcat.


Notice the bold lines:
ServiceMix JBI Container (ServiceMix) started.

Servicemix Container has started.

But then quickly,it went to end without any errors:
org.springframework.beans.factory.support.DefaultSingletonBea
nRegistry destroySingletons

It seems that  servicemix should have blocked after started,but it did not!

what's the problem?


follows are all the details:
------------------------------------------------------
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-8-24 16:39:33 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1043 ms
2009-8-24 16:39:33 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-8-24 16:39:33 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.16
2009-8-24 16:39:34 org.apache.catalina.loader.WebappClassLoader
validateJarFile
信息:
validateJarFile(F:\tomcat6.0\webapps\servicemix-web-3.3.1\WEB-INF\lib\gero
nimo-servlet_2.5_spec-1.1.2.jar) - jar not loaded. See Servlet Spec 2.3,
section
 9.7.2. Offending class: javax/servlet/Servlet.class
2009-8-24 16:39:34 org.apache.catalina.loader.WebappClassLoader
validateJarFile
信息:
validateJarFile(F:\tomcat6.0\webapps\servicemix-web-3.3.1\WEB-INF\lib\serv
let-api-2.5-6.1.14.jar) - jar not loaded. See Servlet Spec 2.3, section
9.7.2. O
ffending class: javax/servlet/Servlet.class
2009-8-24 16:39:36 org.apache.catalina.core.StandardContext
addApplicationListen
er
信息: The listener "org.springframework.web.context.ContextLoaderListener" is
al
ready configured for this context. The duplicate definition has been
ignored.
2009-8-24 16:39:36 org.springframework.web.context.ContextLoader
initWebApplicat
ionContext
信息: Root WebApplicationContext: initialization started
2009-8-24 16:39:36
org.springframework.context.support.AbstractApplicationContex
t prepareRefresh
信息: Refreshing
org.apache.xbean.spring.context.XmlWebApplicationContext@b6548:
 display name [Root WebApplicationContext]; startup date [Mon Aug 24
16:39:36 CS
T 2009]; root of context hierarchy
2009-8-24 16:39:36
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 loadBeanDefinitions
信息: Loading XML bean definitions from ServletContext resource
[/WEB-INF/applic
ationContext.xml]
2009-8-24 16:39:37
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [security.xml]
2009-8-24 16:39:37
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [jmx.xml]
2009-8-24 16:39:37
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [activemq.xml]
2009-8-24 16:39:37
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [tx.xml]
2009-8-24 16:39:37
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 loadBeanDefinitions
信息: Loading XML bean definitions from class path resource [jndi.xml]
2009-8-24 16:39:38
org.springframework.context.support.AbstractApplicationContex
t obtainFreshBeanFactory
信息: Bean factory for application context
[org.apache.xbean.spring.context.XmlW
ebApplicationContext@b6548]:
org.springframework.beans.factory.support.DefaultLi
stableBeanFactory@2f2295
2009-8-24 16:39:38
org.springframework.core.io.support.PropertiesLoaderSupport l
oadProperties
信息: Loading properties file from class path resource [servicemix.properties]
2009-8-24 16:39:38
org.springframework.beans.factory.support.DefaultListableBean
Factory preInstantiateSingletons
信息: Pre-instantiating singletons in
org.springframework.beans.factory.support.
DefaultListableBeanFactory@2f2295: defining beans
[org.apache.servicemix.jbi.uti
l.SystemProperties#0,propertyConfigurer,authenticationService,keystoreManager,au
thorizationMap,rmiRegistry,jmxServer,org.apache.servicemix.jbi.jmx.ConnectorServ
erFactoryBean#0,jmxConnectorEnvironment,broker,transactionManager,workManager,bo
otstrapContext,connectionTracker,poolingSupport,connectionManager,jndi,jndiEntri
es,activemqMCF,activemqRA,activemqCF,jbi,org.apache.servicemix.jbi.audit.jdbc.Jd
bcAuditor#0,org.apache.servicemix.jbi.view.DotViewService#0,org.apache.servicemi
x.jbi.logging.LogService#0]; root of factory hierarchy
2009-8-24 16:39:38 org.apache.activemq.broker.BrokerService start
信息: Using Persistence Adapter: AMQPersistenceAdapter(.\data\amq)
2009-8-24 16:39:38 org.apache.activemq.store.amq.AMQPersistenceAdapter start
信息: AMQStore starting using directory: .\data\amq
2009-8-24 16:39:39 org.apache.activemq.kaha.impl.KahaStore initialize
信息: Kaha Store using data directory .\data\amq\kr-store\state
2009-8-24 16:39:39 org.apache.activemq.store.amq.AMQPersistenceAdapter start
信息: Active data files: []
2009-8-24 16:39:39 org.apache.activemq.broker.BrokerService getBroker
信息: ActiveMQ 5.2.0 JMS Message Broker (localhost) is starting
2009-8-24 16:39:39 org.apache.activemq.broker.BrokerService getBroker
信息: For help or more information please see: http://activemq.apache.org/
2009-8-24 16:39:39 org.apache.activemq.kaha.impl.KahaStore initialize
信息: Kaha Store using data directory .\data\amq\kr-store\data
2009-8-24 16:39:39
org.apache.activemq.transport.TransportServerThreadSupport do
Start
信息: Listening for connections at: tcp://gaozhc:61616
2009-8-24 16:39:39 org.apache.activemq.broker.TransportConnector start
信息: Connector tcp://localhost:61616 Started
2009-8-24 16:39:39 org.apache.activemq.broker.BrokerService start
信息: ActiveMQ JMS Message Broker (localhost,
ID:gaozhc-1550-1251103179359-0:0)
started
2009-8-24 16:39:39
org.springframework.jdbc.datasource.DriverManagerDataSource s
etDriverClassName
信息: Loaded JDBC driver: oracle.jdbc.driver.OracleDriver
2009-8-24 16:39:40
org.springframework.jmx.support.ConnectorServerFactoryBean af
terPropertiesSet
信息: JMX connector server started:
javax.management.remote.rmi.RMIConnectorServ
er@8990e4
2009-8-24 16:39:40 org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean
afte
rPropertiesSet
信息: JMX connector available at:
service:jmx:rmi:///jndi/rmi://localhost:2099/j
mxrmi
2009-8-24 16:39:40 org.apache.servicemix.jbi.container.JBIContainer init
信息: ServiceMix 3.3.1 JBI Container (ServiceMix) is starting
2009-8-24 16:39:40 org.apache.servicemix.jbi.container.JBIContainer init
信息: For help or more information please see: http://servicemix.apache.org/
2009-8-24 16:39:41 org.apache.servicemix.jbi.framework.ComponentMBeanImpl
init
信息: Initializing component: #SubscriptionManager#
2009-8-24 16:39:41 org.apache.servicemix.jbi.framework.DeploymentService
buildSt
ate
信息: Restoring service assemblies
2009-8-24 16:39:41 org.apache.servicemix.jbi.framework.ClientFactory start
警告: Cound not start ClientFactory: javax.naming.NamingException: Context is
re
ad only
2009-8-24 16:39:41 org.apache.servicemix.jbi.container.JBIContainer start
信息: ServiceMix JBI Container (ServiceMix) started
2009-8-24 16:39:43 org.apache.servicemix.jdbc.JDBCAdapterFactory getAdapter
信息: Database driver recognized: [apache_derby_embedded_jdbc_driver]
2009-8-24 16:39:44
org.springframework.beans.factory.support.DefaultSingletonBea
nRegistry destroySingletons
信息: Destroying singletons in
org.springframework.beans.factory.support.Default
ListableBeanFactory@2f2295: defining beans
[org.apache.servicemix.jbi.util.Syste
mProperties#0,propertyConfigurer,authenticationService,keystoreManager,authoriza
tionMap,rmiRegistry,jmxServer,org.apache.servicemix.jbi.jmx.ConnectorServerFacto
ryBean#0,jmxConnectorEnvironment,broker,transactionManager,workManager,bootstrap
Context,connectionTracker,poolingSupport,connectionManager,jndi,jndiEntries,acti
vemqMCF,activemqRA,activemqCF,jbi,org.apache.servicemix.jbi.audit.jdbc.JdbcAudit
or#0,org.apache.servicemix.jbi.view.DotViewService#0,org.apache.servicemix.jbi.l
ogging.LogService#0]; root of factory hierarchy
2009-8-24 16:39:44 org.apache.servicemix.jbi.container.JBIContainer
shutDown信息: Shutting down ServiceMix JBI Container (ServiceMix) stopped
2009-8-24 16:39:45 org.apache.servicemix.jbi.container.JBIContainer
shutdownRegi
stry
信息: Waiting for complete shutdown of the components and service assemblies
2009-8-24 16:39:45 org.apache.servicemix.jbi.container.JBIContainer
shutdownRegi
stry
信息: Components and service assemblies have been shut down
2009-8-24 16:39:45 org.apache.servicemix.jbi.container.JBIContainer
deactivateCo
mponent
信息: Deactivating component #SubscriptionManager#
2009-8-24 16:39:45 org.apache.servicemix.jbi.container.JBIContainer shutDown
信息: ServiceMix JBI Container (ServiceMix) stopped
2009-8-24 16:39:45
org.springframework.jmx.support.ConnectorServerFactoryBean de
stroy
信息: Stopping JMX connector server:
javax.management.remote.rmi.RMIConnectorSer
ver@8990e4
2009-8-24 16:39:45 org.apache.activemq.broker.BrokerService stop
信息: ActiveMQ Message Broker (localhost, ID:gaozhc-1550-1251103179359-0:0) is
s
hutting down
2009-8-24 16:39:46 org.apache.activemq.broker.TransportConnector stop
信息: Connector tcp://localhost:61616 Stopped
------------------------------------------------------------------



-- 
View this message in context: http://www.nabble.com/Servicemix-embered-in-Tomcat-can-not-startup..-tp25112871p25112871.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.