Hi, Timothy:

Thank you for identifying the problem and providing
suggestions. I replaced 5.0.27 with tomcat-jni.jar from
5.0.19. With this change, I am  able to test JSP with
JDBC/JNDI.

Peter




                      Timothy Suh
                      <[EMAIL PROTECTED]>          To:       [EMAIL PROTECTED]
                      Sent by:                 cc:       (bcc: Peter Lin/BNA Inc)
                      AOLserver                Subject:  Re: [AOLSERVER] nsjk2 - 
SEVERE error message.
                      Discussion
                      <[EMAIL PROTECTED]
                      RV.AOL.COM>


                      08/19/2004 03:34
                      PM
                      Please respond to
                      AOLserver
                      Discussion






There seems to be a bug with tomcat 5.0.27 specifically with
tomcat-jni.jar package (see explanation below). I will
report the bug to
tomcat folks.

Solution is to use tomcat-5.0.19 which I know works. Other
versions
between 5.0.27 and 5.0.19 may also work if they do not
contain the bug.
I also tried replacing 5.0.27 with tomcat-jni.jar from
5.0.19. That
worked too. Of course, not sure if tomcat will behave
overall. But this
is another option if you must use 5.0.27.

Boring explanation follows:

Basically, signature does not match. Looking at source code
(MsgContext.java and ChannelSocket.java) for both 5.0.19 and
5.0.27, the
problem is that

ChannelSocket.java has

Public class ChannelSocket extends JkHandler
....
    MsgContext ep = new MsgContext()
    ep.setSource(this);

this is fine when

MsgContext.java (5.0.19)

   public final void setSource(JkHandler ch)

however you get NoSuchMethod error when

MsgContext.java (5.0.27)

   public final void setSource(JkChannel ch)

Peter Lin wrote on 8/19/2004, 12:27 PM:

 > Hi, Timothy:
 >
 > Here is my environment information.
 >
 > platform                           --> Solaris 2.8
 > aolserver version --> 4.0.7
 > tomcat version    --> 5.0.27
 > nsjk2             --> v2 beta 3
 > tools used for building (ant, java) --> ant 1.6.2


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can
leave the Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to