Author
Servlet action is not available
muthu bharathi
Ranch Hand
Joined: Dec 10, 2008
Posts: 97
Hi,
im working in one application, that same application is working in tomcat5.0 with jdk1.4
if i change this application into tomcat5.5 with jdk1.5, it shows the 404 error
in that application i used struts 1.1. i was checked the path, action mapping etc...
--
with thanks
M. bharathi
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
you put struts jars in the tomcat5.5 ?
muthu bharathi
Ranch Hand
Joined: Dec 10, 2008
Posts: 97
hi,
already i was having struts.jar in tomcat5.5 still im getting error
First of all i want to know the compatible struts version for tomcat 5.5 and jdk1.5
--
M. bharathi
Surya Kant
Ranch Hand
Joined: Mar 29, 2005
Posts: 104
Did you check your output directory?
does it contain .class file of your servlet ?
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted Mar 13, 2009 09:46:23
0
seetharaman venkatasamy wrote: you put struts jars in the tomcat5.5 ?
The application server's library should not be polluted with 3rd party JAR files. It's simply asking for trouble.
Regarding to your problem: please read the appserver logs.
Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
Mohamed Inayath
Ranch Hand
Joined: Nov 22, 2004
Posts: 124
seetharaman venkatasamy wrote: you put struts jars in the tomcat5.5 ?
Please share web.xml of the application.
And let me know with what URL you accessing the application.
Rahul Juneja
Ranch Hand
Joined: Aug 03, 2002
Posts: 425
Can you put the last few lines from the log file of Tomcat to help you better.
Thanks,
Rahul
Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
muthu bharathi
Ranch Hand
Joined: Dec 10, 2008
Posts: 97
Hi,
Below is my logfile lines... help me ... very urgent
Mar 16, 2009 10:07:43 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Mar 16, 2009 10:07:43 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Mar 16, 2009 10:07:46 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Mar 16, 2009 10:07:46 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
--
with regards
M. Bharathi
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
muthu bharathi wrote: First of all i want to know the compatible struts version for tomcat 5.5 and jdk1.5
struts version is nothing to do with tomcat 5.5 and jdk1.5 , and can you tell when you get the 404 ,please elaborate your situation
muthu bharathi
Ranch Hand
Joined: Dec 10, 2008
Posts: 97
Hi,
I got the following error:
type Status report
message Servlet action is not available
description The requested resource (Servlet action is not available) is not available.
--
With Thanks
M. Bharathi
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
Hi muthu barathi ,
check struts-config.xml throughly [whether it is correct order or not] . and also this thread may give some clue about your problem
muthu bharathi
Ranch Hand
Joined: Dec 10, 2008
Posts: 97
Hi,
Thanks for all your guidance...
i have got the output. the problem is in XercesImpl.jar.......
I need one more clarification .. for JDK1.5 i need the XercesImpl.jar file..
because, if i remove the XercesImpl.jar from the lib folder i got the output. if i add it it shows the same error
please help me
--
With Thanks
M. Bharati
muthu bharathi
Ranch Hand
Joined: Dec 10, 2008
Posts: 97
Hi guys,
I got the output. the only reason the common/endorsed folder does not contain the xercesImpl.jar file..
but i dont know the reason. can anyone tell me what is the reason behind that...
Thanks a lot for your guidance
--
with thanks
M. Bharathi
subject: Servlet action is not available