Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Tomcat 5.0.27 - Tiles Servlet - where is it?

Thread view: 
Lyall - 21 Jan 2006 10:23 GMT
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
Lyall - 21 Jan 2006 11:01 GMT
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...
Lyall - 21 Jan 2006 13:21 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.