The debug log of servicemix doesn't help, but here's some more info when I
did find on "jbi"...


2006-09-29 15:58:33,234 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Creating shared instance of singleton bean 'jbi'
2006-09-29 15:58:33,234 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Creating instance of bean 'jbi' with merged definition [Root bean: class
[org.apache.servicemix.jbi.container.SpringJBIContainer]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0;
dependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in file [C:\Documents
and Settings\NgA\workspace2\Prototype\.\conf\applicationContext.xml]]
2006-09-29 15:58:33,234 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Invoking BeanPostProcessors before instantiation of bean 'jbi'
2006-09-29 15:58:33,468 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Getting BeanInfo
for class [org.apache.servicemix.jbi.container.SpringJBIContainer]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Caching
PropertyDescriptors for class
[org.apache.servicemix.jbi.container.SpringJBIContainer]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'activationSpecs' of type
[[Lorg.apache.servicemix.jbi.container.ActivationSpec;]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'adminCommandsService' of type
[org.apache.servicemix.jbi.framework.AdminCommandsService]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'autoDeploymentService' of type
[org.apache.servicemix.jbi.framework.AutoDeploymentService]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'broker' of type [org.apache.servicemix.jbi.nmr.Broker]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'clientFactory' of type [org.apache.servicemix.jbi.framework.ClientFactory]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'defaultBroker' of type [org.apache.servicemix.jbi.nmr.DefaultBroker]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'deploymentService' of type
[org.apache.servicemix.jbi.framework.DeploymentService]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'environmentContext' of type
[org.apache.servicemix.jbi.container.EnvironmentContext]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'flow' of type [org.apache.servicemix.jbi.nmr.flow.Flow]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'flows' of type [[Lorg.apache.servicemix.jbi.nmr.flow.Flow;]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'installationService' of type
[org.apache.servicemix.jbi.framework.InstallationService]
2006-09-29 15:58:33,484 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'managementContext' of type
[org.apache.servicemix.jbi.management.ManagementContext]
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'registry' of type [org.apache.servicemix.jbi.framework.Registry]
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Found property
'serviceManager' of type [javax.jbi.component.ServiceUnitManager]
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.CachedIntrospectionResults] - Class
[org.apache.servicemix.jbi.container.SpringJBIContainer] is cache-safe
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Eagerly caching bean with name 'jbi' to allow for resolving potential
circular references
2006-09-29 15:58:33,500 DEBUG [org.springframework.beans.BeanWrapperImpl] -
About to invoke write method [public void
org.apache.servicemix.jbi.container.JBIContainer.setEmbedded(boolean)] on
object of class [org.apache.servicemix.jbi.container.SpringJBIContainer]
2006-09-29 15:58:33,500 DEBUG [org.springframework.beans.BeanWrapperImpl] -
Invoked write method [public void
org.apache.servicemix.jbi.container.JBIContainer.setEmbedded(boolean)] with
value of type [boolean]
2006-09-29 15:58:33,500 DEBUG [org.springframework.beans.BeanWrapperImpl] -
About to invoke write method [public void
org.apache.servicemix.jbi.container.SpringJBIContainer.setComponentNames(java.lang.String[])]
on object of class [org.apache.servicemix.jbi.container.SpringJBIContainer]
2006-09-29 15:58:33,500 DEBUG [org.springframework.beans.BeanWrapperImpl] -
Invoked write method [public void
org.apache.servicemix.jbi.container.SpringJBIContainer.setComponentNames(java.lang.String[])]
with value of type [[Ljava.lang.String;]
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Invoking setBeanFactory on BeanFactoryAware bean 'jbi'
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Invoking BeanPostProcessors before initialization of bean 'jbi'
2006-09-29 15:58:33,500 DEBUG
[org.springframework.context.support.ApplicationContextAwareProcessor] -
Invoking setApplicationContext on ApplicationContextAware bean 'jbi'
2006-09-29 15:58:33,500 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Invoking afterPropertiesSet() on bean with name 'jbi'
2006-09-29 15:58:33,500 INFO
[org.apache.servicemix.jbi.container.JBIContainer] - ServiceMix
3.1-incubating-SNAPSHOT JBI Container (ServiceMix) is starting
2006-09-29 15:58:33,500 INFO
[org.apache.servicemix.jbi.container.JBIContainer] - For help or more
informations please see: http://incubator.apache.org/servicemix/
2006-09-29 15:58:33,578 INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory] -
Destroying singletons in factory
{org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[jbi,receiver,broker,jmsFactory,jmsTemplate,dataDestination,dataListener];
root of BeanFactory hierarchy}
2006-09-29 15:58:33,578 ERROR [com.shoppertrak.prototype.jms.OrbitReceiver]
- Error creating bean with name 'jbi' defined in file [C:\Documents and
Settings\NgA\workspace2\Prototype\.\conf\applicationContext.xml]: Invocation
of init method failed; nested exception is java.lang.NoClassDefFoundError:
org/jboss/mx/util/Serialization



gnodet wrote:
> 
> You may want to raise the log level to DEBUG in case the
> exception does not appear in the logs.
> 
> On 9/29/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
>> Do you have the stack trace instead of the log ?
>> I guess it should be logged somewhere, either
>> in log files or the console maybe.
>>
>> On 9/29/06, amyng <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > Sep 29, 2006 11:09:23 AM org.springframework.core.CollectionFactory
>> <clinit>
>> > INFO: JDK 1.4+ collections available
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> > loadBeanDefinitions
>> > INFO: Loading XML bean definitions from file [C:\Documents and
>> > Settings\NgA\workspace2\Prototype\.\conf\applicationContext.xml]
>> > Sep 29, 2006 11:09:23 AM
>> >
>> org.springframework.context.support.AbstractRefreshableApplicationContext
>> > refreshBeanFactory
>> > INFO: Bean factory for application context
>> >
>> [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=6308367]:
>> > org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > defining beans
>> >
>> [broker,jbi,receiver,jmsFactory,jmsTemplate,dataDestination,dataListener];
>> > root of BeanFactory hierarchy
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.context.support.AbstractApplicationContext refresh
>> > INFO: 7 beans defined in application context
>> >
>> [org.springframework.context.support.FileSystemXmlApplicationContext;hashCode=6308367]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.context.support.AbstractApplicationContext
>> > initMessageSource
>> > INFO: Unable to locate MessageSource with name 'messageSource': using
>> > default
>> > [EMAIL PROTECTED]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.context.support.AbstractApplicationContext
>> > initApplicationEventMulticaster
>> > INFO: Unable to locate ApplicationEventMulticaster with name
>> > 'applicationEventMulticaster': using default
>> >
>> [EMAIL PROTECTED]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > preInstantiateSingletons
>> > INFO: Pre-instantiating singletons in factory
>> > [org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > defining beans
>> >
>> [broker,jbi,receiver,jmsFactory,jmsTemplate,dataDestination,dataListener];
>> > root of BeanFactory hierarchy]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader
>> > loadBeanDefinitions
>> > INFO: Loading XML bean definitions from file [C:\Documents and
>> > Settings\NgA\workspace2\Prototype\conf\activemq.xml]
>> > Sep 29, 2006 11:09:23 AM
>> >
>> org.springframework.context.support.AbstractRefreshableApplicationContext
>> > refreshBeanFactory
>> > INFO: Bean factory for application context
>> >
>> [org.apache.xbean.spring.context.ResourceXmlApplicationContext;hashCode=20290587]:
>> > org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > defining beans
>> >
>> [default,org.apache.activemq.network.DiscoveryNetworkConnector,org.apache.activemq.xbean.XBeanBrokerService];
>> > root of BeanFactory hierarchy
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.context.support.AbstractApplicationContext refresh
>> > INFO: 3 beans defined in application context
>> >
>> [org.apache.xbean.spring.context.ResourceXmlApplicationContext;hashCode=20290587]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.context.support.AbstractApplicationContext
>> > initMessageSource
>> > INFO: Unable to locate MessageSource with name 'messageSource': using
>> > default
>> > [EMAIL PROTECTED]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.context.support.AbstractApplicationContext
>> > initApplicationEventMulticaster
>> > INFO: Unable to locate ApplicationEventMulticaster with name
>> > 'applicationEventMulticaster': using default
>> >
>> [EMAIL PROTECTED]
>> > Sep 29, 2006 11:09:23 AM
>> > org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > preInstantiateSingletons
>> > INFO: Pre-instantiating singletons in factory
>> > [org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > defining beans
>> >
>> [default,org.apache.activemq.network.DiscoveryNetworkConnector,org.apache.activemq.xbean.XBeanBrokerService];
>> > root of BeanFactory hierarchy]
>> > Sep 29, 2006 11:09:24 AM org.apache.activemq.broker.BrokerService
>> getBroker
>> > INFO: ActiveMQ null JMS Message Broker (localhost) is starting
>> > Sep 29, 2006 11:09:24 AM org.apache.activemq.broker.BrokerService
>> getBroker
>> > INFO: For help or more information please see:
>> > http://incubator.apache.org/activemq/
>> > Sep 29, 2006 11:09:25 AM
>> > org.apache.activemq.store.jdbc.JDBCPersistenceAdapter createAdapter
>> > INFO: Database driver recognized: [apache_derby_embedded_jdbc_driver]
>> > Sep 29, 2006 11:09:26 AM
>> > org.apache.activemq.store.jdbc.DefaultDatabaseLocker start
>> > INFO: Attempting to acquire the exclusive lock to become the Master
>> broker
>> > Sep 29, 2006 11:09:26 AM
>> > org.apache.activemq.store.jdbc.DefaultDatabaseLocker start
>> > INFO: Becoming the master on dataSource:
>> > [EMAIL PROTECTED]
>> > Sep 29, 2006 11:09:26 AM
>> > org.apache.activemq.store.journal.JournalPersistenceAdapter recover
>> > INFO: Journal Recovery Started from: Active Journal: using 5 x 20.0
>> Megs at:
>> > C:\Documents and Settings\NgA\workspace2\data\journal
>> > Sep 29, 2006 11:09:26 AM
>> > org.apache.activemq.store.journal.JournalPersistenceAdapter recover
>> > INFO: Journal Recovered: 0 message(s) in transactions recovered.
>> > Sep 29, 2006 11:09:26 AM
>> > org.apache.activemq.transport.TransportServerThreadSupport doStart
>> > INFO: Listening for connections at: tcp://ENDPKWRK56:61616
>> > Sep 29, 2006 11:09:26 AM
>> >
>> org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent
>> > start
>> > WARNING: brokerName not set
>> > Sep 29, 2006 11:09:26 AM org.apache.activemq.broker.TransportConnector
>> start
>> > INFO: Connector default Started
>> > Sep 29, 2006 11:09:26 AM org.apache.activemq.network.NetworkConnector
>> > doStart
>> > INFO: Network Connector bridge Started
>> > Sep 29, 2006 11:09:26 AM org.apache.activemq.broker.BrokerService start
>> > INFO: ActiveMQ JMS Message Broker (localhost,
>> > ID:ENDPKWRK56-2598-1159546163953-1:0) started
>> > Sep 29, 2006 11:09:26 AM
>> org.apache.servicemix.jbi.container.JBIContainer
>> > init
>> > INFO: ServiceMix 3.1-incubating-SNAPSHOT JBI Container (ServiceMix) is
>> > starting
>> > Sep 29, 2006 11:09:26 AM
>> org.apache.servicemix.jbi.container.JBIContainer
>> > init
>> > INFO: For help or more informations please see:
>> > http://incubator.apache.org/servicemix/
>> > Sep 29, 2006 11:09:26 AM
>> > org.springframework.beans.factory.support.AbstractBeanFactory
>> > destroySingletons
>> > INFO: Destroying singletons in factory
>> > {org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > defining beans
>> >
>> [broker,jbi,receiver,jmsFactory,jmsTemplate,dataDestination,dataListener];
>> > root of BeanFactory hierarchy}
>> > Sep 29, 2006 11:09:26 AM
>> > org.springframework.context.support.AbstractApplicationContext doClose
>> > INFO: Closing application context
>> >
>> [org.apache.xbean.spring.context.ResourceXmlApplicationContext;hashCode=20290587]
>> > Sep 29, 2006 11:09:26 AM
>> > org.springframework.beans.factory.support.AbstractBeanFactory
>> > destroySingletons
>> > INFO: Destroying singletons in factory
>> > {org.springframework.beans.factory.support.DefaultListableBeanFactory
>> > defining beans
>> >
>> [default,org.apache.activemq.network.DiscoveryNetworkConnector,org.apache.activemq.xbean.XBeanBrokerService];
>> > root of BeanFactory hierarchy}
>> > Sep 29, 2006 11:09:26 AM org.apache.activemq.broker.BrokerService stop
>> > INFO: ActiveMQ Message Broker (localhost,
>> > ID:ENDPKWRK56-2598-1159546163953-1:0) is shutting down
>> > Sep 29, 2006 11:09:26 AM org.apache.activemq.network.NetworkConnector
>> doStop
>> > INFO: Network Connector bridge Stopped
>> > Sep 29, 2006 11:09:28 AM org.apache.activemq.broker.TransportConnector
>> stop
>> > INFO: Connector default Stopped
>> > Sep 29, 2006 11:09:28 AM org.apache.activemq.broker.BrokerService stop
>> > INFO: ActiveMQ JMS Message Broker (localhost,
>> > ID:ENDPKWRK56-2598-1159546163953-1:0) stopped
>> > Error creating bean with name 'jbi' defined in file [C:\Documents and
>> > Settings\NgA\workspace2\Prototype\.\conf\applicationContext.xml]:
>> Invocation
>> > of init method failed; nested exception is
>> java.lang.NoClassDefFoundError:
>> > org/jboss/mx/util/Serialization
>> >
>> >
>> >
>> >
>> > gnodet wrote:
>> > >
>> > > Could you post the full stack trace please ?
>> > > AFAIK, ServiceMix uses no code from jboss,
>> > > so I have no idea why you have a CNFE on a
>> > > JBoss specific class.
>> > >
>> > > On 9/29/06, amyng <[EMAIL PROTECTED]> wrote:
>> > >>
>> > >> I'm using the 3.1-incubating-SNAPSHOT jar files downloaded from
>> > >> http://people.apache.org/repository/org.apache.servicemix/jars/
>> > >>
>> > >> servicemix-core
>> > >> servicemix-jbi
>> > >> servicemix-services
>> > >> servicemix-components
>> > >>
>> > >> and also have jboss-jmx.jar in my build path which contains
>> > >> org/jboss/mx/util/Serialization.class and still getting the
>> following
>> > >> error:
>> > >>
>> > >> Error creating bean with name 'jbi' defined in file [C:\Documents
>> and
>> > >> Settings\NgA\workspace2\Prototype\.\conf\applicationContext.xml]:
>> > >> Invocation
>> > >> of init method failed; nested exception is
>> > >> java.lang.NoClassDefFoundError:
>> > >> org/jboss/mx/util/Serialization
>> > >>
>> > >> Can somebody help me why JBI Container init cannot see the
>> > >> Serialization.class?!
>> > >>
>> > >> <!-- Message Broker -->
>> > >>         <bean id="broker"
>> > >> class="org.apache.activemq.xbean.BrokerFactoryBean">
>> > >>                 <property name="config"
>> > >> value="conf/activemq.xml"></property>
>> > >>                 <property name="start" value="true" />
>> > >>         </bean>
>> > >>
>> > >> <!-- the JBI container -->
>> > >>         <bean id="jbi"
>> > >> class="org.apache.servicemix.jbi.container.SpringJBIContainer"
>> > >> depends-on="broker">
>> > >>                 <property name="embedded" value="true"/>
>> > >>                 <property name="componentNames">
>> > >>                   <list>
>> > >>                     <value>receiver</value>
>> > >>                   </list>
>> > >>                 </property>
>> > >>         </bean>
>> > >> --
>> > >> View this message in context:
>> > >>
>> http://www.nabble.com/NoClassDefFoundError-Exception-on-org-jboss-mx-util-Serialization-tf2357764.html#a6567922
>> > >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> > >>
>> > >>
>> > >
>> > >
>> > > --
>> > > Cheers,
>> > > Guillaume Nodet
>> > >
>> > >
>> >
>> > --
>> > View this message in context:
>> http://www.nabble.com/NoClassDefFoundError-Exception-on-org-jboss-mx-util-Serialization-tf2357764.html#a6568150
>> > Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >
>> >
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> 
> 

-- 
View this message in context: 
http://www.nabble.com/NoClassDefFoundError-Exception-on-org-jboss-mx-util-Serialization-tf2357764.html#a6572684
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to