Here is a post from the Struts mailing list concerning the problem with
commons-logging.jar and the struts 1.1b1 version.


-----Original Message-----
From: Ren Bitonio [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 20:21
To: 'Struts Users Mailing List'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Weblogic 5.1 + commons.logging - HERE'S THE ANSWER!

Dean,

I believe you are talking about Struts version 1.1Beta1.  If so, then that
version of commons-logging.jar has a classloader problem issue, that does
not work smoothly with Weblogic 5.1.  I had this problem earlier with WLS61
SP2 and later resolved it.

You need to swap out your commons-logging.jar.  I believe the 5/9 nightly
build was the first edition to resolve this problem, as I checked its source
code to see if LogFactory class was fixed, regarding which classloader to
use and load the factory implementation.  It worked!  The latest ones should
work as well.

By the way, other than getting a newer jar file, there is another
workaround, which is placing the original jar file in the Weblogic's
globalclasspath, yet this is not the preferred route. 

Give it a try, and let me know how it works out.

Good luck,
Ren

-----Original Message-----

From: "DEMERS Jean Francois (Consulting for ACCOR Hotels)"
         <[EMAIL PROTECTED]>
Reply-To: "DEMERS Jean Francois (Consulting for ACCOR Hotels)"
         <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed, 17 Jul 2002 13:49:57 +0200
Subject: [MVC-Programmers] Struts 1.1 and Weblogic 6.1

Has anyone been able to install Struts 1.1 with WebLogic 6.1?  I tried to
install it a couple of weeks ago but was getting an error related to Log4J
when launching WebLogic (I don't remember the exact error though).  I read
somewhere that it was a known problem but since I couldn't find any work
around, I gave up and decided to stay with Struts 1.0.2.  If anyone knows
what to do to resolve the problem, I'd really like to know.

Since I'm using Struts 1.0.2, what would be the best way to achieve this:
Let's say I have a simple JSP on which the user has to enter a quantity of
something.  When the user clicks "Submit", I need a second JSP that will
dynamically generate as many "<html:text>" as the specified quantity.  The
problem is, what name do I specified in each of the "<html:text>" and how do
I handle that in my form bean?  I tried to give them all the same name and
having my getter and setter to deal with a String[] instead of a String but
it wouldn't work.  It would be easy with the index in Struts 1.1 but I don't
know how to do it with Struts 1.0.2.

Sorry for my english...  I just hope it's clear enough...

Thanks in advance,
JF Demers



        
**********************************************************************  
Ce message électronique et tous les fichiers joints ainsi que  les
informations contenues dans ce message (ci après "le message"), sont
confidentiels et destinés exclusivement à l'usage de la  personne à laquelle
ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le
renvoyer à son émetteur et de le détruire. Toute diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que ce soit non
expressément autorisées de ce message, sont interdites.  
        
**********************************************************************  
This e-mail, any attachments and the information contained (herein " the
message") are confidential and intended solely for the use of the
addressee(s) if you have received this message in error please send it back
to the sender and delete it. Unauthorized publication, use, dissemination or
disclosure, either whole or partial, of this  message is strictly
prohibited.
_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.basebeans.com:8081/mailman/listinfo/mvc-programmers

Reply via email to