5 Replies Latest reply on Apr 15, 2009 1:59 PM by User X

    Unable to nohup fuseesb 4 in server mode

    User X Newbie

      I am just getting started with FuseESB 4.0.0.4, and I am unable to background the servicemix process using nohup.  When I try I get:

       

      % nohup ./servicemix server &  

      16352

      % appending output to nohup.out

       

      % tail -f nohup.out

      DEBUG Scheduling task ManagedService Update: pid=org.ops4j.pax.url.wrap

      DEBUG Scheduling task ManagedService Update: pid=org.ops4j.pax.url.mvn

      DEBUG Running task ManagedService Update: pid=org.ops4j.pax.url.wrap

      DEBUG Running task ManagedService Update: pid=org.ops4j.pax.url.mvn

      DEBUG Scheduling task ManagedServiceFactory Update: factoryPid=org.apache.servicemix.kernel.filemonitor.FileMonitor

      DEBUG Running task ManagedServiceFactory Update: factoryPid=org.apache.servicemix.kernel.filemonitor.FileMonitor

      DEBUG Scheduling task Update: pid=org.apache.servicemix.shell

      DEBUG Running task Update: pid=org.apache.servicemix.shell

      DEBUG Scheduling task Fire ConfigurationEvent: pid=org.apache.servicemix.shell

      DEBUG Running task Fire ConfigurationEvent: pid=org.apache.servicemix.shell

      DEBUG Scheduling task Update: pid=org.ops4j.pax.url.mvn

      DEBUG Running task Update: pid=org.ops4j.pax.url.mvn

      DEBUG Scheduling task Fire ConfigurationEvent: pid=org.ops4j.pax.url.mvn

      DEBUG Running task Fire ConfigurationEvent: pid=org.ops4j.pax.url.mvn

      DEBUG Scheduling task ManagedService Update: pid=org.ops4j.pax.logging

      DEBUG org.apache.felix.configadmin - Running task ManagedService Update: pid=org.ops4j.pax.logging

      INFO org.ops4j.pax.logging.pax-logging-service - BundleEvent STARTED

      DEBUG org.apache.felix.configadmin - Scheduling task Update: pid=org.ops4j.pax.logging

      DEBUG org.apache.servicemix.kernel.filemonitor.FileMonitor - File changed: /Users/jmeier/esb/etc/org.apache.servicemix.management.cfg

      Apr 14, 2009 8:17:16 AM org.apache.cxf.bus.spring.BusApplicationContext getConfigResources

      INFO: No cxf.xml configuration file detected, relying on defaults.

        + suspended (tty output)  nohup ./servicemix server

       

      It forces itself to be suspended when running in the background.  When I push this back into the background with % bg, it immediately re-suspends.

      % bg

        + continued  nohup ./servicemix server

      %

        + suspended (tty output)  nohup ./servicemix server

       

      I am running fuseesb 4.0.0.4 on OS X using java:

      java version "1.5.0_16"

      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)

      Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)

       

      I see the same behavior with servicemix kernel 1.0.x and 1.1.0, so I suspect that I'm just missing something obvious.  Any help would be greatly appreciated.