Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT reports on z/OS using JCLs
BIRT reports on z/OS using JCLs [message #527106] Wed, 14 April 2010 06:15 Go to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: April 2010
Junior Member
Hi,

I've downloaded BIRT 2_3_2_2 build into our z/OS UNIX shared directory. This shared directory was mapped via Windows (e.g. My Computer --> Tools --> Map Network Drive). We then use 7Zip.exe to extract BIRT to the mapped drive.

After customizing JZOS out-of-the-box JCL JVMJCL66 and setup MAINARGS properties, something like this:

//JAVA EXEC PROC=JVMPRC66,
// JAVACLS='org.eclipse.birt.report.engine.api.ReportRunner',
.
.
.
//MAINARGS DD *
--format HTML
--output /u/tmpuser/test.html
--file /u/tmpuser/hello_world.rptdesign



It returned this error message:

=====================
.
.
.

JVMJZBL2999T <- establishMvsCommandListener()
JVMJZBL2999T -> invokeMain()
JVMJZBL2999T javaClassName: 'org.eclipse.birt.report.engine.api.ReportRunner'
JVMJZBL2999T Arg 1='--format'
JVMJZBL2999T Arg 2='HTML'
JVMJZBL2999T Arg 3='--output'
JVMJZBL2999T Arg 4='/u/tmpuser/test.html'
JVMJZBL2999T Arg 5='--file'
JVMJZBL2999T Arg 6='/u/tmpuser/hello_world.rptdesign'
JVMJZBL1023N Invoking org.eclipse.birt.report.engine.api.ReportRunner.main()...
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> JniUtil.convert()
JVMJZBL2999T <- JniUtil.convert()
JVMJZBL2999T -> StaticMethod.invoke()

JVMJZBL2999T org.eclipse.birt.report.engine.api.ReportRunner.main
JVMJZBL2999T JvmExitHook entered with exitCode=-1, javaMainReturnedOrThrewException=0
JVMJZBL1043N The Java virtual machine completed with System.exit(-1)
JVMJZBL2999I JZOS batch launcher elapsed time=9.878517 seconds, cpu time=7.7903655 seconds

Apr 14, 2010 1:18:26 PM org.eclipse.birt.report.engine.api.ReportRunner readConfigurationFile
SEVERE: file: /u/tmpuser/birt-runtime-2_3_2 not exists!
Apr 14, 2010 1:18:31 PM org.eclipse.birt.report.engine.api.ReportRunner execute
SEVERE: exception in parsing the paramters
Throwable occurred: java.lang.NullPointerException
at org.eclipse.birt.report.engine.api.ReportRunner.execute(Repo rtRunner.java:147)
at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportR unner.java:120)


=====================


Are there any special BIRT customization requirements needed for z/OS platforms?


Regards,
jcube

Re: BIRT reports on z/OS using JCLs [message #529747 is a reply to message #527106] Tue, 27 April 2010 06:11 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 3
Registered: April 2010
Junior Member
To follow-up my previous post...

1. UNIX permission was set to 775 to all $BIRT_HOME objects.

2. I compared it with the Windows platform; and from the same directory ($BIRT_HOME/ReportEngine/configuration) org.eclipse.core.runtime and org.eclipse.equinox.app sub-directories were missing from z/OS.

3. I've also noticed after the ReportRunner was terminated, the $BIRT_HOME/ReportEngine/configuration directory got some exception logs:

!SESSION 2010-04-27 14:30:36.802 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=JRE 1.6.0 IBM J9 2.4 z/OS s390x-64 jvmmz6460sr7-20091214_49398 (JIT enabled, AOT enabled)
J9VM - 20091214_049398
JIT - r9_20091123_13891
GC - 20091111_AA
BootLoader constants: OS=unknown, ARCH=s390x, WS=unknown, NL=en_US

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.815
!MESSAGE Could not install bundle plugins/com.lowagie.itext_1.5.4.v20080228/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.828
!MESSAGE Could not install bundle plugins/org.apache.derby.core_10.3.1.4/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.850
!MESSAGE Could not install bundle plugins/org.eclipse.birt.report.data.oda.jdbc_2.3.2.r232_v20 090212/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.852
!MESSAGE Could not install bundle plugins/org.eclipse.birt.report.data.oda.sampledb_2.3.2.r232 _v20090211/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.854
!MESSAGE Could not install bundle plugins/org.eclipse.birt.report.engine.fonts_2.3.2.r232_2009 0202/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.857
!MESSAGE Could not install bundle plugins/org.eclipse.core.runtime.compatibility.registry_3.2. 200.v20080610/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.877
!MESSAGE Could not install bundle plugins/org.mozilla.rhino_1.6.7.v20080214/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.update.configurator 4 0 2010-04-27 14:30:36.899
!MESSAGE Could not install bundle plugins/org.w3c.sac_1.3.0.v20070710/ The manifest line "ԁ������`兙����z@�K�" is invalid; it has no colon ':' character after the header key.

!ENTRY org.eclipse.birt.core 4 0 2010-04-27 14:30:38.127
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.mozilla.rhino; bundle-version="[1.6.0,2.0.0)"
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:305)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:321)

============================

Which files are these exceptions referring to?


Thanks



icon10.gif  Re: BIRT reports on z/OS using JCLs [message #529997 is a reply to message #527106] Wed, 28 April 2010 01:57 Go to previous message
No real name is currently offline No real nameFriend
Messages: 3
Registered: April 2010
Junior Member
A breakthrough... I used the native z/OS jar utility to unzip the BIRT file, i.e.,

/usr/lpp/java/J6.0_64/bin/jar -xvf ./birt-runtime-2_3_2.zip

Laughing
Previous Topic:Error bar charts.
Next Topic:SQL Server 2000
Goto Forum:
  


Current Time: Fri Apr 26 05:37:00 GMT 2024

Powered by FUDForum. Page generated in 0.02727 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top