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.  Information about the javafrag file

    Posted Tue March 12, 2002 05:23 PM

    I was doing a test to see if a package could be manually copied into a new environment, file by file. The files copied and were recognized on th target server as a package after performing a reboot.

    Everything looks normal in the new environment after the reboot but I could not compile any of my Java services because of errors within the respective services’ “java.frag” files while trying to save. My Flow code seems to run without error.

    What is “java.frag” and can somebody expound on the topic?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Information about the javafrag file

    Posted Tue March 12, 2002 05:48 PM

    The exact cause of the error depends on what files were copied and which were not.

    You can find information about java.frag files and how they are managed in Appendix I of the B2B Integrator Guide.

    Basically, all the java.frag files are mashed together to create a single Java source file. Each frag file is located in its service directory. The source file is located in [package_dir]/code/source.

    The jcode tool can be used to:

    • create the combined source file from the frag files (jcode comp [packageName])
    • create the frag files from a source file (jcode frag [packageName])
    • compile the Java services (jcode make [packageName])

    Hope this helps.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Information about the javafrag file

    Posted Tue March 12, 2002 09:07 PM

    Thanks, Rob. Would I be able to use the ClearCase tool “clearmake” to compile this code instead of the jcode utility?


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Information about the javafrag file

    Posted Tue March 12, 2002 09:19 PM

    Presumably. As long as it puts the class file in the right spot.

    Be sure to consider JDK versions though. What ClearCase uses vs what jcode uses might cause some compatibility issues when the server tries to run the code.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services