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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

how to configure Tomcat with Tamino

  • 1.  how to configure Tomcat with Tamino

    Posted Sat February 21, 2004 11:03 AM

    hi all,
    I am quite new for Tamino. After reading the documentation a few times, I am still quite comfusing about server configuration.

    I am using Tomcat as a stand-along web server(without install Apache), and I also install Tamino XML server. For each DB in Tamino, I have assigned Tomcat as the web server in Tamino Manager.

    In order to access the DB through Tomcat web server, do I need to do any server configuration (just like in Apache)? if so, what can I do?

    Your answer is appreciated.

    My system setting is:
    Web server: Tomcat 4.1.29
    XML server: Tamino 3.1.1.4 (no budget for upgrading)
    JDK:1.4.2_03


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: how to configure Tomcat with Tamino

    Posted Mon February 23, 2004 11:24 AM

    … using Tomcat as a stand-along web server …

    Application servers can communicate via HTTP with Tamino databases, but there
    is no need to do so. Since you are using Tomcat, I assume that you are using
    Java.
    Tamino’s Java API is able to communicate directly with Tamino databases.
    Please see chapter “Webserverless Access Via the Tamino API for Java” in the
    Java API documentation.

    > For each DB in Tamino, I have assigned Tomcat as the web server in Tamino Manager …

    Assigning web servers is a security feature, which works only for communication via
    HTTP and for the Data Loader utility. It is not applicable for Webserverless Access.

    > … do I need to do any server configuration

    No.

    All the best,
    Paul


    ------------------------------------------------------------
    Paul Langer E-mail: paul.langer@softwareag.com
    Software AG Phone: +49-6151-92-1912
    Uhlandstra


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: how to configure Tomcat with Tamino

    Posted Thu February 26, 2004 02:35 AM

    dear Paul,

    Thanks for your reply. I have spent a few more days in connection Tamino DBs with a simple Java class without webserver. But the error shows:

    Exception in thread “main” java.lang.NoClassDefFoundError: TryQuery (wron
    vaes/TryQuery)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

    I am quite sure the class vaes.TryQuery is there, can you tell me what’s wrong with this?

    Thanks and Regards,


    #API-Management
    #Tamino
    #webMethods