Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 59593 invoked from network); 8 Nov 2003 00:55:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Nov 2003 00:55:26 -0000 Received: (qmail 94671 invoked by uid 500); 8 Nov 2003 00:54:53 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 94643 invoked by uid 500); 8 Nov 2003 00:54:52 -0000 Mailing-List: contact struts-user-help@jakarta.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 struts-user@jakarta.apache.org Received: (qmail 94628 invoked from network); 8 Nov 2003 00:54:52 -0000 Received: from unknown (HELO mail31.internethostingsolutions.com) (69.49.100.31) by daedalus.apache.org with SMTP; 8 Nov 2003 00:54:52 -0000 Received: from dbgroups.com (s142-179-180-163.ab.hsia.telus.net [142.179.180.163]) (authenticated bits=0) by mail31.internethostingsolutions.com (8.12.10/8.12.9) with ESMTP id hA80sxHm005637 for ; Fri, 7 Nov 2003 19:54:59 -0500 (EST) X-Authenticated-User: batien.duong.dbgroups.com Message-ID: <3FAC3F4E.8020304@dbgroups.com> Date: Fri, 07 Nov 2003 17:56:46 -0700 From: BaTien Duong User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Struts-chain References: <3FAC241F.400@dbgroups.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------020000000608050505080309" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------020000000608050505080309 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Vic Cekvenich wrote: > > > BaTien Duong wrote: > > > i am able to have struts-chain example (the old > >> struts-example with struts-chain built from cvs) up and running using >> j2sdk1.4.2_02 and tomcat 5.0.14. > > > > Where did you find an example of using a Struts chain? > > .V The struts-example is in cvs/jakarta-struts/contrib/struts-chain or in the nightly built of struts-src /jakarta-struts/contrib/struts-chain There is a built.properties and built.xml to create struts-example war file using struts-chain. The build process is terrible, so you need to hack it. Here are the steps i used: 1) use maven to build jetspeed-2 so i get portlet-api-1.0.jar in my local .maven/repository. Do not use the one in struts-chain build (I thing 0.6-dev) 2) use maven to build commons-chain, so i get commons-chain-0.1.jar in my local repository. Do not use the one in struts-chain build. 3) Edit the build.properties using built.properties.sample in struts-chain directory with your appropriate settings. 4) Edit the buiild.xml in struts-chain directory with your appropriate settings. Take out the whole section of Custom Tomcat Integration. 5) Use *ant clean dist* command to run against the edited build.xml. Be patient and correct errors in the build process as you go along. 6) The result of successful build is /struts-chain/build/webapps/example/ and /struts-chain/dist/webapps/struts-chain.war that you can manually copy to tomcat/webapps directory and run sub app /struts-chain 7) You may likely have a problem to get struts-example running under the new design of struts-chain. If this is the case, then compare contents of struts-chain and old struts-example. Copy the missing of .dtd and jar files from struts-example to struts-chain. P.S. I hear you are also looking at HiveMind too. Let's see how we put struts-chain catalog(s) as a HiveMind service so we can combine the strength and simplicity of the 2 frameworks into a simple-practical solution. BaTien DBGROUPS > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > > . > --------------020000000608050505080309--