I've just downloaded the latest binary snapshot and tried to.
I had no errors when starting ServiceMix.
It seems that your error comes from a bad jar.
Could you try removing mx4j related jars in the lib directory
and download them from http://www.ibiblio.org/maven/mx4j/jars/ ?
Cheers,
Guillaume Nodet
sandhuks (sent by Nabble.com) wrote:
Sorry if double posted - last msg seems lost.
Been trying all morning to get the fresh binary snapshot working on
winXP machine (servicemix.bat) -
Pls if anyone can point out this ProviderFactory error..
Any pointers much appreciated.
-Sandhu
Trace:
Loading ServiceMix from servicemix.xml on the CLASSPATH
INFO - XmlBeanDefinitionReader.loadBeanDefinitions(158) | Loading XML
bean defin
itions from class path resource [servicemix.xml]
INFO - AbstractRefreshableApplicationContext.refreshBeanFactory(92) |
Bean facto
ry for application context
[org.xbean.spring.context.ClassPathXmlApplicationCont
ext;hashCode=4693995]:
org.springframework.beans.factory.support.DefaultListable
BeanFactory defining beans
[jbi,transactionContextManager,transactionManager,mbe
anServer,registry,serverConnector,broker,jmsFactory]; root of
BeanFactory hierar
chy
INFO - AbstractApplicationContext.refresh(295) | 8 beans defined in
application
context
[org.xbean.spring.context.ClassPathXmlApplicationContext;hashCode=469399
5]
INFO - AbstractApplicationContext.initMessageSource(437) | Unable to
locate Mess
ageSource with name 'messageSource': using default
[org.springframework.context.
[EMAIL PROTECTED]
INFO - AbstractApplicationContext.initApplicationEventMulticaster(459)
| Unable
to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': u
sing default
[org.springframework.context.event.SimpleApplicationEventMulticaste
[EMAIL PROTECTED]
Created MBeanServer with ID: 3fa5ac:1093d980d62:-8000:SandhuLT:1
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'jbi' defined in class path resource [servicemix.xml]:
Can't reso
lve reference to bean 'transactionManager' while setting property
'transactionMa
nager'; nested exception is
org.springframework.beans.factory.BeanCreationExcept
ion: Error creating bean with name 'transactionManager': FactoryBean
threw excep
tion on object creation; nested exception is
org.springframework.beans.factory.B
eanCreationException: Error creating bean with name 'serverConnector'
defined in
class path resource [servicemix.xml]: Initialization of bean failed;
nested exc
eption is java.lang.NoSuchMethodError:
mx4j.remote.ProviderFactory.newJMXConnect
orServer(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management
/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
org.springframework.beans.factory.BeanCreationException: Error
creating bean wit
h name 'jbi' defined in class path resource [servicemix.xml]: Can't
resolve refe
rence to bean 'transactionManager' while setting property
'transactionManager';
nested exception is
org.springframework.beans.factory.BeanCreationException: Err
or creating bean with name 'transactionManager': FactoryBean threw
exception on
object creation; nested exception is
org.springframework.beans.factory.BeanCreat
ionException: Error creating bean with name 'serverConnector' defined
in class p
ath resource [servicemix.xml]: Initialization of bean failed; nested
exception i
s java.lang.NoSuchMethodError:
mx4j.remote.ProviderFactory.newJMXConnectorServer
(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanSe
rver;)Ljavax/management/remote/JMXConnectorServer;
org.springframework.beans.factory.BeanCreationException: Error
creating bean wit
h name 'transactionManager': FactoryBean threw exception on object
creation; nes
ted exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'serverConnector' defined in class path
resource [servic
emix.xml]: Initialization of bean failed; nested exception is
java.lang.NoSuchMe
thodError:
mx4j.remote.ProviderFactory.newJMXConnectorServer(Ljavax/management/r
emote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/managem
ent/remote/JMXConnectorServer;
org.springframework.beans.factory.BeanCreationException: Error
creating bean wit
h name 'serverConnector' defined in class path resource
[servicemix.xml]: Initia
lization of bean failed; nested exception is
java.lang.NoSuchMethodError: mx4j.r
emote.ProviderFactory.newJMXConnectorServer(Ljavax/management/remote/JMXServiceU
RL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXCon
nectorServer;
java.lang.NoSuchMethodError:
mx4j.remote.ProviderFactory.newJMXConnectorServer(L
javax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServ
er;)Ljavax/management/remote/JMXConnectorServer;
at
javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServ
er(JMXConnectorServerFactory.java:36)
------------------------------------------------------------------------
View this message in context: Startup error - servicemix-3.0-SNAPSHOT
(Feb 5 )
<http://www.nabble.com/Startup-error---servicemix-3.0-SNAPSHOT-%28Feb-5-%29-t1067871.html#a2777757>
Sent from the servicemix - user
<http://www.nabble.com/servicemix---user-f12050.html> forum at
Nabble.com.