IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  To run this service, first recompile the Java source

    Posted 04/27/18 01:14 PM

    Hello,

    My project run with Java 8 (JDK 1.8.111), use library from Integration Server 9.12 (IS 9.12) and I attack an Integration Server 8.2 (IS 8.2) and use Tomcat 5.

    In my class that extends context, I use the methods : IData result = super.invoke(“packageName.ServicesApp”, serviceName, IDataVariable);

    But I have the following error :
    com.wm.app.b2b.server.ServiceException: [ISS.0026.9102] Service ‘packageName.OracleJdbc:connect’ is not operational. To run this service, first recompile the Java source.

    When I try the service from webMethods (Packages > Management > Services > connect > Test; with inputs and without inputs), I have the same error.

    How could I solve this error please ?

    Best regards and thanks.


    #webMethods
    #API-Management
    #API-Portal


  • 2.  RE: To run this service, first recompile the Java source

    Posted 04/28/18 09:36 PM

    As per the error, did you compile the java service by saving it (compilation), once compiled and class java class will be generated.


    #webMethods
    #API-Management
    #API-Portal


  • 3.  RE: To run this service, first recompile the Java source

    Posted 04/30/18 04:25 AM

    I will do it, thanks for your reply.


    #API-Management
    #API-Portal
    #webMethods


  • 4.  RE: To run this service, first recompile the Java source

    Posted 04/30/18 06:00 AM

    The error was caused by java 1.8, with Java 1.6 it work


    #API-Management
    #webMethods
    #API-Portal


  • 5.  RE: To run this service, first recompile the Java source

    Posted 04/30/18 12:13 PM

    webMethods does not work with JDK 8 ?


    #webMethods
    #API-Management
    #API-Portal


  • 6.  RE: To run this service, first recompile the Java source

    Posted 05/02/18 05:44 AM

    webMethods 8.2 does not work with Java 8, it’s why I got this error. (source : [url]http://tech.forums.softwareag.com/techjforum/posts/list/53676.page[/url])


    #API-Management
    #webMethods
    #API-Portal


  • 7.  RE: To run this service, first recompile the Java source

    Posted 05/02/18 03:21 PM

    Hi Ludovic,

    you can compile the java service with jdk 8, but you will have to specify “-target 6” option to generate JDK 6 compatible class.

    See “javac -help” for further informations.

    There should be an “Invalid Class File Version Exception” somewhere in the logs.

    Each Major JDK version uses a different class file version which are backwards compatible but not forwards.
    This means, classes compiled with and/or for older JDK versions will still be working in newer JVMs but not vice versa, as these might contain language features not yet available in the byte code representation of the older JVM.

    Regards,
    Holger


    #API-Portal
    #API-Management
    #webMethods