• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Servlet action is not available

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you check your output directory?
does it contain .class file of your servlet?
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Oh, sure, you could do that. Or you could eat some pie. While reading this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic