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.  problem with java using quip

    Posted 05/19/05 08:25 PM

    hi,

    I 'm using quip, in the option/executor path I selected quipJ, but when I test examples with java (javaCalls.xquery) I get the answer : System error: QMachine crashes!

    can this problem come from CLASSPATH variables or not ?
    I’m a complete beginner and I have lots of difficulties using quip

    can someone help me please ?

    :smiley:


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: problem with java using quip

    Posted 05/20/05 10:50 AM

    Hi,
    I tried this and I got a couple of problems but eventually got it working. To fix my problems I had to:

    1. Change the “javacalls.xquery” source to invoke the correct java method names. By default, the package name for class JniTestProg is wrong. As provided, the package.class name is “sep.test.JniTestProg” but the source code for JniTestProg says “package quip.test”. Its up to you how you fix this but I changed the xquery to invoke quip.test.JniTestProg. Then I copied the compiled JniTestProg into a matching directory structure (quip.test) in my classpath. Did you compile JniTestProg?
    2. Check the filespec in javacalls.xquery. BY default it points to C:\QuiP\examples\theater\lll.xml.Change that if necessary.
      Then it works for me.
      HTH

    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: problem with java using quip

    Posted 05/20/05 07:29 PM

    hi bill,
    thanx for your help.

    I’ve have done what you suggested but the problem is not resolved. when executed when quip.exe I get :

    <?xml version="1.0"?>

    <quip:ExecutionError xmlns:quip=“http://namespaces.softwareag.com/tamino/quip/”>
    quip:queryFile
    C:\DOCUME~1\parano\LOCALS~1\Temp\Query64584.tmp
    </quip:queryFile>
    quip:message

    </quip:message>
    </quip:ExecutionError>

    and when executed with quipj.exe, I get :

    System error: QMachine crashes!

    in the directory javacall, I created the directories quip/test. And then I compiled JniTestProg.java in the test folder

    I have also made the modifications you suggested me.

    Is it possible to get more information concerning CLASSPATH ?

    I’m in fact trying to make time measures when I execute X query queries, so that’s why I’m trying to execute some java functions.

    sincerly,

    quippy from France.


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: problem with java using quip

    Posted 05/22/05 02:55 PM

    I forgot to join the error message on the DOS console I get when executing what I wrote in the post above (using QuipJ).

    Thanx a lot for your help.

    quippy.


    #API-Management
    #webMethods
    #Tamino