Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 49564 invoked from network); 5 May 2009 16:49:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 16:49:16 -0000 Received: (qmail 34166 invoked by uid 500); 5 May 2009 16:49:12 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 34136 invoked by uid 500); 5 May 2009 16:49:12 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 34126 invoked by uid 99); 5 May 2009 16:49:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 16:49:12 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.92.25] (HELO qw-out-2122.google.com) (74.125.92.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 16:49:02 +0000 Received: by qw-out-2122.google.com with SMTP id 9so6288266qwb.59 for ; Tue, 05 May 2009 09:47:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.137.5 with SMTP id p5mr523580ybn.164.1241542061041; Tue, 05 May 2009 09:47:41 -0700 (PDT) In-Reply-To: <23390995.post@talk.nabble.com> References: <23256858.post@talk.nabble.com> <23389468.post@talk.nabble.com> <23390995.post@talk.nabble.com> Date: Tue, 5 May 2009 12:47:41 -0400 Message-ID: Subject: Re: Upgrading AppFuse to Struts 2.1 From: Wes Wannemacher To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, May 5, 2009 at 12:25 PM, mraible wrote: > > Yes, but I don't have actionPackages configured in web.xml, so I don't > believe it's enabled. > It still might be... Check this section - http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-C= odebehindhelloworld Since your package is named something.action and your class is named SignupAction, I'll bet codebehind is picking it up... -Wes > > Wes Wannemacher wrote: >> >> Matt, >> >> are you combining the conventions plugin with regular XML >> configuration? Because your action is named SignupAction, which >> conventions would pickup, but the input result doesn't appear to >> follow the convention (it should be named signup-input.jsp). I'd poke >> around a bit and see if conventions is picking up that class as an >> action. >> >> -Wes >> >> On Tue, May 5, 2009 at 11:10 AM, mraible wrote: >>> >>> >>> >>> mraible wrote: >>>> >>>> This weekend, I attempted to upgrade AppFuse to use Struts 2.1 (former= ly >>>> using 2.0.11.1). I used the following instructions: >>>> >>>> http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-st= ruts-20x-to-21x.html >>>> >>>> After completing all the steps, I was able to get everything to compil= e >>>> and start. However, the upgrade seems to have failed as the following >>>> issues still remain: >>>> >>>> 1. Users have to login for each page request. >>>> 2. Signup fails with the following error: >>>> >>>> WARN [btpool0-3] VisitorFieldValidator.warn(45) | The visited object i= s >>>> null, VisitorValidator will not be able to handle validation properly. >>>> Please make sure the visited object is not null for VisitorValidator t= o >>>> function properly >>>> WARN [btpool0-3] Dispatcher.warn(49) | Could not find action or result >>>> No result defined for action org.appfuse.webapp.action.SignupAction an= d >>>> result input >>>> >>>> If anyone has advice for how to fix these issues, I'd love to hear it. >>>> You >>>> can find the JIRA issue and patch I tried at: >>>> >>>> http://issues.appfuse.org/browse/APF-1130 >>>> >>>> Thanks, >>>> >>>> Matt >>>> >>> >>> I'm still trying to resolve this issue. The strange thing is my Struts >>> action *does* have an input defined. >>> >>> =A0 =A0 =A0 =A0 >>> =A0 =A0 =A0 =A0 =A0 =A0/ >>> =A0 =A0 =A0 =A0 =A0 =A0/WEB-INF/pages/signup.jsp= >>> =A0 =A0 =A0 =A0 =A0 =A0saveSign= up >>> =A0 =A0 =A0 =A0 >>> >>> Maybe this is caused by a difference b/w 2.0.x and 2.1.x and Spring wit= h >>> the >>> Convention plugin (vs. the Codebehind plugin)? >>> >>> Thanks, >>> >>> Matt >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Upgrading-AppFuse-to-Struts-2.1-tp23256858p233894= 68.html >>> Sent from the Struts - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >>> For additional commands, e-mail: user-help@struts.apache.org >>> >>> >> >> >> >> -- >> Wes Wannemacher >> Author - Struts 2 In Practice >> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more >> http://www.manning.com/wannemacher >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> >> > > -- > View this message in context: http://www.nabble.com/Upgrading-AppFuse-to-= Struts-2.1-tp23256858p23390995.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --=20 Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org