File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Do Not Understand Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Do Not Understand "/tags/struts-logic" Not Found" Watch "Do Not Understand "/tags/struts-logic" Not Found" New topic
Author

Do Not Understand "/tags/struts-logic" Not Found

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I double checked that
1. struts-logic.tld is in the
C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\MyApplication\WEB-INF\lib
folder
2. in my web.xml file, I have
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
</taglib>
3. in my .jsp files, I have
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
When I ran the application, I had
org.apache.jasper.JasperException: File "/tags/struts-logic" not found
displayed in the browser.
Need your diagnostic help in identifying the cause of the error message. Should I show the Tomcat log file?
Priyanka Chopda
Ranch Hand

Joined: Jul 22, 2003
Posts: 112
can you show us tomcat log file plz?
-PC
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Thank you for being willing to help. Here is the log file:

2003-09-19 22:18:04 WebappLoader[]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\_
2003-09-19 22:18:04 WebappLoader[]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\ROOT\WEB-INF\classes
2003-09-19 22:18:04 StandardManager[]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:04 StandardManager[]: Seeding of random number generator has been completed
2003-09-19 22:18:04 StandardWrapper[:default]: Loading container servlet default
2003-09-19 22:18:04 StandardWrapper[:invoker]: Loading container servlet invoker
2003-09-19 22:18:04 HostConfig[localhost]: Deploying configuration descriptor admin.xml
2003-09-19 22:18:12 HostConfig[localhost]: Deploying configuration descriptor manager.xml
2003-09-19 22:18:12 WebappLoader[/manager]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\manager
2003-09-19 22:18:12 ContextConfig[/manager]: Configured an authenticator for method BASIC
2003-09-19 22:18:12 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:12 StandardManager[/manager]: Seeding of random number generator has been completed
2003-09-19 22:18:12 StandardWrapper[/manager:default]: Loading container servlet default
2003-09-19 22:18:12 StandardWrapper[/manager:invoker]: Loading container servlet invoker
2003-09-19 22:18:12 HostConfig[localhost]: Expanding web application archive artimus_1_1.war
2003-09-19 22:18:12 StandardHost[localhost]: Installing web application at context path /artimus_1_1 from URL file:C:/jakarta-tomcat-4.1.18-LE-jdk14/webapps/artimus_1_1
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\artimus_1_1
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\classes
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-beanutils.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-collections.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-collections.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-dbcp.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-dbcp.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-digester.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-digester.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-fileupload.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-lang.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-lang.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-logging.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-pool.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-pool.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-resources.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-resources.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-scaffold.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-scaffold.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-services.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-services.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/commons-validator.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\commons-validator.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\jakarta-oro.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/jakarta-regexp_1_2.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\jakarta-regexp_1_2.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\jdbc2_0-stdext.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/lucene_1_2.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\lucene_1_2.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/mysql-connector-java-3.0.7-stable-bin.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\mysql-connector-java-3.0.7-stable-bin.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/poolman_2_0_4.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\poolman_2_0_4.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/request.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\request.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/struts-scaffold.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\struts-scaffold.jar
2003-09-19 22:18:12 WebappLoader[/artimus_1_1]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\artimus_1_1\WEB-INF\lib\struts.jar
2003-09-19 22:18:13 ContextConfig[/artimus_1_1]: Configured an authenticator for method BASIC
2003-09-19 22:18:13 StandardManager[/artimus_1_1]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:13 StandardManager[/artimus_1_1]: Seeding of random number generator has been completed
2003-09-19 22:18:13 StandardWrapper[/artimus_1_1:default]: Loading container servlet default
2003-09-19 22:18:15 action: Tiles definition factory loaded for processor ''.
2003-09-19 22:18:15 StandardWrapper[/artimus_1_1:invoker]: Loading container servlet invoker
2003-09-19 22:18:15 HostConfig[localhost]: Expanding web application archive logon.war
2003-09-19 22:18:15 StandardHost[localhost]: Installing web application at context path /logon from URL file:C:/jakarta-tomcat-4.1.18-LE-jdk14/webapps/logon
2003-09-19 22:18:15 WebappLoader[/logon]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\logon
2003-09-19 22:18:15 WebappLoader[/logon]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\logon\WEB-INF\classes
2003-09-19 22:18:15 WebappLoader[/logon]: Deploy JAR /WEB-INF/lib/struts_1_0_2.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\logon\WEB-INF\lib\struts_1_0_2.jar
2003-09-19 22:18:16 StandardManager[/logon]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:16 StandardManager[/logon]: Seeding of random number generator has been completed
2003-09-19 22:18:16 StandardWrapper[/logon:default]: Loading container servlet default
2003-09-19 22:18:16 action: Loading application resources from resource resources.application
2003-09-19 22:18:16 action: Initializing configuration from resource path /WEB-INF/struts-config.xml
2003-09-19 22:18:16 action: Process servletName=action, urlPattern=*.do
2003-09-19 22:18:16 action: Mapping for servlet 'action' = '*.do'
2003-09-19 22:18:16 StandardWrapper[/logon:invoker]: Loading container servlet invoker
2003-09-19 22:18:16 HostConfig[localhost]: Expanding web application archive struts-blank.war
2003-09-19 22:18:16 StandardHost[localhost]: Installing web application at context path /struts-blank from URL file:C:/jakarta-tomcat-4.1.18-LE-jdk14/webapps/struts-blank
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\struts-blank
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\classes
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-beanutils.jar
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-collections.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-collections.jar
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-digester.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-digester.jar
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-fileupload.jar
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-lang.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-lang.jar
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-logging.jar
2003-09-19 22:18:16 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/commons-validator.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\commons-validator.jar
2003-09-19 22:18:17 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\jakarta-oro.jar
2003-09-19 22:18:17 WebappLoader[/struts-blank]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-blank\WEB-INF\lib\struts.jar
2003-09-19 22:18:17 StandardManager[/struts-blank]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:17 StandardManager[/struts-blank]: Seeding of random number generator has been completed
2003-09-19 22:18:17 StandardWrapper[/struts-blank:default]: Loading container servlet default
2003-09-19 22:18:19 StandardWrapper[/struts-blank:invoker]: Loading container servlet invoker
2003-09-19 22:18:19 HostConfig[localhost]: Expanding web application archive struts-documentation.war
2003-09-19 22:18:19 StandardHost[localhost]: Installing web application at context path /struts-documentation from URL file:C:/jakarta-tomcat-4.1.18-LE-jdk14/webapps/struts-documentation
2003-09-19 22:18:19 WebappLoader[/struts-documentation]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\struts-documentation
2003-09-19 22:18:19 WebappLoader[/struts-documentation]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-documentation\WEB-INF\classes
2003-09-19 22:18:19 WebappLoader[/struts-documentation]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-documentation\WEB-INF\lib\struts.jar
2003-09-19 22:18:19 StandardManager[/struts-documentation]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:19 StandardManager[/struts-documentation]: Seeding of random number generator has been completed
2003-09-19 22:18:19 StandardWrapper[/struts-documentation:default]: Loading container servlet default
2003-09-19 22:18:19 StandardWrapper[/struts-documentation:invoker]: Loading container servlet invoker
2003-09-19 22:18:19 HostConfig[localhost]: Expanding web application archive struts-example.war
2003-09-19 22:18:19 StandardHost[localhost]: Installing web application at context path /struts-example from URL file:C:/jakarta-tomcat-4.1.18-LE-jdk14/webapps/struts-example
2003-09-19 22:18:19 WebappLoader[/struts-example]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\struts-example
2003-09-19 22:18:19 WebappLoader[/struts-example]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-example\WEB-INF\classes
2003-09-19 22:18:19 WebappLoader[/struts-example]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-example\WEB-INF\lib\struts.jar
2003-09-19 22:18:20 StandardManager[/struts-example]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:20 StandardManager[/struts-example]: Seeding of random number generator has been completed
2003-09-19 22:18:20 StandardWrapper[/struts-example:default]: Loading container servlet default
2003-09-19 22:18:20 database: Initializing database servlet
2003-09-19 22:18:20 database: Loading database from '/WEB-INF/database.xml'
2003-09-19 22:18:21 action: Loading application resources from resource org.apache.struts.webapp.example.ApplicationResources
2003-09-19 22:18:21 action: Initializing configuration from resource path /WEB-INF/struts-config.xml
2003-09-19 22:18:21 action: Process servletName=action, urlPattern=*.do
2003-09-19 22:18:21 action: Mapping for servlet 'action' = '*.do'
2003-09-19 22:18:21 StandardWrapper[/struts-example:invoker]: Loading container servlet invoker
2003-09-19 22:18:21 HostConfig[localhost]: Expanding web application archive struts-validator.war
2003-09-19 22:18:21 StandardHost[localhost]: Installing web application at context path /struts-validator from URL file:C:/jakarta-tomcat-4.1.18-LE-jdk14/webapps/struts-validator
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\struts-validator
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\classes
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-beanutils.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-collections.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-collections.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-digester.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-digester.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-fileupload.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-lang.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-lang.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-logging.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/commons-validator.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\commons-validator.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\jakarta-oro.jar
2003-09-19 22:18:21 WebappLoader[/struts-validator]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\struts-validator\WEB-INF\lib\struts.jar
2003-09-19 22:18:21 StandardManager[/struts-validator]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:21 StandardManager[/struts-validator]: Seeding of random number generator has been completed
2003-09-19 22:18:21 StandardWrapper[/struts-validator:default]: Loading container servlet default
2003-09-19 22:18:23 StandardWrapper[/struts-validator:invoker]: Loading container servlet invoker
2003-09-19 22:18:23 HostConfig[localhost]: Deploying web application directory PracticeVersion
2003-09-19 22:18:23 StandardHost[localhost]: Installing web application at context path /PracticeVersion from URL file:C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\PracticeVersion
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy class files /WEB-INF/classes to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\classes
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-beanutils.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-collections.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-collections.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-dbcp.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-dbcp.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-digester.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-digester.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-fileupload.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-lang.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-lang.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-logging.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-logging.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-pool.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-pool.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-resources.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-resources.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-scaffold.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-scaffold.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-services.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-services.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/commons-validator.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\commons-validator.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\jakarta-oro.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/jakarta-regexp_1_2.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\jakarta-regexp_1_2.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\jdbc2_0-stdext.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/jstl.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\jstl.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/lucene_1_2.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\lucene_1_2.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/mysql-connector-java-3.0.7-stable-bin.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\mysql-connector-java-3.0.7-stable-bin.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/poolman_2_0_4.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\poolman_2_0_4.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/request.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\request.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/standard.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\standard.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/struts-el.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\struts-el.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/struts-scaffold.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\struts-scaffold.jar
2003-09-19 22:18:23 WebappLoader[/PracticeVersion]: Deploy JAR /WEB-INF/lib/struts.jar to C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\PracticeVersion\WEB-INF\lib\struts.jar
2003-09-19 22:18:25 ContextConfig[/PracticeVersion]: Configured an authenticator for method BASIC
2003-09-19 22:18:25 StandardManager[/PracticeVersion]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:25 StandardManager[/PracticeVersion]: Seeding of random number generator has been completed
2003-09-19 22:18:25 StandardWrapper[/PracticeVersion:default]: Loading container servlet default
2003-09-19 22:18:26 StandardContext[/PracticeVersion]: Servlet /PracticeVersion threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet action threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
----- Root Cause -----
java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1664)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1079)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:257)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:569)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:411)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
2003-09-19 22:18:26 StandardWrapper[/PracticeVersion:invoker]: Loading container servlet invoker
2003-09-19 22:18:26 HostConfig[localhost]: Deploying web application directory tomcat-docs
2003-09-19 22:18:26 StandardHost[localhost]: Installing web application at context path /tomcat-docs from URL file:C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\tomcat-docs
2003-09-19 22:18:26 WebappLoader[/tomcat-docs]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\tomcat-docs
2003-09-19 22:18:26 StandardManager[/tomcat-docs]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:26 StandardManager[/tomcat-docs]: Seeding of random number generator has been completed
2003-09-19 22:18:26 StandardWrapper[/tomcat-docs:default]: Loading container servlet default
2003-09-19 22:18:26 StandardWrapper[/tomcat-docs:invoker]: Loading container servlet invoker
2003-09-19 22:18:26 HostConfig[localhost]: Deploying web application directory webdav
2003-09-19 22:18:26 StandardHost[localhost]: Installing web application at context path /webdav from URL file:C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\webdav
2003-09-19 22:18:26 WebappLoader[/webdav]: Deploying class repositories to work directory C:\jakarta-tomcat-4.1.18-LE-jdk14\work\Standalone\localhost\webdav
2003-09-19 22:18:26 StandardManager[/webdav]: Seeding random number generator class java.security.SecureRandom
2003-09-19 22:18:26 StandardManager[/webdav]: Seeding of random number generator has been completed
2003-09-19 22:18:26 StandardWrapper[/webdav:default]: Loading container servlet default
2003-09-19 22:18:26 StandardWrapper[/webdav:invoker]: Loading container servlet invoker
2003-09-19 22:19:29 Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/web.xml: (line 128, col 19): The content of element type "security-role" must match "(description?,role-name)".
2003-09-19 22:19:29 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: File "/tags/struts-logic" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:105)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:430)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:180)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:800)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /admin
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /webdav
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /struts-validator
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /struts-blank
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /examples
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /struts-example
2003-09-19 22:20:04 action: Finalizing this controller servlet
2003-09-19 22:20:04 database: Finalizing database servlet
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /artimus_1_1
2003-09-19 22:20:04 action: Tiles definition factory found for request processor ''.
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /tomcat-docs
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /struts-documentation
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /PracticeVersion
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /logon
2003-09-19 22:20:04 action: Finalizing this controller servlet
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path /manager
2003-09-19 22:20:04 StandardHost[localhost]: Removing web application at context path

