Re: common-logging, Struts, Log4j

2003-06-26 Thread Markus Holzem
By default the property-files commons-logging.properties log4j.properties are located in the directory WEB-INF/classes Usually you put them in your workbench in the root of the Java Source directory. If you build with ant you simply copy them there from your chosen source directory Markus rab

Re: Singletons in Tomcat

2003-06-06 Thread Markus Holzem
I usually story Singletons in the ServletContext which is unique for an application. I often think that ServletContext should be better named ApplicationContext because that is actually what it represents. I don't feel comfortable to leave Singletons hanging around on static. variables. The benefit

Struts 1.1 on z/OS with WebSphere Application Server 4.0

2003-06-04 Thread Markus Holzem
Does anyone have experiences with Struts running on an IBM mainframe? I'm particularly interested in WebSphere 4.0 (z/OS, *not* z/Linux). I've tried to find anything in the archive, but I only found references on WebSphere running on Wintel, Linux or Solaris. Since WebSphere on z/OS is only 99.9% c

Re: Validator problem with integers

2003-06-19 Thread Markus Holzem
Hi Brad, use mask instead of integer. That should do the job. Error message states, that the entry is invalid. BTW, arg1 has to be used both for minlength and maxlength since {1} is the argument in the error message. I found that mask can solve nearly all validation problems if they are constr

Double log output from commons-logging with log4j

2003-06-19 Thread Markus Holzem
Hi folks, I'm hunting for some time the cause, why I get double output lines from log... My LogonForm::execute looks similar to: public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

Re: AW: Double log output from commons-logging with log4j

2003-06-19 Thread Markus Holzem
wrote: Try to expand your logging output to ensure it is only one thread working on that request: log4j.appender.Console.layout.ConversionPattern=[%t] (%d{HH:mm:ss,SSS}) %C{4}.%M - %m%n -Ursprüngliche Nachricht- Von: Markus Holzem [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 19. Juni 2003

Re: AW: Double log output from commons-logging with log4j

2003-06-19 Thread Markus Holzem
. Markus Holzem <[EMAIL PROTECTED]To: Struts Users Mailing List <[EMAIL PRO