aspose file tools*
The moose likes Tomcat and the fly likes I am pissed off with Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I am pissed off with Apache" Watch "I am pissed off with Apache" New topic
Author

I am pissed off with Apache

Simin Druk
Greenhorn

Joined: Sep 22, 2004
Posts: 2
Dear Experts,

I have been using Apache for quite some time now. Some times I get peculiar types of problems that I am often not able to resolve.

I was doing some lab preparation with Tomcat 5.0.24. it was working fine. but all on a sudden I started getting this error. I tried with another version Tomcat 5.0.28 and also 5.0.12 but all versions keep on giving the same error. I restarted my computer but I still get this error.

I am a demonstartor of a lab and often I face this problem with my Tomcat
servers. are this problems due to some mistake of mine? is there anything that I can do to correct this problem when it happens.
please know that most of the times Tomcats run fine, but about 25% time I get this problem. the error I get is the one below or something similar:
please Help me.



SEVERE: An exception or error occurred in the container during the request proce
ssing
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.removeAttribu
te(Ljava/lang/String V
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:278)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
0)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
Have you checked the bug database at http://nagoya.apache.org/bugzilla/index.html
I has a weird problem with Tomcat 5.0.18 and security policy so I went back to Tomcat 4.1.30
before a bartender says anything, your name ss dd does not come anywhere near meeting the ranch name policy. I use my real name here, you can use yours.
Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

before a bartender says anything


Too late!

Seriously "ss dd", William is correct. There are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Simin Druk
Greenhorn

Joined: Sep 22, 2004
Posts: 2
Sorry Mates, I did not notice the naming policy. I will change
it to my nickname immediately.

Thanks for the suggestion on the bugs database. would it help shifting to Tomcat version 4.XXX help me get rid of that weird problem.
My Tomcat was running fine for 10 minutes & all on a sudden it starting to give that error & it happened with atleast 15 machines outof 40 in my lab.

cheers

Simin Druk
Balan Raj
Ranch Hand

Joined: Aug 26, 2003
Posts: 74
I would check my check my classpath to ensure that I'm not messing with the system classpath. Tomcat has to pick the servlet.jar ( or similar) from its own classpath,rather than yours.
Check the tomcat docs for the 'classloading' hierarchy.. its very well documented.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I am pissed off with Apache