Menu

#21 isValid() not available under R5

domingo-1.5.1
open-fixed
5
2008-02-20
2008-02-20
Kurt Riede
No

I am getting NoSuchMethodError when trying to call getSession.

I am DIIOP from tomcat. I have a JSP where I allow the users to input some details and these details are then saved to Domino server (remote) using Domingo (thru DIIOP).

First time I come to the page and hit submit, it creates the document on the domino server successfully. It gives Session.isValid()Z (NoSuchMethodError) if, I try to submit second time onwards. If I restart the tomcat server. It again works fine for the first time.

I debugged and I came down to the code in domingo if (session == null || !session.isValid())

First time session is null so no problem, second it evaluates session.isValid().

Now I am using domingo1.4. I have following jars in the classpath in that order

domingo1.4.jar, NSCOW.jar, Notes.jar

I kept Notes.jar as I saw that Session class in NSCOW.jar does not have isValid method. It is present in session class of Notes.jar

I am sure I am missing something here. Please guide me to get this corrected.

Thanks,
Satish

Discussion

  • Kurt Riede

    Kurt Riede - 2008-02-20
    • labels: 839447 --> proxy implementation
    • milestone: 803422 --> domingo-1.5.1
    • status: open --> open-fixed
     
  • Kurt Riede

    Kurt Riede - 2008-03-26

    Logged In: YES
    user_id=484961
    Originator: YES

    A fix for this bug is available in CVS HEAD

     

Log in to post a comment.

MongoDB Logo MongoDB