Cocoon and Sun Java System Application Server 8.2 PE

2006-05-24 Thread Victoria Vitaver
Hi, We currently have cocoon 2.1.9 happily running on jboss, however we are upgrading our servers and need to move it to a nice new Sun Java System Application Server. Unfortunately we have hit a wall as the xalan and xerces libraries in cocoon conflict with the newer versions of xalan and xerces

RE: Accessing Global Variables As External File

2006-05-24 Thread Andrew Stevens
From: "Stewart, Gary" <[EMAIL PROTECTED]> Date: Wed, 24 May 2006 16:57:42 +0100 Hi there, I was wondering if it was possible to access the global-variables component configuration as an external file? Basically there are some values in there that change depending on which server I was using so

RE: Authentication-fw: two quick questions

2006-05-24 Thread Andrew Stevens
From: footh <[EMAIL PROTECTED]> Date: Wed, 24 May 2006 09:24:51 -0700 (PDT) Thanks for the reply. I was hoping for something a little bit simpler than creating or modifying a transformer, like something that was configurable in the sitemap. I'll take a look at those options though. Another op

Re: AW: AW: Cforms dates and data destinations

2006-05-24 Thread Peter Flynn
Jason Johnston wrote: [me] Umm. There's already a head element in the template, which is the sample one from the Cocoon documentation Are your HTML elements by chance in the http://www.w3.org/1999/xhtml namespace, or another namespace? The CForms XSLT only matches elements in the null namesp

Re: Accessing Global Variables As External File

2006-05-24 Thread Ralph Goers
The latest version of Cocoon lets you use property files. You can define your global variables but make their values be ${varname}. Then define the variable in your property file and Cocoon will substitute it. Ralph Stewart, Gary wrote: Hi there, I was wondering if it was possible to acces

question

2006-05-24 Thread Ayzenberg, Nina N
Hi, We have a problem with the application when we try to create a dynamic report in Excel format. The same application is running on four servers. Servers 1 and 3 are on one computer and the servers 2 and 4 are on another computer. The problem happens only on servers 1 and 3 and it began o

Re: inserting result of one pipeline into another

2006-05-24 Thread Brian Hawkins
I found my problem. The output of the main.xsl was set to "html" and that hosed the xinclude transformer. When I change it to xml it worked fine. Brian Hawkins wrote: Here is my pipeline I've added the xi:include tag in the main.xsl file. The problem is that it does not work. It

Error in connections with jdbc connection pool

2006-05-24 Thread Anna Bikkina
Hi, I am using jdbc collection pool in cocoon.xconf to connect to my database from my cocoon portal server. Sometimes the dba does some audits and kills some connections in the database. In the application when I am trying to connect I want to make sure that the connection is alive before usi

Re: inserting result of one pipeline into another

2006-05-24 Thread Brian Hawkins
Here is my pipeline I've added the xi:include tag in the main.xsl file. The problem is that it does not work. It does work however if I move the xi:include into the main.xsp and put the xinclude transform after the generate. Why does it not work after the XSL transform? Brian An

RE: Authentication-fw: two quick questions

2006-05-24 Thread footh
Thanks for the reply. I was hoping for something a little bit simpler than creating or modifying a transformer, like something that was configurable in the sitemap. I'll take a look at those options though. Every page flows through a single javaflow so I could check for the Admin role there and

Re: AW: AW: encoding problem with eXist database

2006-05-24 Thread Abbas Mousavi
HiI dont know how to use String.getBytes(encoding) or XMLResourc.setContent(xml-string) , I explain my whole word:I have this in the sitemap                                                            that reads a html file from the disk and generates an xmland I have this function in my flowscript

Accessing Global Variables As External File

2006-05-24 Thread Stewart, Gary
Hi there, I was wondering if it was possible to access the global-variables component configuration as an external file? Basically there are some values in there that change depending on which server I was using so I figured I could separate that into a static XML file and not include that file

AW: AW: encoding problem with eXist database

2006-05-24 Thread Christofer Dutz
How exactly do you stroe your data? Do you use XMLResourc.setContent(xml-string)? You could try explicitly seting the input-Strings encoding using the String.getBytes(encoding) method.   If this doesn’t help. I’d try the exist mailinglist, the guys there should be able to help you solve

AW: Benefits of using eXist with Cocoon, when XML is versioned in Subversion?

2006-05-24 Thread Christofer Dutz
Not to forget the power of the XQuery update-extensions. You can read and write documents using this. New versions of eXist (in the subversion repository) support access-control, locking,concurrency-control and clustering. If your system Crashes during a write operation, using files your

Re: Benefits of using eXist with Cocoon, when XML is versioned in Subversion?

2006-05-24 Thread Abbas Mousavi
hiI think that what you missed is the speed of retriving information about your data collection. think of listing the content of a title tag of many small xml files at filesystem with cocoon xpathdirectory generator, It is a very time consuming process on file system but with exist it is very fast.

Benefits of using eXist with Cocoon, when XML is versioned in Subversion?

2006-05-24 Thread Craeg Strong
Hello: My website content is in XML and version controlled in Subversion. I want to use Cocoon to publish HTML and PDF, etc. for all the usual reasons. I see that eXist is pre-integrated with Cocoon; I could import my documents into eXist and use that. I can still version the source by exportin

Re: AW: encoding problem with eXist database

2006-05-24 Thread Abbas Mousavi
Hi chrisI have set container-encoding and form encoding and serializer encoding to utf-8.also I can write the same pipeline to other sources (for example to hard disk)truly by the same mechanism.I think this problem has some thing related to eXist because I have tested the webdav interface to eXist

