Starting start.jar in background

Author Message

Christophe Saint-Pierre

Wednesday 07 January 2009 7:21:16 am

Hi ,
I've installed ezfind , all works fine.
I start with the command java -jar start.jar in a shell console but when I close the shell console the star.jar clodes too ....
I tryed with java -jar start.jar & but it's the same thing.
It must exists a solution for I don't have to have the console shell always open.

Is there a solution ?

Thanks

Paul Borgermans

Thursday 08 January 2009 11:39:13 am

nohup java -jar start.jar&

should do the trick

You can also consider init.d scripts, as included in the ezfind 2.0 alpha1 release or in svn: http://svn.ez.no/svn/extensions/ezfind/ezp4/trunk/extension/ezfind/bin/scripts/

These are templates to customize for your server setup

hth
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:33:42
Script start
Timing: Jan 18 2025 10:33:42
Module start 'layout'
Timing: Jan 18 2025 10:33:42
Module start 'content'
Timing: Jan 18 2025 10:33:43
Module end 'content'
Timing: Jan 18 2025 10:33:43
Script end

Main resources:

Total runtime0.5768 sec
Peak memory usage4,096.0000 KB
Database Queries56

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.0625152.6406
Module start 'layout' 0.00840.0051 740.703139.4766
Module start 'content' 0.01350.5615 780.1797526.5938
Module end 'content' 0.57510.0017 1,306.77348.1328
Script end 0.5767  1,314.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.7908160.0003
Check MTime0.00170.3034160.0001
Mysql Total
Database connection0.00120.211210.0012
Mysqli_queries0.523890.8241560.0094
Looping result0.00060.1053540.0000
Template Total0.535692.920.2678
Template load0.00240.414720.0012
Template processing0.533292.441420.2666
Template load and register function0.00020.040910.0002
states
state_id_array0.00130.232610.0013
state_identifier_array0.00150.258220.0007
Override
Cache load0.00200.3469180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.107820.0003
Fetch class attribute name0.00130.226830.0004
XML
Image XML parsing0.00060.096220.0003
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00090.1517170.0001
String conversion0.00000.001940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs