[GLASSFISH-523] Need a unix "daemon" shell script Created: 31/Mar/06  Updated: 04/Jan/13  Resolved: 04/Jan/13

Status: Resolved
Project: glassfish
Component/s: other
Affects Version/s: 9.0pe
Fix Version/s: 4.0

Type: New Feature Priority: Major
Reporter: bjb Assignee: Tom Mueller
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Dependency
blocks GLASSFISH-522 Should be able to restart server from... Resolved
Issuezilla Id: 523

 Description   

Running as a daemon glassfish need a shell script that match unixes way of doing.

This is required to do chkconfig.

There are number of script examples that can be used (for instance running
tomcat ...).



 Comments   
Comment by bjb [ 02/Apr/06 ]

Minimum entries to create are :

  • start
  • stop
  • restart
Comment by scm_issue_link [ 22/Apr/08 ]

Code changed in glassfish
User: srinik76
Path:
/glassfish/admin-cli/templates/asadmin.bat.template (1.13.10.5)
/glassfish/admin-cli/templates/asadmin.template (1.16.8.5)
/glassfish/admin-core/config-api/internal/config_gen/domain.rng (1.33.2.7)
/glassfish/admin-core/config-api/rng/TOP.rng (1.4.12.6)
/glassfish/admin-core/config-api/rng/availability-service.rng (1.6.36.2)
/glassfish/admin-core/config-api/rng/config.rng (1.3.36.2)
/glassfish/admin-core/config-api/rng/data-types.rng (1.6.12.3)
/glassfish/admin-core/config-api/rng/domain.rng (1.1.1.1.38.2)
/glassfish/admin-core/config-api/rng/security-service.rng (1.4.12.3)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/AvailabilityService.java (1.12.20.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/Config.java (1.17.12.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/Domain.java (1.20.14.2)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SecurityService.java (1.10.12.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ServerTags.java (1.19.6.12)
/glassfish/admin-ee/templates/ee80/asadmin.bat.template (1.6.6.5)
/glassfish/admin-ee/templates/ee80/asadmin.template (1.8.6.5)
/glassfish/admin-ee/templates/ee80/default-domain.xml.template (1.15.6.1)
/glassfish/tools/dtds/processLauncher.xml (1.27.2.1)
http://fisheye5.cenqua.com/changelog/glassfish/?cs=SJSAS91_FCS_BRANCH:srinik76:20080422081628

Log:
Issue number: 523
Obtained from:
Submitted by:
Reviewed by: yamini

Tests Run: Sailfin QL, Cluster QL, Glassfish QL

Comment by scm_issue_link [ 26/Apr/08 ]

Code changed in glassfish
User: srinik76
Path:
/glassfish/admin-ee/templates/ee80/asadmin.bat.template (1.6.6.6)
/glassfish/admin-ee/templates/ee80/asadmin.template (1.8.6.6)
/glassfish/tools/dtds/processLauncher.xml (1.27.2.2)
/glassfish/admin-cli/templates/asadmin.bat.template (1.13.10.6)
/glassfish/admin-cli/templates/asadmin.template (1.16.8.6)
http://fisheye5.cenqua.com/changelog/glassfish/?cs=SJSAS91_FCS_BRANCH:srinik76:20080426102510

Log:
Backing out the changes for issue 523 since it breaks windows build and
some tests in glassfish cluster ql is failing
Issue number:
Obtained from:
Submitted by:
Reviewed by:

Comment by scm_issue_link [ 26/Apr/08 ]

Code changed in glassfish
User: srinik76
Path:
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/AvailabilityService.java (1.12.20.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/Config.java (1.17.12.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ConvergedLbClusterRef.java (1.1.4.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ConvergedLbConfig.java (1.1.4.6)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ConvergedLbConfigs.java (1.1.4.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ConvergedLbPolicy.java (1.1.4.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ConvergedLoadBalancer.java (1.1.4.7)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/Domain.java (1.20.14.3)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/IdentityAssertionTrust.java (1.1.2.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/Proxy.java (1.1.4.7)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SecurityService.java (1.10.12.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/ServerTags.java (1.19.6.13)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipContainer.java (1.1.4.6)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipContainerAvailability.java (1.1.4.5)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipLink.java (1.1.4.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipListener.java (1.1.4.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipProtocol.java (1.1.4.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipService.java (1.1.4.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/SipTimers.java (1.1.4.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/StackConfig.java (1.1.2.3)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/StackLayer.java (1.1.2.3)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/TrustHandler.java (1.1.2.4)
/glassfish/admin-core/config-api/src/java/com/sun/enterprise/config/serverbeans/TrustedEntity.java (1.1.2.4)
http://fisheye5.cenqua.com/changelog/glassfish/?cs=SJSAS91_FCS_BRANCH:srinik76:20080426102654

Log:
Backing out the changes for issue 523
Issue number:
Obtained from:
Submitted by:
Reviewed by:

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

Comment by Tom Mueller [ 04/Jan/13 ]

GlassFish provides a daemon script capability through the "create-service" asadmin subcommand.
Marking this as fixed.

Generated at Thu Apr 27 19:18:18 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.