• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet action is not available

 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you put struts jars in the tomcat5.5 ?
 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you check your output directory?
does it contain .class file of your servlet?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mohamed Inayath
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you put the last few lines from the log file of Tomcat to help you better.

Thanks,
Rahul
 
muthu bharathi
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic