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.  Pass-Thru Servlet and XSL

    Posted Wed February 27, 2002 12:09 PM

    Hi,

    I?m trying to to apply a stylesheet to the result of a Tamino query.
    But query like this
    http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter/tamino/database/collection?_xql=Article&_xslsrc=xsl:stylesheet/stylesheet.xsl
    doesn?t work.

    I recieve the following message:
    Internal Server Error

    This query works without _ xslsrc parameter:
    http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter/tamino/database/collection?_xql=Article

    I can also retrieve a stylesheet from the database:
    http://localhost/servlet/com.softwareag.tamino.API.servlet.TaminoFilter/tamino/database/collection/xsl:stylesheet/stylesheet.xsl

    Can someone tell me what might be wrong here?


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: Pass-Thru Servlet and XSL

    Posted Wed February 27, 2002 01:01 PM

    try expanding localhost
    to the full name of the machine

    mycomputer.mycompany.com

    or the IP address


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: Pass-Thru Servlet and XSL

    Posted Wed February 27, 2002 01:41 PM

    it doesn’t work with the IP address and the full name of the machine :confused:


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: Pass-Thru Servlet and XSL

    Posted Wed February 27, 2002 06:15 PM

    GG,

    is there any more information in the Servlet Engine’s log file(s), or only “Internal Server Error” ?

    Thanks,
    Trevor


    #webMethods
    #API-Management
    #Tamino


  • 5.  RE: Pass-Thru Servlet and XSL

    Posted Thu February 28, 2002 09:38 AM

    Hi,

    there is some more information in the Servlet Engine’s log file:

    (ERROR)ajp12: Servlet Error: java.lang.NoClassDefFoundError: com/jclark/xml/sax/Driver: com/jclark/xml/sax/Driver
    (ERROR)an error returned handling request via protocol “ajpv12”

    Thanks,
    GG


    #webMethods
    #Tamino
    #API-Management


  • 6.  RE: Pass-Thru Servlet and XSL

    Posted Thu February 28, 2002 12:01 PM

    Hi,

    did you add the following entries to the jserv.properties file (see also the installation description):

    wrapper.classpath=\servlets\passthru.jar
    wrapper.classpath=\bin\sax.jar
    wrapper.classpath=\bin\xp.jar
    wrapper.classpath=\bin\xt.jar

    You have to replace + with the corresponding path names on your pc.

    Best Regards,
    Christine


    #API-Management
    #webMethods
    #Tamino


  • 7.  RE: Pass-Thru Servlet and XSL

    Posted Thu February 28, 2002 01:02 PM

    It works now. Thank you.
    The problem was the wrong order of entries in the
    jserv.properties file.


    #Tamino
    #API-Management
    #webMethods