|
I am
at a total loss as to why this build is failing to run.
`svn
info` reports revision 369569
I run
`maven -Dmaven.test.skip=true rebuild-dist-bin`, and everything builds
properly.
I then
take the archive
servicemix-assembly/target/distributions/servicemix-3.0-SNAPSHOT.zip, and
explode it, then run the default conf and I get the jbi bean error. I swear that
this worked earlier this morning, as I tested an app on a port that only the 3.0
version is running on.
Must
be my back luck, but this is supremely frustrating. The error is reminiscent of
an earlier issue, but I can't recall the details. I am sure that I am missing a
step, or doing some small thing improperly.
Weird. It acts the same as if your servicemix.xml
was empty. The message is thrown at AbstractApplicationContext.getBean method, which means spring starts up
correctly. I get same error if I change <sm:container id="jbi" to <sm:container id="jbi1" for example. Colud it
be some xbeans issue. It's just a guess. Wish I could help you
more...
Simon
I
just updated to the same revision, but am seeing the same error message. "No
bean named 'jbi' is defined."
Here it is:
Simon,
What value is returned when you type 'svn info' in the "trunk"
directory?
Hi Jonathan,
I tried to run my SM with your config and
it works fine. I also updated to latest version today.
Some jar dependency maybe?
Cheers,
Simon
After updating to the latest version
of ServiceMix from apache-TRUNK, i am getting the following error
following a successful build using maven-1.0.1 when I try to start
up a stripped-down server using the included servicemix.xml
file.
<?xml
version="1.0" encoding="UTF-8"?> <beans xmlns:sm="http://servicemix.apache.org/config/1.0">
<!-- the JBI container --> <sm:container id="jbi"
rootDir="./wdir"
useMBeanServer="true"
createMBeanServer="true"
installationDirPath="./install"
deploymentDirPath="./deploy"
monitorInstallationDirectory="true"
dumpStats="true"
statsInterval="10"
flowName="seda"
transactionManager="#transactionManager"
rmiPort="3099">
<sm:activationSpecs>
</sm:activationSpecs>
</sm:container>
<bean
id="transactionContextManager"
class="org.jencks.factory.TransactionContextManagerFactoryBean"/>
<bean id="transactionManager"
class="org.jencks.factory.GeronimoTransactionManagerFactoryBean"
/>
</beans>
[EMAIL PROTECTED]>
bin/servicemix conf/servicemix.xml ServiceMix ESB:
3.0-SNAPSHOT Loading ServiceMix from file:
conf/servicemix.xml INFO -
XmlBeanDefinitionReader.loadBeanDefinitions(163) | Loading XML bean
definitions from file
[/opt/src/servicemix/servicemix-2.1-src-joedward-apache/trunk/servicemix-assembly/target/distributions/servicemix-3.0-SNAPSHOT/conf/servicemix.xml] INFO
- AbstractRefreshableApplicationContext.refreshBeanFactory(92) |
Bean factory for application context
[org.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=1691809]:
org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [transactionContextManager,transactionManager]; root
of BeanFactory hierarchy INFO -
AbstractApplicationContext.refresh(297) | 2 beans defined in
application context
[org.xbean.spring.context.FileSystemXmlApplicationContext;hashCode=1691809] INFO
- AbstractApplicationContext.initMessageSource(439) | Unable to
locate MessageSource with name 'messageSource': using default
[EMAIL PROTECTED] INFO
- AbstractApplicationContext.initApplicationEventMulticaster(461) |
Unable to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[EMAIL PROTECTED] Caught:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
bean named 'jbi' is
defined org.springframework.beans.factory.NoSuchBeanDefinitionException:
No bean named 'jbi' is
defined at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:352)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:671)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:555)
at
org.apache.servicemix.Main.main(Main.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
|