webMethods

webMethods

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.  Error: Cannot define schema ...

    Posted Wed November 03, 2004 10:01 PM

    I am attempting to define a schema from within the Schema Editor. The error is long and complicated, and I have no clue what it means. A search on the net and the forums has not helped. This is the error I receive:

    Define Tamino Schema (TSD)
    started November 3, 2004 3:12:45 PM CST
    Cannot define schema “PersonSchema”.
    Details
    com.softwareag.tamino.db.API.accessor.TQueryException( message: null, tag: JavaTaminoAPI_4_2_0_52, java: 1.4.2_02, os: Windows 2000 5.0 ):

    at com.softwareag.tamino.db.API.accessor.TSchemaDefinition3AccessorImpl.getSchemaNames(Unknown Source)
    at com.softwareag.xtools.common.taminoSelector.TaminoCollection.getChildren(Unknown Source)
    at com.softwareag.xtools.common.taminoSelector.TaminoCollection.createSchema(Unknown Source)
    at com.softwareag.xtools.schematools.schemaeditor.components.File.FileService.defineSchema(Unknown Source)
    at com.softwareag.xtools.schematools.schemaeditor.components.File.FileService.doDefineSchema(Unknown Source)
    at com.softwareag.xtools.schematools.schemaeditor.components.File.FileService.doDefineDBSchema(Unknown Source)
    at com.softwareag.xtools.schematools.schemaeditor.components.File.FileService.actionPerformed(Unknown Source)
    at com.softwareag.xtools.common.framework.service.common.AbstractSharedAction.fireActionEvent(Unknown Source)
    at com.softwareag.xtools.common.framework.service.menuaction.MenuAction.fireActionEvent(Unknown Source)
    at com.softwareag.xtools.common.framework.service.menuaction.MenuAction.trigger(Unknown Source)
    at com.softwareag.xtools.common.framework.service.menuaction.MenuAction.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: com.softwareag.tamino.db.API.accessor.TQueryException( message: null, tag: JavaTaminoAPI_4_2_0_52, java: 1.4.2_02, os: Windows 2000 5.0 ):

    at com.softwareag.tamino.db.API.accessor.TStreamAccessorImpl.query(Unknown Source)
    … 36 more
    Caused by: com.softwareag.tamino.db.API.invocation.TInvocationException( message: Exception retrieving the response stream!., tag: JavaTaminoAPI_4_2_0_52, java: 1.4.2_02, os: Windows 2000 5.0 ):

    at com.softwareag.tamino.db.API.invocation.TAbstractInvocation.doTemplateInvoke(Unknown Source)
    at com.softwareag.tamino.db.API.invocation.TAbstractInvocation.invoke(Unknown Source)
    at com.softwareag.tamino.db.API.accessor.TAbstractAccessor.invoke(Unknown Source)
    … 37 more
    Caused by: com.softwareag.tamino.db.API.invocation.http.THTTPCommunicationException( message: HTTP communication failure. ResponseCode: 404, messageText: Object Not Found, tag: JavaTaminoAPI_4_2_0_52, java: 1.4.2_02, os: Windows 2000 5.0 ):

    at com.softwareag.tamino.db.API.invocation.http.THTTPInvocation.getInputStream(Unknown Source)
    at com.softwareag.tamino.db.API.invocation.http.THTTPInvocation.doInvokeReal(Unknown Source)
    at com.softwareag.tamino.db.API.invocation.http.THTTPInvocation.doInvoke(Unknown Source)
    … 40 more
    finished November 3, 2004 3:12:46 PM CST


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: Error: Cannot define schema ...

    Posted Thu November 04, 2004 02:44 PM

    The hint is near the foot of the exception:

    HTTP communication failure. ResponseCode: 404

    meaning you attempting to define to Tamino via a webserver that does not know how to handle http://machine/tamino/…. This is either because you are accessing the wrong web server or the web server does not have the Tamino filter configured (and so that webserver is assuming /tamino is a file system - hence the 404 message).

    Therefore you need to either configure the webserver to handle requests to tamino or use a webserver is already configured.

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: Error: Cannot define schema ...

    Posted Thu November 04, 2004 03:54 PM

    Stuart

    Just a clarification - when you say ‘Tamino filter’ are you referring to the ‘modiis.dll’ filter?

    Also, the test server Tamino is installed on does not have a version of java installed; can you confirm a separate install of java is needed, and if so, which version? We’re running Tamino 4.2.1.1.

    Thanks
    Steven


    #webMethods
    #API-Management
    #Tamino


  • 4.  RE: Error: Cannot define schema ...

    Posted Thu November 04, 2004 05:25 PM

    Steven,

    Quick answers:
    1) yes I mean modiis.dll
    2) java is only needed if you intend to run java based server extensions or the Java based Tamino tools (e.g. schema editor). Refer to Tamino documentation regarding prerequisites.

    Cheers,

    Stuart Fyffe-Collins
    Software AG (UK) Ltd.


    #API-Management
    #Tamino
    #webMethods