Creating startup service for JBoss


 
Thread Tools Search this Thread
Operating Systems AIX Creating startup service for JBoss
# 1  
Old 11-01-2008
Creating startup service for JBoss

Hello Friends,

Does anyone know how to create a startup script for Jboss on IBM AIX 5.3?

Please help me, I'd be highly grateful to you...


Thanks & Regards,
Vinit
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Start a service manager process automatically on startup

Hello, I am in the process of learning Linux OS. How do I run the below lines of code automatically as root on server startup. cd /opt/program_folder/ServiceManager/bin nohup ./servce_manager DEV & Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies

2. Shell Programming and Scripting

Help with creating startup scripts using screen

Edit: So sorry! I really didn't do a good job of clearly stating what I needed. Going to completely rewrite my post so everything is clearly stated. I'm having trouble writing a shell startup script for a linux server. It uses the bash shell if I remember correctly. I'm trying to write it so... (9 Replies)
Discussion started by: Pyitoechito
9 Replies

3. Solaris

run a service via startup script (correct me if I am wrong)

Environment Solaris 9 I have configured the Solaris9 as NTP client in which Solaris9 is syncing the time with a windows2008 R2 Server which is runing fine. Now I want that the xntpd service should start at startup. I did this via a script. Kindly correct if I did any thing wrong: 1.)Made... (9 Replies)
Discussion started by: z_haseeb
9 Replies

4. Shell Programming and Scripting

Single Startup script for Apache/jboss

Hi, I have apache ,jboss and jon instances on various linux boxes.I need to create a generic startup script to restart those instances on server reboot.The script requirement is : It should take the name of instances from one text file named active-servers and recycle those instances. 1.... (6 Replies)
Discussion started by: saurau
6 Replies

5. UNIX for Dummies Questions & Answers

Starting a service at startup.

Hi guys I want to start a service and a script SiteMonitor.sh at startup. To start with i have modified /etc/rc.local file. Here is the content of my /etc/rc.local file. #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own... (3 Replies)
Discussion started by: pinga123
3 Replies

6. Solaris

StartUP file to start a service

Hi guys: i have a Solaris 10 development server and a Solaris 9 production server. The entire task must be done in the dev. server. When it's done and all the testing is OK, the script or files are transfer to prod. Server. All right. Now I have to figure out a way to put a script to initiate... (2 Replies)
Discussion started by: bmathiasf
2 Replies

7. AIX

service/process management -autostart at startup

Hi, I want to modify some of the services/processes (related to the oracle database) to start automatically at the startup of the server. which commands may help me? which commands do I need to use? my server configuration is, in brief: hardware:IBM P550 / OS : AIX 5300 thanks,... (1 Reply)
Discussion started by: talipk
1 Replies

8. UNIX for Advanced & Expert Users

AIX 5.3: Start Service on System startup

Hi, I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX? Greetings, Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies

9. UNIX for Dummies Questions & Answers

How can I add my own service when system startup?

Hi All, My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started? I found something like /etc/rc.d, /etc/rc.init ... But I have no idea on them, have anyone can help me? regards wilson (6 Replies)
Discussion started by: wilsonchan1000
6 Replies
Login or Register to Ask a Question
OCF_HEARTBEAT_JBOSS(7)						OCF resource agents					    OCF_HEARTBEAT_JBOSS(7)

NAME
ocf_heartbeat_jboss - Manages a JBoss application server instance SYNOPSIS
jboss [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Resource script for Jboss. It manages a Jboss instance as an HA resource. SUPPORTED PARAMETERS
resource_name The name of the resource. Defaults to the name of the resource instance. (unique, optional, string, default default) console A destination of the log of jboss run and shutdown script. (unique, optional, string, no default) shutdown_timeout Timeout for jboss bin/shutdown.sh. We wait for this timeout to expire, then send the TERM and QUIT signals. Finally, the KILL signal is used to terminate the jboss process. You should set the timeout for the stop operation to a value bigger than the sum of the timeout parameters. See also kill_timeout. (optional, integer, default 5) kill_timeout If bin/shutdown.sh doesn't stop the jboss process, then we send it TERM and QUIT signals, intermittently and once a second. After this timeout expires, if the process is still live, we use the KILL signal. See also shutdown_timeout. (optional, integer, default 10) user A user name to start a JBoss. (optional, string, default root) statusurl URL to test in the monitor operation. (optional, string, default http://127.0.0.1:8080) java_home Home directory of Java. Defaults to the environment variable JAVA_HOME. If it is not set, then define this parameter. (optional, string, no default) jboss_home Home directory of Jboss. (unique, required, string, no default) pstring With this string heartbeat matches for the right process to kill. (optional, string, default java -Dprogram.name=run.sh) run_opts Start options to start Jboss with, defaults are from the Jboss-Doku. (optional, string, default -c default -l lpg4j) shutdown_opts Stop options to stop Jboss with. (optional, string, default -s 127.0.0.1:1099) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 60s. stop Stops the resource. Suggested minimum timeout: 120s. status Performs a status check. Suggested minimum timeout: 30s. monitor Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a jboss resource using the crm(8) shell: primitive p_jboss ocf:heartbeat:jboss params jboss_home=string op monitor depth="0" timeout="30s" interval="10s" SEE ALSO
http://www.linux-ha.org/wiki/jboss_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_JBOSS(7)