[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: /struts2examples/themes and Struts2-3-16
From:       Chris <christalkto () yahoo ! fr>
Date:       2013-12-17 15:48:15
Message-ID: 1387295295.32483.YahooMailNeo () web171401 ! mail ! ir2 ! yahoo ! com
[Download RAW message or body]


I guess I know, now. 


It's the 4's team :
Netbeans 7 - Tomcat 7 - Struts2.3.16 - DEBUG level in log4j.xml for com.opensymphony 


The Themes example is not the only one , with which I found thousand of lines in view \
server output. On my own old PC , more than 10 mn for 340 000 lines 

   
The problem does not happen If I change only one thing in the 4's team. ( Netbeans \
6.5 , or GlassFish 3.1.2 , or INFO level ) 

I prefer INFO level. ;-)

Regards



Le Lundi 16 décembre 2013 10h15, Lukasz Lenart <lukaszlenart@apache.org> a écrit :
 
Hm... I'm using Maven to handle all the dependencies so I don't know
what can be wrong on your side.

Right now the template folder must be placed under classpath to work
(or it can be placed under webapp if you copied the whole parent
template) - but I have solution how to solve that problem as well.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/12/16 Chris <christalkto@yahoo.fr>:
> Hello Łukasz,
> I tried this morning on a faster PC, and it works !!!!
> But there is a long long long output with Apache Tomcat ( View Serveur Output ) and \
> I obtain no less than 333 400 lines in 2 mn. With my own PC (old)XP it was much \
> more long and I had to stop this output 
> I don't know why I have those 333 400 lines, with some another examples too.
> May be something is wrong with my 13 jar files ?
> I 'll try another download....
> 
> 23/11/2013   17:55       asm-3.3.jar
> 23/11/2013   17:55       asm-commons-3.3.jar
> 23/11/2013   17:55       asm-tree-3.3.jar
> 23/11/2013   17:57       commons-fileupload-1.3.jar
> 23/11/2013   17:55       commons-io-2.2.jar
> 23/11/2013   17:55       commons-lang3-3.1.jar
> 23/11/2013   17:55       commons-logging-1.1.3.jar
> 23/11/2013   17:57       freemarker-2.3.19.jar
> 23/11/2013   17:55       javassist-3.11.0.GA.jar
> 23/11/2013   17:57       log4j-1.2.17.jar
> 23/11/2013   17:55       ognl-3.0.6.jar
> 30/11/2013   11:42       struts2-core-2.3.16.jar
> 30/11/2013   11:39       xwork-core-2.3.16.jar
> And for debugging_struts sample
> 30/11/2013   12:00       struts2-config-browser-plugin-2.3.16.jar
> 
> 
> 
> I saw also the whole template folder was moved. ( not the same as the old sample )
> 
> Regards,
> Chris
> 
> 
> 
> 
> 
> Le Lundi 16 décembre 2013 7h42, Lukasz Lenart <lukaszlenart@apache.org> a écrit :
> 
> Ok, so you see changes in checkboxlist.ftl - I also moved the whole
> template folder from webapp directory to resources, you must see the
> change. Also use clean & redeploy in NetBeans - I'm using command line
> to build and deploy the new war.
> 
> 
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> 2013/12/15 Chris <christalkto@yahoo.fr>:
> > Hello,
> > 
> > Sorry, I didn't find any solution.
> > Struts 2 Themes and Struts 2.3.16 are not working ( Netbeans 7 and Tomcat 7
> > )
> > I believe I have to stop my tests.
> > 
> > But old version ( Struts2 Themes before 2013-12-13 ) and Struts 2.3.15.3
> > only are working.
> > 
> > 
> > The new files checkboxlist.ftl and theme.properties are differents since
> > 2013-12-13
> > and are not working with Struts2
> > ==========================================================================
> > checkboxlist.ftl before 2013-12-13
> > <#include "/${parameters.templateDir}/xhtml/controlheader.ftl" />
> > <#include "/${parameters.templateDir}/KUTheme_simple/checkboxlist.ftl" />
> > <#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" /><#nt/>
> > 
> > theme.properties   before 2013-12-13
> > parent = xhtml
> > ==========================================================================
> > checkboxlist.ftl    after 2013-12-13
> > <#include
> > "/${parameters.templateDir}/${parameters.expandTheme}/controlheader.ftl" />
> > <#include "/${parameters.templateDir}/KUTheme_simple/checkboxlist.ftl" />
> > <#include
> > "/${parameters.templateDir}/${parameters.expandTheme}/controlfooter.ftl"
> > /><#nt/
> > 
> > theme.properties   after 2013-12-13
> > parent = KUTheme_simple
> > ==========================================================================
> > 
> > 
> > Sometimes, with Strut2.3.16, Apache log gives a loop like this one
> > 2013-12-15 19:49:42,984 DEBUG
> > com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:72 -
> > Entering nullPropertyValue
> > [target=[org.apache.struts.edit.action.EditAction@10a6001,
> > com.opensymphony.xwork2.DefaultTextProvider@1c68b6f], property=org]
> > 2013-12-15 19:49:43,328 DEBUG
> > com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor.debug:72 -
> > Entering getProperty (ognl.OgnlContext@44569547,AttributeMap
> > {request={struts.request_uri=/st2_ex_14_themes/edit.action,
> > __cleanup_recursion_counter=1,
> > javax.servlet.forward.request_uri=/st2_ex_14_themes/edit.action,
> > struts.valueStack=com.opensymphony.xwork2.ognl.OgnlValueStack@e00321,
> > struts.actionMapping=ActionMapping{name='edit', namespace='/',
> > method='null', extension='action', params=null, result=null},
> > struts.view_uri=/edit.jsp, javax.servlet.forward.servlet_path=/edit.action,
> > javax.servlet.forward.context_path=/st2_ex_14_themes}, session={},
> > application={org.apache.jasper.compiler.ELInterpreter=org.apache.jasper.compiler.ELInterpreterFactory$DefaultELInterpreter@10ce397,
> >  org.apache.catalina.jsp_classpath=/D:/NetBeansProjects/struts-2.3.15.3/struts2exa \
> > mples.15.3/14_themes/build/web/WEB-INF/classes/;/D:/NetBeansProjects/struts-2.3.15 \
> > .3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/asm-3.3.jar;/D:/NetBeansPr \
> > ojects/struts-2.3.15.3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/asm-co \
> > mmons-3.3.jar;/D:/NetBeansProjects/struts-2.3.15.3/struts2examples.15.3/14_themes/ \
> > build/web/WEB-INF/lib/asm-tree-3.3.jar;/D:/NetBeansProjects/struts-2.3.15.3/struts \
> > 2examples.15.3/14_themes/build/web/WEB-INF/lib/commons-fileupload-1.3.jar;/D:/NetB \
> > eansProjects/struts-2.3.15.3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/ \
> > commons-io-2.2.jar;/D:/NetBeansProjects/struts-2.3.15.3/struts2examples.15.3/14_th \
> > emes/build/web/WEB-INF/lib/commons-lang3-3.1.jar;/D:/NetBeansProjects/struts-2.3.1 \
> > 5.3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/commons-logging-1.1.3.jar;/D:/NetBeansProjects/struts-2.3.15.3/struts2examples.15.3/14_the
> >  mes/build/web/WEB-INF/lib/freemarker-2.3.19.jar;/D:/NetBeansProjects/struts-2.3.1 \
> > 5.3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/javassist-3.11.0.GA.jar;/ \
> > D:/NetBeansProjects/struts-2.3.15.3/struts2examples.15.3/14_themes/build/web/WEB-I \
> > NF/lib/log4j-1.2.17.jar;/D:/NetBeansProjects/struts-2.3.15.3/struts2examples.15.3/ \
> > 14_themes/build/web/WEB-INF/lib/ognl-3.0.6.jar;/D:/NetBeansProjects/struts-2.3.15. \
> > 3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/struts2-core-2.3.16.jar;/D: \
> > /NetBeansProjects/struts-2.3.15.3/struts2examples.15.3/14_themes/build/web/WEB-INF/lib/xwork-core-2.3.16.jar;/C:/Program
> >  Files/Apache Software Foundation/apache-tomcat-7.0.39/lib/;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/annotations-api.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/catalina-ant.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/catalina-ha.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/catalina-tribes.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/catalina.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/ecj-4.2.1.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/el-api.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/jasper-el.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/jasper.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/jsp-api.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/servlet-api.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/tomcat-api.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/tomcat-coyote.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/tomcat-dbcp.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/tomcat-i18n-es.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/tomcat-i18n-fr.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/tomcat-i18n-ja.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/lib/tomcat-jdbc.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/lib/tomcat-util.jar;/C:/Program
> > Files/Apache Software
> > Foundation/apache-tomcat-7.0.39/bin/bootstrap.jar;/C:/Program Files/Apache
> > Software Foundation/apache-tomcat-7.0.39/bin/tomcat-juli.jar;/C:/Program
> > Files/Java/jdk1.6.0_20/jre/lib/ext/dnsns.jar;/C:/Program
> > Files/Java/jdk1.6.0_20/jre/lib/ext/localedata.jar;/C:/Program
> > Files/Java/jdk1.6.0_20/jre/lib/ext/sunjce_provider.jar;/C:/Program
> > Files/Java/jdk1.6.0_20/jre/lib/ext/sunmscapi.jar;/C:/Program
> > Files/Java/jdk1.6.0_20/jre/lib/ext/sunpkcs11.jar,
> > org.apache.jasper.compiler.TldLocationsCache=org.apache.jasper.compiler.TldLocationsCache@1290ef4,
> >  org.apache.jasper.runtime.JspApplicationContextImpl=org.apache.jasper.runtime.JspApplicationContextImpl@171ef98,
> >  javax.servlet.context.tempdir=C:\Program Files\Apache Software
> > Foundation\apache-tomcat-7.0.39\work\Catalina\localhost\st2_ex_14_themes,
> > org.apache.tomcat.InstanceManager=org.apache.catalina.core.DefaultInstanceManager@169674,
> >  org.apache.tomcat.util.scan.MergedWebXml=<?xml version="1.0"
> > encoding="UTF-8"?>
> > <web-app xmlns="http://java.sun.com/xml/ns/javaee"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> > http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
> > version="2.4"
> > metadata-complete="true">
> > 
> > <display-name>Themes Struts 2</display-name>
> > 
> > <filter>
> > <filter-name>struts2</filter-name>
> > 
> > <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
> >  <async-supported>false</async-supported>
> > </filter>
> > 
> > <filter-mapping>
> > <filter-name>struts2</filter-name>
> > <url-pattern>/*</url-pattern>
> > </filter-mapping>
> > 
> > 
> > <servlet>
> > <servlet-name>jsp</servlet-name>
> > <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
> > <init-param>
> > <param-name>fork</param-name>
> > <param-value>false</param-value>
> > </init-param>
> > <init-param>
> > <param-name>xpoweredBy</param-name>
> > <param-value>false</param-value>
> > </init-param>
> > <init-param>
> > <param-name>mappedfile</param-name>
> > <param-value>true</param-value>
> > </init-param>
> > <load-on-startup>3</load-on-startup>
> > </servlet>
> > <servlet>
> > <servlet-name>default</servlet-name>
> > 
> > <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
> > <init-param>
> > <param-name>debug</param-name>
> > <param-value>0</param-value>
> > </init-param>
> > <init-param>
> > <param-name>listings</param-name>
> > <param-value>false</param-value>
> > </init-param>
> > <load-on-startup>1</load-on-startup>
> > </servlet>
> > 
> > <servlet-mapping>
> > <servlet-name>jsp</servlet-name>
> > <url-pattern>*.jsp</url-pattern>
> > </servlet-mapping>
> > <servlet-mapping>
> > <servlet-name>jsp</servlet-name>
> > <url-pattern>*.jspx</url-pattern>
> > </servlet-mapping>
> > <servlet-mapping>
> > <servlet-name>default</servlet-name>
> > <url-pattern>/</url-pattern>
> > </servlet-mapping>
> > 
> > <session-config>
> > <session-timeout>30</session-timeout>
> > <cookie-config>
> > </cookie-config>
> > </session-config>
> > 
> > 
> > Le Dimanche 15 décembre 2013 10h59, Lukasz Lenart <lukaszlenart@apache.org>
> > a écrit :
> > Hi,
> > 
> > I cannot reproduce the problem, everything works as expected with my
> > changes to the themes example - tried with Jetty and Tomcat 7 and
> > JBoss 7.1 - works like charm.
> > 
> > 
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org

> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic