Deploy additional WAR files to a Cocoon installation

2007-04-23 Thread Steven Barrett
Is it possible to deploy a new (non-cocoon) web application (war file) to
the Jetty container that a Cocoon installation is shipped with?

My ISP's server has a Cocoon installation and I would like to deploy another
war to that environment. Is this possible or is a full blown Servlet
container required (like Tomcat) that you would then deploy Cocoon and any
additional war files to?

Thanks.
Steve



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: [GT2007] [VOTE] Conference location + time

2007-04-23 Thread Merico Raffaele
Location:
B) Rome
C) London

Time:
A) or B)

 -Ursprüngliche Nachricht-
 Von: Arje Cahn [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 11. April 2007 15:08
 An: [EMAIL PROTECTED]; users@cocoon.apache.org
 Betreff: [GT2007] [VOTE] Conference location + time
 
 Hi all,
 
 Please cast your votes on both the location and the time for this year's
 Cocoon GetTogether conference:
 
 A) The Netherlands, Amsterdam
 B) Italy, Rome / Milano
 C) England, London / Norwich
 
 When:
 
 A) Late september
 B) Beginning of October (between the holidays season and ApacheCon)
 C) End of October
 
 Thanks!
 
 Apart from all that, you should come over and visit Amsterdam anyway from
 May 1-4 at the ApacheCon Europe! www.apachecon.com
 
 
 
 Kind regards,
 
 Arjé Cahn
 
 Hippo
 
 Oosteinde 11
 1017WT Amsterdam
 The Netherlands
 Tel  +31 (0)20 5224466
 
 [EMAIL PROTECTED] / [EMAIL PROTECTED]
 
 --
  Hippo http://www.hippo.nl
  Hippo CMS community   http://www.hippocms.org
  My weblog http://blogs.hippo.nl/arje
 --
  ApacheCon Europe 2007 Gold Sponsor
  Join us from May 2-4 in Amsterdam!
 --
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Print Scheduling in Cocoon

2007-04-23 Thread Tony Edwards

Hi All,
Does anyone have an example of print scheduling in Cocoon using Quartz 
or whatever?
I have a requirement to print documents at a particular day and time etc 
and was just wondering if it was pretty straight forward to set up.


Thanks for any advice,

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Antw: Print Scheduling in Cocoon

2007-04-23 Thread Martin Geissler
Hello Tony,
did I understand you right?
You want Cocoon to print out on on paper at a particular day and time?
Or do you need a pfd-file or HTML Page generated at a particular day and time.
 
For me, I do not use cocoon-quartz at all.
My solution ist to create a cocoon CLI or ANT -Task to generate the pages I 
want.
This job is scheduled by my OS (Windows).
 
Have A Look at: 
http://www.mail-archive.com/users@cocoon.apache.org/msg31015.html 
or similar postings from me.
 
Regards Martin
 
 
 


 Tony Edwards [EMAIL PROTECTED] Montag, 23. April 2007 12:47 
Hi All,
Does anyone have an example of print scheduling in Cocoon using Quartz 
or whatever?
I have a requirement to print documents at a particular day and time etc 
and was just wondering if it was pretty straight forward to set up.

Thanks for any advice,

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



WIKA Alexander Wiegand GmbH  Co. KG 
Alexander-Wiegand-Straße 30 - 63911 Klingenberg - Germany 
Kommanditgesellschaft: Sitz Klingenberg - Amtsgericht Aschaffenburg HRA 1819 
Komplementärin: WIKA Alexander Wiegand Verwaltungs GmbH - Sitz Klingenberg - 
Amtsgericht Aschaffenburg HRB 306 
Geschäftsführer: Alexander Wiegand 
Telefon: (09372) 132-0 
Internet: www.wika.com 

The information contained in this E-mail and any attached files are strictly 
confidential and may be subject to legal privilege. If you are not the 
intended recipient, his representative or the person responsible for delivering 
the message to the intended recipient, be advised that you have received this 
message in error and that any dissemination, copying or use of this message 
or attachment is strictly forbidden, as is the disclosure of the information 
therein. If you have received this E-mail in error, please notify us 
immediately 
by E-mail or telephone and delete this message and all its attachments 
subsequently. All reasonable precautions have been taken to ensure no 
viruses are present in this E-mail. 

 
 



Logs

2007-04-23 Thread Peter Flynn
In my webapps/ROOT there's a logs directory, but none of the logs 
contain any information about who has visited the site.


How do I turn on access logging? Or is it already on but hidden 
somewhere I don't know about? This is an experimental site, so it's 
running as root.


When I switch it over to run proxy to port 80 httpd, will the regular 
access_log provide the data, or can Cocoon continue to be made to log 
its own stuff?


///Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Antw: Print Scheduling in Cocoon

2007-04-23 Thread Tony Edwards
Sorry about the ambiguity, but it's more the generate a document in 
html/pdf!

I'll check out your postings and see how I go.
Thanks for the pointers!

Tony

Martin Geissler wrote:

Hello Tony,
did I understand you right?
You want Cocoon to print out on on paper at a particular day and time?
Or do you need a pfd-file or HTML Page generated at a particular day 
and time.
 
For me, I do not use cocoon-quartz at all.
My solution ist to create a cocoon CLI or ANT -Task to generate the 
pages I want.

This job is scheduled by my OS (Windows).
 
Have A Look at: 
http://www.mail-archive.com/users@cocoon.apache.org/msg31015.html

or similar postings from me.
 
Regards Martin
 
 
 



 Tony Edwards [EMAIL PROTECTED] Montag, 23. April 
2007 12:47 

Hi All,
Does anyone have an example of print scheduling in Cocoon using Quartz
or whatever?
I have a requirement to print documents at a particular day and time etc
and was just wondering if it was pretty straight forward to set up.

Thanks for any advice,

Tony

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--

*WIKA Alexander Wiegand GmbH  Co. KG *

*Alexander-Wiegand-Straße 30 - 63911 Klingenberg - Germany *

Kommanditgesellschaft: Sitz Klingenberg - Amtsgericht Aschaffenburg 
HRA 1819


Komplementärin: WIKA Alexander Wiegand Verwaltungs GmbH - Sitz 
Klingenberg -


Amtsgericht Aschaffenburg HRB 306

Geschäftsführer: Alexander Wiegand

Telefon: (09372) 132-0

Internet: www.wika.com http://www.wika.de

--

The information contained in this E-mail and any attached files are 
strictly confidential and may be subject to legal privilege. If you 
are not the intended recipient, his representative or the person 
responsible for delivering the message to the intended recipient, be 
advised that you have received this message in error and that any 
dissemination, copying or use of this message or attachment is 
strictly forbidden, as is the disclosure of the information therein. 
If you have received this E-mail in error, please notify us 
immediately by E-mail or telephone and delete this message and all its 
attachments subsequently. All reasonable precautions have been taken 
to ensure no viruses are present in this E-mail.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: request parameter from sax stream/xml file to sitemap

2007-04-23 Thread SETIssl

Thanks for your reply.

I tried to implement a DatabaseSelectAction like its described in the docs  
and the api, but couldn't find any details or any kind of example on how  
the request/the sitemap pipeline action part actually should look like.


so if anyone got this action type working or a link to a tutorial showing  
the codeon an example, i would like to take a look at it.


grettings SETIssl


Am 14.03.2007, 08:01 Uhr, schrieb Joerg Heinicke [EMAIL PROTECTED]:


On 13.03.2007 23:35, SETIssl wrote:

All working fine till here, the transformer gets the documents norm id  
from the database and puts it in the sax stream(?) in the place where  
docnorm/ was before.
But now in the next step i need this norm_id value in the sitemap for  
choosing the next transformation file related to the choosen norm.
I wrote the following pipeline code, which should be working fine,  
except from the problem of getting the norm id value loaded as a  
parameter in there (marked with ???):


