Hello bruce,

sorry I needed a while to find the answers. Thanks for giving me
understanding about it!

Yes, this is the only content for servicemix.xml
Is there a way to call getRuntime().removeShutdownHook(hook) in a spring
bean ? Reason is: I'd like to learn using ServiceMix and need a fast
deploy-method. With maven it's very fast to see the result of changes. Or is
there another fast way?

I didn't change conf/jndi.properties - Question is if maven knows about
this, because JNDI is starting for port 1099. In the pom.xml I have for the
maven-assembly-plugin the default with default-content in it:
-------
                        <configuration>
                            <descriptors>
                               
<descriptor>src/main/assembly/src.xml</descriptor>
                            </descriptors>
                        </configuration>
-------

[main           ] INFO  JBIContainer
 ServiceMix 3.2.1 JBI Container (ServiceMix) is starting
[main           ] INFO  JBIContainer

[main           ] INFO  ConnectorServerFactoryBean - JMX connector server
started: [EMAIL PROTECTED]
[main           ] INFO  ConnectorServerFactoryBean - JMX connector available
at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi

[main           ] INFO  ComponentMBeanImpl Initializing component:
#SubscriptionManager#
[main           ] INFO  DeploymentService - Restoring service assemblies
[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
[main           ] INFO  JBIContainer ServiceMix JBI Container (ServiceMix)
started
 


bsnyder wrote:
> A shutdown hook is an unstarted thread that waits for an event to shut
> down the JVM.
> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)
> 
> Are there are other configuration files you're using?
> 
> Is there more logging available?
> 
> Bruce

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

Reply via email to