IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error executing Java program in OSGI bundle


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
danik56

New User


Joined: 08 Mar 2017
Posts: 32
Location: Israel

PostPosted: Thu Apr 26, 2018 12:16 am
Reply with quote

Running CICS 5.3 on z/os 2.2
Deployed the bundle and defined a program for the main class.
Bundle and program are activated and enabled during startup with no errors.
When linking to the Java program the following error is issued:

Exception 'No CICS-MainClass services with the classname 'zito.FileReq.FileRec' and Version '0.0.0' could be found. Either the implementing Bundle has not been enabled, or the MANIFEST of the Bundle does not contain a CICS-MainClass (Entry point) for this class from a valid Bundle-version'.

The manifest is defined as follows:

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: Java.Request.for.REST.CICS
Bundle-Version: 1.0.0
Export-Package: zito.FileReq
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
CICS-MainClass: zito.FileReq.FileRec
Import-Package: com.ibm.cics.server
Bundle-ClassPath: bin


I have no clue how to trouble shoot this error.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts problem in select max when executing ... IMS DB/DC 6
No new posts linking an ALC program to a Relationa... PL/I & Assembler 1
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts Error 0C1 Reason Code 1 with branch i... PL/I & Assembler 3
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
Search our Forums:

Back to Top