Hello All,
This is quite disappointing to face the problem even with the "Basic"
example from ServiceMix. I could not start it from console due to unknown
reason for me. Can anybody give a solution for that ? The full stack trace
is below. The environment is Windows XP, Sun JDK 1.5.0_14, Apache Service
Mix 3.2.1, Apache Maven 2.0.8.
Thanks is advance,
Sergey
C:\Tools\apache-servicemix-3.2.1\examples\basic>mvn jbi:embeddedServicemix
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Samples :: Basic
[INFO] task-segment: [jbi:embeddedServicemix]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing jbi:embeddedServicemix
[INFO] [build:copy {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/
1.5.1/wss4j-1.5.1.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/wss4j/wss4j/1.5.
1/wss4j-1.5.1.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/
1.5.1/wss4j-1.5.1.pom
Downloading:
http://repository.codehaus.org/wss4j/wss4j/1.5.1/wss4j-1.5.1.pom
Downloading: http://repo1.maven.org/maven2/wss4j/wss4j/1.5.1/wss4j-1.5.1.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security
/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/xml-security/xml
sec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security
/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repository.codehaus.org/xml-security/xmlsec/1.3.0/xmlsec-1.3
.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.
0.pom
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [jbi:embeddedServicemix]
2008-02-06 14:59:29,857 [main ] INFO
ileSystemXmlApplicationContext -
Refreshing
[EMAIL PROTECTED]
748: display name
[org.apache.xbean.spring.context.FileSystemXmlApplicationConte
[EMAIL PROTECTED]; startup date [Wed Feb 06 14:59:29 EET 2008]; root of context
hierar
chy
2008-02-06 14:59:29,950 [main ] INFO XBeanXmlBeanDefinitionReader
-
Loading XML bean definitions from URL
[file:/C:/Tools/apache-servicemix-3.2.1/e
xamples/basic/src/main/resources/servicemix.xml]
2008-02-06 14:59:30,575 [main ] INFO
ileSystemXmlApplicationContext -
Bean factory for application context
[org.apache.xbean.spring.context.FileSyste
[EMAIL PROTECTED]:
org.springframework.beans.factory.support.Defau
[EMAIL PROTECTED]
2008-02-06 14:59:30,591 [main ] INFO DefaultListableBeanFactory
-
Pre-instantiating singletons in
org.springframework.beans.factory.support.Defau
[EMAIL PROTECTED]: defining beans
[jbi,transactionManager,workManage
r,bootstrapContext,activeMQResourceAdapter,broker,jmsFactory]; root of
factory h
ierarchy
2008-02-06 14:59:30,622 [main ] WARN EndpointRegistry
-
Disabled endpoint processor
'org.apache.servicemix.jbi.framework.support.WSDL2P
rocessor': java.lang.NoClassDefFoundError: org/apache/woden/WSDLReader
2008-02-06 14:59:30,903 [main ] INFO BrokerService
-
ActiveMQ 4.1.1 JMS Message Broker (localhost) is starting
2008-02-06 14:59:30,903 [main ] INFO BrokerService
-
For help or more information please see:
http://incubator.apache.org/activemq/
2008-02-06 14:59:30,950 [JMX connector ] INFO ManagementContext
-
JMX consoles can connect to
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
2008-02-06 14:59:31,138 [main ] INFO TransportServerThreadSupport
-
Listening for connections at: tcp://myhost:61616
2008-02-06 14:59:31,138 [main ] INFO TransportConnector
-
Connector tcp://localhost:61616 Started
2008-02-06 14:59:31,138 [main ] INFO BrokerService
-
ActiveMQ JMS Message Broker (localhost, ID:myhost-2643-1202302770982-0:0)
sta
rted
2008-02-06 14:59:31,185 [main ] INFO JBIContainer
-
ServiceMix 3.2.1 JBI Container (ServiceMix) is starting
2008-02-06 14:59:31,200 [main ] INFO JBIContainer
-
For help or more informations please see:
http://incubator.apache.org/servicemi
x/
2008-02-06 14:59:31,200 [main ] WARN ManagementContext
-
Failed to start rmi registry: internal error: ObjID already in use
2008-02-06 14:59:31,216 [main ] WARN ManagementContext
-
Failed to start jmx connector: Cannot bind to URL
[rmi://localhost:1099/jmxrmi]
: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is
java.rmi.Alr
eadyBoundException: jmxrmi]
2008-02-06 14:59:31,310 [main ] INFO ComponentMBeanImpl
-
Initializing component: #SubscriptionManager#
2008-02-06 14:59:31,341 [main ] INFO DeploymentService
-
Restoring service assemblies
2008-02-06 14:59:31,388 [main ] INFO ComponentMBeanImpl
-
Initializing component: inputSender
2008-02-06 14:59:31,403 [main ] INFO ComponentMBeanImpl
-
Initializing component: timer
2008-02-06 14:59:31,466 [main ] INFO SimpleThreadPool
-
Job execution threads will use class loader of thread: main
2008-02-06 14:59:31,482 [main ] INFO QuartzScheduler
-
Quartz Scheduler v.1.5.2 created.
2008-02-06 14:59:31,482 [main ] INFO RAMJobStore
-
RAMJobStore initialized.
2008-02-06 14:59:31,482 [main ] INFO StdSchedulerFactory
-
Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource
fil
e in Quartz package: 'quartz.properties'
2008-02-06 14:59:31,497 [main ] INFO StdSchedulerFactory
-
Quartz scheduler version: 1.5.2
2008-02-06 14:59:31,513 [main ] INFO ComponentMBeanImpl
-
Initializing component: inputReceiver
2008-02-06 14:59:31,513 [main ] INFO ComponentMBeanImpl
-
Initializing component: outputSender
2008-02-06 14:59:31,513 [main ] INFO ComponentMBeanImpl
-
Initializing component: jmsTrace
2008-02-06 14:59:31,528 [main ] INFO ComponentMBeanImpl
-
Initializing component: trace
2008-02-06 14:59:31,528 [main ] WARN ClientFactory
-
Cound not start ClientFactory: javax.naming.NoInitialContextException: Need
to
specify class name in environment or system property, or as an applet
parameter,
or in an application resource file: java.naming.factory.initial
2008-02-06 14:59:31,763 [main ] INFO QuartzScheduler
-
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
2008-02-06 14:59:31,810 [main ] INFO JBIContainer
-
ServiceMix JBI Container (ServiceMix) started
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Wed Feb 06 14:59:31 EET 2008
[INFO] Final Memory: 15M/27M
[INFO]
------------------------------------------------------------------------
2008-02-06 14:59:31,997 [ix ShutdownHook] INFO
ileSystemXmlApplicationContext -
Closing
[EMAIL PROTECTED]
: display name
[org.apache.xbean.spring.context.FileSystemXmlApplicationContext@
19b4748]; startup date [Wed Feb 06 14:59:29 EET 2008]; root of context
hierarchy
2008-02-06 14:59:32,013 [ix ShutdownHook] INFO DefaultListableBeanFactory
-
Destroying singletons in
org.springframework.beans.factory.support.DefaultLista
[EMAIL PROTECTED]: defining beans
[jbi,transactionManager,workManager,boots
trapContext,activeMQResourceAdapter,broker,jmsFactory]; root of factory
hierarch
y
2008-02-06 14:59:32,013 [ix ShutdownHook] INFO JBIContainer
-
Shutting down ServiceMix JBI Container (ServiceMix) stopped
2008-02-06 14:59:32,028 [MQ ShutdownHook] INFO BrokerService
-
ActiveMQ Message Broker (localhost, ID:myhost-2643-1202302770982-0:0) is
shut
ting down
2008-02-06 14:59:32,028 [ix ShutdownHook] INFO JBIContainer
-
Deactivating component #SubscriptionManager#
2008-02-06 14:59:32,044 [ix ShutdownHook] INFO QuartzScheduler
-
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
2008-02-06 14:59:32,044 [ix ShutdownHook] INFO QuartzScheduler
-
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down.
2008-02-06 14:59:32,044 [ix ShutdownHook] INFO QuartzScheduler
-
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused.
2008-02-06 14:59:32,060 [ix ShutdownHook] INFO QuartzScheduler
-
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete.
2008-02-06 14:59:32,060 [ix ShutdownHook] INFO ConnectorServerFactoryBean
-
Stopping JMX connector server:
[EMAIL PROTECTED]
9474b
2008-02-06 14:59:32,060 [ix ShutdownHook] INFO JBIContainer
-
ServiceMix JBI Container (ServiceMix) stopped
2008-02-06 14:59:36,138 [127.0.0.1:61616] WARN ActiveMQConnection
-
Async exception with no exception listener: java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:358)
at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.
java:267)
at
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTranspo
rt.java:156)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
136)
at java.lang.Thread.run(Thread.java:595)
2008-02-06 14:59:36,138 [MQ ShutdownHook] INFO TransportConnector
-
Connector tcp://localhost:61616 Stopped
2008-02-06 14:59:36,185 [MQ ShutdownHook] INFO BrokerService
-
ActiveMQ JMS Message Broker (localhost, ID:myhost-2643-1202302770982-0:0)
sto
pped
C:\Tools\apache-servicemix-3.2.1\examples\basic>
--
View this message in context:
http://www.nabble.com/The-Basic-example-fails-to-run.-tp15306536s12049p15306536.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.