Tomcat 5.0.27 - Tiles Servlet - where is it?

L

Lyall

I am very new to Tomcat, jsp and Tiles.
I am trying to use tiles with java server faces.
I have Tomcat 5.0.27 on linux, I have downaloded struts 1.2 and 1.2.8
and I cannot find the TilesServlet
Well, I can but I found it in the management web app in tomcat but I
cant find it in struts.
Has it changed names? Is it a separate downloadable that I seem to be
unable to find? Is it obsolete and nobody has told me?
Any assistance would be appreciated.
....Lyall
 
L

Lyall

I am trying to get the CoreJSF chapter 8 book-viewer-tiles (see
corejsf.com) sample app working
I have the following jars in my WEB-INF/lib directory (probably
overkill at this stage but I am just trying to get something to work)
antlr.jar
commons-beanutils-core.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-fileupload.jar
commons-logging.jar
commons-validator.jar
jakarta-oro.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
log4j.jar
standard.jar
struts.jar

I receive the following error message in my localhost log

2006-01-21 21:11:19 StandardContext[/book-viewer-tiles]Marking servlet
Tiles Servlet as unavailable
2006-01-21 21:11:19 StandardContext[/book-viewer-tiles]Error loading
WebappClassLoader

delegate: false

repositories:

/WEB-INF/classes/

----------> Parent Classloader:

StandardClassLoader

delegate: true

repositories:

----------> Parent Classloader:

StandardClassLoader

delegate: true

repositories:

file:/opt/tomcat5/common/endorsed/xercesImpl.jar

file:/opt/tomcat5/common/endorsed/xml-apis.jar

file:/opt/tomcat5/common/lib/ant-launcher.jar

file:/opt/tomcat5/common/lib/ant.jar

file:/opt/tomcat5/common/lib/commons-collections-2.1.1.jar

file:/opt/tomcat5/common/lib/commons-dbcp-1.2.1.jar

file:/opt/tomcat5/common/lib/commons-el.jar

file:/opt/tomcat5/common/lib/commons-pool-1.2.jar

file:/opt/tomcat5/common/lib/jasper-compiler.jar

file:/opt/tomcat5/common/lib/jasper-runtime.jar

file:/opt/tomcat5/common/lib/jsp-api.jar

file:/opt/tomcat5/common/lib/naming-common.jar

file:/opt/tomcat5/common/lib/naming-factory.jar

file:/opt/tomcat5/common/lib/naming-java.jar

file:/opt/tomcat5/common/lib/naming-resources.jar

file:/opt/tomcat5/common/lib/servlet-api.jar

file:/usr/share/jdbc-mysql/lib/jdbc-mysql.jar

----------> Parent Classloader:

sun.misc.Launcher$AppClassLoader@1813fac





org.apache.struts.tiles.TilesServlet
java.lang.ClassNotFoundException: org.apache.struts.tiles.TilesServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
....etc...
 
L

Lyall

I think I have it sorted - I had to use struts 1.1
TilesServlet does not appear to be in struts 1.2 or above.

If I wanted to use struts 1.2, how do I use TilesServlet? Is it now a
separate package?
....Lyall
 
Joined
Nov 14, 2008
Messages
1
Reaction score
0
whats the problem in tomcat 5.0.27 when struts app are placed inside the webapp and why some jar file are not loading...
 

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
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top