RE: Deploy with portal/auth

2003-02-25 Thread Tony Linde
In fact I get the same error trying to log into: http://cocoon.cocoondev.org/sunspotdemoportal Am I missing something obvious here? Cheers, Tony. -Original Message- From: Tony Linde [mailto:[EMAIL PROTECTED] Sent: 24 February 2003 23:26 To: [EMAIL PROTECTED] Subject: RE: Deploy

Re: XPath problems in Cocoon?

2003-02-25 Thread Anna Afonchenko
Thanks for answering I agree that my expression is not the cleanest, but it doesn't work in cocoon anyway :-( I can't understand, why it is so hard to express some not-so-difficult conditions. I am trying to select all a nodes that are followed by another a node without anything in between, except

Can't compile cocoon action

2003-02-25 Thread joni santoso
Hi, I got the source code below from cocoon doc. but i could not compile it. it said that the avalon and cocoon is not found. regards, import org.apache.avalon.framework.parameters.Parameters; import org.apache.cocoon.acting.AbstractAction; import java.util.Map; import java.util.HashMap;

Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-25 Thread Menke Jörg,E2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! For better integration into the versioning-system (clearcase in this case) I tried to let the locally installed cocoon (running in Weblogic 7) mount a subsitemap on a different drive (I'm stuck on Windows at the moment... :-( ). This did not

Problem in logicsheets

2003-02-25 Thread Panna Bodupali
Hi All, I am trying to invoke 2 logicsheet in one xsp. I have defined the logicsheet in the xsp as ?xml-logicsheet href=logicsheets/dateFormatUtil.xsl, logicsheets/getQueryUtil.xsl?...is this the correct way of defining 2 logicsheets in an XSP Defined the xmlns in XSP as xmlns:formatter =

Re: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-25 Thread Upayavira
Joerg, There shouldn't be any problem with that as far as I can see. Here's a snippet from my root sitemap: map:match pattern=dl/** map:mount check-reload=yes src=file:/c:/mydocs/web/dharma life/ uri-prefix=dl reload-method=synchron/ /map:match Regards, Upayavira Hi! For better

Re: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-25 Thread Derek Hohls
And to follow up; I see Joerg may need to add the trailing /** to the patterns he has created...and remove the leading / from the uri-prefix [EMAIL PROTECTED] 25/02/2003 11:57:04 Joerg,There shouldn't be any problem with that as far as I can see. Here's a snippetfrom my root sitemap:

RE: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-25 Thread Luca Morandini
-Original Message- From: Menke Jörg,E2 [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:47 AM To: '[EMAIL PROTECTED]' Subject: Mounting Sub-Sitemap from outside cocoon-dir... map:match pattern=test map:mount check-reload=yes reload-method=synchron

RE: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-25 Thread Laurent Comte
Some hints : 1/ As written in the doc, use : src=file:///x:/some/folder/ 2/ On windows, use / in the path, not \ (yes, it SHOULD be the opposite ...) As I wrote in a previous post, using subsitemaps that are not inside the main sitemap seems to run into reloading problems, when updates are made

RE: Deploy with portal/auth

2003-02-25 Thread hgadm
Tony, after building and deploying cocoon.war you need to do the following: Delete (if anything) in ..\jakarta-tomcat-4.1.12\common\endorsed and copy xalan-2.3.1.jar xercesImpl-2.0.0.jar xml-apis.jar (or more recent copies of these) from ..\jakarta-tomcat-4.1.12\webapps\cocoon\WEB-INF\lib

Re: XPath problems in Cocoon?

2003-02-25 Thread Joerg Heinicke
Does this help? select=a[following-sibling::node()[normalize-space() or self::*][1][self::a]] First all non-whitespace-character text nodes and all elements are selected. From these one the first one is tested to be an a/. Regards, Joerg Anna Afonchenko wrote: Thanks for answering I agree

RE: Problem in logicsheets

2003-02-25 Thread Panna Bodupali
Hi All, This issue is resolved...there was some silly mistake from my side in naming the xmlns in the logicsheet.. Bye Panna -Original Message- From: Panna Bodupali [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 3:23 PM To: [EMAIL PROTECTED] Subject: Problem in logicsheets

Howto tune components pool parameters in Cocoon

2003-02-25 Thread MAHE Vincent FTRD/DIH/REN
Is there any tip I have to know in order to tune correctly the pool-min, pool-max, pool-grow parameters of each components ? Let's say I want my webapp to support 150 simultaneous users. What should I take into account in order to set this parameters ? Is the cache playing any role ?

Cocoon and Jetty

2003-02-25 Thread Luke Noel-Storr
Hi, Sorry if this has already been covered a million times, however I've been searching high and low and cannot find any help. Anyway, I've been lurking on these mailing lists and it seems that a lot of people think that Jetty is the way to go. So, as I'm ill at home today I thought I'd

DTD validation in Cocoon with Xerces parser

2003-02-25 Thread Nikolai Lavrent'ev
Hello! Generally, is it possible to vaidate XML according to DTD/XML Schema within the Cocoon? When I was using JAXP as parser (with parameter name=validate value=true/), it checked both XML and DTD files for syntax errors, but didn't validate XML file accordingly to its' DTD. Moreover,

RE: presentation help needed: Cocoon apps vs other apps?

2003-02-25 Thread Argyn
I'm not sold on Struts, but I use it. I have nothing against the idea of using Cocoon as sole platform for generic webapps. However, as one foreign minister said "I'm not convinced" :) Therefore, I'm not comfortable to suggest this approach to others. Recently, I had to design a webapp. I

AW: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-25 Thread Menke Jörg,E2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again! Thanks for the quick responses! The following worked indeed. But somehow I messed up the Weblogic-Install, resulting in not letting it work. After cleaning up that mess it worked like a charm! There shouldn't be any problem with that as

RE: Deploy with portal/auth

2003-02-25 Thread Tony Linde
Eureka! Thanks, Holger everyone. I started again, downloaded 2.0.4 source, followed the instructions to build using: build -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp copied the jars below and it all now works. Now to figure out how to add some useful apps to the portal.

Portal apps

2003-02-25 Thread Tony Linde
Are there any pre-built coplets I could pick up to: . Display an applet . Display an html page . Call a web service . Display and act on XForms detail Many thanks, Tony. __ Tony Linde Phone: +44 (0)116 223 1292 AstroGrid Project ManagerFax:+44 (0)116 252

Re: Cocoon and Jetty

2003-02-25 Thread Luke Noel-Storr
OK I fixed it myself. I started again with Jetty and this time copied just the xalan jar in from Cocoon to ext. The then copied xerces and xml jars across from Tomcat, deleted tmp files and tried again. This time it worked. Now, to try doing something with cocoon. Cheers anyway, Luke.

Re: disposed componentlocator problem again

2003-02-25 Thread Miles Egan
Miles Egan wrote: It looks this problem shows up whenver a client makes several requests to the server in short order. Pages with several images, for example, show up with many broken images but some of the images appear upon reload. Any ideas? I'm running cocoon-cvs from today in

Re: minimalist

2003-02-25 Thread Jeroen Cranendonk
Any idea when this reworking will be done ? (days, weeks, months, or years ? :) Is it just a fixing/cleaning up of the build system or is he actually upgrading it to some new ideas (which? ) many thanks for the replies already btw. :) On Wednesday 19 February 2003 14:32, Geoff Howard wrote:

Problem with jdbc

2003-02-25 Thread Luca Marchetti
Hi all, a question about jdbc and cocoon: how can i specify extra properties for my jdbc connection? My jdbc driver (as400, jtopen) can accept extra properties for the connection. hown can I set this properties in the cocoon.xconf file (or in another location) thanks in advice,

Sitemap, process depending on existence of files

2003-02-25 Thread Goetz Botterweck
Is it possible to write sitemap rules which check for the existence of files? Somewhat like map:match pattern=path/*.html if docs/path/{1}.xml exists then map:generate src=docs/path/{1}A.xml/ map:transform src=tranformation-a.xsl/ else map:generate

Re: Cocoon and Jetty

2003-02-25 Thread Jeremy Quinn
On Tuesday, February 25, 2003, at 03:39 PM, Luke Noel-Storr wrote: OK I fixed it myself. I started again with Jetty and this time copied just the xalan jar in from Cocoon to ext. The then copied xerces and xml jars across from Tomcat, deleted tmp files and tried again. This time it worked.

sitemap and {session:locale} for i18n?

2003-02-25 Thread Enke, Michael
Hello, I need some help with one issue concerning sitemap configuration: I have this which is working well: map:act type=locale map:read src=abc.xml/ map:transform type=i18n map:parameter name=locale value={locale}/ /map:transform map:serialize/ /map:act Somewhere earlier I created a

Re: mod_proxy and getRemoteHost()

2003-02-25 Thread Charles Yates
Aha! mod_proxy adds some headers to the request, one of them being named x-forwarded-for and contains the ip address of the forwarded request. I'm saved :-) Charles Charles Yates wrote: I've been experimenting with using mod_proxy as a connector as described here:

Re: Sitemap, process depending on existence of files

2003-02-25 Thread Tony Collen
On Tue, 25 Feb 2003, Goetz Botterweck wrote: Is it possible to write sitemap rules which check for the existence of files? Somewhat like map:match pattern=path/*.html if docs/path/{1}.xml exists then map:generate src=docs/path/{1}A.xml/ map:transform

RE: JPEG/PNG IN IE???

2003-02-25 Thread Chance, Sam USA
Good news! I originally saved the svg file with an xml extension. I renamed it with the svg extension and it works! But the problem now is that the picture is cut off In Spy, it shows the entire svg, but not in ANY browser. Ideas? -Original Message- From: Derek

Re: Sitemap, process depending on existence of files

2003-02-25 Thread Miles Egan
Tony Collen wrote: On Tue, 25 Feb 2003, Goetz Botterweck wrote: Is it possible to write sitemap rules which check for the existence of files? Somewhat like map:match pattern=path/*.html if docs/path/{1}.xml exists then map:generate src=docs/path/{1}A.xml/ map:transform

Building 2.1-dev with samples

2003-02-25 Thread Steven Cummings
Hello, I'm usually able to build and run the 2.1-dev sample application fine, but my recent cvs-updated build produced the webapp with only the welcome screen and no samples or docs. How can I get these included back into the 2.1dev webapp? Thanks. /S

map:redirect's never return...

2003-02-25 Thread Ben Young
I have built a looping matcher in my root sitemap.xmap. map:match pattern=_navigation.xml map:generate src={defaults:content}/_null-navigation.xml/ map:serialize type=xml/ /map:match map:match pattern=**/_navigation.xml map:act type=resource-exists map:parameter name=url

Re: minimalist

2003-02-25 Thread Geoff Howard
It's a total reworking of the build process that can probably be expected to take days or weeks, not months or years. Since we originally talked the core build is working - it now completely avoids all samples out of the box (and figuring the samples out is not done yet). As I remember your

Re: ResourceReader problem

2003-02-25 Thread J.Pietschmann
Sternath Elmar wrote: map:match pattern=DownloadDocumentById/* ... The error behaviour is that in IE, the HTTP GET request is sent twice. That's probably the same as the IEx architecture bug causing this FAQ: http://xml.apache.org/fop/faq.html#faq-N104A8 I've wrote numerous speculations about the

Error running the cocoon war file on Tomcat 4.0.4

2003-02-25 Thread shainal panther
Hello All, I downloaded the source code for cocoon version 2.0.4, and ran the webapp task to create the war file. I then copied the war file into my web app folder on Tomcat 4.0.4. However upon stopping and restarting Tomcat several times, it was not able to see the "cocoon" webapp. I then went

Sunspot demo portal error

2003-02-25 Thread Gautam Ganguly
I am trying to test the sunspotdemo web portal through the cocoon sample page that comes up when i do http://10.194.45.66/cocoon. The error page that i receive is : Cocoon2 - Internal Server Error type fatal message null description

RE: redirect's never return...

2003-02-25 Thread Nathaniel Alfred
I think that you assume that cocoon:/directory/../_navigation.xml should be contracted to cocoon:/_navigation.xml and therefore match the first pattern. (Cocoon doesn't do this contraction for the good reason that /foo/bar/.. is not the same as /foo if /foo/bar is a symbolic link.) So what is

RE: Sunspot demo portal error

2003-02-25 Thread Tony Linde
Gautam, I had the same problem, check out: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104616838802904w=2 It helped me. Cheers, Tony. -Original Message- From: Gautam Ganguly [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 21:14 To: [EMAIL PROTECTED] Subject: Sunspot

Re: cinclude transformer VERY slow

2003-02-25 Thread Josema Alonso
Hello, again. Replying to myself but still haven't found a good explanation... The *.news.xml docs I mentioned in my previous message are Docbook articles. All of them have the doctype declaration for the Docbook article DTD: !DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML V4.2//EN

Re: cinclude transformer VERY slow

2003-02-25 Thread Miles Egan
Josema Alonso wrote: Hello, again. Replying to myself but still haven't found a good explanation... The *.news.xml docs I mentioned in my previous message are Docbook articles. All of them have the doctype declaration for the Docbook article DTD: !DOCTYPE article PUBLIC -//OASIS//DTD DocBook XML

memory leak using xsl transformer

2003-02-25 Thread Simon Stanlake
Hi, I have a simple pipeline I'm using for some database-xml-xsl-xml-client processing. I start of with esql creating an xml document, then process it with some xsl, then output using the xml serializer. I'm processing a lot of data, sometimes 100M at a time. Maybe cocoon is not designed for

Xindice query does not produce data that is in a CDATA section

2003-02-25 Thread hgadm
Dear all, I am retrieving XML data from Xindice via Cocoon. Everything is retrieved OK except what's in a CDATA section - this is completely missing and Cocoon returns this tag as an empty tag, e.g. mytag/ However, when I retrieve the data with an XPath query from the Xindice command line, CDATA

Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-25 Thread Alex Romayev
Hello, I'm unable to run cocoon-2.1-dev on tomcat 4.1.18 -- it seems to be crashing tomcat without any error messages. Here is what I've done: -Downloaded and installed tomcat 4.1.18 -Started tomcat -- worked fine -Downloaded and built cocoon-2.1-dev with scratchpad and no blocks -Copied cocoon

Re: memory leak using xsl transformer

2003-02-25 Thread Charles Yates
In the absence of 'pruning' by the transformer, XSL requires the entire document be resident in memory. This is because at any point, a template may refer to any node in the document. This is a serious limitation when transforming large documents. While there has been some discussion of

Re: Xindice query does not produce data that is in a CDATA section

2003-02-25 Thread Yury Mikhienko
On Tue, 25 Feb 2003 16:31:56 -0800 (PST) [EMAIL PROTECTED] wrote: Dear all, I am retrieving XML data from Xindice via Cocoon. Everything is retrieved OK except what's in a CDATA section - this is completely missing and Cocoon returns this tag as an empty tag, e.g. mytag/ However, when I