klaeuschen41
Mitglied
Hallo zusammen,
seit kurzem bleibt Tomcat in der Startup-Phase stecken. Die letzten System-Ausgaben haben mit Struts zu tun, so dass ich vermute, dass es etwas damit zu tun hat:
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
Hier Auszüge aus meinem web.xml file, meinem struts-config-file und eine Liste der JARS, die ich für Struts benutze (ich habe einige andere JARs entfernt, da sie mir Probleme zu machen schienen und scheinbar nicht gebrauht werden ...)
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, die ich verwende:
commons-beanutils.jar
commons-digester.jar
struts.jar
Bitte sagt Bescheid, falls jemandem etwas auffällt, was falsch ist / sein könnte! Schlage mich schon seit einer Woche mit diesem Problem herum und bin echt am Verzweifeln!
Gruß,
Klaus
seit kurzem bleibt Tomcat in der Startup-Phase stecken. Die letzten System-Ausgaben haben mit Struts zu tun, so dass ich vermute, dass es etwas damit zu tun hat:
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
Hier Auszüge aus meinem web.xml file, meinem struts-config-file und eine Liste der JARS, die ich für Struts benutze (ich habe einige andere JARs entfernt, da sie mir Probleme zu machen schienen und scheinbar nicht gebrauht werden ...)
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, die ich verwende:
commons-beanutils.jar
commons-digester.jar
struts.jar
Bitte sagt Bescheid, falls jemandem etwas auffällt, was falsch ist / sein könnte! Schlage mich schon seit einer Woche mit diesem Problem herum und bin echt am Verzweifeln!
Gruß,
Klaus
Zuletzt bearbeitet: