Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat not starting due to Struts?

Reply
Thread Tools

Tomcat not starting due to Struts?

 
 
klaus
Guest
Posts: n/a
 
      04-03-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse interference due to a program starting up? john royce Computer Support 16 07-03-2009 06:14 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C++ 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C Programming 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui Python 0 04-27-2009 12:46 PM
How to due with "warning LNK4075: ignoring '/INCREMENTAL' due to Fresh C++ 2 04-22-2008 09:03 PM



Advertisments