RE: Unable to get Struts working with Tomcat and Apache - NoSuchM ethodError (Day 3)

2001-10-03 Thread David Stewart
Title: RE: Unable to get Struts working with Tomcat and Apache - NoSuchM	ethodError (Day 3)





Rick,
I didn't have the problem running in standalone using the localhost:8080 only with mod_jk.


David Stewart
Director of Product Development
Phone: 512.305.0173
Fax: 512.305.0175
mailto:[EMAIL PROTECTED]



-Original Message-
From: Rick Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 03, 2001 9:08 AM
To: [EMAIL PROTECTED]
Subject: Re: Unable to get Struts working with Tomcat and Apache - NoSuchM ethodError (Day 3)


Is this only a problem running with mod_jk or does it happen standalone,
too?


Rick



David Stewart wrote:


> I have had similar problems.  The fix that worked for me was append the
> JkMount /*.do ajp13 at the end of the httpd.conf file for Apache.  This
> seemed to solve the problem I was having.  Hope this helps.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 03, 2001 6:32 AM
> To: [EMAIL PROTECTED]
> Subject: Unable to get Struts working with Tomcat and Apache -
> NoSuchMethodError (Day 3)
>
>
> Hello,
>
> I apologize for this duplicate post and its length, but I have not received
> much input on my first post, so I am trying again with some additional
> information.
>
> My environment is as follow:
>
> Struts 1.0
> Tomcat 3.2.3
> Apache 1.3.14
> Windows 2000
> mod_jk implemented and working
>
> I am a new-bie to the Struts world, but not Tomcat and Apache.  I followed
> the instructions in the installations (tomcat-apache.conf). However, I must
> have missed something somewhere since when I try to run an example like
> struts-example, I am encountering the below error, NoSuchMethodError. I
> have
> included the JkMount /*.do ajp13 in my mod_jk.conf-prod file referenced by
> Apache, and it appears correct.
>
> I have enabled "debug" for the jasper.log file.  I did the following
> test to
> validate the configuration:
> 1.  First I hit the standard examples provided by Tomcat to ensure
> that they are still working correctly and they are.
> 2.  Hit "struts-documentation" and it worked as expected.
> 3.  Hit the "struts-example" webapp, I got the error show below,
> NoSuchMethodError.
>
> I have included a copy the jasper.log, servlet.log, and the error produced
> for anyone's input on this.  It appears from the log that the request is
> failing at the point it references the "Handling Directive: taglib
> {uri=/WEB-INF/struts-bean.tld, prefix=bean}", but everything appears to be
> in place.
>
> Since I am new to the Struts world, I feel sure that it is something that I
> missed in the setup/configuration of Struts, but I have been through the
> documentation for 3 days now trying several different approaches but still
> am unable to get this to work.
>
> Any assistance in resolving this matter is greatly appreciated.
>
> Regards,
>
> Todd G. Nist
> Email:   [EMAIL PROTECTED]
>
> <- jasper.log ->
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:32 - Scratch dir for the JSP engine is:
> D:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fexamples
> 2001-10-03 07:26:32 - IMPORTANT: Do not modify the generated servlets
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:33 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:33 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:35 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:36 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:36 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:37 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:27:20 - JspEngine --> /jsp/snp/snoop.jsp
> 2001-10-03 07:27:20 -    ServletPath: /jsp/snp/snoop.jsp
> 2001-10-03 07:27:20 -   PathInfo: null
> 2001-10-03 07:27:20 -   RealPath:
> D:\jakarta-tomcat-3.2.3\webapps\examples\jsp\snp\snoop.jsp
> 2001-10-03 07:27:20 - RequestURI: /examples/jsp/snp/snoop.jsp
> 2001-10-03 07:27:20 -    QueryString: null
> 2001-10-03 07:27:20 - Request Params:
> 2001-10-03 07:27:20 - Classpath according to the Servlet Engine is:
> D:\jakarta-tomcat-3.2.3\webapps\examples\WEB-INF\classes
> 2001-10-03 07:27:20 - Package name is: jsp.snp
> 2001-10-03 07:27:20 - Class file name is:
> D:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fexamples\_0002fjsp_0002f

Re: Unable to get Struts working with Tomcat and Apache - NoSuchM ethodError (Day 3)

2001-10-03 Thread Rick Smith

Is this only a problem running with mod_jk or does it happen standalone, 
too?

Rick


David Stewart wrote:

> I have had similar problems.  The fix that worked for me was append the 
> JkMount /*.do ajp13 at the end of the httpd.conf file for Apache.  This 
> seemed to solve the problem I was having.  Hope this helps.
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 03, 2001 6:32 AM
> To: [EMAIL PROTECTED]
> Subject: Unable to get Struts working with Tomcat and Apache -
> NoSuchMethodError (Day 3)
> 
> 
> Hello,
> 
> I apologize for this duplicate post and its length, but I have not received
> much input on my first post, so I am trying again with some additional
> information.
> 
> My environment is as follow:
> 
> Struts 1.0
> Tomcat 3.2.3
> Apache 1.3.14
> Windows 2000
> mod_jk implemented and working
> 
> I am a new-bie to the Struts world, but not Tomcat and Apache.  I followed
> the instructions in the installations (tomcat-apache.conf). However, I must
> have missed something somewhere since when I try to run an example like
> struts-example, I am encountering the below error, NoSuchMethodError. I 
> have
> included the JkMount /*.do ajp13 in my mod_jk.conf-prod file referenced by
> Apache, and it appears correct.
> 
> I have enabled "debug" for the jasper.log file.  I did the following 
> test to
> validate the configuration:
> 1.  First I hit the standard examples provided by Tomcat to ensure
> that they are still working correctly and they are.
> 2.  Hit "struts-documentation" and it worked as expected. 
> 3.  Hit the "struts-example" webapp, I got the error show below,
> NoSuchMethodError.
> 
> I have included a copy the jasper.log, servlet.log, and the error produced
> for anyone's input on this.  It appears from the log that the request is
> failing at the point it references the "Handling Directive: taglib
> {uri=/WEB-INF/struts-bean.tld, prefix=bean}", but everything appears to be
> in place.
> 
> Since I am new to the Struts world, I feel sure that it is something that I
> missed in the setup/configuration of Struts, but I have been through the
> documentation for 3 days now trying several different approaches but still
> am unable to get this to work.
> 
> Any assistance in resolving this matter is greatly appreciated.
> 
> Regards,
> 
> Todd G. Nist
> Email:   [EMAIL PROTECTED]
> 
> <- jasper.log ->
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:32 - Scratch dir for the JSP engine is:
> D:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fexamples
> 2001-10-03 07:26:32 - IMPORTANT: Do not modify the generated servlets
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:32 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:33 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:33 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:35 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:36 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:36 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:26:37 - Parent class loader is: AdaptiveClassLoader(  )
> 2001-10-03 07:27:20 - JspEngine --> /jsp/snp/snoop.jsp
> 2001-10-03 07:27:20 -ServletPath: /jsp/snp/snoop.jsp
> 2001-10-03 07:27:20 -   PathInfo: null
> 2001-10-03 07:27:20 -   RealPath:
> D:\jakarta-tomcat-3.2.3\webapps\examples\jsp\snp\snoop.jsp
> 2001-10-03 07:27:20 - RequestURI: /examples/jsp/snp/snoop.jsp
> 2001-10-03 07:27:20 -QueryString: null
> 2001-10-03 07:27:20 - Request Params:
> 2001-10-03 07:27:20 - Classpath according to the Servlet Engine is:
> D:\jakarta-tomcat-3.2.3\webapps\examples\WEB-INF\classes
> 2001-10-03 07:27:20 - Package name is: jsp.snp
> 2001-10-03 07:27:20 - Class file name is:
> D:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fexamples\_0002fjsp_0002fsnp_00 
> 
> 02fsnoop_0002ejspsnoop.class
> 2001-10-03 07:27:20 - Java file name is:
> D:\jakarta-tomcat-3.2.3\work\localhost_8080%2Fexamples\_0002fjsp_0002fsnp_00 
> 
> 02fsnoop_0002ejspsnoop_jsp_0.java
> 2001-10-03 07:27:20 - Class name is:
> _0002fjsp_0002fsnp_0002fsnoop_0002ejspsnoop_jsp_0
> 2001-10-03 07:27:20 - Accepted org.apache.jasper.compiler.Parser$Expression
> at D:\jakarta-tomcat-3.2.3\webapps\examples\jsp\snp\snoop.jsp(9,20)
> 2001-10-03 07:27:20 - Accepted org.apache.jasper.compiler.Parser$Expression
> at D:\jakarta-tomcat-3.2.3\webapps\examples\jsp\snp\snoop.jsp(11,13)
> 2001-10-03 07:27:20 - Accepted org.apache.jasper.compiler.Parser$Expression
> at D:\jakarta-tomcat-3.2.3\webapps\examples\jsp\snp\snoop.jsp(13,18)
> 2001-10-03 07:27:20 - Accepted org.apache.jasper.compiler.Parser$Expression
> at D:\jakarta-tomcat-3.2.3\webapps\exampl