• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 1.1 - Tomcat 4.1.30 deployment problem

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello!

I keep getting a "HTTP Status 503 - Servlet action is currently unavailable" when I hit an action path. This struts application works fine when deployed in JBoss but Tomcat repeatedly throws a 503, any ideas what is going wrong? is there a problem with the digester version used to parse the struts-config.xml, any knows issues.

Thanks for all the help.

2004-07-27 20:55:29 Loading root WebApplicationContext
2004-07-27 20:55:30 StandardWrapper[/thinui efault]: Loading container servlet default
2004-07-27 20:55:31 StandardWrapper[/thinui:action]: Marking servlet action as unavailable
2004-07-27 20:55:31 StandardContext[/thinui]: Servlet /thinui threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3427)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3628)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

2004-07-27 20:55:31 StandardWrapper[/thinui:invoker]: Loading container servlet invoker
2004-07-27 20:56:03 StandardWrapperValve[action]: Servlet action is currently unavailable
[ July 28, 2004: Message edited by: Mark Spritzler ]
 
Raynil S. Barnett
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is a snippet of my config file, I still keep getting the HTTP status 503 error, tomcat logs report

2004-07-28 08:16:41 StandardContext[/thinui]: Servlet /thinui threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)



-----

C:\jakarta-tomcat-4.1.30\webapps\thinui\WEB-INF\classes\ApplicationResources.properties


-----
web.xml



any ideas what is wrong with struts 1.1 and tomcat 4.1.3
I've seen reports of bugs with the url patterns in Tomcat 4.1.3 <url-pattern>/sk/*</url-pattern>
[ July 28, 2004: Message edited by: Mark Spritzler ]
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Javanil"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Mark Spritzler
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now for other fun Bartender stuff.

I have fixed your post. When you have a CODE tag it will keep all the formatting that is in the text, meaning if there is no carriage returns, then the entire text will be presented as one huge line, just like yours did. You need to make sure you copy the text form a location that will include carriage returns.

It looks like yours might have been a copy from a web browser, or some other location, but not a text editor.

The last part is that this is a Struts question, and not a Servlets question directly. So I need to move this thread to the appropriate forum, which is the Web Applications Frameworks forum.

Good luck and I am sure you will get a great answer there, and also, right now a chance to win the best Struts book out there. IMHO.

Mark
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Raynil S.,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

We request more than an initial for the displayed last name.

Thanks Pardner! Hope to see you 'round the Ranch!
 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did this problem occur on another struts application, when you deploy on Tomcat?
 
Raynil S. Barnett
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Resolution:

In one of the action classes I was attempting to fetch an springframework xml file from the classpath, however the path was wrong and exception thrown was not too helpful, fixed the path to the file and all's fine.
 
reply
    Bookmark Topic Watch Topic
  • New Topic