[ September 21, 2003: Message edited by: JiaPei Jen ]
Andrew Kuzmin
Greenhorn

Joined: Aug 28, 2003
Posts: 6
Originally posted by JiaPei Jen:
I double checked that
1. struts-logic.tld is in the
C:\jakarta-tomcat-4.1.18-LE-jdk14\webapps\MyApplication\WEB-INF\lib
folder

Remove the file struts-logic.tld to the folder WEB-INF
--
Andrew Kuzmin
Java201.com
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
Sorry, I do not think that is the problem because in my web.xml file I have:
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
</taglib>
Besides, I am following what Ted Husted's did in the example application of his book "Struts in Action".
Priyanka Chopda
Ranch Hand

Joined: Jul 22, 2003
Posts: 112
3. in my .jsp files, I have
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>

Have yoy tried changing the above uri to
<%@ taglib uri="/WEB-INF/lib/struts-logic" prefix="logic" %>
if not plz try and let me know!
Best of luck
-PC
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I did not believe "/tags/struts-logic not found" was the cause of my problem in the first place. I followed your suggestion, tried to run my application again, and then; I re-typed the statement:

wherever its occurrence is found in the .jsp files. Now, the error message is HTTP Status 500. The root cause is:
java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
Here is the log:

description: The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet action threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)

root cause
java.lang.NoClassDefFoundError: org/apache/struts/legacy/GenericDataSource
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1664)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1079)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
Priyanka Chopda
Ranch Hand

Joined: Jul 22, 2003
Posts: 112
Hi,
Just to make sure have you defined your datasource in my struts_config.xml file and do you have the struts-legacy.jar file in your classpath??
-PC
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
OKay, thanks everbody. The application worked after I placed the struts-legacy.jar file in the ContextRoot/WEB-INF/lib folder.
Arul Jose
Ranch Hand

Joined: Jan 14, 2005
Posts: 131
where to find the struts-legacy.jar? moreover this has not been specified anywhere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do Not Understand "/tags/struts-logic" Not Found