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

Reply via email to