• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
JBoss+ JPortal Install JBoss JPortal 2.6.7GA Open Source J2EE Server v1.2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.orgA GOV Open Knowledge Technical Publication HowTo
 
1
Install JBoss : Open Source J2EE Server, and Combined JBoss +JPortal on Linux Server
By Kefa Rabah,krabah@globalopenversity.orgMay 2008This article covers installation of JBOSS (Open Source J2EE Application Server) on Linux and Windows.I am also going to show you how to install the bundled JBoss+JPortal as Application Server that youcan use to develop and setup Single-Sign-On (SSO) Identity Management access control. You can alsouse JPortal to manage network users.
Download JBoss Software
 Download
JBoss 4.2.2.GA 
fromhere(This is platform independent software so you can install thissoftware on windows, Linux, Solaris or any other operating system)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.
3. Set following environment variables according to your server. In my case they are set to following4. Ensure these two environment variable are set by typing following on command prompt5. Installation on windows is complete
Installation on Linux
Unzipjboss-4.2.2.GA.zip
directory
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11JBOSS_HOME=C:\atul\role_manager\jboss-4.2.2.GA
 
echo %JAVA_HOME%echo %JBOSS_HOME%
stalled on your Linux machine; download
jdk-6u11-linux-i586.bin
fromn site and install it on Linux by executing bin file. This will create
.2.2.GA
 
1.2.GAATHchmod +x jboss.env
 1. If JDK is not already insu a directory like jdk1.6.0_11, Iinstalled it under
/usr/java/
so my
JAVA_HOMEis/usr/java/jdk1.6.0_11
 2.
Unzipjboss-4.2.3.GA.zip 
on Linux. This will create directory like
jboss-4
3. Create environment file like
jboss.env
like
export JAVA_HOME=/usr/JDK/jdk1.6.0_1export JBOSS_HOME=/usr/JBOSS/jboss-4.2export PATH=$JAVA_HOME/bin:$JBOSS_HOME/bin:$P
4. execute like:
 
JBoss+ JPortal Install JBoss JPortal 2.6.7GA Open Source J2EE Server v1.2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.orgA GOV Open Knowledge Technical Publication HowTo
 
2
Start/Stop JBOSS
 1.1 Ensure environment variable
JBOSS_HOME
and
JAVA_HOME
are setrompt1.3
cd %JBOSS_HOME%\bin
 \\To Start2.3 sh
./run.sh
\\To Start
tdown.s -S
\\To Stop
1. On Windows
1.2 Go to command p1.4
run.bat
 1.5
shutdown.bat
\\To Stop
2. On Linux
2.1 Execute
jboss.env
file created above2.2
cd $JBOSS_HOME/bin
 2.4
sh ./shu
 
3. Accessing JBOSS server
Open browser and type URL:
http://localhost:8080 
 
JBoss+ JPortal Install JBoss JPortal 2.6.7GA Open Source J2EE Server v1.2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.orgA GOV Open Knowledge Technical Publication HowTo
 
3
4. Installing JBoss+Portal Bundle on Linux4.1.
4.2.
Create a JBOSS directory in
/usr/
directory as follows:
]# mkdir /usr/JBOSS
4.3.
Move the downloaded to the /usr/JBOSS directory and then unzip it:
]# mv jboss-portal-2.6.7.GA-bundled.zip /usr/JBOSS]# unzip jboss-portal-2.6.7.GA-bundled.zip
4.4.
Create or add to your environment file as above
export JBOSS_HOME=/usr/JBOSS/jboss-portal-2.6.7.GAexport PATH=$JBOSS_HOME/bin:$PATH
Alternatively you can add the above two lines at the top of you profile under
 /etc/profile
, however,this requires you to logout for it to take effect.
4.5.
Log back in and check that the environment is set correctly by issuing this command:
]# echo $JBOSS_HOME/usr/JBOSS/
jboss-portal-2.6.7.GA
4.6.
Run it as follows:
]# cd $JBOSS_HOME/bin
\\ change to
bin
directory
]# sh ./run.sh
\\ start server
]# sh ./shutdown.sh –S
\\ stop server
4.7.
Accessing JBoss + JPortal serverOpen browser and type URL:http://localhost:8080/portal
 5.
Enjoy JBoss portling!
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...