tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Greenawalt <joe.greenaw...@gmail.com>
Subject Re: tomcat 7.0.4 on MAC my app works on Windows get...
Date Tue, 21 Dec 2010 18:04:16 GMT
Some more info, (should have provided first time) and I've attached the log
files after a clean install and a fresh startup:

web.xml:

<context-param>

 <param-name>contextConfigLocation</param-name>

 <param-value>
/WEB-INF/spring/applicationContext.xml,/WEB-INF/spring/securityContext.xml</
param-value>

</context-param>


    <filter>

       <filter-name>UrlRewriteFilter</filter-name>

       <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</
filter-class>

    </filter>

    <filter-mapping>

       <filter-name>UrlRewriteFilter</filter-name>

       <url-pattern>/*</url-pattern>

    </filter-mapping>


 <filter>

  <filter-name>springSecurityFilterChain</filter-name>

  <filter-class>org.springframework.web.filter.DelegatingFilterProxy</
filter-class>

  <init-param>

    <param-name>targetClass</param-name>

    <param-value>org.springframework.security.util.FilterChainProxy</
param-value>

  </init-param>

</filter>

<filter-mapping>

    <filter-name>springSecurityFilterChain</filter-name>

    <url-pattern>/j_spring_security_security_check</url-pattern>

  </filter-mapping>

  <filter-mapping>

    <filter-name>springSecurityFilterChain</filter-name>

    <url-pattern>/j_spring_security_logout</url-pattern>

  </filter-mapping>

  <filter-mapping>

    <filter-name>springSecurityFilterChain</filter-name>

    <url-pattern>/*</url-pattern>

  </filter-mapping>


 <filter>

 <filter-name>openEntityManagerInViewFilter</filter-name>

 <filter-class>
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</
filter-class>

</filter>

<filter-mapping>

 <filter-name>openEntityManagerInViewFilter</filter-name>

 <url-pattern>/*</url-pattern>

 <dispatcher>FORWARD</dispatcher>

 <dispatcher>REQUEST</dispatcher>

</filter-mapping>

<filter>

 <filter-name>struts2</filter-name>

 <filter-class>

 org.apache.struts2.dispatcher.FilterDispatcher

 </filter-class>

</filter>

<filter-mapping>

 <filter-name>struts2</filter-name>

 <url-pattern>/*</url-pattern>

</filter-mapping>

<filter>

 <filter-name>sitemesh</filter-name>

 <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</
filter-class>

</filter>

<filter-mapping>

 <filter-name>sitemesh</filter-name>

 <url-pattern>/*</url-pattern>

 <dispatcher>FORWARD</dispatcher>

 <dispatcher>REQUEST</dispatcher>

</filter-mapping>

<welcome-file-list>

 <welcome-file>welcome.jsp</welcome-file>

</welcome-file-list>

<listener>

 <listener-class>

 org.springframework.web.context.ContextLoaderListener

 </listener-class>

</listener>

    <error-page>

 <error-code>403</error-code>

 <location>/err403.jsp</location>

</error-page>

    <error-page>

        <error-code>404</error-code>

        <location>/err404.jsp</location>

    </error-page>

    <error-page>

        <error-code>500</error-code>

        <location>/err500.jsp</location>

    </error-page>

</web-app>


Here is the lib Folder of Tomcat:

annotations-api.jar  jasper-el.jar                        tomcat-api.jar
catalina-ant.jar     jasper.jar                           tomcat-coyote.jar
catalina-ha.jar      jsp-api.jar                          tomcat-dbcp.jar
catalina-tribes.jar  mysql-connector-java-5.1.13-bin.jar  tomcat-i18n-es.jar
catalina.jar         sapjco3.jar                          tomcat-i18n-fr.jar
ecj-3.6.jar          servlet-api.jar                      tomcat-i18n-ja.jar
el-api.jar           sqljdbc-1.2_0.jar                    tomcat-util.jar

Here is the lib Folder of the deployed app:

activation-1.1.jar
antlr-2.7.6.jar
aopalliance-1.0.jar
axis-1.4.jar
axis-jaxrpc-1.4.jar
axis-saaj-1.4.jar
axis-wsdl4j-1.5.1.jar
bcmail-jdk14-136.jar
bcprov-jdk14-136.jar
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-digester-2.1.jar
commons-discovery-0.2.jar
commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
commons-lang-2.4.jar
commons-logging-1.1.1.jar
delego-1.1.1.jar
dom4j-1.6.1.jar
ejb3-persistence-1.0.2.GA.jar
fedex-ws-1.0.jar
freemarker-2.3.15.jar
hibernate-annotations-3.4.0.GA.jar
hibernate-commons-annotations-3.1.0.GA.jar
hibernate-core-3.3.1.GA.jar
hibernate-entitymanager-3.4.0.GA.jar
itext-2.1.0.jar
jasperreports-3.1.2.jar
javassist-3.4.GA.jar
jcommon-1.0.12.jar
jdtcore-3.1.0.jar
jfreechart-1.0.9.jar
jrim-6.2-20101116.180332-7.jar
jta-1.1.jar
log4j-1.2.15.jar
mail-1.4.jar
mysql-connector-java-5.1.5.jar
ognl-2.7.3.jar
phg-utils-1.1-SNAPSHOT.jar
quartz-1.6.5.jar
sitemesh-2.4.2.jar
slf4j-api-1.4.2.jar
slf4j-log4j12-1.5.2.jar

On Tue, Dec 21, 2010 at 12:04 PM, Joe Greenawalt
<joe.greenawalt@gmail.com>wrote:

> tomcat 7.0.4 on MAC my app works on Windows get...
>
> SEVERE: Exception starting filter struts2
> java.lang.NoClassDefFoundError: Lorg/apache/velocity/app/VelocityEngine;
>
> i have removed all other applications from the webapps and have restarted
> the box.
>
> Application is built with maven, and i used the exact same war file.
>
>
> Any ideas on what to try next?
>
> Thanks,
> Joe
>

Mime
View raw message