From jetspeed-dev-returnorrpatrick@example.com Wed Oct 03 05:24:07 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 83569 invoked by uid 500); 3 Oct 2001 05:24:04 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 83531 invoked from network); 3 Oct 2001 05:24:02 -0000 Message-ID: <orrpatrick@example.com> Date: Wed, 03 Oct 2001 10:53:36 +0530 From: Peter Rajesh <orrpatrick@example.com> X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: jetspeed <orrpatrick@example.com> Subject: Webservice in Jetspeed Portlet : Exception Thrown Content-Type: multipart/mixed; boundary="------------6EA136C999B464730C27C2B7" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------6EA136C999B464730C27C2B7 Content-Type: multipart/alternative; boundary="------------3C1A1817A5ADD063D3C07D27" --------------3C1A1817A5ADD063D3C07D27 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am using tomcat322 and Jetspeed 1.3a2. I tried to implement a portlet which uses the WEBSERVICES from http://www.xmethods.com . My portlet entry in the registry, is as below: <portlet-entry name="ZipCodesPortlet" hidden="false" type="instance" application="false"> <meta-info> <title>ZipCode to County</title> </meta-info> <classname>ZipCodesPortlet</classname> <parameter name="provider-name" value="jetspeed" hidden="false"/> <media-type ref="html"/> </portlet-entry> I compiled and coped the ZipCodesPortlet.class in the /Web-Inf/classes dir. . But when the portlet is displayed it is not contacting the URL and giving the following exception: "Get Zipcode Details Error opening socket: Host unreachable: no further information " Attached the Java file for reference. Please let me know if you have any idea. Regards Peter Rajesh --------------3C1A1817A5ADD063D3C07D27 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Hi, <p>I am using tomcat322 and Jetspeed 1.3a2. I tried to implement a portlet which uses the WEBSERVICES from <A HREF="http://www.xmethods.com">http://www.xmethods.com</A> . My portlet entry in the registry, is as below: <p>&lt;portlet-entry name="ZipCodesPortlet" hidden="false" type="instance" application="false"> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;meta-info> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title>ZipCode to County&lt;/title> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/meta-info> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;classname>ZipCodesPortlet&lt;/classname> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;parameter name="provider-name" value="jetspeed" hidden="false"/> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;media-type ref="html"/> <br>&nbsp;&nbsp;&nbsp; &lt;/portlet-entry> <p>I compiled and coped the ZipCodesPortlet.class in the /Web-Inf/classes dir. . <br>But when the portlet is displayed it is not contacting the URL and giving the following exception: <p><b>"Get Zipcode Details Error opening socket: Host unreachable: no further information "</b> <br>Attached the Java file for reference. Please let me know if you have any idea. <br>&nbsp; <p>Regards <p>Peter Rajesh</html> --------------3C1A1817A5ADD063D3C07D27-- --------------6EA136C999B464730C27C2B7 Content-Type: application/x-javascript; name="ZipCodesPortlet.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ZipCodesPortlet.java" import org.apache.ecs.*; import org.apache.ecs.html.*; import org.apache.jetspeed.portal.portlets.AbstractPortlet; import org.apache.turbine.util.RunData; import org.apache.soap.util.xml.*; import org.apache.soap.*; import org.apache.soap.util.xml.*; import org.apache.soap.*; import org.apache.soap.rpc.*; import java.io.*; import java.net.*; import java.util.Vector; public class ZipCodesPortlet extends AbstractPortlet { static { System.getProperties().put( "proxySet", "true" ); System.getProperties().put( "proxyHost", "83.161.120.155"); System.getProperties().put( "proxyPort", "3128" ); } public String rtnZipInfoCSV(String zip) { URL url = null; try { url=new URL("http://services.pagedownweb.com/ZipCodes.asmx"); } catch (MalformedURLException mue) { return mue.getMessage(); } //This is the main SOAP object Call soapCall = new Call(); //Use SOAP encoding soapCall.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC); //This is the remote object we're asking for the price soapCall.setTargetObjectURI("ZipCodes"); //This is the name of the method on the above object soapCall.setMethodName("rtnZipInfoCSV"); //We need to send the ISBN number as an input parameter to the method Vector soapParams = new Vector(); //name, type, value, encoding style Parameter zipParam = new Parameter("zip",String.class,zip,null); soapParams.addElement(zipParam); soapCall.setParams(soapParams); try { //Invoke the remote method on the object Response soapResponse = soapCall.invoke(url,""); //Check to see if there is an error, return 'N/A" if (soapResponse.generatedFault()) { return"N/A"; } else { //read result Parameter soapResult = soapResponse.getReturnValue(); //get a string from the result return soapResult.getValue().toString(); } } catch (SOAPException se) { return se.getMessage(); } } public ConcreteElement getContent(RunData runData) { StringElement zip = new StringElement(); zip.addElement("Get Zipcode Details"+rtnZipInfoCSV("45873")); return zip; } } --------------6EA136C999B464730C27C2B7 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com --------------6EA136C999B464730C27C2B7-- From jetspeed-dev-returnorrpatrick@example.com Wed Oct 03 17:34:36 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 93974 invoked by uid 500); 3 Oct 2001 17:34:35 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Delivered-To: moderator for orrpatrick@example.com Received: (qmail 3455 invoked from network); 3 Oct 2001 09:34:03 -0000 From: "Neeme Praks" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: RE: "nothing known about" Errors in cvs checkout Date: Wed, 3 Oct 2001 11:34:39 -0700 Message-ID: <orrpatrick@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <orrpatrick@example.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Can you supply the exact cvs command line that you executed? > -----Original Message----- > From: Paul Spencer [mailto:orrpatrick@example.com] > Sent: Thursday, September 27, 2001 1:03 PM > To: orrpatrick@example.com > Subject: "nothing known about" Errors in cvs checkout > > > I received the following error when doing a cvs checkout: > cvs server: nothing known about jakarta-jetspeed/xdocs/profiler.xml > cvs server: nothing known about > jakarta-jetspeed/src/java/org/apache/jetspeed/Jetspeed.java > > How should they be cleaned up? > Paul Spencer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: orrpatrick@example.com > For additional commands, e-mail: orrpatrick@example.com > --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Wed Oct 03 18:18:03 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 68001 invoked by uid 500); 3 Oct 2001 18:18:03 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 67979 invoked from network); 3 Oct 2001 18:18:02 -0000 Message-ID: <orrpatrick@example.com> Date: Wed, 03 Oct 2001 14:19:57 -0400 Organization: Mikon Systems, Inc. X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Subject: Re: "nothing known about" Errors in cvs checkout References: <orrpatrick@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: orrpatrick@example.com From: Paul Spencer <orrpatrick@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cvs checkout jakarta-jetspeed Neeme Praks wrote: > > Can you supply the exact cvs command line that you executed? > > > -----Original Message----- > > From: Paul Spencer [mailto:orrpatrick@example.com] > > Sent: Thursday, September 27, 2001 1:03 PM > > To: orrpatrick@example.com > > Subject: "nothing known about" Errors in cvs checkout > > > > > > I received the following error when doing a cvs checkout: > > cvs server: nothing known about jakarta-jetspeed/xdocs/profiler.xml > > cvs server: nothing known about > > jakarta-jetspeed/src/java/org/apache/jetspeed/Jetspeed.java > > > > How should they be cleaned up? > > Paul Spencer > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: orrpatrick@example.com > > For additional commands, e-mail: orrpatrick@example.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: orrpatrick@example.com > For additional commands, e-mail: orrpatrick@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Thu Oct 04 23:43:37 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 27516 invoked by uid 500); 4 Oct 2001 23:43:37 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 27505 invoked from network); 4 Oct 2001 23:43:37 -0000 Message-Id: <orrpatrick@example.com> X-Sender: orrpatrick@example.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 04 Oct 2001 11:56:26 -0700 To: orrpatrick@example.com From: Atul Dambalkar <orrpatrick@example.com> Subject: Jetspeed with DatabasePsmlManagerService Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi David, I am getting back to the testing of DatabasePsmlManagerService... Here is first bug that I got(I think it can be attributed to the ProfilerService) 1. Created user "test1" from CreateAccount page. 2. ProfilerService created user "test1" Profile Schema with the following ProfileLocator parameters: User=test1, Media-Type=html Note, there are no other parameters defined in the Profile object by the ProfilerService It also created user in turbine_user table as expected. 3. While fetching the profile for the same user, when "test1" logs in, here is how profiler's fallback algo worked: User=test1 Page=default.psml MediaType=html Country=US Language=en User=test1 Page=default.psml MediaType=html Language=en User=test1 Page=default.psml MediaType=html User=test1 Page=default.psml Page=default.psml And hence it fails, to get profile PSML for user "test1" as database record doesn't have page name "default.psml", and instead gets the default page which it finds. So may be while creating Profile object for user, ProfilerService should also use, the Page name (and locale specific parameters language and country if available). Also, I would like to have some opinion on how the testing can be done for other databases that Jetspeed/Torque supports. I am testing it on Oracle right now.. -Atul >Reply-To: <orrpatrick@example.com> >From: "David Sean Taylor" <orrpatrick@example.com> >To: "'Atul Dambalkar'" <orrpatrick@example.com> >Subject: RE: Jetspeed with DatabasePsmlManagerService >Date: Thu, 20 Sep 2001 15:52:18 -0700 >X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) >Importance: Normal >X-MDRemoteIP: 83.161.120.155 >X-Return-Path: orrpatrick@example.com >X-MDaemon-Deliver-To: orrpatrick@example.com > >Good news. Yes, Im sure there are bugs in the profiler, being that I wrote >most of it after the midnight hour ;-) >Let me know if I can do anything to help. > > > > > -----Original Message----- > > From: Atul Dambalkar [mailto:orrpatrick@example.com] > > Sent: Thursday, September 20, 2001 3:11 PM > > To: orrpatrick@example.com > > Subject: Jetspeed with DatabasePsmlManagerService > > > > > > Hi David, > > > > Jetspeed is running great with DatabasePsmlManager service on my box. > > > > I found couple of bugs, related to Profiler service's way of creating > > document and getting it back. I will write you that with some > > info. later.. > > ProfilerService's fallback algorithm is working fine...so it > > definitely > > works finally, to get the default profiles, if everything fails. > > > > -Atul > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 06:15:22 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 11297 invoked by uid 500); 5 Oct 2001 06:15:21 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 11284 invoked from network); 5 Oct 2001 06:15:20 -0000 Reply-To: <orrpatrick@example.com> From: "David Sean Taylor" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: RE: Jetspeed with DatabasePsmlManagerService Date: Thu, 4 Oct 2001 23:14:40 -0700 Message-ID: <000f01c14d65$05bf18d0$83e5c53f@MANU> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <orrpatrick@example.com> X-MDRemoteIP: 83.161.120.155 X-Return-Path: orrpatrick@example.com X-MDaemon-Deliver-To: orrpatrick@example.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If no page parameter is defined, the Castor impl. is using "default.psml" as the default page. So my guess is that you aren't storing anything if page parameter is not set. > And hence it fails, to get profile PSML for user "test1" as > database record > doesn't have page name "default.psml", and instead gets the > default page Perhaps the Profiler should set the default page name when none is supplied. This is not currently how it works. The part I don't like is that the profiler seems to be working inconsistently. On creation, it does not automatically fill-in the default page. Yet when locating, it sets the default page to "default.psml" in the ProfileLocator. It should work consistently. What about if we always set the page to the default (if it hasn't already been set) in the profiler? I believe that is what you'd like to see, right? > Also, I would like to have some opinion on how the testing > can be done for > other databases that Jetspeed/Torque supports. I am testing > it on Oracle > right now.. In theory, it should be as easy as changing the TRP properties (depending on how portable your implementation is ...) How did you create your database tables, with Torque or with Oracle DDL? If you didn't use Torque, we will also need scripts to create the tables for each supported database like in src/sql/external. I can test hypersonicSQL and mySQL easily here. David > -----Original Message----- > From: Atul Dambalkar [mailto:orrpatrick@example.com] > Sent: Thursday, October 04, 2001 11:56 AM > To: orrpatrick@example.com > Subject: Jetspeed with DatabasePsmlManagerService > > > Hi David, > > I am getting back to the testing of DatabasePsmlManagerService... > > Here is first bug that I got(I think it can be attributed to the > ProfilerService) > 1. Created user "test1" from CreateAccount page. > 2. ProfilerService created user "test1" Profile Schema with > the following > ProfileLocator parameters: > User=test1, Media-Type=html > Note, there are no other parameters defined in the Profile > object by the > ProfilerService > It also created user in turbine_user table as expected. > 3. While fetching the profile for the same user, when "test1" logs in, > here is how profiler's fallback algo worked: > User=test1 Page=default.psml MediaType=html Country=US Language=en > User=test1 Page=default.psml MediaType=html Language=en > User=test1 Page=default.psml MediaType=html > User=test1 Page=default.psml > Page=default.psml > > And hence it fails, to get profile PSML for user "test1" as > database record > doesn't have page name "default.psml", and instead gets the > default page > which it finds. So may be while creating Profile object for user, > ProfilerService should also use, the Page name (and locale specific > parameters language and country if available). > > Also, I would like to have some opinion on how the testing > can be done for > other databases that Jetspeed/Torque supports. I am testing > it on Oracle > right now.. > > -Atul > > >Reply-To: <orrpatrick@example.com> > >From: "David Sean Taylor" <orrpatrick@example.com> > >To: "'Atul Dambalkar'" <orrpatrick@example.com> > >Subject: RE: Jetspeed with DatabasePsmlManagerService > >Date: Thu, 20 Sep 2001 15:52:18 -0700 > >X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) > >Importance: Normal > >X-MDRemoteIP: 83.161.120.155 > >X-Return-Path: orrpatrick@example.com > >X-MDaemon-Deliver-To: orrpatrick@example.com > > > >Good news. Yes, Im sure there are bugs in the profiler, > being that I wrote > >most of it after the midnight hour ;-) > >Let me know if I can do anything to help. > > > > > > > > > -----Original Message----- > > > From: Atul Dambalkar [mailto:orrpatrick@example.com] > > > Sent: Thursday, September 20, 2001 3:11 PM > > > To: orrpatrick@example.com > > > Subject: Jetspeed with DatabasePsmlManagerService > > > > > > > > > Hi David, > > > > > > Jetspeed is running great with DatabasePsmlManager > service on my box. > > > > > > I found couple of bugs, related to Profiler service's way > of creating > > > document and getting it back. I will write you that with some > > > info. later.. > > > ProfilerService's fallback algorithm is working fine...so it > > > definitely > > > works finally, to get the default profiles, if everything fails. > > > > > > -Atul > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: orrpatrick@example.com > For additional commands, e-mail: orrpatrick@example.com > > --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 07:56:01 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 91973 invoked by uid 500); 5 Oct 2001 07:56:00 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 91909 invoked from network); 5 Oct 2001 07:55:58 -0000 Message-ID: <orrpatrick@example.com> Date: Fri, 05 Oct 2001 13:25:31 +0530 From: Peter Rajesh <orrpatrick@example.com> X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: jetspeed <orrpatrick@example.com>, jet-dev <orrpatrick@example.com> Subject: WebPagePortlet - Content in the Portlet area Content-Type: multipart/alternative; boundary="------------7CC80BACE3BEE62A7B7A33A4" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------7CC80BACE3BEE62A7B7A33A4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit HI, I have a WebPagePortlet in Jetspeed, which displays the content of http://java.sun.com . When i click some thing, for ex., if i do a search in that site, the Jetspeed page is gone and the search result is displayed in the same browser, i.e, the entire javasoft site if displayed. Is it possible to display the search content in the Portlet area itself? I need to click the Back button to get the original Jetspeed page. Please let me know if you have any idea to achieve this. Thanks, Regards Peter Rajesh --------------7CC80BACE3BEE62A7B7A33A4-- From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 08:07:54 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 4231 invoked by uid 500); 5 Oct 2001 08:07:53 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 4220 invoked from network); 5 Oct 2001 08:07:52 -0000 From: "Ming Fai" <orrpatrick@example.com> To: <orrpatrick@example.com> Subject: RE: WebPagePortlet - Content in the Portlet area Date: Fri, 5 Oct 2001 16:07:29 +0800 Message-ID: <orrpatrick@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <orrpatrick@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N unofficial answer: coz the link in java.sun.com is a normal link, so, it targets at the browser window, as same as any other links on the page. So, my solution: 1. Set the base target make ur site with frame and set the base target to a specific frame. not a perfect solution but better than none. 2. modify the link when loading the WebPagePortlet The only perfect solution is to change the link in the portlet when it loads. So, write an portlet class to extend WebPagePortlet, after loaded the http stream, do a process to replace all href attribute i.e. <a href="url"> to target to ur screen. So, when a user click on a link, he is linked to your page with the original url as a parameter, then let the portlet read the url parameter to show the target page. the world is never perfect, if the link is in javascript, then you mean need a more complex process to modify the href attribute. regards, mingfai -----Original Message----- From: Peter Rajesh [mailto:orrpatrick@example.com] Sent: Friday, October 05, 2001 3:56 PM To: jetspeed; jet-dev Subject: WebPagePortlet - Content in the Portlet area HI, I have a WebPagePortlet in Jetspeed, which displays the content of http://java.sun.com . When i click some thing, for ex., if i do a search in that site, the Jetspeed page is gone and the search result is displayed in the same browser, i.e, the entire javasoft site if displayed. Is it possible to display the search content in the Portlet area itself? I need to click the Back button to get the original Jetspeed page. Please let me know if you have any idea to achieve this. Thanks, Regards Peter Rajesh --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 09:30:06 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 81278 invoked by uid 500); 5 Oct 2001 09:30:05 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 81266 invoked from network); 5 Oct 2001 09:30:04 -0000 Message-ID: <E705EE249FE6D3119BB50008C791E2E503407C05@MCHH264E> From: ICM S CP guest 5 <orrpatrick@example.com> To: orrpatrick@example.com Subject: RE: jakarta-jetspeed/docs - where? Date: Fri, 5 Oct 2001 11:30:06 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for posting this information about new docs - but where can I download these? What's the domain? Andreas -----Original Message----- From: orrpatrick@example.com [mailto:orrpatrick@example.com] Sent: Samstag, 29. September 2001 07:47 To: orrpatrick@example.com Subject: cvs commit: jakarta-jetspeed/docs/site usejetspeed.html paulsp 01/09/28 22:47:02 Modified: docs/site usejetspeed.html Log: Add Configuration Guide to project menu Revision Changes Path 1.13 +2 -2 jakarta-jetspeed/docs/site/usejetspeed.html Index: usejetspeed.html =================================================================== RCS file: /home/cvs/jakarta-jetspeed/docs/site/usejetspeed.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- usejetspeed.html 2001/07/23 05:28:20 1.12 +++ usejetspeed.html 2001/09/29 05:47:02 1.13 @@ -69,6 +69,8 @@ </ul> <p><strong>Documentation</strong></p> <ul> + <li> <a href="./config_guide.html">Configuration Guide</a> +</li> <li> <a href="http://www.bluesunrise.com/jetspeed-docs/javadocs/">Javadoc</a> </li> <li> <a href="./application-development.html">Development</a> @@ -91,8 +93,6 @@ <li> <a href="./diskcache.html">Cache</a> </li> <li> <a href="./psml.html">PSML</a> -</li> - <li> <a href="./icalendar.html">iCalendar</a> </li> </ul> </td> --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 09:50:26 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 99129 invoked by uid 500); 5 Oct 2001 09:50:25 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 99118 invoked from network); 5 Oct 2001 09:50:24 -0000 Message-ID: <orrpatrick@example.com> Date: Fri, 05 Oct 2001 11:50:28 +0200 From: Santiago Gala <orrpatrick@example.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: es-es, en-us MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: jakarta-jetspeed/docs - where? References: <E705EE249FE6D3119BB50008C791E2E503407C05@MCHH264E> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ICM S CP guest 5 wrote: >Thanks for posting this information about new docs - but where can I download these? >What's the domain? > http://jakarta.apache.org/jetspeed/ or in your local copy, if you follow the directions and ./build.sh docs (or war_fullrelease) > >Andreas > > >-----Original Message----- >From: orrpatrick@example.com [mailto:orrpatrick@example.com] >Sent: Samstag, 29. September 2001 07:47 >To: orrpatrick@example.com >Subject: cvs commit: jakarta-jetspeed/docs/site usejetspeed.html > > >paulsp 01/09/28 22:47:02 > > Modified: docs/site usejetspeed.html > Log: > Add Configuration Guide to project menu > > Revision Changes Path > 1.13 +2 -2 jakarta-jetspeed/docs/site/usejetspeed.html > > Index: usejetspeed.html > =================================================================== > RCS file: /home/cvs/jakarta-jetspeed/docs/site/usejetspeed.html,v > retrieving revision 1.12 > retrieving revision 1.13 > diff -u -r1.12 -r1.13 > --- usejetspeed.html 2001/07/23 05:28:20 1.12 > +++ usejetspeed.html 2001/09/29 05:47:02 1.13 > @@ -69,6 +69,8 @@ > </ul> > <p><strong>Documentation</strong></p> > <ul> > + <li> <a href="./config_guide.html">Configuration Guide</a> > +</li> > <li> <a href="http://www.bluesunrise.com/jetspeed-docs/javadocs/">Javadoc</a> > </li> > <li> <a href="./application-development.html">Development</a> > @@ -91,8 +93,6 @@ > <li> <a href="./diskcache.html">Cache</a> > </li> > <li> <a href="./psml.html">PSML</a> > -</li> > - <li> <a href="./icalendar.html">iCalendar</a> > </li> > </ul> > </td> > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: orrpatrick@example.com >For additional commands, e-mail: orrpatrick@example.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: orrpatrick@example.com >For additional commands, e-mail: orrpatrick@example.com > --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 22:59:45 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 65606 invoked by uid 500); 5 Oct 2001 22:59:44 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Delivered-To: moderator for orrpatrick@example.com Received: (qmail 11772 invoked from network); 5 Oct 2001 21:48:23 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4418.65 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: turbine source used for Jetspeed 1.3a1 Date: Fri, 5 Oct 2001 14:48:29 -0700 Message-ID: <orrpatrick@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: turbine source used for Jetspeed 1.3a1 Thread-Index: AcFN50AkGfoKDEKHQkGojL83PG5IZQ== From: "Dan Luo" <orrpatrick@example.com> To: <orrpatrick@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Can someone send me a copy of Turbine source code used to create Jetspeed 1.3a1? I can't get it from CVS. My email address is: orrpatrick@example.com. Thank you, Dan --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Fri Oct 05 23:41:53 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 83692 invoked by uid 500); 5 Oct 2001 23:41:52 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 83674 invoked from network); 5 Oct 2001 23:41:51 -0000 Message-ID: <orrpatrick@example.com> Date: Fri, 05 Oct 2001 19:43:10 -0400 Organization: Mikon Systems, Inc. X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Subject: [PATCH] Local WebPagePortlets ignore cache-control and expire in HTTP header References: <orrpatrick@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: orrpatrick@example.com From: Paul Spencer <orrpatrick@example.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The patch below, which I can commit, sets the expiration of the cached object to match the expiration of the portlet content. This is implemented on the WebPagePortlet using the expiration time in the HTTP response header, not the <META HTTP-EQUIV..> tag. Objects that have not set an expiration in the Cacheable interface, which is the pre-patch behavior, will continue to expire using the turbine default behavior. My testing has been successfully completed. May I commit this patch? Paul Spencer Index: services/portletcache/Cacheable.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/Cacheable.java,v retrieving revision 1.3 diff -c -r1.3 Cacheable.java *** services/portletcache/Cacheable.java 2001/06/04 17:30:37 1.3 --- services/portletcache/Cacheable.java 2001/10/05 23:22:35 *************** *** 103,107 **** --- 103,120 ---- */ public void setHandle( String handle ); + /** + * Return the expiration time in milliseconds. + @return Expiration time in milliseconds since epoch, or null if the + * expiration was not set + */ + public Long getExpirationMillis(); + + /** + * Set the expiration time in milliseconds. + @param setExpirationMillis Expiration in milliseconds since epoch + */ + public void setExpirationMillis( long expirationMillis); + } Index: services/portletcache/JetspeedPortletCacheService.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/JetspeedPortletCacheService.java,v retrieving revision 1.4 diff -c -r1.4 JetspeedPortletCacheService.java *** services/portletcache/JetspeedPortletCacheService.java 2001/03/07 06:48:50 1.4 --- services/portletcache/JetspeedPortletCacheService.java 2001/10/05 23:22:35 *************** *** 108,115 **** } if ( item.isCacheable() ) { ! GlobalCache.addObject( handle, new CachedObject( item ) ); ! } } --- 108,125 ---- } if ( item.isCacheable() ) { ! Long expirationMillis = item.getExpirationMillis(); ! if (expirationMillis != null) { ! // Only cache objects that have not expired. ! if (System.currentTimeMillis() < expirationMillis.longValue()) { ! GlobalCache.addObject( handle, new CachedObject( item, expirationMillis.longValue() - System.currentTimeMillis()) ); ! } ! } else { ! // Oject will be cached Turbine "cachedobject.defaultage" ! GlobalCache.addObject( handle, new CachedObject( item ) ); ! } ! } ! } Index: portal/portlets/AbstractPortlet.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/AbstractPortlet.java,v retrieving revision 1.45 diff -c -r1.45 AbstractPortlet.java *** portal/portlets/AbstractPortlet.java 2001/09/10 22:41:00 1.45 --- portal/portlets/AbstractPortlet.java 2001/10/05 23:22:36 *************** *** 111,116 **** --- 111,122 ---- private String handle = ""; /** + Expiration time of object in milliseconds since the standard base time + known as "the epoch", namely January 1, 1970, 00:00:00 GMT. + */ + private Long expirationMillis = null; + + /** Holds instances of ConcreteElements (Portlet output/content) based on its current CapabilityMap. */ *************** *** 201,206 **** --- 207,227 ---- */ public final void setHandle( String handle ) { this.handle = handle; + } + + /** + @see Cacheable#getExpirationMillis + */ + public Long getExpirationMillis() { + return this.expirationMillis; + } + + + /** + @see Cacheable#setExpirationMillis + */ + public void setExpirationMillis( long expirationMillis) { + this.expirationMillis = new Long(expirationMillis); } /** Builds a new cache handle for this cacheable class with the specified Index: portal/portlets/WebPagePortlet.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java,v retrieving revision 1.2 diff -c -r1.2 WebPagePortlet.java *** portal/portlets/WebPagePortlet.java 2001/03/07 06:47:17 1.2 --- portal/portlets/WebPagePortlet.java 2001/10/05 23:22:37 *************** *** 128,139 **** /** * took this from FileServerPortlet as it was private */ private String getURL(String url) throws IOException { int CAPACITY = 1024; ! InputStream is = new URL( url ).openStream(); ByteArrayOutputStream buffer = new ByteArrayOutputStream(); //now process the InputStream... --- 128,145 ---- /** * took this from FileServerPortlet as it was private + * + * FIXME: Currently only the expiration the HTTP Reponse header is honored. + * Expiration information in <meta> tags are not honored */ private String getURL(String url) throws IOException { int CAPACITY = 1024; + URL pageUrl = new URL(url); + URLConnection pageConn = pageUrl.openConnection(); + long pageExpiration = pageConn.getExpiration(); ! InputStream is = pageUrl.openStream(); ByteArrayOutputStream buffer = new ByteArrayOutputStream(); //now process the InputStream... *************** *** 147,152 **** --- 153,163 ---- is.close(); + // Only set the page expiration it the page has not expired + if (pageExpiration > System.currentTimeMillis()) { + Log.debug( "WebPagePortlet caching URL: " + url + " Expiration: " + pageExpiration); + setExpirationMillis(pageExpiration); + } return buffer.toString(); --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Sat Oct 06 00:57:11 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 23634 invoked by uid 500); 6 Oct 2001 00:57:11 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 23612 invoked from network); 6 Oct 2001 00:57:11 -0000 Message-Id: <orrpatrick@example.com> X-Sender: orrpatrick@example.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Fri, 05 Oct 2001 17:52:27 -0700 To: orrpatrick@example.com From: Atul Dambalkar <orrpatrick@example.com> Subject: RE: Jetspeed with DatabasePsmlManagerService In-Reply-To: <000f01c14d65$05bf18d0$83e5c53f@MANU> References: <orrpatrick@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 11:14 PM 10/4/01 -0700, you wrote: >If no page parameter is defined, the Castor impl. is using "default.psml" as >the default page. >So my guess is that you aren't storing anything if page parameter is not >set. True, I depend solely on ProfileLocator object for that piece of information. > > And hence it fails, to get profile PSML for user "test1" as > > database record > > doesn't have page name "default.psml", and instead gets the > > default page > >Perhaps the Profiler should set the default page name when none is supplied. >This is not currently how it works. >The part I don't like is that the profiler seems to be working >inconsistently. Yes, it is not consistent. So it is not a bug per se. >On creation, it does not automatically fill-in the default page. >Yet when locating, it sets the default page to "default.psml" in the >ProfileLocator. >It should work consistently. What about if we always set the page to the >default (if it hasn't already been set) in the profiler? >I believe that is what you'd like to see, right? Yes, Correct. > > Also, I would like to have some opinion on how the testing > > can be done for > > other databases that Jetspeed/Torque supports. I am testing > > it on Oracle > > right now.. > >In theory, it should be as easy as changing the TRP properties (depending on >how portable your implementation is ...) Yes, it is fairly portable and definitely should be just changing TRP file (clubbed with re-generation of MapBuilder classes in the build system). I have put all the methods in ProfilePeer classes that were generated by Torque..used something like 'State' pattern depending upon the profile locator information. I haven't touched any other generated class. So, when the database changes, the ProfilePeer classes which has additional methods won't get re-generated where as all the other classes viz. *MapBuilder need to get re-generated and that's what we want. We just have to incorporate the re-generation in the build system. You can review whatever I have done so far. >How did you create your database tables, with Torque or with Oracle DDL? I created database tables with Torque generated scripts. >If you didn't use Torque, we will also need scripts to create the tables for >each supported database like in src/sql/external. > >I can test hypersonicSQL and mySQL easily here. Great..I have bunch of source files..let me mail you all the source files..and Torque schema file. -Atul >David > > -----Original Message----- > > From: Atul Dambalkar [mailto:orrpatrick@example.com] > > Sent: Thursday, October 04, 2001 11:56 AM > > To: orrpatrick@example.com > > Subject: Jetspeed with DatabasePsmlManagerService > > > > > > Hi David, > > > > I am getting back to the testing of DatabasePsmlManagerService... > > > > Here is first bug that I got(I think it can be attributed to the > > ProfilerService) > > 1. Created user "test1" from CreateAccount page. > > 2. ProfilerService created user "test1" Profile Schema with > > the following > > ProfileLocator parameters: > > User=test1, Media-Type=html > > Note, there are no other parameters defined in the Profile > > object by the > > ProfilerService > > It also created user in turbine_user table as expected. > > 3. While fetching the profile for the same user, when "test1" logs in, > > here is how profiler's fallback algo worked: > > User=test1 Page=default.psml MediaType=html Country=US Language=en > > User=test1 Page=default.psml MediaType=html Language=en > > User=test1 Page=default.psml MediaType=html > > User=test1 Page=default.psml > > Page=default.psml > > > > And hence it fails, to get profile PSML for user "test1" as > > database record > > doesn't have page name "default.psml", and instead gets the > > default page > > which it finds. So may be while creating Profile object for user, > > ProfilerService should also use, the Page name (and locale specific > > parameters language and country if available). > > > > Also, I would like to have some opinion on how the testing > > can be done for > > other databases that Jetspeed/Torque supports. I am testing > > it on Oracle > > right now.. > > > > -Atul > > > > >Reply-To: <orrpatrick@example.com> > > >From: "David Sean Taylor" <orrpatrick@example.com> > > >To: "'Atul Dambalkar'" <orrpatrick@example.com> > > >Subject: RE: Jetspeed with DatabasePsmlManagerService > > >Date: Thu, 20 Sep 2001 15:52:18 -0700 > > >X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) > > >Importance: Normal > > >X-MDRemoteIP: 83.161.120.155 > > >X-Return-Path: orrpatrick@example.com > > >X-MDaemon-Deliver-To: orrpatrick@example.com > > > > > >Good news. Yes, Im sure there are bugs in the profiler, > > being that I wrote > > >most of it after the midnight hour ;-) > > >Let me know if I can do anything to help. > > > > > > > > > > > > > -----Original Message----- > > > > From: Atul Dambalkar [mailto:orrpatrick@example.com] > > > > Sent: Thursday, September 20, 2001 3:11 PM > > > > To: orrpatrick@example.com > > > > Subject: Jetspeed with DatabasePsmlManagerService > > > > > > > > > > > > Hi David, > > > > > > > > Jetspeed is running great with DatabasePsmlManager > > service on my box. > > > > > > > > I found couple of bugs, related to Profiler service's way > > of creating > > > > document and getting it back. I will write you that with some > > > > info. later.. > > > > ProfilerService's fallback algorithm is working fine...so it > > > > definitely > > > > works finally, to get the default profiles, if everything fails. > > > > > > > > -Atul > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: orrpatrick@example.com > > For additional commands, e-mail: orrpatrick@example.com > > > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: orrpatrick@example.com >For additional commands, e-mail: orrpatrick@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Sat Oct 06 19:26:53 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 20126 invoked by uid 500); 6 Oct 2001 19:26:52 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 20115 invoked from network); 6 Oct 2001 19:26:52 -0000 Message-ID: <orrpatrick@example.com> Date: Sat, 06 Oct 2001 19:26:34 +0000 From: Santiago Gala <orrpatrick@example.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: es-es, en-us MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: turbine source used for Jetspeed 1.3a1 References: <orrpatrick@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dan Luo wrote: >Hi, > >Can someone send me a copy of Turbine source code used to create >Jetspeed 1.3a1? I can't get it from CVS. > I think the patches are in http://jakarta.apache.org/~raphael/turbine/ > >My email address is: orrpatrick@example.com. > >Thank you, > >Dan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: orrpatrick@example.com >For additional commands, e-mail: orrpatrick@example.com > --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Sat Oct 06 19:42:04 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 24608 invoked by uid 500); 6 Oct 2001 19:42:03 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 24597 invoked from network); 6 Oct 2001 19:42:03 -0000 Message-ID: <80F5674514B4D311BAFC0040F6A45EEE1C3F68@ntserver> From: "Ignacio J. Ortega" <orrpatrick@example.com> To: "'orrpatrick@example.com'" <orrpatrick@example.com> Subject: XML changing encodings Date: Sat, 6 Oct 2001 21:39:50 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hola a todos: I've noted that every xml file in jetspeed, as is it in CVS has ISO-8859-2 encoding, and after first run, they are changed to UTF-8, is not a big problem, and everything continues to run smoothly ( with some glitches i will try to patch) .. Can this lead to future problems?, can be done in a more consistent way?, that is, all xml in UTF-8 in CVS or correct the encoding in Castor.. i'm a newbie and i really dont know how to do it nor if Castor is really the sin here..if somebody can point me in the right direction i will contribute some patch for this.. Saludos , Ignacio J. Ortega --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Sat Oct 06 19:46:43 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 26212 invoked by uid 500); 6 Oct 2001 19:46:43 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 26183 invoked from network); 6 Oct 2001 19:46:42 -0000 Message-ID: <orrpatrick@example.com> Date: Sat, 06 Oct 2001 19:46:25 +0000 From: Santiago Gala <orrpatrick@example.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: es-es, en-us MIME-Version: 1.0 To: orrpatrick@example.com Subject: Re: [PATCH] Local WebPagePortlets ignore cache-control and expire in HTTP header References: <orrpatrick@example.com> <orrpatrick@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Paul Spencer wrote: >The patch below, which I can commit, sets the expiration of the cached >object to match >the expiration of the portlet content. This is implemented on the >WebPagePortlet using the expiration time in the HTTP response header, >not the <META HTTP-EQUIV..> tag. Objects that have not set an expiration >in the Cacheable interface, which is the pre-patch behavior, will >continue to expire using the turbine default behavior. > >My testing has been successfully completed. May I commit this patch? > It looks reasonable. While looking at this, I observed that there is no interface for cache control in the new Portlet API. I wonder if the IBM team has already any experience regarding caching of portlets. We could consider that caching of Portlet instances should belong to the portlet container, but a standard interface for signalling cacheability life cycle would make easier life cycle control in different containers. > > >Paul Spencer > >Index: services/portletcache/Cacheable.java >=================================================================== >RCS file: >/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/Cacheable.java,v >retrieving revision 1.3 >diff -c -r1.3 Cacheable.java >*** services/portletcache/Cacheable.java 2001/06/04 17:30:37 1.3 >--- services/portletcache/Cacheable.java 2001/10/05 23:22:35 >*************** >*** 103,107 **** >--- 103,120 ---- > */ > public void setHandle( String handle ); > >+ /** >+ * Return the expiration time in milliseconds. >+ @return Expiration time in milliseconds since epoch, or null if >the >+ * expiration was not set >+ */ >+ public Long getExpirationMillis(); >+ >+ /** >+ * Set the expiration time in milliseconds. >+ @param setExpirationMillis Expiration in milliseconds since epoch >+ */ >+ public void setExpirationMillis( long expirationMillis); >+ > > } >Index: services/portletcache/JetspeedPortletCacheService.java >=================================================================== >RCS file: >/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/JetspeedPortletCacheService.java,v >retrieving revision 1.4 >diff -c -r1.4 JetspeedPortletCacheService.java >*** services/portletcache/JetspeedPortletCacheService.java 2001/03/07 >06:48:50 1.4 >--- services/portletcache/JetspeedPortletCacheService.java 2001/10/05 >23:22:35 >*************** >*** 108,115 **** > } > > if ( item.isCacheable() ) { >! GlobalCache.addObject( handle, new CachedObject( item ) ); >! } > > } > >--- 108,125 ---- > } > > if ( item.isCacheable() ) { >! Long expirationMillis = item.getExpirationMillis(); >! if (expirationMillis != null) { >! // Only cache objects that have not expired. >! if (System.currentTimeMillis() < >expirationMillis.longValue()) { >! GlobalCache.addObject( handle, new CachedObject( item, >expirationMillis.longValue() - System.currentTimeMillis()) ); >! } >! } else { >! // Oject will be cached Turbine >"cachedobject.defaultage" >! GlobalCache.addObject( handle, new CachedObject( item ) >); >! } >! } >! > > } > >Index: portal/portlets/AbstractPortlet.java >=================================================================== >RCS file: >/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/AbstractPortlet.java,v >retrieving revision 1.45 >diff -c -r1.45 AbstractPortlet.java >*** portal/portlets/AbstractPortlet.java 2001/09/10 22:41:00 1.45 >--- portal/portlets/AbstractPortlet.java 2001/10/05 23:22:36 >*************** >*** 111,116 **** >--- 111,122 ---- > private String handle = ""; > > /** >+ Expiration time of object in milliseconds since the standard base >time >+ known as "the epoch", namely January 1, 1970, 00:00:00 GMT. >+ */ >+ private Long expirationMillis = null; >+ >+ /** > Holds instances of ConcreteElements (Portlet output/content) > based on its current CapabilityMap. > */ >*************** >*** 201,206 **** >--- 207,227 ---- > */ > public final void setHandle( String handle ) { > this.handle = handle; >+ } >+ >+ /** >+ @see Cacheable#getExpirationMillis >+ */ >+ public Long getExpirationMillis() { >+ return this.expirationMillis; >+ } >+ >+ >+ /** >+ @see Cacheable#setExpirationMillis >+ */ >+ public void setExpirationMillis( long expirationMillis) { >+ this.expirationMillis = new Long(expirationMillis); > } > > /** Builds a new cache handle for this cacheable class with the >specified >Index: portal/portlets/WebPagePortlet.java >=================================================================== >RCS file: >/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java,v >retrieving revision 1.2 >diff -c -r1.2 WebPagePortlet.java >*** portal/portlets/WebPagePortlet.java 2001/03/07 06:47:17 1.2 >--- portal/portlets/WebPagePortlet.java 2001/10/05 23:22:37 >*************** >*** 128,139 **** > > /** > * took this from FileServerPortlet as it was private > */ > private String getURL(String url) throws IOException { > > int CAPACITY = 1024; > >! InputStream is = new URL( url ).openStream(); > ByteArrayOutputStream buffer = new ByteArrayOutputStream(); > > //now process the InputStream... >--- 128,145 ---- > > /** > * took this from FileServerPortlet as it was private >+ * >+ * FIXME: Currently only the expiration the HTTP Reponse header is >honored. >+ * Expiration information in <meta> tags are not honored > */ > private String getURL(String url) throws IOException { > > int CAPACITY = 1024; >+ URL pageUrl = new URL(url); >+ URLConnection pageConn = pageUrl.openConnection(); >+ long pageExpiration = pageConn.getExpiration(); > >! InputStream is = pageUrl.openStream(); > ByteArrayOutputStream buffer = new ByteArrayOutputStream(); > > //now process the InputStream... >*************** >*** 147,152 **** >--- 153,163 ---- > > is.close(); > >+ // Only set the page expiration it the page has not expired >+ if (pageExpiration > System.currentTimeMillis()) { >+ Log.debug( "WebPagePortlet caching URL: " + url + " >Expiration: " + pageExpiration); >+ setExpirationMillis(pageExpiration); >+ } > > return buffer.toString(); > >--------------------------------------------------------------------- >To unsubscribe, e-mail: orrpatrick@example.com >For additional commands, e-mail: orrpatrick@example.com > --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Sat Oct 06 19:56:07 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 32027 invoked by uid 500); 6 Oct 2001 19:56:07 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 32015 invoked from network); 6 Oct 2001 19:56:07 -0000 Message-ID: <80F5674514B4D311BAFC0040F6A45EEE1C3F69@ntserver> From: "Ignacio J. Ortega" <orrpatrick@example.com> To: "'orrpatrick@example.com'" <orrpatrick@example.com> Subject: [PATCH] Build process define ant.home but no uses it Date: Sat, 6 Oct 2001 21:53:55 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: multipart/mixed; boundary="---- =_NextPart_000_01C14EB1.669E68C0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------ =_NextPart_000_01C14EB1.669E68C0 Content-Type: text/plain Hola a todos: With this patch Build of Jetspeed is much easier to those , like me , that use regularly ant, and want to use his own ant install.., and his own ant.home setting.. Thanks Saludos , Ignacio J. Ortega ------ =_NextPart_000_01C14EB1.669E68C0 Content-Type: text/plain; name="build.txt" Content-Disposition: attachment; filename="build.txt" Index: build.xml =================================================================== RCS file: /home/cvspublic/jakarta-jetspeed/build/build.xml,v retrieving revision 1.104 diff -u -r1.104 build.xml --- build.xml 2001/09/20 13:49:57 1.104 +++ build.xml 2001/10/06 19:47:41 @@ -100,7 +100,7 @@ <!-- Builds Classpath --> <!-- =================================================================== --> <path id="classpath"> - <fileset dir="${ant.home}/lib"> + <fileset dir="build/lib"> <!-- Everything in the build lib dir --> ------ =_NextPart_000_01C14EB1.669E68C0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com ------ =_NextPart_000_01C14EB1.669E68C0-- From jetspeed-dev-returnorrpatrick@example.com Sun Oct 07 12:32:45 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 61436 invoked by uid 500); 7 Oct 2001 12:32:45 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 61425 invoked by uid 500); 7 Oct 2001 12:32:45 -0000 Delivered-To: orrpatrick@example.com Date: 7 Oct 2001 12:29:15 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets AbstractPortlet.java WebPagePortlet.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N paulsp 01/10/07 05:29:15 Modified: src/java/org/apache/jetspeed/services/portletcache Cacheable.java JetspeedPortletCacheService.java src/java/org/apache/jetspeed/portal/portlets AbstractPortlet.java WebPagePortlet.java Log: Sets the expiration of the cached object to match the expiration of the portlet content. This is implemented on the WebPagePortlet using the expiration time in the HTTP response header, not the <META HTTP-EQUIV..> tag. Objects that have not set an expiration in the Cacheable interface, which is the pre-patch behavior, will continue to expire using the turbine default behavior.CVS: ---------------------------------------------------------------------- Revision Changes Path 1.4 +14 -1 jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/Cacheable.java Index: Cacheable.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/Cacheable.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Cacheable.java 2001/06/04 17:30:37 1.3 +++ Cacheable.java 2001/10/07 12:29:15 1.4 @@ -64,7 +64,7 @@ * * @author <a href="mailto:orrpatrick@example.com">Kevin A. Burton</a> * @author <a href="mailto:orrpatrick@example.com">Raphaël Luta</a> - * @version $Id: Cacheable.java,v 1.3 2001/06/04 17:30:37 raphael Exp $ + * @version $Id: Cacheable.java,v 1.4 2001/10/07 12:29:15 paulsp Exp $ */ public interface Cacheable { @@ -103,5 +103,18 @@ */ public void setHandle( String handle ); + /** + * Return the expiration time in milliseconds. + @return Expiration time in milliseconds since epoch, or null if the + * expiration was not set + */ + public Long getExpirationMillis(); + + /** + * Set the expiration time in milliseconds. + @param setExpirationMillis Expiration in milliseconds since epoch + */ + public void setExpirationMillis( long expirationMillis); + } 1.5 +13 -3 jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/JetspeedPortletCacheService.java Index: JetspeedPortletCacheService.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/portletcache/JetspeedPortletCacheService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- JetspeedPortletCacheService.java 2001/03/07 06:48:50 1.4 +++ JetspeedPortletCacheService.java 2001/10/07 12:29:15 1.5 @@ -67,7 +67,7 @@ * * @author <a href="mailto:orrpatrick@example.com">Kevin A. Burton</a> * @author <a href="mailto:orrpatrick@example.com">Raphaël Luta</a> - * @version $Id: JetspeedPortletCacheService.java,v 1.4 2001/03/07 06:48:50 taylor Exp $ + * @version $Id: JetspeedPortletCacheService.java,v 1.5 2001/10/07 12:29:15 paulsp Exp $ */ public class JetspeedPortletCacheService extends TurbineBaseService @@ -108,8 +108,18 @@ } if ( item.isCacheable() ) { - GlobalCache.addObject( handle, new CachedObject( item ) ); - } + Long expirationMillis = item.getExpirationMillis(); + if (expirationMillis != null) { + // Only cache objects that have not expired. + if (System.currentTimeMillis() < expirationMillis.longValue()) { + GlobalCache.addObject( handle, new CachedObject( item, expirationMillis.longValue() - System.currentTimeMillis()) ); + } + } else { + // Oject will be cached Turbine "cachedobject.defaultage" + GlobalCache.addObject( handle, new CachedObject( item ) ); + } + } + } 1.46 +22 -1 jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/AbstractPortlet.java Index: AbstractPortlet.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/AbstractPortlet.java,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- AbstractPortlet.java 2001/09/10 22:41:00 1.45 +++ AbstractPortlet.java 2001/10/07 12:29:15 1.46 @@ -92,7 +92,7 @@ @author <A HREF="mailto:orrpatrick@example.com">Kevin A. Burton</A> @author <A HREF="mailto:orrpatrick@example.com">Raphaël Luta</A> -@version $Id: AbstractPortlet.java,v 1.45 2001/09/10 22:41:00 sgala Exp $ +@version $Id: AbstractPortlet.java,v 1.46 2001/10/07 12:29:15 paulsp Exp $ */ public abstract class AbstractPortlet implements Portlet, PortletState, Cacheable { @@ -111,6 +111,12 @@ private String handle = ""; /** + Expiration time of object in milliseconds since the standard base time + known as "the epoch", namely January 1, 1970, 00:00:00 GMT. + */ + private Long expirationMillis = null; + + /** Holds instances of ConcreteElements (Portlet output/content) based on its current CapabilityMap. */ @@ -201,6 +207,21 @@ */ public final void setHandle( String handle ) { this.handle = handle; + } + + /** + @see Cacheable#getExpirationMillis + */ + public Long getExpirationMillis() { + return this.expirationMillis; + } + + + /** + @see Cacheable#setExpirationMillis + */ + public void setExpirationMillis( long expirationMillis) { + this.expirationMillis = new Long(expirationMillis); } /** Builds a new cache handle for this cacheable class with the specified 1.3 +12 -1 jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java Index: WebPagePortlet.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- WebPagePortlet.java 2001/03/07 06:47:17 1.2 +++ WebPagePortlet.java 2001/10/07 12:29:15 1.3 @@ -128,12 +128,18 @@ /** * took this from FileServerPortlet as it was private + * + * FIXME: Currently only the expiration the HTTP Reponse header is honored. + * Expiration information in <meta> tags are not honored */ private String getURL(String url) throws IOException { int CAPACITY = 1024; + URL pageUrl = new URL(url); + URLConnection pageConn = pageUrl.openConnection(); + long pageExpiration = pageConn.getExpiration(); - InputStream is = new URL( url ).openStream(); + InputStream is = pageUrl.openStream(); ByteArrayOutputStream buffer = new ByteArrayOutputStream(); //now process the InputStream... @@ -147,6 +153,11 @@ is.close(); + // Only set the page expiration it the page has not expired + if (pageExpiration > System.currentTimeMillis()) { + Log.debug( "WebPagePortlet caching URL: " + url + " Expiration: " + pageExpiration); + setExpirationMillis(pageExpiration); + } return buffer.toString(); --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Sun Oct 07 17:00:35 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 58623 invoked by uid 500); 7 Oct 2001 17:00:33 -0000 Mailing-List: contact orrpatrick@example.com; run by ezmlm Precedence: bulk List-Post: <mailto:orrpatrick@example.com> List-Help: <mailto:orrpatrick@example.com> List-Unsubscribe: <mailto:orrpatrick@example.com> List-Subscribe: <mailto:orrpatrick@example.com> Reply-To: orrpatrick@example.com Delivered-To: mailing list orrpatrick@example.com Received: (qmail 58579 invoked from network); 7 Oct 2001 17:00:32 -0000 Message-ID: <orrpatrick@example.com> From: orrpatrick@example.com To: orrpatrick@example.com Subject: Bug report for Jetspeed [2001/10/07] Date: Sun, 07 Oct 2001 17:00:36 -0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal EHN=Ehnancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 1462|New|Nor|2001-04-23|Incorrect Login Error Screen Bug | | 1466|New|Nor|2001-04-23|UpdateAccount.java: Doesn't provide error feedback| | 2721|New|Nor|2001-07-20|Cannot bring up the initial jetspeed WEB page (ind| +-----+---+---+----------+--------------------------------------------------+ | Total 3 bugs | +---------------------------------------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: orrpatrick@example.com For additional commands, e-mail: orrpatrick@example.com From jetspeed-dev-returnorrpatrick@example.com Mon Oct 08 13:43:33 2001 Return-Path: <jetspeed-dev-returnorrpatrick@example.com> Delivered-To: orrpatrick@example.com Received: (qmail 59049 invoked by uid 500); 8 Oct 2001
{'source': 'Apache Software Foundation Public Mail Archives'}