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.

 View Only
  • 1.  Java Service compile problem with Service Designer

    Posted Wed February 16, 2022 02:00 PM

    What product/components do you use and which version/fix level?

    webMethods Service Designer 10.11

    Are you using a free trial or a product with a customer license?

    free trial

    What are trying to achieve? Please describe in detail.

    I am trying to create a basic java service

    Do you get any error messages? Please provide a full error message screenshot and log file.

    The server starts up, I am presented with a list of packages, I create a new one, “MWTest”, I then create a folder, “javaServices”. I then create a Java Service which is created with basic template code, however it appears that Service Designer attempts to immediately compile the java class and I get the following error:

    Cannot run program “javac”: CreateProcess error=206, The filename or extension is too long

    The workspace and Service Designer install locations are both on very short paths with no spaces in them. I am unsure how to proceed and remedy this problem to continue evaluating Service Designer.


    #Integration-Server-and-ESB
    #Service-Designer
    #webMethods


  • 2.  RE: Java Service compile problem with Service Designer

    Posted Wed February 16, 2022 02:55 PM

    This seems to be an Eclipse (Designer is built on Eclipse) issue.
    Try these options out (link)

    KM


    #webMethods
    #Integration-Server-and-ESB
    #Service-Designer


  • 3.  RE: Java Service compile problem with Service Designer

    Posted Wed February 16, 2022 03:53 PM

    Thank you. I tried searching the error and found many of the same links you pointed to. The issue, however, is that I have no idea what path to shorten. Neither my workspace nor the installation path of Service Designer are on long paths. They are, in fact, directly off the root of my drive and the error itself does not indicate what file, specifically, is on too long of a path.


    #webMethods
    #Service-Designer
    #Integration-Server-and-ESB


  • 4.  RE: Java Service compile problem with Service Designer

    Posted Wed February 16, 2022 09:32 PM

    Also, as I’m new to this environment, I just realized that the error that is occurring when I “save” the java service is happening on the “server” as I’m seeing the exception from the server’s console output.


    #Integration-Server-and-ESB
    #Service-Designer
    #webMethods


  • 5.  RE: Java Service compile problem with Service Designer

    Posted Wed February 16, 2022 09:55 PM

    More information. It appears that the java file is compiling in the workspace, but it isn’t on the integration server. This aligns with the above information regarding the error showing up in the server console.


    #webMethods
    #Service-Designer
    #Integration-Server-and-ESB


  • 6.  RE: Java Service compile problem with Service Designer

    Posted Thu February 17, 2022 11:41 AM

    Hi Matt,
    When you say you see the exception from the server’s console output, is there something corresponding to this on the Integration Server’s server logs, or the error logs? ( From the IS Administrator UI, you can check Logs->Server, Logs->Error).
    You can also check the Designer error log ( Windows->Show View-> Error Log), to see if there is more information than just
    the one line.

    -NP


    #webMethods
    #Integration-Server-and-ESB
    #Service-Designer


  • 7.  RE: Java Service compile problem with Service Designer

    Posted Thu February 17, 2022 12:54 PM

    I was seeing the error in the “Console” frame of the Service Designer.

    Ultimately, this may be a permissions issue. I will reinstall (again) and try to use location for the server and workspace that are known to be owned by my locally logged in user and see if the issue persists.


    #Integration-Server-and-ESB
    #webMethods
    #Service-Designer