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: 52
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 Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top