App Connect

App Connect

Join this online user 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.


#Applicationintegration
#App Connect
#AppConnect
 View Only
  • 1.  failed to deploy java code

    Posted Tue October 31, 2023 01:47 AM

    Hello  All,

    Has anyone faced issue like below.?

    BIP4505E: Failed to deploy Java code resource   The Java class deployed to the Java Compute Node must be public and extend MbJavaComputeNode. The Java stack trace is: '{1}'

    my class is public and it extends the mbjavacomputenode

    Please help with inputs.



    ------------------------------
    madhu ram
    ------------------------------


  • 2.  RE: failed to deploy java code

    Posted Wed November 01, 2023 06:27 AM

    Hello madhu

    Could you maybe paste the java code? 

    The class should look like this:
    import com.ibm.broker.javacompute.MbJavaComputeNode;
    import com.ibm.broker.plugin.*;

    public class MyJavaComputeNode extends MbJavaComputeNode {
        public void evaluate(MbMessageAssembly inAssembly, MbMessageAssembly outAssembly) throws MbException {
              // Your logic here
         }
    }

    Regards,

    Kjetil



    ------------------------------
    Kjetil Svihus
    ------------------------------



  • 3.  RE: failed to deploy java code

    Posted Wed November 01, 2023 08:44 AM

    I do not keep record about the error messages that I encounter.

    Is your code part of a subflow? 

    Every now and then the issue get mentioned in some trouble shouting threads.

    How do you deploy the bar file?

    Both, the issue and solution is not well documented.



    ------------------------------
    Matthias Jungbauer
    ------------------------------