How to Install GlassFish on CentOS RedHat Fedora
Filed under: Featured, GlassFish, JAVA, Karmic Koala, Ubuntu, WebServers
How to Install GlassFish ESB on CentOS / Red Hat / Fedora
I did my installation on a CentOS 5.4 and I confirm all works, just follow
step-by-step.
Download JDK 6u12
# cd /usr
# wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u12-linux-i586.bin?BundledLineItemUUID=wFlIBe.lB8gAAAElzSEadwyv&OrderID=8fxIBe.lQPoAAAEluyEadwyv&ProductID=1O1IBe.pLl4AAAEerDlTv_an&FileName=/jdk-6u12-linux-i586.bin
Download GlassFish 2.1
# wget http://dlc-cdn.sun.com/jbi/binaries/glassfishesb/v2.1/promoted/rc2/glassfishesb-v2.1-full-installer-linux.sh
Check current Java Version
# java -version
java version “1.6.0″
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Server VM (build 1.6.0-b09, mixed mode)
# chmod +x /usr/jdk*
# ./usr/jdk-6u12-linux-i586.bin
Accept License, and enter
Adjust path
#vim /etc/profile
#OPENMQ_HOME=/home/mcf/MessageQueue/mq
JAVA_HOME=/usr/jdk1.6.0_12
PATH=/usr/jdk1.6.0_12/bin:$PATH
CLASSPATH=$CLASSPATH:.:$JAVA_HOME:$JAVA_HOME/lib:$OPENMQ_HOME/lib/jms.jar:$OPENMQ_HOME/lib/fscontext.jar:$OPENMQ_HOME/lib/imq.jar:$OPENMQ_HOME/lib
#CARBON_HOME=/home/mcf/wso2greg-3.0.0#export OPENMQ_HOME CARBON_HOME
export PATH CLASSPATH JAVA_HOME
:wq
You may need to logout and login then:
# java -version
java version “1.6.0_12″
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)
Create user
# adduser esb
# passwd esb
# mkdir /usr/local/GlassFishESBv21
# mkdir /home/esb
# chown esb:root -R /usr/local/GlassFishESBv21
# mv /usr/glassfishesb-v2.1-full-installer-linux.sh /home/esb
# chown esb:root -R /home/esb/GlassFishESBv21
# chmod 755 -R /home/esb/GlassFishESBv21
Add it to sudoers just for now
# vim /etc/sudoers
esb ALL=GRANT(ALL) ALL
:wq
Login into the Gnome interface localy (via VNC wont work)
with the esb user execute from /home/esb
# sudo bash glassfishesb-v2.1-full-installer-linux.sh
On the install GUI
Set NetBeans IDE to:
/usr/local/GlassFishESBv21/netbeans
Set Install GlassFish to:
/usr/local/GlassFishESBv21/glassfish
Now lets configure the service to autostart
# cd /etc/rc.d/init.d
# vim glassfish
#Script to start/stop/restart GlassFish
# chkconfig: 35 20 80
# description: GlassFish ESB 2.1 Daemon
GFPATH=/usr/local/GlassFishESBv21/glassfish/bin
case “$1″ in
start)
${GFPATH}/asadmin start-database
${GFPATH}/asadmin start-domain domain1
;;
stop)
${GFPATH}/asadmin stop-database
${GFPATH}/asadmin stop-domain domain1
;;
restart)
${GFPATH}/asadmin stop-domain domain1
${GFPATH}/asadmin start-domain domain1
;;
*)
echo $”Usage: $0 {start|stop|restart}”
exit 1
esac
# chkconfig –add glassfish
# chkconfig –level 35 glassfish on
# service glassfish start
Once the service start it Should Display:
Starting database in the background.
Log redirected to /usr/local/GlassFishESBv21/glassfish/databases/derby.log.
Command start-database executed successfully.
Starting Domain domain1, please wait.
Default Log location is /usr/local/GlassFishESBv21/glassfish/domains/domain1/logs/server.log.
Redirecting output to /usr/local/GlassFishESBv21/glassfish/domains/domain1/logs/server.log
Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)] with its configuration and logs at: [/usr/local/GlassFishESBv21/glassfish/domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for “asadmin” commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://SERVERESB:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3100 3820 3920 8686 ].Domain does not support application server clusters and otherstandalone instances.
To login via web go to
http://<serverIP>:4848
Notes:
Remeber to open firewall for ports required
Check with ps if service is running
Reference to official documentation at:
https://open-esb.dev.java.net/
8330 Stock Precision Zen Theme
Stock Precision Zen theme works on the 8330 running 5.0.0.230.
Theme extracted from 5.0.0.238 for the 8520.
Extract the files from the zip folder and copy/replace the .alx file to the main C:\Program Files\Common Files\Research In Motion\Shared\Loader Files\8330AMEA_v5.0.0.230_P3.5.0.30 folder with the .alx files then copy/replace the .cod file to the C:\Program Files\Common Files\Research In Motion\Shared\Loader Files\8330AMEA_v5.0.0.230_P3.5.0.30\Java folder then run loader.exe found in C:\Program Files\Common Files\Research In Motion\AppLoader and install the Precision Zen theme.
Download zip folder HERE


workflow ||geog 483 penn state workflow, or workflow analysis||
purchasing department workflow pdf workflow engine workflow persistence … windows workflow 4 rules engines jono french workflow despatch …
Recent Changes to: opensource : del.icio.us tag/opensource : Open …
Utilities. Recent Edits · Edits for "del.icio.us tag/opensource" · Edits for Open Source Workflow Engines in Java – Zebra …
Workflow Engines | Get Job For Research and Science Application
Posts Tagged 'workflow engines' … based around a set of rules developed in the project), and the underlying workflow and backend supporting engines. …
Using GMail with a Log4j SMTP Appender in Grails – SpringOne 2GX
import org.apache.log4j.Level import org.apache.log4j.net.SMTPAppender … log4j = {. System.setProperty 'mail.smtp.port', mail.error.port.toString() …
Amitava's Technical Diary: log4j – "appender is not assignable to …
log4j – "appender is not assignable to Appender". If you are getting "appender is not assignable to Appender" error in an attempt to configure log4j, just pass a system property as below $) java -Dlog4j.ignoreTCL …whatever… See here …
Amitava's Technical Diary – http://amitava1.blogspot.com/
Seam Framework – error with JSF 2 RI and Seam 2.1.1.GA app
GA\lib\log4j-boot.jar" model-entity="FileSystemJar"/> <file-system NAME="lib-autonumber-plugin.jar" location="C:\java\jboss-4.2.2.GA\server\default\lib\autonumber-plugin.jar" model-entity="FileSystemJar"/> <file-system …
SeamFramework.org – Seam Users – http://www.seamframework.org/Community/SeamUsers
Grails & Groovy Tutorials – 'Using GMail with a Log4j SMTP …
I saw a plaintive wail on Twitter about using GMail as the smtp server to send error emails using a Log4j SMTPAppender in Grails. It turned out to be a little tricky (and a bigger solution than 140 characters would allow) so I thought …
Grails Tutorials – http://www.grailstutorials.com/
MondrianFoodMartLoader–Oracle10g–log4j:WARN No appenders …
MondrianFoodMartLoader–Oracle10g–log4j:WARN No appenders Mondrian [Pentaho Analysis Services]






