Tomcat not starting due to Struts?

K

klaus

Hello together,

I have a problem with Tomcat not starting which seems related to using
Struts (but I am not sure if this is true).

During startup Tomcat suddenly doesn't continue after having given out
the following lines:

03.04.2006 10:46:26 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
03.04.2006 10:46:26 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
03.04.2006 10:46:27 org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='myStruts.ApplicationResources',
returnNull=true

I will give you excerpts of my web.xml file, of my struts-config-file
and a list of the jars I am using (cause it seemed to me that some JARS
seemed to cause trouble!)

1) web.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>action</servlet-name>

<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
<taglib>
... taglibs
</taglib>
</web-app>


2) struts-config.xml


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
... form-beans ...
</form-beans>
<global-forwards>
... global-forwards ...
</global-forwards>
<action-mappings>
... action-mappings ...
</action-mappings>
<message-resources null="false" parameter="ApplicationResources"/>
<plug-in className="myStruts.InitPlugin" />
</struts-config>


3) JARs that I am using:

commons-beanutils.jar
commons-digester.jar
javax.servlet.jar
struts.jar
xmlParserAPIs.jar


Please tell me if you notice any mistakes!

Thanks a lot in advance and best regards,

Klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top