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.  modify.jsp with 2 doctype problem

    Posted Fri April 02, 2004 03:39 PM

    X-Application Version: 4.1.1, 3.1.3
    Tamino Version : 4.1.1, 3.1
    Platform : Win2k, WinXP, Solaris, Linux, …
    WebContainer : Tamocat 4.1.1, Tomcat 3.3.1
    JDK Version : 1.4.1, 1.3.1

    Hi,

    I have created the following pages and work ok whit 2 doctype .

    1)create
    2)delete
    3)view

    When I try to commit action in page modify i
    have the error:

    Minor Environment Exception

    A minor environment problem occurred in the application program.
    Normally this problem is solved after a retry of the operation.
    Error message: Trying to make changes to docid=NodeLocation[prove;;autori;7;2;2004-04-02T15:07:07Z] while docid=NodeLocation[prove;;pseudo;7;2;2004-04-02T15:07:07Z] is currently referenced.
    Help message: This error may occur if you used the Back button. Then document on your browser may be different to the document on server side.
    Exception class: com.softwareag.xtools.xapplication.common.XException


    Help me please !!!


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: modify.jsp with 2 doctype problem

    Posted Mon April 05, 2004 10:47 AM

    Difficult to say …

    What’s the setting of the “CODED” context-param in your web.xml?
    Could you post the JSP code of the action that fails? And some action code that works …

    Michael

    Software AG Germany, Darmstadt


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: modify.jsp with 2 doctype problem

    Posted Mon April 05, 2004 03:07 PM

    Hi,
    my web.xml is standard…

    CODED
    true


    Into my modify.jsp i have 2 form

    the first form from doctype A
    and the second from doctype b

    the “commit” and the “abandon” button send information about the attribute “document=a,b” .

    modify.jsp like this structure:

    xapp:module
    <xapp:form document=“a”>

    <xapp:action form=“form1” type=“commit” document=“a,b”

    <xapp:action form=“form1” type=“abandon” document=“a,b”>

    <xapp:form document=“b”/>

    </xapp:form>
    </xapp:module>

    my page is equal to invoice example…

    Michele


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: modify.jsp with 2 doctype problem

    Posted Tue April 06, 2004 02:39 PM

    Your code looks ok.

    Do you have an html form tag on your page? You need both xapp:form and html form …

    If you html form is ok: could you post your jsp pages/schema for me to reproduce the problem?

    Michael

    Software AG Germany, Darmstadt


    #webMethods
    #API-Management
    #Tamino