Gnome Home Your account Search Forum Downloads FAQ Howto Unregistered? Register for a user account 10/09/2010 - 15:52

Howto Jboss on sme server
Last Updated : 2006-05-24 14:59:40 (8700 read)
[Printer friendly page | Send to a friend]

Howto Jboss on sme server

Author: MasterSleepy
Contributor: 
Release: SME Server 7.x
License: GPL


Problem: You want to install Jboss on your sme server
Solution: Follow this Howto


STEP 1: Download java jdk and upload it to your sme server

Go to java.sun.com and download jdk
For my example I use jdk-1_5_0_06-linux-i586-rpm.bin
ATTENTION: adapt all document jdk filename depending witch file you download


STEP 2:  Install Java jdk

[root@server root]# chmod a+x jdk-1_5_0_06-linux-i586-rpm.bin
[root@server root]# ./jdk-1_5_0_06-linux-i586-rpm.bin
[root@server root]# ln -s /usr/java/jdk1.5.0_06 /usr/java/jdk
After executing bin file, you can remove both file jdk-1_5_0_06-linux-i586-rpm.bin and jdk-1_5_0_06-linux-i586.rpm

STEP 3: Download jboss last version and upload it to your sme server

Go to jboss download website.
For my example I use jboss-4.0.4.GA.zip
ATTENTION: adapt all document jboss filename depending witch file you download


STEP 4: Install jboss

Unzip and move it

[root@server root]# unzip jboss-4.0.4.GA.zip
[root@server root]# mv jboss-4.0.4.GA /opt/
[root@server root]# ln -s /opt/jboss-4.0.4.GA /opt/jboss


STEP 5: Create service for jboss

[root@server root]# mkdir -p /var/service/jboss
[root@server root]# mkdir -p /var/service/jboss/log
[root@server root]# mkdir -p /var/service/jboss/log/supervise
[root@server root]# mkdir -p /var/service/jboss/supervise
[root@server root]# ln -s /var/service/jboss /service/jboss
Create file /var/service/jboss/log/run with your favorite editor
#!/bin/sh
exec                                    \
    /usr/local/bin/multilog t s5000000  \
    /var/log/jboss
Create file /var/service/jboss/run with your favorite editor
#!/bin/sh

export JAVA_HOME=/usr/java/jdk
exec /opt/jboss/bin/run.sh
Make the script executable
[root@server root]# chmod 755 /var/service/jboss/log/run
[root@server root]# chmod 755 /var/service/jboss/run

STEP 6: Make jboss start at reboot

[root@server root]# ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/jboss
[root@server root]# ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98jboss
[root@server root]# ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc6.d/K02jboss
[root@server root]# ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc2.d/K02jboss
[root@server root]# ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc1.d/K02jboss
[root@server root]# ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc0.d/K02jboss

[First]  [Previous]  [Back to Main Article]  [Next]  [Last]
[Printer friendly page | Send to a friend]
Languages
minimizeclose
Preferred language:

English Français
bottom_left bottom_right
Site
minimizeclose
bottom_left bottom_right
Staff Status
minimizeclose
Welcome guest

The register is completely free and you will gain access to all the parts of the web
Register here

User:


Password:


Remember me

Members:  Members:
Last:  New Today: 6
Last:  New Yesterday: 6
Last:  Total: 760
Last:  Last:
kickman7bc
Members:  Connected
Members:  Members: 0
Guests:  Guests: 1
Total:  Total: 1
Members:  Online members
No members connected
bottom_left bottom_right
Last seen...
minimizeclose
arrow MasterSleepy

15:12:29 - 09.10.2010

arrow cedric

0:40:39 - 09.10.2010

arrow papangue

8:23:52 - 09.08.2010

arrow feeny

7:32:15 - 09.04.2010

arrow steveharvey27

7:48:00 - 08.31.2010

arrow Carpate

23:02:19 - 08.30.2010

arrow dfalt

7:49:50 - 08.30.2010

arrow immind

18:06:21 - 08.26.2010

arrow romu69

13:20:28 - 08.24.2010

arrow alarch

22:31:23 - 08.23.2010

bottom_left bottom_right
Translate
minimizeclose
google

bottom_left bottom_right
Visiteurs
minimizeclose
Total : 1140982
Aujourd'hui : 251
Connecté : 12
bottom_left bottom_right
Citations
minimizeclose

Il n'y a pas de bonheur parfait! dir l'homme quand sa belle-mèr mourut et qu'on lui présenta la note des pompes funèbre.
Jérôme K. Jérôme

bottom_left bottom_right
goes to top
Page created in 0.20725989341736 seconds.