Hi,
running jboss3.2.5 with jdk1.4.2 from omvs commandline works "fine".
Now I try to run jboss3.2.5 as a batchjob using jzos1.1.1. But after invoking org.jboss.Main jzos-log tells me, that org.jboss.Main.main() completed and system exits with exit(0). Does anyone have any ideas/experiences to solve my problem?
Regards,
Axel
jboss3.2.5 using jzos
It sounds like some kind of configuration error that it preventing JBOSS from running (properly). Are you running with -Dfile.encoding=ISO8859-1 ?
Please rerun with LOGLVL='+I' and post the output of your job here (or email to dev@jzos.com) and we'll take a look.
Please rerun with LOGLVL='+I' and post the output of your job here (or email to dev@jzos.com) and we'll take a look.
hi,
here's the output of the job:
JZOSVM14(N): log level has been set to: I
JZOSVM14(N): Copyright (C) 2004 Dovetailed Technologies LLC. All rights reserved.
JZOSVM14(N): JZOS Version 1.1.1
JZOSVM14(I): Region requested = 0K, Actual below/above limit = 9M / 1412M
JZOSVM14(I): JBOSS_HOME=/u/fhh/lit/tyz10/jboss/jboss-3.2.6
JZOSVM14(I): JAVA_PROPAGATE=NO
JZOSVM14(I): MAX_FD=3000
JZOSVM14(I): PATH=/u/fhh/lit/tyz10/J1.4/bin:/bin:.
JZOSVM14(I): IBM_JAVA_ZOS_TDUMP=NO
JZOSVM14(I): JZOS_HOME=/u/fhh/lit/tyz10/java/jzos
JZOSVM14(I): JAVA_OPTS=-Xms64m -Xmx128m -Djzos.home=/u/fhh/lit/tyz10/java/jzos -Dfile.encoding=ISO8859-1
JZOSVM14(I): IBM_JAVA_OPTIONS=-Xms64m -Xmx128m -Djzos.home=/u/fhh/lit/tyz10/java/jzos -Dfile.encoding=ISO8859-1
JZOSVM14(I): _=/bin/env
JZOSVM14(I): CLASSPATH=/u/fhh/lit/tyz10/jboss/jboss-3.2.6/bin/run.jar:/u/fhh/lit/tyz10/J1.4/lib/tools.jar:/u/fhh/lit/tyz
10/java/jzos/jzos.jar:
JZOSVM14(I): LIBPATH=:/u/fhh/lit/tyz10/J1.4/bin:/u/fhh/lit/tyz10/J1.4/bin/classic:/u/fhh/lit/tyz10/java/jzos:
JZOSVM14(I): JAVA=/u/fhh/lit/tyz10/J1.4/bin/java
JZOSVM14(I): JAVA_DUMP_HEAP=false
JZOSVM14(I): JAVA_HOME=/u/fhh/lit/tyz10/J1.4
JZOSVM14(N): Java Virtual Machine created. Version information follows:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM z/OS Persistent Reusable VM build cm142-20040917 (JIT enabled: jitc))
JZOSVM14(I): Using output encoding: 'IBM-1047'
JZOSVM14(I): MVS commands are ENABLED
JZOSVM14(I): Java main class: org.jboss.Main
JZOSVM14(N): Invoking org.jboss.Main.main()
JZOSVM14(N): org.jboss.Main.main() completed.
JZOSVM14(I): Preparing to exit JVM...
JZOSVM - JVM completed with exit(0).
I changed to jboss3.2.6 but problem still remains the same.
Thanks in advance for taking a look,
Axel
here's the output of the job:
JZOSVM14(N): log level has been set to: I
JZOSVM14(N): Copyright (C) 2004 Dovetailed Technologies LLC. All rights reserved.
JZOSVM14(N): JZOS Version 1.1.1
JZOSVM14(I): Region requested = 0K, Actual below/above limit = 9M / 1412M
JZOSVM14(I): JBOSS_HOME=/u/fhh/lit/tyz10/jboss/jboss-3.2.6
JZOSVM14(I): JAVA_PROPAGATE=NO
JZOSVM14(I): MAX_FD=3000
JZOSVM14(I): PATH=/u/fhh/lit/tyz10/J1.4/bin:/bin:.
JZOSVM14(I): IBM_JAVA_ZOS_TDUMP=NO
JZOSVM14(I): JZOS_HOME=/u/fhh/lit/tyz10/java/jzos
JZOSVM14(I): JAVA_OPTS=-Xms64m -Xmx128m -Djzos.home=/u/fhh/lit/tyz10/java/jzos -Dfile.encoding=ISO8859-1
JZOSVM14(I): IBM_JAVA_OPTIONS=-Xms64m -Xmx128m -Djzos.home=/u/fhh/lit/tyz10/java/jzos -Dfile.encoding=ISO8859-1
JZOSVM14(I): _=/bin/env
JZOSVM14(I): CLASSPATH=/u/fhh/lit/tyz10/jboss/jboss-3.2.6/bin/run.jar:/u/fhh/lit/tyz10/J1.4/lib/tools.jar:/u/fhh/lit/tyz
10/java/jzos/jzos.jar:
JZOSVM14(I): LIBPATH=:/u/fhh/lit/tyz10/J1.4/bin:/u/fhh/lit/tyz10/J1.4/bin/classic:/u/fhh/lit/tyz10/java/jzos:
JZOSVM14(I): JAVA=/u/fhh/lit/tyz10/J1.4/bin/java
JZOSVM14(I): JAVA_DUMP_HEAP=false
JZOSVM14(I): JAVA_HOME=/u/fhh/lit/tyz10/J1.4
JZOSVM14(N): Java Virtual Machine created. Version information follows:
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM z/OS Persistent Reusable VM build cm142-20040917 (JIT enabled: jitc))
JZOSVM14(I): Using output encoding: 'IBM-1047'
JZOSVM14(I): MVS commands are ENABLED
JZOSVM14(I): Java main class: org.jboss.Main
JZOSVM14(N): Invoking org.jboss.Main.main()
JZOSVM14(N): org.jboss.Main.main() completed.
JZOSVM14(I): Preparing to exit JVM...
JZOSVM - JVM completed with exit(0).
I changed to jboss3.2.6 but problem still remains the same.
Thanks in advance for taking a look,
Axel
I don't know for sure, but I assume that the problem is with the CLASSPATH or any -D options that are required by JBOSS. If you have JBOSS running under a USS shell, look carefully at these settings when it starts with the standard JBOSS startup script and set them the same way under the JZOS batch launcher.
For example, the standard JBOSS startup script seems to set a property: -Dprogram.name=run.sh . I don't see you setting that in your batch configuration script, perhaps this is required for JBOSS to run properly.
When you get it working, would you consider writing a simple HOW-TO article for the website? ("JBOSS in an hour"
For example, the standard JBOSS startup script seems to set a property: -Dprogram.name=run.sh . I don't see you setting that in your batch configuration script, perhaps this is required for JBOSS to run properly.
When you get it working, would you consider writing a simple HOW-TO article for the website? ("JBOSS in an hour"
