Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 71116 invoked from network); 29 Oct 2004 10:07:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Oct 2004 10:07:18 -0000 Received: (qmail 80429 invoked by uid 500); 29 Oct 2004 10:06:51 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 80366 invoked by uid 500); 29 Oct 2004 10:06:50 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 80341 invoked by uid 99); 29 Oct 2004 10:06:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.35] (HELO smtp004.mail.ukl.yahoo.com) (217.12.11.35) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 29 Oct 2004 03:06:47 -0700 Received: from unknown (HELO ?81.98.165.129?) (beya?net1@81.98.165.129 with plain) by smtp004.mail.ukl.yahoo.com with SMTP; 29 Oct 2004 10:06:44 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: <3612A1F0-2853-11D9-9F1B-0003938366A4@jibeya.com> Content-Type: multipart/mixed; boundary=Apple-Mail-19-478120231 Message-Id: <3CB55A5A-2992-11D9-91A6-0003938366A4@jibeya.com> From: beyaNet Subject: Re: Urgent! cocoon.createSession() not working in 2.1.5.1 Date: Fri, 29 Oct 2004 11:06:44 +0100 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --Apple-Mail-19-478120231 Content-Type: multipart/alternative; boundary=Apple-Mail-20-478120231 --Apple-Mail-20-478120231 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi, it seems the cause of my problem is the RewriteRule lines I have=20 specified in my Apache http.conf file. In my workers2.properties file I=20= have the following line: [uri:/cocoon/mysite/*] (note: cocoon/mysite is situated inside JBoss=20 4.0.0 as=20 /server/default/deploy/jbossweb-tomcat50.sar/cocoon.war/mysite) group=3Dlb which enables me to access my website via :80 by saying: http://www.mysite.com/cocoon/mysite/login.xml Doing this works fine and you can browse from one page to another and=20 all sessions are maintained. The problem starts when I try and do: http://www.mysite.com/login.xml which I have catered for in my http.conf file by defining a number of=20 RewriteRule lines: RewriteEngine on RewriteRule (.*)\.xml$ cocoon/mysite/$1.xml [P] RewriteRule (.*)\.xsl$ cocoon/mysite/$1.xsl [P] RewriteRule (.*)\.kont$ cocoon/mysite/$1.kont [P] RewriteRule (.*)\.jxt$ cocoon/mysite/$1.jxt [P] RewriteRule (.*)\.xsp$ cocoon/mysite/$1.xsp [P] RewriteRule (.*)\.css$ cocoon/mysite/$1.css [P] RewriteRule (.*)\.js$ cocoon/mysite/$1.js [P] RewriteRule (.*)\.mp3$ cocoon/mysite/$1.mp3 [P] RewriteRule (.*)\.m3u$ cocoon/mysite/$1.m3u [P] RewriteRule (.*)\.jpg$ cocoon/mysite/$1.jpg [P] When I type in http://www.mysite.com/login.xml the page loads fine, and=20= in the process creates a session to maintain flow global variables.=20 When you then try and select any other page which requires you to have=20= been logged in first, it seems the page has lost scope/context/domain!=20= and acts a if you have come to the site for the first time and so=20 redirects you straight back to the login.xml page. But as I have said=20 before typing http://www.mysite.com/cocoon/mysite/login.xml works fine=20= and I can navigate from page to page no problem. Does anybody have a solution for this? many thanks in advance Andrew On 28 Oct 2004, at 16:19, beyaNet wrote: > Does anybody have any experiences/solutions on this issue? > > regards > > > Andrew > On 27 Oct 2004, at 21:03, beyaNet wrote: > >> Hi, >> I am running cocoon 2.1.5.1 in JBoss 4.0 like so: >> >> /server/default/deploy/jbossweb-tomcat50.sar/cocoon.war >> >> i have a website which uses simple MVC using flowscript. I originally=20= >> developed the system under tomcat alone using cocoon 2.1.4 which=20 >> worked fine. I copied the cocoon folder and placed it in the above=20 >> mentioned directory in JBoss. Now flowscript does not work. I have a=20= >> few global variables which I make persistent by initiating=20 >> cocoon.createSession(), but when I move from page to page and try and=20= >> grab the values from those global variables they all have a null=20 >> value. What is going on here? Is anybody else experiencing this under=20= >> 2.1.5.1 using JBoss 4.0? Any input on this issue is urgently=20 >> required. >> >> many thanks >> >> >> Andrew >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> >> > > =A0+The home of urban music > + http://www.beyarecords.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org --Apple-Mail-20-478120231 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 Hi, it seems the cause of my problem is the RewriteRule lines I have specified in my Apache http.conf file. In my workers2.properties file I have the following line: [uri:/cocoon/mysite/*] (note: cocoon/mysite is situated inside JBoss 4.0.0 as /server/default/deploy/jbossweb-tomcat50.sar/cocoon.war/mysite) group=3Dlb=20 which enables me to access my website via :80 by saying: http://www.mysite.com/cocoon/mysite/login.xml Doing this works fine and you can browse from one page to another and all sessions are maintained. The problem starts when I try and do: http://www.mysite.com/login.xml which I have catered for in my http.conf file by defining a number of RewriteRule lines: RewriteEngine on RewriteRule (.*)\.xml$ cocoon/mysite/$1.xml [P] RewriteRule (.*)\.xsl$ cocoon/mysite/$1.xsl [P]=20 RewriteRule (.*)\.kont$ cocoon/mysite/$1.kont [P]=20 RewriteRule (.*)\.jxt$ cocoon/mysite/$1.jxt [P]=20 RewriteRule (.*)\.xsp$ cocoon/mysite/$1.xsp [P] RewriteRule (.*)\.css$ cocoon/mysite/$1.css [P] RewriteRule (.*)\.js$ cocoon/mysite/$1.js [P] RewriteRule (.*)\.mp3$ cocoon/mysite/$1.mp3 [P] RewriteRule (.*)\.m3u$ cocoon/mysite/$1.m3u [P] RewriteRule (.*)\.jpg$ cocoon/mysite/$1.jpg [P] When I type in http://www.mysite.com/login.xml the page loads fine, and in the process creates a session to maintain flow global variables. When you then try and select any other page which requires you to have been logged in first, it seems the page has lost scope/context/domain! and acts a if you have come to the site for the first time and so redirects you straight back to the login.xml page. But as I have said before typing http://www.mysite.com/cocoon/mysite/login.xml works fine and I can navigate from page to page no problem.=20 Does anybody have a solution for this? many thanks in advance Andrew On 28 Oct 2004, at 16:19, beyaNet wrote: Does anybody have any experiences/solutions on this issue? regards Andrew On 27 Oct 2004, at 21:03, beyaNet wrote: Hi, I am running cocoon 2.1.5.1 in JBoss 4.0 like so: /server/default/deploy/jbossweb-tomcat50.sar/cocoon.war i have a website which uses simple MVC using flowscript. I originally developed the system under tomcat alone using cocoon 2.1.4 which worked fine. I copied the cocoon folder and placed it in the above mentioned directory in JBoss. Now flowscript does not work. I have a few global variables which I make persistent by initiating cocoon.createSession(), but when I move from page to page and try and grab the values from those global variables they all have a null value. What is going on here? Is anybody else experiencing this under 2.1.5.1 using JBoss 4.0? Any input on this issue is urgently required. many thanks Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org < = Arial807F,0000,0000= =A0+The home of urban music + http://www.beyarecords.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org = --Apple-Mail-20-478120231-- --Apple-Mail-19-478120231 Content-Transfer-Encoding: base64 Content-Type: image/gif; x-unix-mode=0644; name="beya-email.gif" Content-Disposition: inline; filename=beya-email.gif R0lGODlhvgAyAOYAAPKqRvrgvPOtTfvmyfvlxfnWpfGjNvS4Zf3x4PCeLfzs1vnZq/bAdvGkOffJ ifCdKvrfuv769PnYqvKoQvvozPS2Yf727PjRmf/9+/KuT/XCefKpRP3w3vrdtvfKjPW8bfrbsPCb JfOxV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GOIBy27iS3IhejECN1vgHlpMBVkgAjDIHWnAC vvIFUEAGMRAFtEgIZmAHViCLGMlhPyCROHADXpACLCBSg3AH5WiSVHkICrAHAWAIHcAHQVAACIAA IEBSQKAXEEACQSAFCDAHYAAEaxOJfrACA2ABCnABD/AEFKUFKlgIbGAAWgAFc8ABBVBMWgAAIFAH QtACFmABbABeHFlhlY4pCDEQBGMoCANwAwKQAgBwB1ZQAh9IATdwAicAACnQBFLQVyBgBZjZe0ig MhzWUIUQAzBwmSlwAjdAACUgAgoQBncgmimQASJwBmv4mMI5nMRZnMZ5nMiZnMq5nMsZCAA7 --Apple-Mail-19-478120231 Content-Type: multipart/alternative; boundary=Apple-Mail-21-478120232 --Apple-Mail-21-478120232 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed =A0+The home of urban music + http://www.beyarecords.com --Apple-Mail-21-478120232 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 = Arial8080,0000,0000= =A0+The home of urban music + http://www.beyarecords.com --Apple-Mail-21-478120232-- --Apple-Mail-19-478120231 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --Apple-Mail-19-478120231--