Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 72289 invoked from network); 4 Oct 2004 17:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Oct 2004 17:34:53 -0000 Received: (qmail 30069 invoked by uid 500); 4 Oct 2004 17:34:27 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 30013 invoked by uid 500); 4 Oct 2004 17:34:27 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 29981 invoked by uid 99); 4 Oct 2004 17:34:27 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of niall.pemberton@blueyonder.co.uk designates 195.188.213.7 as permitted sender) Received: from [195.188.213.7] (HELO smtp-out4.blueyonder.co.uk) (195.188.213.7) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 04 Oct 2004 10:34:25 -0700 Received: from DELL1800 ([82.43.169.235]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 4 Oct 2004 18:34:47 +0100 Message-ID: <01a601c4aa39$3993c5a0$0200a8c0@DELL1800> From: "Niall Pemberton" To: "Struts Users Mailing List" References: Subject: Re: Plugin problem upgrading 1.1 --> 1.2.4 Date: Mon, 4 Oct 2004 18:40:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-OriginalArrivalTime: 04 Oct 2004 17:34:47.0781 (UTC) FILETIME=[71D3C150:01C4AA38] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry, everything looks fine from what your've posted - can't think of anything else, except to say go through an double check your deployment. Niall ----- Original Message ----- From: "Gurjinder Bal" To: Sent: Monday, October 04, 2004 5:45 PM Subject: Re: Plugin problem upgrading 1.1 --> 1.2.4 > I don't think that there is anything goin wrong in between. The strange > thing is that the init() method gets called but the debug on the properties > shows null for both: > > > public void init(ActionServlet parm1, ModuleConfig parm2) throws > javax.servlet.ServletException { > DigesterDriver digester = new DigesterDriver(); > try { > > logger.debug("businessDelegatesPath - "+businessDelegatesPath); > logger.debug("digesterRulesPath - "+digesterRulesPath); > InputStream input = > parm1.getServletContext().getResourceAsStream(businessDelegatesPath); > ....... > > so the plugin gets called but the setter for the props never get called as i > have debug in them too which never show up in the logs: > > When i downgrade everything to 1.1 it works. > > From what you've said I'm [retty sure tha I messing something up in the > config. here is the servlet config for good measure TIA > > > action > org.apache.struts.action.ActionServlet > > config > /WEB-INF/struts-config.xml > > > convertNull > true > > > debug > 2 > > > detail > 2 > > > validate > true > > > > > > >From: "Niall Pemberton" > >Reply-To: "Struts Users Mailing List" > >To: "Struts Users Mailing List" > >Subject: Re: Plugin problem upgrading 1.1 --> 1.2.4 > >Date: Mon, 4 Oct 2004 17:38:46 +0100 > > > >I am using both the standard tiles and validator plugins plus some custom > >Plugins of my own in Struts 1.2.4 and have had no problems at all with the > >upgrade from 1.1. > > > >Are you sure something else isn't going wrong first when you app starts up > >so that the PlugIn initialization isn't even being reached. Check the logs. > > > >Notes on upgrading are here: > > > > http://wiki.apache.org/struts/StrutsUpgrade > > > > > >Niall > > > >----- Original Message ----- > >From: "Gurjinder Bal" > >To: > >Sent: Monday, October 04, 2004 5:10 PM > >Subject: Plugin problem upgrading 1.1 --> 1.2.4 > > > > > > > Hi, > > > > > > When upgrading from from 1.1 to 1.2.4 the plugin element in the > > > struts-config seems to start malfunctioning in tha thte set-property > >ceases > > > to function. The setters for the properties never get called. > > > > > > here is the plugin entry: > > > > > > > > value="/WEB-INF/businessdelegateconfig.xml" /> > > > > > value="/WEB-INF/configrules.xml" /> > > > > > > > > > here are the property namea in my config implementation (they have > >setters > > > too): > > > > > > public class ConfigPlugin implements PlugIn { > > > private static Logger logger = Logger.getLogger(ConfigPlugin.class); > > > private String businessDelegatesPath = null; > > > private String digesterRulesPath = null; > > > ........ > > > > > > this works fine under 1.1 but does the setters do not get called under > >1.2.4 > > > > > > I believe that the TilesPlugin is also being affected - but cannot debug > >to > > > make sure. > > > > > > Is anybody else affected oir is there some gotcha that i need to be > >aware > >of > > > when upgrading. > > > > > > cheers > > > > > > Jin Bal > > > > > > _________________________________________________________________ > > > Stay in touch with absent friends - get MSN Messenger > > > http://www.msn.co.uk/messenger > > > > > > > > > --------------------------------------------------------------------- > > > 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 > > > > _________________________________________________________________ > Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo > > > --------------------------------------------------------------------- > 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