Thanks Filip,
Yes, I've tried only components in the jar and all classes in the jar;
as well as no classes in WEB-INF/classes in case of dupe problem. All
have the same result as below. Does anyone know how to get more
information from catalina.out? All it says is:
SEVERE: Error filterStart
Any help is appreciated,
Mike Saavedra
Filip S. Adamsen wrote:
Hi,
Have you tried packing everyting from ${app.root}/WEB-INF/classes/
into a JAR and put it in ${app.root}/WEB-INF/lib? That might help.
-Filip
On 2008-08-23 01:06, Mike Saavedra wrote:
I just want a basic webapp to run in tomcat 5.5.26. I install tomcat
and drop in my file structure which looks like this:
${app.root}/
${app.root}/favicon.ico
${app.root}/Index.tml
${app.root}/WEB-INF
${app.root}/WEB-INF/web.xml
${app.root}/WEB-INF/classes
${app.root}/WEB-INF/classes/com
${app.root}/WEB-INF/classes/com/mycompany
${app.root}/WEB-INF/classes/com/mycompany/mypackage
${app.root}/WEB-INF/classes/com/mycompany/mypackage/pages
${app.root}/WEB-INF/classes/com/mycompany/mypackage/pages/Index.class
${app.root}/WEB-INF/classes/com/mycompany/mypackage/services
${app.root}/WEB-INF/classes/com/mycompany/mypackage/services/AppModule$1.class
${app.root}/WEB-INF/classes/com/mycompany/mypackage/services/AppModule.class
${app.root}/WEB-INF/classes/com/mycompany/mypackage/entities
${app.root}/WEB-INF/classes/com/mycompany/mypackage/entities/Room.class
${app.root}/WEB-INF/lib/*.jar
Because it's tomcat I have ${app.root}/WEB-INF/lib/mycomponents.jar
for the Index.class along with the other jars. When I start up tomcat
it starts, but my context fails to load with the following error:
Aug 22, 2008 4:10:52 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Aug 22, 2008 4:10:52 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/myapp] startup failed due to previous errors
My web.xml:
<web-app>
<display-name>Tapestry 5 Application</display-name>
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>com.mycompany.mypackage</param-value>
</context-param>
<filter>
<filter-name>app</filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>app</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>
From what I've googled so far, it seems it could be having trouble
locating TapestryFilter, so I put tapestry jars in
${tomcat}/common/lib. Same thing. I at a loss here because this is
very basic and should work. Can anyone see what I'm missing, or what
might be the problem?
Many thanks,
Mike Saavedra
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]