No chance up to now. Despite existing ideas content-based pipelines have  
never been implemented.


You need to retrieve the database id before the pipeline is set up,  
either via flow script or via an action.


Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Logs

2007-04-23 Thread Sebastian Wenzky

Peter Flynn wrote:
In my webapps/ROOT there's a logs directory, but none of the logs 
contain any information about who has visited the site.


How do I turn on access logging? Or is it already on but hidden 
somewhere I don't know about? This is an experimental site, so it's 
running as root.


When I switch it over to run proxy to port 80 httpd, will the regular 
access_log provide the data, or can Cocoon continue to be made to log 
its own stuff?


///Peter

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Go into your personally webroot context of cocoon (webapps). Then you
have to go to the WEB-INF/logs folder and within this folder you find
all logs belongs to your cocoon application as well as your access log
for your site.

best regards


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cocoon SVN problem

2007-04-23 Thread Markus Angst

Hello,

There is a problem in the Cocoon SVN repository that probably only affects 
Windows users. There are four files in /src/blocks/template/resources/META-INF/:


LICENSE.txt, NOTICE.txt, license.txt and notice.txt.

As case doesn't matter for Windows, this creates problems on checking out and 
updating Lenya. It seems to be possible to work around it temporarily by 
updating three times, but this is annoying and should be corrected imho.


Thanks!
Markus Angst

PS: I will not be reading the Cocoon mailing list. If you have questions please 
send a cc to the Lenya mailing list. Thanks!



update -r HEAD C:/lenya/lenya-1.4-dev
 Updating external location at: 
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x
 Command completed abnormally.
 svn: Error aborting report
svn: Cannot read from to
'C:\lenya\lenya-1.4-dev\externals\cocoon_2_1_x\src\blocks\template\resources\META-INF\.svn\text-base\LICENSE.txt.svn-base': 


path refers to directory or read access is denied
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/bxe/resources/bxe
 At revision 1659.
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/kupu/resources/kupu
 At revision 42274.
 At revision 531560.

update -r HEAD C:/lenya/lenya-1.4-dev
 Updating external location at: 
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x
 Restored
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/src/blocks/template/resources/META-INF/notice.txt
 Command completed abnormally.
 svn: Error aborting report
svn: Cannot read from to
'C:\lenya\lenya-1.4-dev\externals\cocoon_2_1_x\src\blocks\template\resources\META-INF\.svn\text-base\NOTICE.txt.svn-base': 


path refers to directory or read access is denied
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/bxe/resources/bxe
 At revision 1659.
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/kupu/resources/kupu
 At revision 42274.
 At revision 531560.

update -r HEAD C:/lenya/lenya-1.4-dev
 Updating external location at: 
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x
 Updating external location at:
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/externals/cocoon_2_1_x/src/blocks/jcr/java
 At revision 531560.
 Updating external location at:
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/externals/cocoon_2_1_x/src/blocks/jcr/resources
 At revision 531560.
 Updating external location at:
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/externals/cocoon_2_1_x/src/blocks/jcr/samples
 At revision 531560.
 Updating external location at:
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/externals/cocoon_2_1_x/src/blocks/jcr/test
 At revision 531560.
 Updating external location at:
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/externals/cocoon_2_1_x/src/blocks/jcr/test-resources
 At revision 531560.
 At revision 531560.
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/bxe/resources/bxe
 At revision 1659.
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/kupu/resources/kupu
 At revision 42274.
 At revision 531560.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon SVN problem

2007-04-23 Thread Joerg Heinicke

Hello Markus,

the issue itself (change file name to lower case for license.txt and 
notice.txt) has been fixed in SVN. Unfortunately, this leads to the 
behaviour you observed, there is no way to influence the order of SVN 
actions (first delete old version, later check out new version). There 
is no other way than deleting the template block before updating or 
doing the update multiple times as it seems to have worked for you.


