Hi Joseph,
I did what you sugested, but the issue remains.
Cheer,
Simon
"Joseph Dennis Gapuz" <[EMAIL PROTECTED]> wrote
in message news:[EMAIL PROTECTED]
> Hi! Simon ,
>
> Update to the latest code, the issue was fixed.
>
> Regards,
> Joseph
>
>
> Simon Èarni wrote:
>
>>Hi all,
>>While starting up SM-3..0-SNAPSHOT built with maven1 I get error bellow.
>>If I remove jndi.properties from conf dir, error dissapears.
>>Any ideas?
>>Cheers,
>>Simon
>>
>>Caught: org.springframework.beans.factory.BeanCreationException: Error
>>creating
>>bean with name 'jbi' defined in class path resource [servicemix.xml]:
>>Initializa
>>tion of bean failed; nested exception is
>>org.springframework.beans.factory.BeanD
>>efinitionStoreException: IOException parsing XML document from class path
>>resour
>>ce [vm://localhost]; nested exception is java.io.FileNotFoundException:
>>class pa
>>org.springframework.beans.factory.BeanCreationException: Error creating
>>bean wit
>>h name 'jbi' defined in class path resource [servicemix.xml]:
>>Initialization of
>>bean failed; nested exception is
>>org.springframework.beans.factory.BeanDefinitio
>>nStoreException: IOException parsing XML document from class path resource
>>[vm:/
>>/localhost]; nested exception is java.io.FileNotFoundException: class path
>>resou
>>rce [vm://localhost] cannot be opened because it does not exist
>>org.springframework.beans.factory.BeanDefinitionStoreException:
>>IOException pars
>>ing XML document from class path resource [vm://localhost]; nested
>>exception is
>>java.io.FileNotFoundException: class path resource [vm://localhost] cannot
>>be op
>>ened because it does not exist
>>java.io.FileNotFoundException: class path resource [vm://localhost] cannot
>>be op
>>ened because it does not exist
>> at
>> org.springframework.core.io.ClassPathResource.getInputStream(ClassPat
>>hResource.java:137)
>> at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
>>nDefinitions(XmlBeanDefinitionReader.java:167)
>> at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
>>nDefinitions(XmlBeanDefinitionReader.java:148)
>> at
>> org.xbean.spring.context.impl.XBeanXmlBeanFactory.<init>(XBeanXmlBean
>>Factory.java:72)
>> at
>> org.xbean.spring.context.impl.XBeanXmlBeanFactory.<init>(XBeanXmlBean
>>Factory.java:36)
>> at
>> org.xbean.spring.jndi.SpringInitialContextFactory.createContext(Sprin
>>gInitialContextFactory.java:105)
>> at
>> org.xbean.spring.jndi.SpringInitialContextFactory.loadContext(SpringI
>>nitialContextFactory.java:96)
>> at
>> org.xbean.spring.jndi.SpringInitialContextFactory.getInitialContext(S
>>pringInitialContextFactory.java:83)
>> at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
>>67)
>> at
>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247
>>)
>> at javax.naming.InitialContext.init(InitialContext.java:223)
>> at javax.naming.InitialContext.<init>(InitialContext.java:175)
>> at
>> org.apache.servicemix.jbi.container.JBIContainer.init(JBIContainer.ja
>>va:398)
>> at
>> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertie
>>sSet(SpringJBIContainer.java:53)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>>Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>>Factory.createBean(AbstractAutowireCapableBeanFactory.java:363)
>> at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
>>(AbstractBeanFactory.java:226)
>> at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean
>>(AbstractBeanFactory.java:147)
>> at
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.
>>preInstantiateSingletons(DefaultListableBeanFactory.java:275)
>> at
>> org.springframework.context.support.AbstractApplicationContext.refres
>>h(AbstractApplicationContext.java:320)
>> at
>> org.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassP
>>athXmlApplicationContext.java:158)
>> at
>> org.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassP
>>athXmlApplicationContext.java:48)
>> at org.apache.servicemix.Main.main(Main.java:48)
>> 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:585)
>> 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)
>>
>>
>>
>
>