[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-08-03 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: gserviceReg_ubuntu.patch

A patch for ubuntu 9.0.4, pls help review, thanks.

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.5, 2.2
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Fix For: 2.1.5, 2.2
>
> Attachments: gserviceReg.patch, gserviceReg_ubuntu.patch, 
> wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-06-09 Thread Ivan (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan updated GERONIMO-4622:
---

Affects Version/s: (was: 2.1.4)
   2.2
   2.1.5
Fix Version/s: 2.2
   2.1.5

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.5, 2.2
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Fix For: 2.1.5, 2.2
>
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-13 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: (was: gserviceReg.patch)

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-13 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: gserviceReg.patch

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-11 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: (was: gserviceReg.patch)

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-11 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: gserviceReg.patch

Thanks ivan for your suggestion, and based on it, i updated this patch which 
can autostart after server boot time on Redhat 5.2, Suse 10 Sp2, Aix 
6.1,Solaris 10, and ubuntu (root).
Pls review and apply it.Thanks.



> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-07 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: (was: gserviceReg.patch)

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-07 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: (was: mail.txt)

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, gserviceReg.patch, 
> wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-07 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: mail.txt

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, gserviceReg.patch, 
> wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-06 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: gserviceReg.patch

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Assignee: Ivan
>Priority: Trivial
> Attachments: gserviceReg.patch, gserviceReg.patch, 
> wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-05-06 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-4622:
---

Attachment: gserviceReg.patch

This is an imporved script base on Amir Mistric : run g server as a linux 
service and can run multiple g server  services on one PC, and tested on 
Solaris 10 SP2/AIX 6.1/Redhat 5.2/Suse 10 SP2

Guide:
How to get help
$your_G_server/bin/gserviceReg.sh

Add service for a server
$your_G_server/bin/gserviceReg.sh add [$servicename]
you can create multiple service name for a server
how to start a server 
$servicename start|status|restart|stop 

how to list server directory mapping service name
$your_G_server/bin/gserviceReg.sh list [$servicename]

how to del a service
$your_G_server/bin/gserviceReg.sh del [$servicename]

thanks.


> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Priority: Trivial
> Attachments: gserviceReg.patch, wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (GERONIMO-4622) Contribution: Linux service script for Geronimo/WAS CE

2009-04-27 Thread Amir Mistric (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amir Mistric updated GERONIMO-4622:
---

Attachment: wasce-linux-service.sh

The script is attached. Following are installation steps and posting from 
original forum thread (verbatim)
-
Hi

I decided to share the script (attached) to manage WAS CE as a service on Linux.

Notes:

* this script is for RedHat Enterprise Linux (tested using WASCE 2.1.1.2 on 
RHEL 5.3 using Sun's JDK 1.6 64-bit)
* the script also uses separate login/account (service account) to run 
WASCE (you don't want to run it as root do you? Wink
* implementation of status function uses GShell to connect/disconnect to 
check if the server is up...If someone has a better idea, feel free to post a 
reply Happy
* Kudos to viola.lu who got me started
* feel free to copy, change, correct, suggest, comment, or do whatever 
you'd like to the script Happy

Installation instructions:

* copy script to /etc/rc.d/init.d and rename to wasce (or whatever you 
like...just note to change the name of the script in following commands also)
* check file mode and SELinux context (if you are using SE Linux). Here is 
what it should look like:

ls -laZ wasce
-rwxr-xr-x root root system_u:object_r:initrc_exec_t wasce

* add the service using following command:

chkconfig --add wasce

* set the service to start at certain runlevels

chkconfig --level 2345 wasce on

Now you can use service command to manage WAS CE (e.g. service wasce status)

Cheers!

zambak
--

> Contribution: Linux service script for Geronimo/WAS CE  
> 
>
> Key: GERONIMO-4622
> URL: https://issues.apache.org/jira/browse/GERONIMO-4622
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: startup/shutdown
>Affects Versions: 2.1.4
> Environment: RedHat Enterprise Linux v5.3
> WAS CE 2.1.1.2
>Reporter: Amir Mistric
>Priority: Trivial
> Attachments: wasce-linux-service.sh
>
>
> As per suggestion on WAS CE forum, I am attaching a shell script that can be 
> used for Linux services script in Geronimo/WAS CE.
> For more information please [see this 
> thread|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260135&tstart=0]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.