Regards
Joerg

On 23.04.2007 21:25, Markus Angst wrote:

Hello,

There is a problem in the Cocoon SVN repository that probably only 
affects Windows users. There are four files in 
/src/blocks/template/resources/META-INF/:


LICENSE.txt, NOTICE.txt, license.txt and notice.txt.

As case doesn't matter for Windows, this creates problems on checking 
out and updating Lenya. It seems to be possible to work around it 
temporarily by updating three times, but this is annoying and should be 
corrected imho.


Thanks!
Markus Angst

PS: I will not be reading the Cocoon mailing list. If you have questions 
please send a cc to the Lenya mailing list. Thanks!



update -r HEAD C:/lenya/lenya-1.4-dev
 Updating external location at: 
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x

 Command completed abnormally.
 svn: Error aborting report
svn: Cannot read from to
'C:\lenya\lenya-1.4-dev\externals\cocoon_2_1_x\src\blocks\template\resources\META-INF\.svn\text-base\LICENSE.txt.svn-base': 


path refers to directory or read access is denied
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/bxe/resources/bxe
 At revision 1659.
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/kupu/resources/kupu
 At revision 42274.
 At revision 531560.

update -r HEAD C:/lenya/lenya-1.4-dev
 Updating external location at: 
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x

 Restored
C:/lenya/lenya-1.4-dev/externals/cocoon_2_1_x/src/blocks/template/resources/META-INF/notice.txt 


 Command completed abnormally.
 svn: Error aborting report
svn: Cannot read from to
'C:\lenya\lenya-1.4-dev\externals\cocoon_2_1_x\src\blocks\template\resources\META-INF\.svn\text-base\NOTICE.txt.svn-base': 


path refers to directory or read access is denied
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/bxe/resources/bxe
 At revision 1659.
 Updating external location at:
C:/lenya/lenya-1.4-dev/src/modules/kupu/resources/kupu
 At revision 42274.
 At revision 531560.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



different Sax events

2007-04-23 Thread Rashel Shehata

Hi,

I'm trying to use the jx transformer to generate both the form template and
model xml..
When I take the serialized xml output from my generator, save it as a
file(from the browser) and use that file as input to the default generator
to start a pipeline, the form displays probably...

However when I try to do it more dynamically, by taking the serialized xml
output and use it as input to another pipeline entry, I get a SAXException
error. It fails to recognise the widgets defined in the form model...

*org.xml.sax.SAXException: Element 'widget' refers to unexistent widget path
'0', relative to the form container*

i re-checked the namespaces and both xmls are in correct syntax.
What seems to be the problem, and how can i de-bug it??

many thanks


Re: Catching exceptions in binding

2007-04-23 Thread Jason Johnston

Andre Juffer wrote:

Hi,

suppose I have the following:

fb:javascript id=someId path=. direction=save
  fb:save-form
 
 object.setValues(values);
  /fb:save-form
/fb:javascript

Suppose the 'object.setValues(values)' throws an exception for whatever 
reason. With flow I have something like:



catch (exception)
{
  form.lookupWidget(messages).addMessage(exception);
}

It seems that when an exception is thrown by 'object.setValues(values)', an

org.apache.avalon.framework.CascadingRuntimeException: Error invoking 
JavaScript event handler


is thrown, instead of the actual exception that was in fact thrown by 
the 'object.setValues(values)'.


What would be the best possible way to avoid the 
CascadingRuntimeException and get the original exception with flow. 


Well, the CascadingRuntimeException most likely wraps the original 
exception, which you can retrieve with e.getCause().  Does that meet 
your needs?


I 
have tried an try { ... } catch block, but I would like to avoid this. 
(The alternative is of course to ensure that the values that go into the 
'object.setValues(values);' do not cause any exception.)


Thanks for your help,
Andre.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]