aspose file tools
The moose likes Struts and the fly likes javax.servlet.UnavailableException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "javax.servlet.UnavailableException" Watch "javax.servlet.UnavailableException" New topic
Author

javax.servlet.UnavailableException

veera babu
Greenhorn

Joined: Jun 15, 2010
Posts: 2
Hi

i'm trying to run a sample apluication using struts.

when i try to run on tomcat5.5 , i'm getting following error..


Jun 15, 2010 7:40:12 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\sys\MyEclipse 6.0\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin
Jun 15, 2010 7:40:12 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 15, 2010 7:40:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 640 ms
Jun 15, 2010 7:40:12 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 15, 2010 7:40:12 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jun 15, 2010 7:40:12 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 15, 2010 7:40:15 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jun 15, 2010 7:40:15 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jun 15, 2010 7:40:16 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='com.yourcompany.struts.ApplicationResources', returnNull=true
Jun 15, 2010 7:40:16 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jun 15, 2010 7:40:16 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jun 15, 2010 7:40:20 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='com/myapp/struts/ApplicationResource', returnNull=true
Jun 15, 2010 7:40:20 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Jun 15, 2010 7:40:20 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /Web threw load() exception
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.initApplicationPlugIns(ActionServlet.java:965)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:447)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Jun 15, 2010 7:40:20 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 15, 2010 7:40:20 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 15, 2010 7:40:20 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null
Jun 15, 2010 7:40:20 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jun 15, 2010 7:40:20 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8596 ms





please suggest me
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Impossible to say with the information provided. Increase the logging level and provide some configuration information, including the version of Struts.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javax.servlet.UnavailableException