"SEVERE: Error listenerStart" indicates that Spring was not able to
start (via the listener you configured in your web.xml) -- this is
probably unrelated to Tapestry (Spring starts up first, and then
Tapestry uses it), and is almost certainly due to a configuration
problem with Spring or something your Spring-beans are using.

Comb through your /WEB-INF/applicationContext.xml file -- whatever's
making Spring unhappy is probably there (bad question, but if you copied
the tutorial exactly, did you create the "com.example.model.Person"
class referenced in it and give it a "name" property with getters and
setters?).  Could be a mis-typed package/class or a malformed XML entry,
or perhaps you're setting up a Hibernate session factory in your Spring
configuration and /that/ has a configuration problem.

If you're using a logging library you could also try adding a logger for
org.springframework.* to see what's wrong with the start-up.

Jim Steinberger
Dynamic Edge, Inc.


-----Original Message-----
From: Human Dunnil [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 3:50 PM
To: [email protected]
Subject: Tapestry4-Spring problem starting the app

Hi folks

I followed the instructions at wiki (Tapestry4Spring) [1] but with no
success. Here is the problem: I deployed the application to the Tomcat
5.5.12 but it can't be started and when I try to start it by click the
start
link from the manager it says at console:

Oct 19, 2005 11:03:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 19, 2005 11:03:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/testst] startup failed due to previous errors

and at manager page:
FAIL - Application at context path /testst could not be started

What is the problem? Did I forget something?
Thanks in advance,
Dunnil

[1] http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring

Here the content of 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";>
<!-- generated by Spindle, http://spindle.sf.net -->


<web-app>
<display-name>testst</display-name>

<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>

<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>

<servlet>
<servlet-name>testst</servlet-name>
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>testst</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>

</web-app>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to