Hello,

OK! I tried this again with the newest servicemix on XP and it still
doesn't work. This is the exception:

C:\Program Files\apache-servicemix-3.0-incubating>bin\servicemix.bat
Starting Apache ServiceMix ESB: 3.0-incubating

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - MBeanServerFactoryBean         - No existing MBeanServer found -
creatin
g new one
Created MBeanServer with ID: 701a27:10dd072e56e:-7fff:e-pc:1
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating
bean with name 'org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean'
define
d in class path resource [jmx.xml]: Invocation of init method failed; nested
exc
eption is java.io.IOException: javax.naming.CommunicationException [Root
excepti
on is java.rmi.ServerException: RemoteException occurred in server thread;
neste
d exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
excep
tion is:
        java.net.MalformedURLException: no protocol:
Files/apache-servicemix-3.0
-incubating/bin/../conf/]
org.springframework.beans.factory.BeanCreationException: Error creating bean
wit
h name 'org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean' defined in
cla
ss path resource [jmx.xml]: Invocation of init method failed; nested
exception i
s java.io.IOException: javax.naming.CommunicationException [Root exception
is ja
va.rmi.ServerException: RemoteException occurred in server thread; nested
except
ion is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
excep
tion is:
        java.net.MalformedURLException: no protocol:
Files/apache-servicemix-3.0
-incubating/bin/../conf/]
Caused by: java.io.IOException: javax.naming.CommunicationException [Root
except
ion is java.rmi.ServerException: RemoteException occurred in server thread;
nest
ed exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
excep
tion is:
        java.net.MalformedURLException: no protocol:
Files/apache-servicemix-3.0
-incubating/bin/../conf/]
        at mx4j.remote.resolver.rmi.Resolver.bindServer(Resolver.java:199)
        at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServ
er.java:152)
        at
org.springframework.jmx.support.ConnectorServerFactoryBean.afterPrope
rtiesSet(ConnectorServerFactoryBean.java:167)
        at
org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean.afterPropert
iesSet(ConnectorServerFactoryBean.java:170)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:957)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:924)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:415)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:242)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:239)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:155)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:297)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:348)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:161)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>
(ClassPathXmlApplicationContext.java:51)
        at org.apache.servicemix.Main.main(Main.java:52)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:461)


[EMAIL PROTECTED] wrote:
> Hej Thomas!
> 
> tterm wrote:
>> thanks for reply. I tried to do the same thing in a path without spaces
>> and it works fine. With spaces in the directory name I have this
>> problems. And you don't have this problem at all? It's strange for me.
>>
> Nope, personally I did not experience problems so far, but I usually rely on
> S: as I can switch easily between different versions (binary, SVN, Snapshot
> and so on) without changing any paths . Hm, maybe it is related to the fact
> you use "Apache ServiceMix ESB: 3.0-M2-incubating" and I use the "will be
> 3.0", see http://www.servicemix.org/site/servicemix-30.html
> 
> Would be fine to get some more precise information/reason so I can add it to
> the hint at
> http://www.servicemix.org/sm30ug/3-installation.html#3.Installation-InstallationProcedureforWindows
> 
> Georg
> 
> 

Reply via email to