From photark-dev-return-38-apmail-incubator-photark-dev-archive=incubator.apache.org@incubator.apache.org Sun Oct 05 00:41:46 2008 Return-Path: Delivered-To: apmail-incubator-photark-dev-archive@locus.apache.org Received: (qmail 18842 invoked from network); 5 Oct 2008 00:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2008 00:41:46 -0000 Received: (qmail 37639 invoked by uid 500); 5 Oct 2008 00:41:45 -0000 Delivered-To: apmail-incubator-photark-dev-archive@incubator.apache.org Received: (qmail 37623 invoked by uid 500); 5 Oct 2008 00:41:44 -0000 Mailing-List: contact photark-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: photark-dev@incubator.apache.org Delivered-To: mailing list photark-dev@incubator.apache.org Received: (qmail 37612 invoked by uid 99); 5 Oct 2008 00:41:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2008 17:41:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of luckbr1975@gmail.com designates 72.14.220.154 as permitted sender) Received: from [72.14.220.154] (HELO fg-out-1718.google.com) (72.14.220.154) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2008 00:40:43 +0000 Received: by fg-out-1718.google.com with SMTP id l26so1515728fgb.26 for ; Sat, 04 Oct 2008 17:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zxObx77FpYDJzyHczZiBQ4K5j8hGl1rdvuO5p06/8O0=; b=e8mGPffIs54PaS7vqvavH0EvnEz4f37j/tg5Zuc+ARTDWDyWvmZ1PxqtqdhG/Gxtb7 990hqH8t+1o3eB/6iM+9xjsR1EjS4ygPsQ3bKbTa7diwDZr27TJ1KUV6OBMfS0Sg7E1z iNPxeVbLVHCIQvRrOIOPLVvcTgJA8FEnps6uI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qGKFaB0WAEyxWm59c0OkaL45e8fiGMLyj5PvR66o94H1L5w+OrGnScg+b/uJCdHRz/ +wuOGuAj7laE1MQMpfVvudS++GtIz8c4TDjzUx/LiSiDHxWAFGFW39RhQqHFg22BdXyG Rn4bqKO7z32pMVj7Vrha1n5dL2D2wT2CRENvc= Received: by 10.86.1.11 with SMTP id 11mr2919022fga.27.1223167277869; Sat, 04 Oct 2008 17:41:17 -0700 (PDT) Received: by 10.86.29.10 with HTTP; Sat, 4 Oct 2008 17:41:17 -0700 (PDT) Message-ID: <5a75db780810041741y636f0170odfafef8e5855b1c@mail.gmail.com> Date: Sat, 4 Oct 2008 17:41:17 -0700 From: "Luciano Resende" To: photark-dev@incubator.apache.org Subject: Re: PhotArk Web Application, was Re: distribution method (was: importing photark into eclipse) In-Reply-To: <5a75db780809271508h29b6cc94q92ee238236cf3fe1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5a75db780809242302x2020f02euceac2f1eb53913ea@mail.gmail.com> <16d6c6200809271232l780d667cj66d21af925c1f772@mail.gmail.com> <5a75db780809271508h29b6cc94q92ee238236cf3fe1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I have finalized the migration of the photo gallery to J2EE web application. Although I'm still having issues to run with jetty:run, I have tested the application in Apache Tomcat 6.0.14 and works fine. Please let me know if you guys can deploy and run the application successfully. On Sat, Sep 27, 2008 at 3:08 PM, Luciano Resende wrote: > Sorry, I haven't finished the webapp migration yet. I'll try to finish > over the weekend (nights) :) > > On Sat, Sep 27, 2008 at 12:32 PM, Martin Cooper wrote: >> Hi Luciano, >> >> I finally got time to try this, but it doesn't work for me. I did a 'mvn >> clean install' from photark/trunk, and then followed your instructions >> below. I get a bunch of exceptions when Jetty is starting up, because it's >> unable to find the TuscanyServletFilter class. Trying to access the app >> after that gives me a 503 (which isn't surprising). Any ideas? >> >> -- >> Martin Cooper >> >> >> On Wed, Sep 24, 2008 at 11:02 PM, Luciano Resende wrote: >> >>> I have started the migrating the photo-gallery application to a J2EE >>> webapplication. >>> Things are not all working yet, but the user experience is much more easy >>> now : >>> >>> 1.Add the following to your maven settings file (C:\Documents and >>> Settings\lresende\.m2\settings.xml >>> >>> >>> org.mortbay.jetty >>> >>> >>> 2.in photo-gallery-webapp, start the web application >>> >>> mvn jetty:run >>> >>> 3.access the photo-gallery in the browser >>> >>> http://localhost:8080/photo-gallery-webapp/ >>> >>> I'll try to get the same functionality we had in the web 2.0 >>> application available in the J2EE application in the next couple >>> days... >>> >>> Please let me know if you have questions. >>> >>> On Tue, Sep 23, 2008 at 4:27 PM, Luciano Resende >>> wrote: >>> > On Tue, Sep 23, 2008 at 1:06 PM, Angela Cymbalak >>> wrote: >>> >> I think that I have determined that the problem is a bug somewhere in >>> either >>> >> maven or eclipse because when I use my Linux machine with Eclipse 3.2 it >>> >> imports fine. However, you do ask a good question about how the >>> application >>> >> is going to be run by an end user. >>> >> >>> >> I was originally thinking the application would be an ear file that >>> would be >>> >> deployed on an app server. Any other thoughts on it? >>> > >>> > +1 Either a EAR or a WAR. >>> > >>> >> >>> >> Angie >>> >> >>> >> At 11:59 AM 9/23/2008, Martin Cooper wrote: >>> >>> >>> >>> On Tue, Sep 23, 2008 at 8:30 AM, Angela Cymbalak >>> >>> wrote: >>> >>> >>> >>> > Hi All, >>> >>> > >>> >>> > I've run into a problem between Eclipse and Maven, I suspect. I have >>> >>> > followed Luciano's directions a few times in order to get the project >>> >>> > downloaded. >>> >>> > >>> >>> > Maven fetches everything appropriately and the build appears to be >>> >>> > successful. I have what look to be correct .project and .classpath >>> >>> > files. >>> >>> > My problem is on the import. When I do a straight import of the >>> >>> > project >>> >>> > (File > Import > Existing Projects Into Workspace) the project is >>> >>> > imported >>> >>> > but not as a Java project as it should be. Because it isn't imported >>> as >>> >>> > a >>> >>> > Java project I lose the ability to run the application as needed. >>> >>> > >>> >>> > After several days of googling and reading I haven't been able to >>> find a >>> >>> > way to force Eclipse to recognize that this *is* a java project. I >>> am >>> >>> > using >>> >>> > Eclipse 3.3 on Vista (ick) for my development. Can anyone point me >>> in >>> >>> > the >>> >>> > correct direction? >>> >>> >>> >>> >>> >>> You got further than I did. ;-) I'm not an Eclipse user, and wasn't >>> >>> planning >>> >>> on becoming one any time soon. I followed the instructions to the point >>> of >>> >>> generating the Eclipse files, thinking that I could then take the >>> >>> classpath >>> >>> from that and run the app without Eclipse. However, my jaw dropped when >>> I >>> >>> discovered that the classpath has over 100 jar files in it, and at that >>> >>> point I gave up. (Yes, I know that's wimpy, but I didn't have a lot of >>> >>> time, >>> >>> at that point, to spend on setting up a 100+ entry classpath to try >>> >>> running >>> >>> it some other way.) >>> >>> >>> >>> How would an app like this normally get run, e.g. post-development? I'm >>> >>> not >>> >>> used to massive classpaths (outside an app server, at least). >>> >>> >>> >>> -- >>> >>> Martin Cooper >>> >>> >>> >>> >>> >>> > >>> >>> > Thanks, >>> >>> > Angie >>> >>> > >>> >>> > >>> >>> > >>> >> >>> >> >>> >> >>> > >>> > >>> > >>> > -- >>> > Luciano Resende >>> > Apache Tuscany, Apache PhotArk >>> > http://people.apache.org/~lresende >>> > http://lresende.blogspot.com/ >>> > >>> >>> >>> >>> -- >>> Luciano Resende >>> Apache Tuscany, Apache PhotArk >>> http://people.apache.org/~lresende >>> http://lresende.blogspot.com/ >>> >> > > > > -- > Luciano Resende > Apache Tuscany, Apache PhotArk > http://people.apache.org/~lresende > http://lresende.blogspot.com/ > -- Luciano Resende Apache Tuscany, Apache PhotArk http://people.apache.org/~lresende http://lresende.blogspot.com/