RE: public pages with the new portal framework?
Alex Romayev wrote: I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build portal pages, i.e., assuming there is an identifiable user and there are differences between what you show to different users. I also found the generator to be a good tool for building all pages, as it facilitates good modular design and a nice way of adding/removing functionality via portal configuration files, without having to touch the page code. I was hoping that the new portal will remove this constraint, but looks like it doesn't... The new portal removes this constraint, definitly. The new portal is assembled of many components; one of them is the profile manager: currently there are two profile managers: one using authentication and one not. The samples currently only use the authentication version and the other one is afaik not working at the moment :) But work is in progress, so expect a working non authentication version soon. Carsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon live site?
Not sure but I think this redesigned site is running Cocoon. http://www.ctg.albany.edu They mention Cocoon in their well written XML:A New Web Site Architecture http://www.ctg.albany.edu/publications/reports/xml Darren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Getting at file system location of a sitemap.xmap
Hi. (BIn my attempt of writing a reader component, I want (Bmy reader write to a file that stays in the same directory as (Bthe sitemap from which the said component is instantiated, (Bputting aside legitimacy of doing such. (I am trying to implement (Bmy own caching as I want to impose cetrain directory hierarchy (Bin the cache.) (BFor reading, I guess I can use resolver.resolveURI(), giving (Bit a relative path, in setup() method and use returned Source (Bfor reading. But I can't find out an equivalent scheme for writing. (BAny help and pointer to information is appreciated. (B (B-shinji (B (B (B- (BTo unsubscribe, e-mail: [EMAIL PROTECTED] (BFor additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon live site?
A quick look at their HTTP headers reports Cocoon 2.0.4. Upayavira On 27 Jun 2003 at 10:26, Darren Petrie wrote: Not sure but I think this redesigned site is running Cocoon. http://www.ctg.albany.edu They mention Cocoon in their well written XML:A New Web Site Architecture http://www.ctg.albany.edu/publications/reports/xml Darren - 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: Can't get v2.1, m1 or m2 working
Uncommenting #exclude.block.axis=true from local.blocks.properties file and rebuilding it seems to have done the trick. That probably means that you have Axis (or something similar) somewhere else on the system. I encountered the same problem on a server at work. Perry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSP page - dynamic link generation
Title: XSP page - dynamic link generation Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: a href="">insert linkLink to some page/a I want to replace the insert link with a value passed back by a object method. E.g. This is what I trying at the moment xsp:logic //get someObject from somewhere xsp:content a href="">xsp:exprsomeObject.getURL()/xsp:exprLink to some page/a /xsp:content /xsp:logic I get back a error from cocoon complaining about the '' of the xsp:expr tag. Original Exception: org.xml.sax.SAXParseException: The value of attribute href must not contain the '' character Any one any ideas how to solve this. Thanks Stephen Greene
Re: XSP page - dynamic link generation
Hello If think you should use xsp:attribute : a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a Alex At 11:09 27/06/2003 +0100, you wrote: Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: a href=insert linkLink to some page/a I want to replace the insert link with a value passed back by a object method. E.g. This is what I trying at the moment xsp:logic //get someObject from somewhere xsp:content a href=xsp:exprsomeObject.getURL()/xsp:exprLink to some page/a /xsp:content /xsp:logic I get back a error from cocoon complaining about the '' of the xsp:expr tag. Original Exception: org.xml.sax.SAXParseException: The value of attribute href must not contain the '' character Any one any ideas how to solve this. Thanks Stephen Greene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: request parameter documentation?
-Ursprüngliche Nachricht- Von: Dominic Chambers [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2003 16:07 An: [EMAIL PROTECTED] Betreff: request parameter documentation? I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and {requestQuery}. Sorry for not RTFM on this one, but I can't find the info I want anywhere on the site, although others seem to know bits about it, so it must exist. Can anyone point me in the right direction here? Hello, please have a look into the J2EE API doc of the class Request or see http://wiki.cocoondev.org/Wiki.jsp?page=FOM_request. I assume that the names of request:xxx are corresponding to the method names of the class Request. Regards Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XSP page - dynamic link generation
It's getting there but I'm getting some junk in the link aswell. The method getURL() returns a string which is a single word. But I'm getting: a href=%0A%09%09%09%09%09%20somepage%0A%09%09%09%09%09 How do I get rid of all the junk before and after the somepage text in the href attribute? Thanks Stephen -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: XSP page - dynamic link generation Hello If think you should use xsp:attribute : a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a Alex At 11:09 27/06/2003 +0100, you wrote: Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: a href=insert linkLink to some page/a I want to replace the insert link with a value passed back by a object method. E.g. This is what I trying at the moment xsp:logic //get someObject from somewhere xsp:content a href=xsp:exprsomeObject.getURL()/xsp:exprLink to some page/a /xsp:content /xsp:logic I get back a error from cocoon complaining about the '' of the xsp:expr tag. Original Exception: org.xml.sax.SAXParseException: The value of attribute href must not contain the '' character Any one any ideas how to solve this. Thanks Stephen Greene - 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]
getting all datasource pools
hi there, at startup of cocoon i'd like to connect to all databases configured in cocon.xconf and get data to configure the system. I've written a ThreadSafe,Sevicable Component for this task, but i can only get one datasourceconnection at a time and i have to know the name of the pool. (this would mean, i needed another configfile, with all the names of the datasources, which is just 100% redundant) Is there a possibility to get all those dbs at once? i use: this.dbSelector = (ComponentSelector) manager.lookup(DataSourceComponent.ROLE + Selector); DataSourceComponent datasource = (DataSourceComponent) this.dbSelector.select(poolId); i'd like to get e.g. an Enumerator of all Datasources any ideas. TIA andi __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Compilation of XSP on IDE only
Hi, Is there any way to compile all xsp file of a site and get the error results? just after amking changes in the XSP. thanks Nitin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: request parameter documentation?
Thanks everyone for the help! It seems that the documentation in the samples section (Cocoon | Samples | Modules), only exists in the 2.1 series of the docs. This url may be useful to anyone who reads this mail in the future: http://resin.mediahost.org/cocoon/samples/modules/index.xsp. -Dominic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compilation of XSP on IDE only
No, because XSP files are transformed via xsp.xsl to an java file and will be compiled afterwards. Writing a build script doing the transformation and trying the compilation will be more useful I guess. Joerg Nitin wrote: Hi, Is there any way to compile all xsp file of a site and get the error results? just after amking changes in the XSP. thanks Nitin -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compilation of XSP on IDE only
On 27 Jun 2003 at 16:19, Joerg Heinicke wrote: No, because XSP files are transformed via xsp.xsl to an java file and will be compiled afterwards. Writing a build script doing the transformation and trying the compilation will be more useful I guess. There is code within the CLI to compile XSPs. I've never used it, nor heard of anyone using it. I've no idea whether it works. But it is there. Regards, Upayavira Joerg Nitin wrote: Hi, Is there any way to compile all xsp file of a site and get the error results? just after amking changes in the XSP. thanks Nitin -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - 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]
java.net.SocketException: Connection reset by peer: socket write error
Hi all, After update my cocoon 2.1-dev to cocoon 2.1m2, I get these exceptions in error.log: ERROR (2003-06-27) 15:52.52:235 [access] (/cocoon/test/ftv2mlastnode.gif) Thread-17/CocoonServlet: Internal Cocoon Problem java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:126) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:668) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:160) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523) at org.apache.coyote.Response.doWrite(Response.java:524) at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384) ... ERROR (2003-06-27) 15:52.52:595 [access] (/cocoon/test/ftv2plastnode.gif) Thread-15/CocoonServlet: Internal Cocoon Problem java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:126) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:668) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:160) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523) at org.apache.coyote.Response.doWrite(Response.java:524) at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384) ... gif files for tree menu, that is some complex javascript that build the tree menu: /snip ... function preLoadIcons() { var auxImg auxImg = new Image(); auxImg.src = ICONPATH + ftv2vertline.gif; auxImg.src = ICONPATH + ftv2mlastnode.gif; auxImg.src = ICONPATH + ftv2plastnode.gif; ... doc.write( ... ... + td valign=top background= + ICONPATH + ftv2vertline.gif + auxEv + img name='nodeIcon + this.id + ' id='nodeIcon + this.id + ' src=' + nodeName + ' width=16 height=22 border=0/a/td ... But I'm not sure that problem case is with Javascript handler in cocoon, because I get like exception on generating some xsp too. Can some one explain me on what case throws that exception? java.net.SocketException: Connection reset by peer: socket write error any ideas, tips, advice, Thanks a lot, Hill cocoon 2.1m2, tomcat 4.1, Java1.4 __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: XSP page - dynamic link generation
Hi Stephen, when you set the link in the following way a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a you will probably get a href=%0A%09%09%09%09%09%20somepage%0A%09%09%09%09%09 try: axsp:attribute name=hrefxsp:expr.../xsp:expr/xsp:attribute/a Greetings, Markus -Ursprungliche Nachricht- Von: Stephen Greene [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 12:31 An: [EMAIL PROTECTED] Betreff: RE: XSP page - dynamic link generation It's getting there but I'm getting some junk in the link aswell. The method getURL() returns a string which is a single word. But I'm getting: a href=%0A%09%09%09%09%09%20somepage%0A%09%09%09%09%09 How do I get rid of all the junk before and after the somepage text in the href attribute? Thanks Stephen -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: XSP page - dynamic link generation Hello If think you should use xsp:attribute : a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a Alex At 11:09 27/06/2003 +0100, you wrote: Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: a href=insert linkLink to some page/a I want to replace the insert link with a value passed back by a object method. E.g. This is what I trying at the moment xsp:logic //get someObject from somewhere xsp:content a href=xsp:exprsomeObject.getURL()/xsp:exprLink to some page/a /xsp:content /xsp:logic I get back a error from cocoon complaining about the '' of the xsp:expr tag. Original Exception: org.xml.sax.SAXParseException: The value of attribute href must not contain the '' character Any one any ideas how to solve this. Thanks Stephen Greene - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: install cocoon 2.1-m2 on tomcat 4.1.24
Yes, I think that other jar is the problem. If it's not needed for other webapps, remove it and try again. If it is needed, use the Paranoid servlet described at http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem. Geoff At 10:17 AM 6/26/2003, you wrote: Hi, I am attempting to install cocoon 2.1-m2 in tomcat 4.1.24 under windows XP. I first install tomcat specialised for JDK 1.4 jakarta-tomcat-4.1.24-LE-jdk14. I am running JDK 1.4.1_01 from SUN. I install into c:\Tomcat41 because of a suggestion on the mailing list that spaces in the install path can be problematic. I can access http://localhost:8080/index.jsp fine. I then execute the following commands in the cocoon-2.1m2 directory. set JAVA_HOME=c:\j2sdk1.4.1_01 build war cd build\cocoon-2.1m2\ copy cocoon.war c:\Tomcat41\webapps cd ..\..\lib\endorsed copy *.jar c:\Tomcat41\common\endorsed I then start Tomcat. I can access http://localhost:8080/index.jsp fine, but however http://localhost:8080/cocoon/ just gives a blank page and the following error. Note that it cocoon runs fine when I run it from jetty. - Root Cause - java.lang.IllegalAccessError: class org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its superclass org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) which is mentioned in the mailing list archive message http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105406130228569w=2 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105406333931007w=2 suggests that the problem is to do with which jars are in common/endorsed. The only ones that are there are those from cocoon-2.1m2/lib/endorsed directory (xalan-20030506.jar, xercesImpl-2.4.0.jar and xml-apis.jar). However the user who followed these steps mention that they also have xmlParserAPIs.jar in the common/endorsed directory. This jar doesn't seem to exist on my system? Is this the problem? http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105407220309715w=2 Any other suggestions would be greatly appreciated. Regards, Peter - 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]
Oracle Database Authentication
Hi, Recently I've been trying to use Cocoon 2.0.4 to develop a webapplication that connects to an Oracle 9 database.(I'mdoing this in light of my internship.)I've gotten it to work without too many problems. I wanted to take my idea a step further and create a system that let's a user dynamically logon to the system. His/her username and password are used to connect to the Oracle database using Oracle's own authenticationfunction.The user enters this information on a login form. And there my problem starts. I can't seem to get an idea of how to accomplish this. I don't want to make a list of users in a cocoon related file. I simply want to authenticate the user via the Oracle database using the input that the user gives the system in the login form. How would I do this? Regards, Han Vermolen
RE: caching proposals: SQLTransformer and Request
I just skimmed through the mailing list to find ideas of how to cache a pipeline starting with a request generator and later on passing data through the SQLTransformer. Did you or anybody else follow up on this idea? NB: Caching of the request generator would probably also need to cache request parameters passed not part as part of the URL. As usually only some request parameters are used in the pipeline, the sitemap element might list the request parameters to consider when generating cache key: map:generator type=request map:parameter name=request-data-used value=input1 map:parameter name=request-data-used value=input2 ... - A couple of things I'd like to do with Cocoon caching; let me know if this is crazy. 1. Add caching to the request generator. Many of my pipelines are transformations based upon the request, and since requestGenerator currently does not support caching, it means those transformations are always re-done (and often there is some sql at the end of the pipe which is really slow). I'd like to hash (or MD5?) the request string and use that as the cache key so that if I get the same one the pipeline knows it can skip over everything. 2. Add caching to the SqlTransformer. I know this sounds weird, but hear me out. Our database is modified infrequently, so usually returns the same data. There is a datestamp in a special table which indicates when the last time the database was updated. The SQL Transformer would remember the time of the last query. I would have a new parameter to the sql transformer to indicate when the data is dirty. map:transform type=sql map:parameter name=last-update-time value=cocoon:/lastUpdateTime.xml/ /map:transform LastUpdateTime looks like: Date20021005144321/Date (Or whatever the xml date format is, I forget). SQLGenerator would resolve cocoon:/lastUpdateTime.xml. I would then have a pipeline for lastUpdateTime.xml which would build it by querying my special table (but if you wanted, you could use some other mechanism to build it). SQLGenerator would compare the two dates and re-run the sql if it needed to. How does this sound? Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XSP page - dynamic link generation
It works a treat. Thanks Markus Stephen -Original Message- From: Markus Heussen [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 13:37 To: [EMAIL PROTECTED] Subject: AW: XSP page - dynamic link generation Hi Stephen, when you set the link in the following way a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a you will probably get a href=%0A%09%09%09%09%09%20somepage%0A%09%09%09%09%09 try: axsp:attribute name=hrefxsp:expr.../xsp:expr/xsp:attribute/a Greetings, Markus -Ursprungliche Nachricht- Von: Stephen Greene [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 12:31 An: [EMAIL PROTECTED] Betreff: RE: XSP page - dynamic link generation It's getting there but I'm getting some junk in the link aswell. The method getURL() returns a string which is a single word. But I'm getting: a href=%0A%09%09%09%09%09%20somepage%0A%09%09%09%09%09 How do I get rid of all the junk before and after the somepage text in the href attribute? Thanks Stephen -Original Message- From: Alexandre Victoor [mailto:[EMAIL PROTECTED] Sent: 27 June 2003 11:17 To: [EMAIL PROTECTED] Subject: Re: XSP page - dynamic link generation Hello If think you should use xsp:attribute : a xsp:attribute name=href xsp:expr.../xsp:expr /xsp:attribute /a Alex At 11:09 27/06/2003 +0100, you wrote: Hi all, I'm trying to create a dynamic link generated by a xsp page. Inside the html code: a href=insert linkLink to some page/a I want to replace the insert link with a value passed back by a object method. E.g. This is what I trying at the moment xsp:logic //get someObject from somewhere xsp:content a href=xsp:exprsomeObject.getURL()/xsp:exprLink to some page/a /xsp:content /xsp:logic I get back a error from cocoon complaining about the '' of the xsp:expr tag. Original Exception: org.xml.sax.SAXParseException: The value of attribute href must not contain the '' character Any one any ideas how to solve this. Thanks Stephen Greene - 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] - 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: caching proposals: SQLTransformer and Request
Christian, When we've had the need to cache a query, we just throw the result (as a DOM object) into the sesssion. I'm including the sample pipeline. I'll typicailly aggregate the results of this with something else (usually a dynamic query) and I'm all set. When I want to clear the cache, the session attribute can be cleared. (note, the getUserIdAction is something we wrote to grab the logged in user out of the session. We use container based authentication, but stash an object in the session for use in the sitemap). We also ended up writing an action to invalidate a sesion object (used to clear the cache). map:pipeline internal-only=true map:match pattern=assoc-list map:act type=getUserIdAction map:select type=sessionAttributeExists map:parameter name=attribute-name value=assoc-cache/ map:when test=true map:generate type=session-attr map:parameter name=attr-name value=assoc-cache/ /map:generate map:serialize type=xml/ /map:when map:otherwise map:generate src=xml/assoc_query.xml/ map:transform type=sql map:parameter name=use-connection value=mbrdb/ map:parameter name=userid value={userid}/ /map:transform map:transform type=writeDOMsession map:parameter name=dom-name value=assoc-cache/ map:parameter name=dom-root-element value=page/ /map:transform map:serialize type=xml/ /map:otherwise /map:select /map:act /map:match David Christian Kurz wrote: I just skimmed through the mailing list to find ideas of how to cache a pipeline starting with a request generator and later on passing data through the SQLTransformer. Did you or anybody else follow up on this idea? NB: Caching of the request generator would probably also need to cache request parameters passed not part as part of the URL. As usually only some request parameters are used in the pipeline, the sitemap element might list the request parameters to consider when generating cache key: map:generator type=request map:parameter name=request-data-used value=input1 map:parameter name=request-data-used value=input2 ... - A couple of things I'd like to do with Cocoon caching; let me know if this is crazy. 1. Add caching to the request generator. Many of my pipelines are transformations based upon the request, and since requestGenerator currently does not support caching, it means those transformations are always re-done (and often there is some sql at the end of the pipe which is really slow). I'd like to hash (or MD5?) the request string and use that as the cache key so that if I get the same one the pipeline knows it can skip over everything. 2. Add caching to the SqlTransformer. I know this sounds weird, but hear me out. Our database is modified infrequently, so usually returns the same data. There is a datestamp in a special table which indicates when the last time the database was updated. The SQL Transformer would remember the time of the last query. I would have a new parameter to the sql transformer to indicate when the data is dirty. map:transform type=sql map:parameter name=last-update-time value=cocoon:/lastUpdateTime.xml/ /map:transform LastUpdateTime looks like: Date20021005144321/Date (Or whatever the xml date format is, I forget). SQLGenerator would resolve cocoon:/lastUpdateTime.xml. I would then have a pipeline for lastUpdateTime.xml which would build it by querying my special table (but if you wanted, you could use some other mechanism to build it). SQLGenerator would compare the two dates and re-run the sql if it needed to. How does this sound? Steve - 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]
Deli in 2.1m1 - can't get it working
When I try out the demo supplied in the deli documentation I get: java.lang.RuntimeException: Invalid conversion from 'reference' to 'java.lang.String'. None of the suggestions in the archives seem to work (changing the sitemap tag in cocoon.xconf). Has anybody got it working in 2.1 M1 or M2? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon to csv not excel
Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: install cocoon 2.1-m2 on tomcat 4.1.24
Geoff, I think you misunderstood my mail, I *DON'T* have a copy of xmlParserAPIs.jar in the tomcat common/endorsed directory. However I just found the problem, inspired by some info from the link you mention. The problem was that the start menu items for starting/stoping tomcat didn't use the startup or shutdown scripts and hence java.endorsed.dirs wasn't being set and therefore the incorrect jars were being referenced. Regards, Peter On Fri, Jun 27, 2003 at 09:09:30AM -0400, Geoff Howard wrote: Yes, I think that other jar is the problem. If it's not needed for other webapps, remove it and try again. If it is needed, use the Paranoid servlet described at http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem. Geoff At 10:17 AM 6/26/2003, you wrote: Hi, I am attempting to install cocoon 2.1-m2 in tomcat 4.1.24 under windows XP. I first install tomcat specialised for JDK 1.4 jakarta-tomcat-4.1.24-LE-jdk14. I am running JDK 1.4.1_01 from SUN. I install into c:\Tomcat41 because of a suggestion on the mailing list that spaces in the install path can be problematic. I can access http://localhost:8080/index.jsp fine. I then execute the following commands in the cocoon-2.1m2 directory. set JAVA_HOME=c:\j2sdk1.4.1_01 build war cd build\cocoon-2.1m2\ copy cocoon.war c:\Tomcat41\webapps cd ..\..\lib\endorsed copy *.jar c:\Tomcat41\common\endorsed I then start Tomcat. I can access http://localhost:8080/index.jsp fine, but however http://localhost:8080/cocoon/ just gives a blank page and the following error. Note that it cocoon runs fine when I run it from jetty. - Root Cause - java.lang.IllegalAccessError: class org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2$AncestorIterator cannot access its superclass org.apache.xml.dtm.ref.DTMDefaultBaseIterators$InternalAxisIteratorBase at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) which is mentioned in the mailing list archive message http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105406130228569w=2 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105406333931007w=2 suggests that the problem is to do with which jars are in common/endorsed. The only ones that are there are those from cocoon-2.1m2/lib/endorsed directory (xalan-20030506.jar, xercesImpl-2.4.0.jar and xml-apis.jar). However the user who followed these steps mention that they also have xmlParserAPIs.jar in the common/endorsed directory. This jar doesn't seem to exist on my system? Is this the problem? http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105407220309715w=2 Any other suggestions would be greatly appreciated. Regards, Peter - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon to csv not excel
Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - 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: Cocoon to csv not excel
So can I use an xsl to create the node? I have a xsp that creates an xml file that I don't want to change. Tim Bachta -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon to csv not excel Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon to csv not excel
On 27 Jun 2003 at 9:55, Tim Bachta wrote: So can I use an xsl to create the node? I have a xsp that creates an xml file that I don't want to change. Yup. Use XSLT to transform your source XML into a CSV file wrapped by a single node, then pass it to the text serializer. Regards, Upayavira -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon to csv not excel Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - 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] - 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: Cocoon to csv not excel
On 27 Jun 2003 at 9:55, Tim Bachta wrote: So can I use an xsl to create the node? I have a xsp that creates an xml file that I don't want to change. Yup. Use XSLT to transform your source XML into a CSV file wrapped by a single node, then pass it to the text serializer. Regards, Upayavira -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: Re: Cocoon to csv not excel Using XSLT with the text serializer should do it. Just wrap your CSV content with a single node which will be ignored by the text serializer: root 1,bill 2,sid 3,sue /root and map:match pattern=xx map:generate ... map:transform... map:serialize type=text/ /map:match Regards, Upayavira On 27 Jun 2003 at 9:33, Tim Bachta wrote: Is there a way to create a csv file using cocoon? I have looked through the developers handbook with no luck. Thank you. Tim Bachta - 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] - 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]
Invalid processing instruction name (saxon:warning) with the bonebreaker example
hello, im a newbie and i just tried out the bonebreaker example from www.cocooncenter.de well i did all the changes in my sitemap to map bonebreaker like indicated on cocooncenter.de but everytime i get the error : http://www.bouchareb.de/error.htm in some postings here, i read that the source of the WildcardURIMatcher must be : map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers instead of: map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers because its depricated, but the result is always the same when I call the api (http://localhost:8080/cocoon/bonebreaker) im using: w2k cocoon 2.0.4 Tomcat/4.1.18 jdk 1.4 may be someone has an idea thank you very much Sliman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Invalid processing instruction name (saxon:warning) with the bonebreaker example
I've never tried bonebreaker, but if you've mounted it onto your root sitemap, then try accessing it via http://localhost:8080/cocoon/bonebreaker/ i.e. with a slash at the end. The mount probably mounts bonebreaker/ rather than just bonebreaker. Regards, Upayavira On 27 Jun 2003 at 17:09, Sliman Bouchareb wrote: hello, im a newbie and i just tried out the bonebreaker example from www.cocooncenter.de well i did all the changes in my sitemap to map bonebreaker like indicated on cocooncenter.de but everytime i get the error : http://www.bouchareb.de/error.htm in some postings here, i read that the source of the WildcardURIMatcher must be : map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers instead of: map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers because its depricated, but the result is always the same when I call the api (http://localhost:8080/cocoon/bonebreaker) im using: w2k cocoon 2.0.4 Tomcat/4.1.18 jdk 1.4 may be someone has an idea thank you very much Sliman - 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: public pages with the new portal framework?
That's good new Carsten! I'll look forward to the new version. While on the topic, I have a few questions/thoughts about the framework in general -- I'm going to create a separate thread for these though. Cheers, -Alex --- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build portal pages, i.e., assuming there is an identifiable user and there are differences between what you show to different users. I also found the generator to be a good tool for building all pages, as it facilitates good modular design and a nice way of adding/removing functionality via portal configuration files, without having to touch the page code. I was hoping that the new portal will remove this constraint, but looks like it doesn't... The new portal removes this constraint, definitly. The new portal is assembled of many components; one of them is the profile manager: currently there are two profile managers: one using authentication and one not. The samples currently only use the authentication version and the other one is afaik not working at the moment :) But work is in progress, so expect a working non authentication version soon. Carsten - 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: xmlforms and Xindice and Mysql
Hi, look at cocoonwiki: http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormXindice Sylvain -Message d'origine- De: Uwe Knorr [mailto:[EMAIL PROTECTED] Date: vendredi, 27. juin 2003 10:39 À: [EMAIL PROTECTED] Objet: xmlforms and Xindice and Mysql I want to ceate a multi-form-dialog (xmlforms) which starts with a business model which is taken from a Xindice database or mysql database and stores the changes or the new data in theses locations. To make my work easier I would prefer to start with an example. Can someone send me such an example. Best regards Heiner - 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]
AW: Invalid processing instruction name (saxon:warning) with the bonebreaker example
Hi Upayavira, thanx for the rush response. Now im getting this error http://www.bouchareb.de/error2.html here is a small view of my main sitemap: map:pipeline !-- match the Bonebreaker homepage -- map:match pattern=bonebreaker map:mount uri-prefix=bonebreaker check-reload=yes reload-method=synchron src=bonebreaker// /map:match !-- match all other Bonebreaker pages -- map:match pattern=bonebreaker/** map:mount uri-prefix=bonebreaker check-reload=yes reload-method=synchron src=bonebreaker// /map:match /map:pipeline thanx -Ursprungliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 17:13 An: [EMAIL PROTECTED] Betreff: Re: Invalid processing instruction name (saxon:warning) with the bonebreaker example I've never tried bonebreaker, but if you've mounted it onto your root sitemap, then try accessing it via http://localhost:8080/cocoon/bonebreaker/ i.e. with a slash at the end. The mount probably mounts bonebreaker/ rather than just bonebreaker. Regards, Upayavira On 27 Jun 2003 at 17:09, Sliman Bouchareb wrote: hello, im a newbie and i just tried out the bonebreaker example from www.cocooncenter.de well i did all the changes in my sitemap to map bonebreaker like indicated on cocooncenter.de but everytime i get the error : http://www.bouchareb.de/error.htm in some postings here, i read that the source of the WildcardURIMatcher must be : map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers instead of: map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers because its depricated, but the result is always the same when I call the api (http://localhost:8080/cocoon/bonebreaker) im using: w2k cocoon 2.0.4 Tomcat/4.1.18 jdk 1.4 may be someone has an idea thank you very much Sliman - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Invalid processing instruction name (saxon:warning) with the bonebreaker example
Check all of the files that are used to generate that page exist in the right places. Have you put bonebreaker into a subfolder of the folder containing your main sitemap? I can't guarantee to be so quick next time - time to head home now... Regards, Upayavira On 27 Jun 2003 at 17:21, Sliman Bouchareb wrote: Hi Upayavira, thanx for the rush response. Now im getting this error http://www.bouchareb.de/error2.html here is a small view of my main sitemap: map:pipeline !-- match the Bonebreaker homepage -- map:match pattern=bonebreaker map:mount uri-prefix=bonebreaker check-reload=yes reload-method=synchron src=bonebreaker// /map:match !-- match all other Bonebreaker pages -- map:match pattern=bonebreaker/** map:mount uri-prefix=bonebreaker check-reload=yes reload-method=synchron src=bonebreaker// /map:match /map:pipeline thanx -Ursprungliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 17:13 An: [EMAIL PROTECTED] Betreff: Re: Invalid processing instruction name (saxon:warning) with the bonebreaker example I've never tried bonebreaker, but if you've mounted it onto your root sitemap, then try accessing it via http://localhost:8080/cocoon/bonebreaker/ i.e. with a slash at the end. The mount probably mounts bonebreaker/ rather than just bonebreaker. Regards, Upayavira On 27 Jun 2003 at 17:09, Sliman Bouchareb wrote: hello, im a newbie and i just tried out the bonebreaker example from www.cocooncenter.de well i did all the changes in my sitemap to map bonebreaker like indicated on cocooncenter.de but everytime i get the error : http://www.bouchareb.de/error.htm in some postings here, i read that the source of the WildcardURIMatcher must be : map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers instead of: map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers because its depricated, but the result is always the same when I call the api (http://localhost:8080/cocoon/bonebreaker) im using: w2k cocoon 2.0.4 Tomcat/4.1.18 jdk 1.4 may be someone has an idea thank you very much Sliman - 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] - 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]
The new portal framework: questions and thoughts
I have been using portal-fw for a year now. Overall, Im very happy with it. It is well designed and contains all of the critical features you need to build a portal. Its been lacking some of the nice to have's, but Id rather have something to work with now and wait for the new features to come out. So Ive been looking forward to the enhancements. I have a few questions/wish list items (directed at Carsten): 1. Can you share with us the drivers for creating the new portal? - Why are you not extending the current portal-fw? - Is it going to be compatible with portal-fw? - What are the differences/new features in the new portal? 2. Layout I've noticed that you are changing the layout configuration, which is definitely a welcome change. The column layout worked fine, but was even behind WebLogic/WebSpere portals, which at least allow spanning columns. However, I find even the spanning design very limiting. I prefer to use CSS2 and take advantage of DIV tags, so that the coplets can be placed based on the absolute and relative positioning. For example, there is a place on my site where I would like the coplets to overlap, which is currently impossible. In general, I'd like to be able to leave hooks for the CSS classes. For example, I would like to be able to break down a page into areas. When a coplet is DIVed in such area, it is styled according to the area's rules. For example, all coplets in the related-links area have a light-gray background and Helvetica font (defined in a CSS stylesheet, but assigned by the portal config). A single coplet, however, should be able to override the style. 3. Application configuration I am probably misusing the portal, but in any case, this is what I do. I like to treat each page on the site as a portal page. Why? Well, I like to be very user-friendly, so that rather than letting the users customize the main page only, I want the to be able to do this on every page. Also, Id like to have site-editor coplets on every page, which allow editing page content. Clearly, these coplets should only be available to the site editors. So, here is my problem. For a page to be a portal page, it needs to have an application configuration in the sitemap. So if I have 200 pages, I need to have 200 page configurations in my sitemap, which is unwieldy. It would be great to be able to do one of the two: - Make application configuration work with patterns, just like the rest of the sitemap - Allow this to be externalized from the sitemap into another configuration file By the way, at the moment adding a new application configuration requires to bounce Tomcat, which is bad (every time I add a page, I have to restart!) Thoughts? Cheers, -Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Invalid processing instruction name (saxon:warning) with the bonebreaker example
hi again, yes all the files are there, i have the bonebreaker-directory in the cocoon directory well i wisch you a nice weekend. -Ursprungliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 17:27 An: [EMAIL PROTECTED] Betreff: Re: AW: Invalid processing instruction name (saxon:warning) with the bonebreaker example Check all of the files that are used to generate that page exist in the right places. Have you put bonebreaker into a subfolder of the folder containing your main sitemap? I can't guarantee to be so quick next time - time to head home now... Regards, Upayavira On 27 Jun 2003 at 17:21, Sliman Bouchareb wrote: Hi Upayavira, thanx for the rush response. Now im getting this error http://www.bouchareb.de/error2.html here is a small view of my main sitemap: map:pipeline !-- match the Bonebreaker homepage -- map:match pattern=bonebreaker map:mount uri-prefix=bonebreaker check-reload=yes reload-method=synchron src=bonebreaker// /map:match !-- match all other Bonebreaker pages -- map:match pattern=bonebreaker/** map:mount uri-prefix=bonebreaker check-reload=yes reload-method=synchron src=bonebreaker// /map:match /map:pipeline thanx -Ursprungliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 27. Juni 2003 17:13 An: [EMAIL PROTECTED] Betreff: Re: Invalid processing instruction name (saxon:warning) with the bonebreaker example I've never tried bonebreaker, but if you've mounted it onto your root sitemap, then try accessing it via http://localhost:8080/cocoon/bonebreaker/ i.e. with a slash at the end. The mount probably mounts bonebreaker/ rather than just bonebreaker. Regards, Upayavira On 27 Jun 2003 at 17:09, Sliman Bouchareb wrote: hello, im a newbie and i just tried out the bonebreaker example from www.cocooncenter.de well i did all the changes in my sitemap to map bonebreaker like indicated on cocooncenter.de but everytime i get the error : http://www.bouchareb.de/error.htm in some postings here, i read that the source of the WildcardURIMatcher must be : map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers instead of: map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers because its depricated, but the result is always the same when I call the api (http://localhost:8080/cocoon/bonebreaker) im using: w2k cocoon 2.0.4 Tomcat/4.1.18 jdk 1.4 may be someone has an idea thank you very much Sliman - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svgz to jpeg ?
Hi, does anyone know if it is possible to serialize a compressed svg file (svgz) to jpeg ? Thanks, Rob Gregory.
SVGZ to JPEG
Hi, does anyone know if it is possible to serialize a compressed svg file (svgz) to jpeg ? Thanks, Rob Gregory.
Setting up cocoon at site root
Question type=newbie How do I configure Tomcat 4.1.24 to run Cocoon sites from the site root? For example, right now I'm successfully running a Cocoon site from http://localhost/cocoon/mysite However, I would like to to configure Tomcat to run mysite from the request http://localhost/ /Question I'm sure it can be done, but I don't see anything in the set up docs. Any help would be much appreciated. - Justin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting up cocoon at site root
Hi Justin - Easy. Make the path for the cocoon Context in server.xml and remove/comment out the ROOT Context. If you don't have an entry for cocoon in server.xml, then you could even just edit the existing root definition and change ROOT to cocoon. Regards, Lajos Justin Makeig wrote: Question type=newbie How do I configure Tomcat 4.1.24 to run Cocoon sites from the site root? For example, right now I'm successfully running a Cocoon site from http://localhost/cocoon/mysite However, I would like to to configure Tomcat to run mysite from the request http://localhost/ /Question I'm sure it can be done, but I don't see anything in the set up docs. Any help would be much appreciated. - Justin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Lajos Moczar Open Source Support, Consulting and Training Cocoon Developer's Handbook (www.amazon.com/exec/obidos/tg/detail/-/0672322579) _ _ / \ / /___\ / / \ / http://www.galatea.com -- powered by AzSSL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting up cocoon at site root
Lajos, Thanks so much for the quick response. I'm still kind of muddled in the Tomcat documentation, though. Here's what I changed in server.xml: Host name=localhost debug=0 appBase=webapps/cocoon unpackWARs=true autoDeploy=true ... Context path= docBase=mysite debug=0/ However, when I go to http://localhost/ I get a directory listing of webapps/cocoon/mysite as generated by Tomcat. How do I tell Tomcat that there's supposed to be a Cocoon site there? Thanks again. - Justin On 6/27/03 4:52 PM, Lajos [EMAIL PROTECTED] wrote: Hi Justin - Easy. Make the path for the cocoon Context in server.xml and remove/comment out the ROOT Context. If you don't have an entry for cocoon in server.xml, then you could even just edit the existing root definition and change ROOT to cocoon. Regards, Lajos Justin Makeig wrote: Question type=newbie How do I configure Tomcat 4.1.24 to run Cocoon sites from the site root? For example, right now I'm successfully running a Cocoon site from http://localhost/cocoon/mysite However, I would like to to configure Tomcat to run mysite from the request http://localhost/ /Question I'm sure it can be done, but I don't see anything in the set up docs. Any help would be much appreciated. - Justin - 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: Setting up cocoon at site root
Justin - You can't make webapps/cocoon your host's appBase. The appBase must point to the directory containing the web applications, cocoon being one of them. So set appBase to just webapps, and the docBase of the default Context to cocoon. Regards, Lajos Justin Makeig wrote: Lajos, Thanks so much for the quick response. I'm still kind of muddled in the Tomcat documentation, though. Here's what I changed in server.xml: Host name=localhost debug=0 appBase=webapps/cocoon unpackWARs=true autoDeploy=true ... Context path= docBase=mysite debug=0/ However, when I go to http://localhost/ I get a directory listing of webapps/cocoon/mysite as generated by Tomcat. How do I tell Tomcat that there's supposed to be a Cocoon site there? Thanks again. - Justin On 6/27/03 4:52 PM, Lajos [EMAIL PROTECTED] wrote: Hi Justin - Easy. Make the path for the cocoon Context in server.xml and remove/comment out the ROOT Context. If you don't have an entry for cocoon in server.xml, then you could even just edit the existing root definition and change ROOT to cocoon. Regards, Lajos Justin Makeig wrote: Question type=newbie How do I configure Tomcat 4.1.24 to run Cocoon sites from the site root? For example, right now I'm successfully running a Cocoon site from http://localhost/cocoon/mysite However, I would like to to configure Tomcat to run mysite from the request http://localhost/ /Question I'm sure it can be done, but I don't see anything in the set up docs. Any help would be much appreciated. - Justin - 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] -- Lajos Moczar Open Source Support, Consulting and Training Cocoon Developer's Handbook (www.amazon.com/exec/obidos/tg/detail/-/0672322579) _ _ / \ / /___\ / / \ / http://www.galatea.com -- powered by AzSSL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Back in action
Hello everybody! After a month off, I feel invigorated and the burnout has subsided. I've thusly decided to take up a non-computer hobby (Model Railroading), and that should help provide a nice balance between computer and non-computer life. I've also begun to get closer on finishing my uber-project which involves Cocoon. It's called openWeather, and I will be providing Weather conditions via RSS. Unfortunately there's no scheduler in Cocoon, so most of the backend stuff is written in Python which will be crontabbed. I'll send a big announcement to the lists when the site goes live. Anyway, what's new in Cocoonland? =] Regards, Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Scheduler (Re: Back in action)
Tony Collen wrote: Unfortunately there's no scheduler in Cocoon, The Quartz scheduler is integrated in Lenya and as far as I know Cocoon 2.1 includes the Avalon Cornerstone Scheduler. Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]