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.  reload server classpath while system is up

    Posted 03/19/08 10:45 AM

    Hi all,

    Thanks for reading the thread.

    In our current environment, we use Java Beans and DROOLS to enrich messages.
    We generate classes named after the incoming doctype.
    We call a service to instantiate the bean, match the rules, and enrich the message. The service selects the bean to instantiate based on the doctype we are passing along in the input.

    Everything works fine, nice and performant.

    However, the problem is related to the maintenance. We are loading the beans in the server classpath so that we can transport new versions of the package throughout the different environments, without taking along the bean- which is config in the end (we could also just load the bean in the package classpath). This avoids having development beans in the production environment.
    However, we cannot afford to restart the server everytime a new doctype is created.

    What we would like to do, is load the bean in the server classpath once we have imported it, without bringing the IS down.

    We were looking at the ServerClassLoader object, but not sure if it can do what we want- can’t find any relevant doc on it either.

    Anybody have an idea if this is feasible, or any other bright ideas to tackle the problem?

    Thanks for all the input!

    Loïc


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


  • 2.  RE: reload server classpath while system is up

    Posted 03/21/08 10:51 PM

    I don’t think you can reload the server classpath without a restart, but if you place your jar file in the code/jars directory of a package, a reload of the package should load them. Anything in IntegrationServer/lib/jars requires a server restart.


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


  • 3.  RE: reload server classpath while system is up

    Posted 04/02/08 02:51 PM

    ok thanks for your input anyway - will let you know if there is a way to achieve it


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