Hi All,

I have been using Struts for a few years successfully but here I am founding
an issue when trying to configure an application based upon Struts in a new
server.

The underlying software/packages include:
- Ubuntu
- Java 1.6
- Tomcat 5.5.26
- Struts 1.3.8

I am getting the following exception when dropping a war file under webapps
of Tomcat.

-   Resource org/apache/struts/action/ActionResources_en_GB.properties Not
Found.
-   Resource org/apache/struts/action/ActionResources_en.properties Not
Found.
- The /WEB-INF/web.xml was not found.
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
        at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
        at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
        at java.net.Socket.connect(Socket.java:546)
        at java.net.Socket.connect(Socket.java:495)

down the log there is more information on the stack trace as follows:

- Unable to initialize Struts ActionServlet due to an unexpected exception
or error thrown, so marking the servlet as unavailable.  Most likely, this
is due to an incorrect or missing library dependency.
javax.servlet.ServletException: Connection timed out
        at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1788)
        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:349)
        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

I have a second server where we do the development that it is configured
exactly the same in terms of packages and it works fine. 

Any ideas/clues would be very much appreciated.

Thanks in advance,
Fernando

-- 
View this message in context: 
http://old.nabble.com/ActionServlet-fails-to-intialize-tp29523289p29523289.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to