Hello, I didn't configure anything. I just research over the internet add the sessionScope as:
<display:table sessionScope="......"......> </display:table> eve Marc_13 wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Take a look at: > http://www.codeczar.com/projects/components/logweb/ > > or just do the same as in > com.yourproject.sample.dao.hibernate.GenericDaoHibernate > and modify eventually log4j configuration in > yourProject/src/main/resources/log4j.xml for configurating log4j. > > Hope this help. > > - -- > Marc > > eveeve a écrit : >> Hello, >> >> I am having the same sort of error and I search over the internet. I am >> suppose to create an init() method in my servlet. Could somebody tell > me if >> the following method is OK: >> >> public void init(ServletConfig config){ >> try{ >> super.init(config) >> Properties props = new Properties(); >> props.load(new FileInputStream(/log4j-1.2.15.jar/)); >> PropertyConfigurator.configure(props); >> >> } >> catch(Exception es) >> { >> es.printStackTrace(); >> } >> >> } >> >> Im I right? Please, Im new to display tags. >> >> Thanks >> >> eve >> >> >> Radim Burget wrote: >>> Hi, >>> could anyone help me please where should be the problem in configuration >>> LOG4J? >>> >>> Thanks in advance. >>> (Problem is not in Appfuse - I am trying to understand Appfuse so I am >>> experimenting...) >>> >>> >>> log4j:WARN Please initialize the log4j system properly. >>> AbandonedObjectPool is used >>> ([EMAIL PROTECTED]) >>> >>> >>> *WEB-INF/classes/log4j.properties* >>> log4j.rootLogger=WARN, console, R >>> log4j.logger.org.apache=WARN >>> log4j.logger.org.hibernate=WARN >>> #log4j.logger.hivemind.examples=DEBUG >>> log4j.logger.xdoclet=WARN >>> log4j.logger.hql=WARN >>> log4j.logger.net.sf=WARN >>> log4j.logger.services=DEBUG >>> log4j.logger.cz.art5p=DEBUG >>> >>> log4j.appender.console=org.apache.log4j.ConsoleAppender >>> log4j.appender.console.layout=org.apache.log4j.PatternLayout >>> # [EMAIL PROTECTED]:mm:ss} >>> %-5p (%c) %3x - %m%n >>> log4j.appender.console.layout.ConversionPattern=TAPESTRY4: %p [%t] >>> %C{1}.%M(%L) | %m%n >>> >>> log4j.appender.R=org.apache.log4j.RollingFileAppender >>> # You can change this to be an absolute path or even an environment >>> variable >>> # If you're using an environment variable, you will have to set >>> JAVA_OPTS >>> # to contain this variables - for example in the catalina.sh or >>> catalina.bat >>> # file >>> log4j.appender.R.File=tapestry4xxx.log >>> log4j.appender.R.MaxFileSize=100KB >>> # Don't keep a backup file >>> log4j.appender.R.MaxBackupIndex=0 >>> log4j.appender.R.layout=org.apache.log4j.PatternLayout >>> log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n >>> >>> >>> *Libraries in WEB-INF/lib:* >>> spring.jar >>> bsf-2.3.0.jar >>> commons-codec-1.3.jar >>> commons-fileupload-1.0.jar >>> commons-logging-1.0.4.jar >>> hivemind-1.1-beta-2.jar >>> hivemind-lib-1.1-beta-2.jar >>> javassist-3.0.jar >>> log4j-1.2.8.jar >>> ognl-2.6.7.jar >>> oro-2.0.8.jar >>> commons-lang-1.0.jar >>> tapestry-4.0-beta-4.jar >>> tapestry-contrib-4.0-beta-4.jar >>> tapestry-annotations-4.0-beta-4.jar >>> antlr-2.7.5H3.jar >>> asm.jar >>> c3p0-0.8.5.2.jar >>> cglib-2.1.jar >>> dom4j-1.6.jar >>> jta.jar >>> oscache-2.1.jar >>> swarmcache-1.0rc2.jar >>> hibernate3.jar >>> acegi-security-0.8.2.jar >>> ehcache-1.1.jar >>> commons-fileupload.jar >>> jakarta-oro.jar >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org > > iD8DBQFHpC+BJchUY2MFUQYRApE2AJ4s/sljVKRE2bjL5S886E8y1eD0iQCeN8/0 > RftVAmPt/V7MJkn/Ck+DNsk= > =xaEv > -----END PGP SIGNATURE----- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/-appfuse-user--log4j----Please-initialize-the-log4j-system-properly.-tp947598s2369p15268935.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