Re: Pipeline Structure To Enable Caching of static data?

2006-05-24 Thread Craeg Strong
Sounds great! yes, its very clear. thx, --Craeg Ard Schrijvers wrote: You seem to be quite on track: Just remember the following simple guidelines: 1) If in a caching pipeline, cocoon tries to cache each pipeline match (thus the map:part in an aggregator or a src="cocoon:/..." it will tr

AW: encoding problem with eXist database

2006-05-24 Thread Christofer Dutz
Hi Abbas,   I think you should check the settings in your web.xml (container-encoding and form-encoding) and the serializer settings in the sitemap.xmap. I think I remember having some encoding-problems with CForms. I guess cocoon will provide content encoded in the format set here. And s

Re: AW: AW: Cforms dates and data destinations

2006-05-24 Thread Jason Johnston
peter wrote: On Wed, 24 May 2006 10:20:36 +0200, Christofer Dutz wrote If you add a tag called "head" anywhere in your template, then CForms will add all CForm stuff (CSS, JavaScript, ... everything that belongs into a html head-tag) it needs inside this tag. All you have to do in any transfor

RE: delete cache after every change?

2006-05-24 Thread Ard Schrijvers
> > Hi! > > > > I have a problem with the cocoon cache: Cocoon remembers > > everything, when I make a change in my code, there is often > > no reaction on it. Normally I have to stop the tomcat server > > and delete the work directory of cocoon and then cocoon > > recognizes the new lines. If

encoding problem with eXist database

2006-05-24 Thread Abbas Mousavi
Hi I am using eXist with cocoon as my xml database. I can copy xml documents to eXist by a webdav client and exist admin client, and also can retrieve them correctlyby xmldb:exist://  protocol, but when I want to write documents to exist with flowscript it does not writes the unicode documents corr

RE: Pipeline Structure To Enable Caching of static data?

2006-05-24 Thread Ard Schrijvers
You seem to be quite on track: Just remember the following simple guidelines: 1) If in a caching pipeline, cocoon tries to cache each pipeline match (thus the map:part in an aggregator or a src="cocoon:/..." it will try to cache the seperate pipeline matches, as well as the total) 2) Cocoon ca

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
I have just deployed cocoon.war to IBM WebSphere Application Server, 5.1.1.9 and there was no problem. It is only the Forms block and something else I recall that needs the modifications I described. Have you deployed cocoon as a war file with a context. You don't need to do anything else and the b

RE: dispose temporary file after request execution

2006-05-24 Thread Ard Schrijvers
I assume that your java method from flowscript generates a temporary xml file and writes that one to disk? You could make of course a cron job scanning the temporary file and delete files with an old timestamp. Or instead writing the file to disk, you generate the xml in the cocoon DefaultTran

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
You have to make a shared library of the rhino-continuations jar and there is another fix for the Cache stuff which I can't remember at the moment cos I haven't got my material here. It ain't straightforward by any means (bad old WebSphere) so, as I said, cocncentrate on developing your application

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread shreya
I have build cocoon.war In wsad I created a new dynamic web project and imported the war file in the project folder. I have also set the classloader mode as PARENT_LAST. but still the server is not starting. It's giving an error that - *** Starting the server *** Start Disp

Re: AW: AW: Cforms dates and data destinations

2006-05-24 Thread peter
On Wed, 24 May 2006 10:20:36 +0200, Christofer Dutz wrote > If you add a tag called "head" anywhere in your template, then > CForms will add all CForm stuff (CSS, JavaScript, ... everything > that belongs into a html head-tag) it needs inside this tag. All you > have to do in any transformation

Re: How to install the cocoon framework in WSAD 5.1.2

2006-05-24 Thread shreya
Could you please tell the steps you have followed to deploy cocoon over WSAD? Because I have to deploy cocoon2.1.9 over WSAD5.1 . If you will tell the steps which you have followed it would be helpul to me. Thanks in advance. -- View this message in context: http://www.nabble.com/How+to+install

Re: Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread Warrell Harries
Hi Sharda,The simplest way is to build the WAR file as in the INSTALL.TXT and import this into WSAD.You may be better off not bothering with WSAD as the whole point of Cocoon is that you can build fully featured applications without having to develop Java code as you can link components in a pipeli

Installing cocoon2.1.9 on WSAD5.1

2006-05-24 Thread sharda choudhary
Hi all can anybody please help me by tellimg the steps to install cocoon on WSAD and deploying it. Please give all the steps as if you are telling to a fresher. Thanks in advance. Shreya Software Engineer. __ Do You Yahoo!? Tired of spam? Yahoo! Ma

Re: Exception in ServerPagesGenerator.generate() during xinclude

2006-05-24 Thread kathi . mailbox
> -Ursprüngliche Nachricht- > Von: users@cocoon.apache.org > Gesendet: 23.05.06 16:26:31 > An: users@cocoon.apache.org > Betreff: Re: Exception in ServerPagesGenerator.generate() during xinclude > > > -Ursprüngliche Nachricht- > > Von: users@cocoon.apache.org > > Gesendet: 23.05

AW: AW: Cforms dates and data destinations

2006-05-24 Thread Christofer Dutz
If you add a tag called "head" anywhere in your template, then CForms will add all CForm stuff (CSS, JavaScript, ... everything that belongs into a html head-tag) it needs inside this tag. All you have to do in any transformation is to "move" the entire content to the place it belongs o using a sim