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: 56
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 All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts After newcopy the CICS program user f... CICS 7
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
Search our Forums:


Back to Top