Hello,

I just want to have a container what doesn't stop after it just has started.
In the moment it stops after I started it without pressing a key or doing
something. What the heck is a ShutdownHook?

-----------
mvn -e jbi:embeddedServicemix
-----------

Cheers!
Daniel


here the servicemix.xml and interesting parts of the log:

-----------
<beans xmlns="http://xbean.org/schemas/spring/1.0";
        xmlns:sm="http://servicemix.apache.org/config/1.0";
        xmlns:iq="http://lemonjuice.de/iq/servicemix/";>
        
        <!-- the JBI container -->
        <sm:container id="jbi" rootDir="./target/data/smx"
                useMBeanServer="true" createMBeanServer="true" flowName="seda"
                autoEnlistInTransaction="true">
        </sm:container>

</beans>
-----------

-----------
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
(...)
[INFO] [jbi:embeddedServicemix]
(...)
[main           ] INFO  JBIContainer ServiceMix 3.2.1 JBI Container
(ServiceMix) is starting
[main           ] WARN  ClientFactory Cound not start ClientFactory:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an  applet parameter, or in an
application resource file:  java.naming.factory.initial
[INFO] BUILD SUCCESSFUL

[ix ShutdownHook] INFO  ileSystemXmlApplicationContext - Closing
[EMAIL PROTECTED]:
display name
[EMAIL PROTECTED]
8a0cd]; startup date [Sat Apr 26 22:56:59 CEST 2008]; root of context
hierarchy

-----------

-- 
View this message in context: 
http://www.nabble.com/pure-container-running-endlessly-tp16917660p16917660.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to