Page 1 of 1
Runnig Geronimo 1.1.1 on zOS via EXJZOSVM
Posted: Mon Dec 18, 2006 7:48 am
by labdom
I am seeking for feedback and experience booting a Geronimo 1.1.1 instance on zOS. Trying to mimic the tomcat bootstrap, by identifying the main class, the required classpath, it collapses because some environment definitions inserted in the server.jar Manifest are not read. Actually I did not succeeded to pass EWJZOSVM the java parameters to boot like the Windows version does, java -jar server.jar <paramters>. I also tried to boot as such from a java main stub (doing -jar from tyhe sever.jar), but the spawned process behind Runtime API is evaporates under MVS with visible actions. Any input welcome Thanks
Posted: Tue Dec 19, 2006 11:47 am
by coz
We're aware of the requirement to execute jar files from JZOS. Stay tuned... In the meantime, it is possible to run with a main class invocation, similar to the instructions for Tomcat:
1.) FTP (in binary) the geronimo-1.1.1.zip file to your z/OS machine.
2.) Use jar to unpack it:
Code: Select all
jar -xvf geronimo-tomcat-j2ee-1.1.1.zip
3.) Make the following changes/additions to the standard RUN50 (or RUN14) JCL:
Change the JAVACLS parm:
Code: Select all
// JAVACLS='org.apache.geronimo.system.main.Daemon'
Add the following exports in STDENV:
Code: Select all
export GERONIMO_HOME=/path/to/geronimo-1.1.1
export BASEDIR=/path/to/geronimo-1.1.1
Add server.jar to the CLASSPATH:
Code: Select all
CLASSPATH="$CLASSPATH":"${GERONIMO_HOME}/bin/server.jar"
Pick a reasonable heap size:
Run with an ascii file encoding:
Code: Select all
IJO="$IJO -Dfile.encoding=ISO8859-1"
After submitting, your STDOUT should contain something like this:
Code: Select all
Booting Geronimo Kernel (in Java 1.5.0)...
Starting Geronimo Application Server v1.1.1
...
[********************* ] 95% 166s Starting geronimo/hot-deployer/1....
[**********************] 100% 166s Startup complete
Listening on Ports:
1099 0.0.0.0 RMI Naming
1527 0.0.0.0 Derby Connector
4201 0.0.0.0 ActiveIO Connector EJB
4242 0.0.0.0 Remote Login Listener
8009 0.0.0.0 Tomcat Connector AJP
8080 0.0.0.0 Tomcat Connector HTTP
8443 0.0.0.0 Tomcat Connector HTTPS
9999 0.0.0.0 JMX Remoting Connector
61616 0.0.0.0 ActiveMQ Message Broker Connector
Started Application Modules:
EAR: geronimo/webconsole-tomcat/1.1.1/car
RAR: geronimo/activemq/1.1.1/car
WAR: geronimo/remote-deploy-tomcat/1.1.1/car
WAR: geronimo/welcome-tomcat/1.1.1/car
Web Applications:
http://DCEIMGWV:8080/
http://DCEIMGWV:8080/console
http://DCEIMGWV:8080/console-standard
http://DCEIMGWV:8080/remote-deploy
Geronimo Application Server started
Posted: Wed Dec 20, 2006 10:38 am
by labdom
Excellent, we are running- Thanks again
Re: Runnig Geronimo 1.1.1 on zOS via EXJZOSVM
Posted: Wed Oct 26, 2011 4:30 pm
by tsparks
Steve:
I'm back working on z/os (USS) after a two year hiatus. Man . it akes me happy to see all of the progress. two things first ..
Tomcat works beautifully, and the Information sharing is a Godsend. Kudos to all who chime in .. a warm thank you indeed
I having trouble with the JBoss and Geronimo implementation ... I'm looking at the threee of them because I'd like for my users to be able to have a choice among which one they choose.
My question is :
1) None of the write ups say which files need to be Ascii and which need to be Ebcdic ,, confusing.
2) The bloggers on your site continue to note that they just unzip and run the doggone thing ( it's that easy...?? really..??? )
3) None make mention of any customizations steps outside of the minor JZOS JCL tweaks.
my question is
Does anyone have a cookbook approach to this were you're not assumed to have all of the answers..??
anything would be helpful at this time.. I know you requested write ups..
thus far every one I've read don't offer any explanation on why soemthing get's set or doesn't get set