JBOSS is open source enterprise level J2EE Server (similar to Oracle Application Server).
This post covers installation of JBOSS (Open Source J2EE Application Server) on Linux and Windows. I am going to use this JBOSS as application Server for Oracle Role Manager Installation in my next port.
Download JBoss Software
Download JBoss 4.2.2.GA from here (This is platform indepedent software so you can install this software on windows, Linux, solaris or any other operating sytem )
Save file jboss-4.2.2.GA.zip to Linux/windows
Installation on Windows
1. Download and Install JDK, if not already installed on windows machine.
2. Unzip jboss-4.2.2.GA.zip
3. Set following environment variables according to your server. In my case they are set to following directory
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_15
JBOSS_HOME=C:\atul\role_manager\jboss-4.2.2.GA
4. Ensure these two environment variable are set by typing following on command prompt
echo %JAVA_HOME%
echo %JBOSS_HOME%
5. Installation on windows is complete
Installation ion Linux
1. If JDK is not already installed on linux machine; download jdk-1_5_0_15-linux-i586.bin from sun site and install it on Linux by executing bin file. This will create directory like jdk1.5.0_15, I installed it under /stage/JDK/ so my JAVA_HOME is /stage/JDK/jdk1.5.0_15
2. Unzip jboss-4.2.2.GA.zip on linux. This will create directory like jboss-4.2.2.GA
3. Create environment file like jboss.env like
export JAVA_HOME=/stage/JDK/jdk1.5.0_15
export JBOSS_HOME=/stage/JBOSS/jboss-4.2.2.GA
export PATH=$JAVA_HOME/bin:$JBOSS_HOME/bin:$PATH
4. execute like . jboss.env
Start/Stop JBOSS
1. On Windows
1.1 Ensure environment variable JBOSS_HOME and JAVA_HOME are set
1.2 Go to command prompt
1.3 cd %JBOSS_HOME%\bin
1.4 run.bat (To Start)
1.5 shutdown.bat (To Stop)
2. On Linux
2.1 Execute jboss.env file created above
2.2 cd $JBOSS_HOME/bin
2.3 ./run.sh (To Start)
2.4 ./shutdown.s (To Stop)
Accessing JBOSS server
Open browser and type URL http://localhost:8080
Related Docs
JBoss Installation Doc
Download JBoss Software from here
Installation of Role Manager coming soon …..
Related Posts for ORM
- Oracle Role Manager : Installation Overview
- Install JBoss : Open Source J2EE Server
- Install Oracle Role Manager ORM on Windows Vista
- Configure/Deploy Oracle Role Manager with JBOSS
Popularity: 16% [?]








Good hands-on exercises (installation, patching, cloning), very experienced trainer worth for Money 
5 users commented in " Install JBoss : Open Source J2EE Server "
Follow-up comment rss or Leave a TrackbackWhat’s up Atul?
You probably should add that if users wanna access the login page remotely, they should start up with
./run.sh -c default -b 0.0.0.0 (or run.bat)
and shutdown.sh -S
At least this is required to get it to work in Redhat Linux. Peace. -BKG
Thanks buddy, I was behind this information for quite some time .
Thanks for pointing this.
Hi Atul,
I want to install JBOSS in my linux machine. Which version is best. Could you please suggest me. Is install procedure is same for all versions.
And in starup command what is -c default -b 0.0.0.0
Thanks in advance,
Sridhar
Hi Atul,
I have one more doubt with ANT. Should ANT installed in JBOSS directory or can i install it some where else. If this is the case, Build.xml should be placed in ANT directory or not. How can i deploy my application to JBOSS server. Please explian me. Thanks in advance.
Sridhar
Hi,
I have installed JBOSS on remote linux server.
Now how to deploy my ear file into that.
Can i deploy it with out moving the workspace to that server. Bcoz i dont access the JBOSS console in my local machine. Plz help me out.
Thanks in advance
Sridhar.
Leave A Reply