HttpServletRequest object accessible from C2

2001-08-30 Thread aaldridg
Hi all, Following earlier questions regarding how to get hold of the HttpServletRequest object from C2, here's a couple of techniques from the dev mailling list. HttpServletRequest httpRequest = (HttpServletRequest)this.objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT ); My favourite is:

AW: Strange problem with the Reader

2001-08-30 Thread Jörn Heid
Yes, many people have the same problem and likes resin for its better performance. It works, if you disable resins caching. If both apps are caching the files it do not work. But perhaps there's some good boy/girl who can fix it. I saw a patch for the reader in the dev-list but I do not know if i

RE: Strange problem with the Reader

2001-08-30 Thread Tibi DONDERA
There was talk a while ago about some caching problems with Resin and GIF files. I have the same problems, with the gif files and the css problems. Using IE5 (with always reload), I sometimes get the images in my pages displayed right (usually immediately after a restart of resin), and afterwards,

Re: reg..i18n...

2001-08-30 Thread Piroumian, Konstantin
> Hi., > Is internationalization in c2 just substituting or > more than that.. Sorry for putting the question that > way, 'coz i donno anything about i18n. Just started to > look into.. > And also is there a kinda editor tool for authering > such i18n xml docs?.. For more info about i18n see

Disable-output-escaping Question

2001-08-30 Thread Caleb Blanton
I hear that this is the place to ask about disable-output-escaping in XSL. If I am correct, I would like to ask a minute of your time to help me with a problem I'm trying to solve. I'm currently porting our product and I am forced to use a new implementation of XML parsing/transforming. In this

Re: [c2] minimal subsitemap?

2001-08-30 Thread Christoph Kliemt
->"S" == Sergio Carvalho <[EMAIL PROTECTED]> writes: S> Try the sub/sitemap.xmap. It's small enough as a base to work on. Thanks, this is a good idea. But it would be nice to know which parts are a must to have a simple sitemap to process a subsite containing say a simple "index.xml". I

Re: Problem installing cocoon

2001-08-30 Thread G Crawshaw
Thanks for your help - but this still does not seem to work. I now get the following error message: bash$ ./build.sh -Dinclude.webapp.libs=yes webapp Apache Cocoon 2 Build System ./build.sh: CP=: is not an identifier if I execute each of the commands in the buil

RE: How to avoid caching ?

2001-08-30 Thread java guru
Hi., In reply to the original question of xsp-page changes NOT getting reflected immediately: 1. Please refer to the xsp-internals on xml.apache.org. Its clearly mentioned there that ** Once instantiated, the program is kept in an in-memory cache for speeding up subsequent requests. For eac

Re: cocoon error

2001-08-30 Thread Peter Royal
At 11:56 AM 8/30/2001 -0700, you wrote: >- > >Publishing Engine could not be initialized. > > >java.lang.RuntimeException: Exception when creating " >org.apache.cocoon.processor.xsp.XSPProcessor" : >java.lang.NoSuchMethodError: See >http://xml.ap

my dream come true...c2 on 32mb windowz pc

2001-08-30 Thread java guru
Finally., I am able to run small c2 application with database access on windowz 98, 32 mb ram with precompile and subsidized sitemap:-) = Thanks and have great day srini Do You Yahoo!? Send a newsletter, share photos & files

RE: How to avoid caching ?

2001-08-30 Thread Tim Nelson
Roman, I had a similar problem with an XSL stylesheet which was retrieving XML content through an extension function. It ran great the first time but never changed until I restarted cocoon. I ended up creating a new transformer which didn't implement org.apache.cocoon.caching.Cacheable and now

cocoon error

2001-08-30 Thread George Geo
Please let me know why I am getting this error: Thank you very much. - Publishing Engine could not be initialized. java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp.XSPProcessor" : java.lang.NoSuchMethod

Re: [c2] minimal subsitemap?

2001-08-30 Thread Sergio Carvalho
Try the sub/sitemap.xmap. It's small enough as a base to work on. On 30 Aug 2001 21:42:32 +0200, Christoph Kliemt wrote: From: Christoph Kliemt <[EMAIL PROTECTED]> -- > Hi! > > Is there a sample out there for a *minimal* subsitemap? > > Hmm... im afraid my version is too minimal, it yields

reg..i18n...

2001-08-30 Thread java guru
Hi., Is internationalization in c2 just substituting or more than that.. Sorry for putting the question that way, 'coz i donno anything about i18n. Just started to look into.. And also is there a kinda editor tool for authering such i18n xml docs?.. SOrry if this is off topic Thanks =

How to avoid caching ?

2001-08-30 Thread Roman Kunert
Hello, I am sure that this must have been answered previously but I haven't found anything in the archives... I have a xsp-page which retrieves content from the database via esql, this page gets transformed by an xsl-page to html. Changes to the xsl-page will be applied with the next request whe

[c2] minimal subsitemap?

2001-08-30 Thread Christoph Kliemt
Hi! Is there a sample out there for a *minimal* subsitemap? Hmm... im afraid my version is too minimal, it yields an empty sitemap_xmap.java ;-) \\// christoph -- Real Programmers consider "what you see is what you get" to be just as bad a concept in Text Editors as it is in women. No, th

Re: numeric entities

2001-08-30 Thread David Loy
I'm currently using cocoon 1.8 running on tomcat 3.2.1. The UTF-8 characters were imbedded in the source XML. I have replaced them with the numeric entity. Both give the same result - the named (character) entity appears in the generated HTML. As I understand the process, the HTML is generated

Re: numeric entities

2001-08-30 Thread Peter Royal
At 11:19 AM 8/30/2001 -0700, you wrote: >Because netscape 4.x does not support several character entities (e.g. >“), I would like to restrict the html output of my xslt scripts to >only numeric entities when processing xml. Is there any method for doing >this as an xslt or configuration paramet

numeric entities

2001-08-30 Thread David Loy
I am new to this list. Sorry if this has been covered before Because netscape 4.x does not support several character entities (e.g. “), I would like to restrict the html output of my xslt scripts to only numeric entities when processing xml. Is there any method for doing this as an xslt or con

Re: Tried just about everything

2001-08-30 Thread Matt Jezorek
Big thanks. everything is running now http://www.bluelinux.org:8080/cocoon/ =) - Original Message - From: "Marcus Crafter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 9:14 AM Subject: Re: Tried just about everything > Hi Matt, > > I've just checked my in

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Peter Nuetzel - inglobo
again: add encoding parameter to your HTML Serializer definition in your sitemap (in /map:sitemap/map:components/map:serializers) ISO-8859-1 if this doesn't work it might be a caching problem. If you use Tomcat shutdown Tomact delete everything in the cocoon directory in your tomcat work di

problem running cocoon

2001-08-30 Thread G Crawshaw
when i try to access /localhost/cocoon I get the following exception: org.apache.avalon.framework.configuration.ConfigurationException: Error trying to load configurations description: Cocoon was not initialized. anyone know why this is happening? cheers, Georgina --

java.net.UnknownHostException while running Cocoon

2001-08-30 Thread praveen lakshman
Hi I am running cocoon with tomact serer. Everything works fine But In the News Feeds form If i click on any URL it is throwing this exception . Kindly help me in this regard. Is there any parsers built by Apache for News Feed .I heard they will be using RSS spec's for thatr. If possible kin

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Raphaël Goulais
On Thu, 30 Aug 2001, Samuel ARNOD-PRIN wrote: > I confirm too, I still have charset=UTF-8... did you do something > particular for this ? > > how can I rid of this *** UTF-8 ??? I put this on top of my xml files. It works for me with Cocoon2-cvs Hope this helps ... ---

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-30 Thread Samuel ARNOD-PRIN
> Its working perfectly in my environment (Tomcat/latest Cocoon2). It also > worked with earlier versions of C2. Perhaps you have a caching/reloading > problem. > > In my HTML : > I confirm too, I still have charset=UTF-8... did you do something particular for this ? how can I rid of this ***

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN
Mario Muja a écrit : > > I am currently using Windows 2000 Professional. I have checked it again. > 124 MB used directly after a reboot and a new restart of my > webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly > increases the memory used. Would be interesting to hear from

Re: Tried just about everything

2001-08-30 Thread Marcus Crafter
Hi Matt, Have a look at xml-cocoon2/xdocs/faq.xml, line 600. Hope that helps. Cheers, Marcus On Thu, 30 Aug 2001, Matt Jezorek wrote: > I dont see the Xvfb stuff in the FAQ on how to fix it i did download a Xvfb > rpm and had to get all of XFree86 stuff though

Re: Tried just about everything

2001-08-30 Thread Matt Jezorek
I dont see the Xvfb stuff in the FAQ on how to fix it i did download a Xvfb rpm and had to get all of XFree86 stuff though but still Someone put in the mailling list the other day something to add to the startup script for Xvfb anyone remember it i cant find it in my mail now. -Matt - Origina

Fw: Tried just about everything

2001-08-30 Thread Matt Jezorek
- Original Message - From: "Matt Jezorek" <[EMAIL PROTECTED]> To: "Marcus Crafter" <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 9:54 AM Subject: Re: Tried just about everything > I have uploaded my log files to > http://dev.bluelinux.org > > there are to many to send to list i gu

C2 - Developer Snapshot - 2.0 or 2.1 ???

2001-08-30 Thread Mario Muja
Hi, which version do I get, when I download from the section "Dev Snapshot" on the C2 homepage? 2.0 or 2.1? Kind Regards, Mario - Please check that your question has not already been answered in the FAQ before posting.

Re: Does CAPTURE.XSL work with C2 Beta 2 ???

2001-08-30 Thread Sylvain Wallez
Mario Muja wrote: > Hi, > the latest developer snapshot contains a logicsheet called capture.xsl > that can be used to store a stream of SAX events to an XMLFragment > variable. I would like to use this to store the results of an ESQL > call to a static variable for later usage. > > Does this

Re: Tried just about everything

2001-08-30 Thread Marcus Crafter
Hi Matt, I've just checked my installation. Cocoon 2.0 works out of the box with Tomcat 4.0b7, without need to modify the web.xml. The documentation needs to be clarified here. If you are still having problems, then please send in your cocoon.log and tomca

Re: C2 slow?

2001-08-30 Thread Berin Loritsch
Bernie Lee wrote: > > hi > > i was just wondering (newbie question). C2 seems slow loading a page. on my > p2-500, 192MB RAM, running w2kpro, T4b7 and C2b2, it takes about 3 secs to > load dynamic content. i'd imagine from the net, it might take 4-5 secs. > doesnt that seem a tad slow? Assuming

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja
I am currently using Windows 2000 Professional. I have checked it again. 124 MB used directly after a reboot and a new restart of my webapp/tomcat/cocoon. I use SVG in my webapp. Perhaps this significantly increases the memory used. Would be interesting to hear from other Win2000 users about t

Re: C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Derek Hohls
I made changes, restarted Apache/Tomcat and now have :   processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,DBSybase,DBInformix,DBMMprocessor.xsp.pool.database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driverprocessor.xsp.pool.database.adaptor.DBOracle=oracle.jdbc.driver.

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Samuel ARNOD-PRIN
Mario Muja a écrit : > > On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat > and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less. windows / linux ?? I can launch successfully tomcat/cocoon on a 20-30 MB JVM... so 64 should be enough, no ?

Re: C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Sébastien Lefebvre
You need to add a line in your cocoon.properties file. Check this and compare with your cocoon.properties file # These are the supported jdbc-drivers and their adaptors. # These properties are used by the DBFactory. processor.xsp.pool.database.adaptor=DBWeblogic,DBOracle,DBInstantDB,DBPostgres,

C1: ESQL: Pooling with mySQL?

2001-08-30 Thread Derek Hohls
When I try to use connection pooling rather than "in page" logic, I get an error.   I had:   org.gjt.mm.mysql.Driver  DBName  DBUser  DBPass which worked fine...   and now have changed to:   mydb   where mydb is specified in the cocoon.properties file as:   processor.xsp.pool.database.mydb.

Re: C2: ESQL how to encode NOW() function

2001-08-30 Thread Sébastien Lefebvre
My XSP pages work fine with the following stynax (I also use MySQL) INSERT INTO TOTO VALUES ('','Hello',now()) You don't need the tag Sébastien >Hi All, > >Can somebody tell me the correct way to encode the names of SQL functions in >queries? > >I'm trying to set a DATETIME column to the curre

Re: Requesting multiple selection lists

2001-08-30 Thread Andrei Bejenaru
Ok, look, this is what i get in the log: REMOTE HOST: localhost REMOTE ADDRESS: 127.0.0.1 REMOTE USER: null REQUEST SESSION ID: null REQUEST PREFERRED LOCALE: en_US SERVER HOST: localhost SERVER PORT: 8080 METHOD: POST CONTENT LENGTH: 303 PROTOCOL: HTTP/1.1 SCHEME: http AUTH TYPE: null REQUEST

C2: ESQL how to encode NOW() function

2001-08-30 Thread Chris Newland
Hi All, Can somebody tell me the correct way to encode the names of SQL functions in queries? I'm trying to set a DATETIME column to the current time by passing the function NOW() but the value is always ends up set to null. I've tried: NOW() "NOW()" "NOW()" The insert statement works fine wh

Re: Requesting multiple selection lists

2001-08-30 Thread Mario Muja
Hi, I agree with Chris, that some code examples would be helpful. From Andrei's description I think, that the problem is not the XSP code used to generate the HTML form but the fact that the list content does not arrive at the server when the form data is submitted (though all other data from

RE: Requesting multiple selection lists

2001-08-30 Thread Chris Newland
Hi Andrei, Its hard to diagnose the problem without an example from your code :) This works for me by selecting the values from 1 column in the table and putting them into a combo box: ...

how to bind servlets with xsl?

2001-08-30 Thread jose . camacho
I have a servlet which transform my biz logic to a xml. It goes to cocoon, and it assigns a xsl to my xml. But i want that this xsl to include others xsl ( include directive ). How can i redirect to get this new file.? i.e /xsl/myXsl1.xsl /xsl/myXsl2.xsl etc. thanx ---

Requesting multiple selection lists

2001-08-30 Thread Andrei Bejenaru
I got a form with 3 selection lists which are dynamicaclly filled from a bunch of selects and some other lists. On submit (method is POST) all other input elements are send correctly to the action xsp; my 3 lists don't appear between the request parameters in the log, nor I can apply a getParamete

Re: Database driver help

2001-08-30 Thread Christoph Kliemt
->"A" == Andrei Bejenaru <[EMAIL PROTECTED]> writes: A> Hi, I'm trying to use the JDBC Postgres driver instead of the A> standard ODBC in C2. What should I do to get it working ? Thats what i did: - added /opt/postgresql/share/java/postgresql.jar to CLASSPATH - added load

Re: Database driver help

2001-08-30 Thread Andrei Bejenaru
It worked out, Thanx. > > I'm trying to use the JDBC Postgres driver instead of the standard > > ODBC in C2. > > What should I do to get it working ? > > Just put the postgresql.jar (for Postgresql 7.x), jdbc6.5-xx.jar (for > Postgresql 6.5) in /WEB-INF/lib, edit /WEB-INF/web.xml > and /cocoo

Re: Problem installing cocoon

2001-08-30 Thread Raphaël Goulais
On Thu, 30 Aug 2001, G Crawshaw wrote: > Thanks for your help - but this still does not seem to work. Could you try to fetch the cocoon2 cvs version, and see if you get the same problems. If this is not the case, try to see the differences between the cvs and tar versions of ant and antRun ...

Re: Database driver help

2001-08-30 Thread Arnaud Vandyck
Date: Thu, 30 Aug 2001 11:21:02 +0300 From: "Andrei Bejenaru" <[EMAIL PROTECTED]> > I'm trying to use the JDBC Postgres driver instead of the standard > ODBC in C2. > What should I do to get it working ? Just put the postgresql.jar (for Postgresql 7.x), jdbc6.5-xx.jar (for Postgresql 6.5) in

Re: Problem installing cocoon

2001-08-30 Thread Raphaël Goulais
On Wed, 29 Aug 2001, G Crawshaw wrote: > When I attempt to execute the following: > > >./build.sh -Dinclude.webapp.libs=yes webapp > > I get this error message > > >./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an identifier bin/ant and bin/antRun are in DOS format. You have

Database driver help

2001-08-30 Thread Andrei Bejenaru
Hi, I'm trying to use the JDBC Postgres driver instead of the standard ODBC in C2. What should I do to get it working ? - Please check that your question has not already been answered in the FAQ before posting.

Re: Cocoon/Tomcat on a RAQ Cobalt3 with 64 MB RAM, possible ??

2001-08-30 Thread Mario Muja
On my desktop I am frequently using approx. 120 MB, when Cocoon/TomCat and my WebApp is loaded. Therefore, I think 64 MB is a little bit too less. Mario Samuel ARNOD-PRIN wrote: >what do you think of such a configuration ? > >for a small web site. > >thank you > >-

Re: Separation of Logic and Content

2001-08-30 Thread Mario Muja
Hi Beat, sorry for interrupting your discussion with Arnaud. What type of logic would you like to put into logic.xsl? Is it logic used to generate content (then an XSP page or a logicsheet is probably the best place for it)? Is it logic used to build the presentation layer (then the XSLT sheet

Re: Separation of Logic and Content

2001-08-30 Thread Beat De Martin
Hello Liam I'm using Cocoon2. I don't see where your logicsheet (XSL) is ? It's like the greeting3 sample from the Cocoon2 homepage. Cheers BeatHello Lia, >From: "Liam MacQuarrie Morley" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: Separation of Logic

How about releasing 1.8.3?! (was: How to use Jfor with Cocoon 1.8.2 ?)

2001-08-30 Thread Drasko Kokic
Hi there, I was wondering if there is a possibility to release the 1.8.3 code from development!? I still need to work with C1 but need the newer releases of Xalan, Xerces, FOP, etc. Which steps needs to be done? TIA Drasko OT: Would anybody know how to use the XPathAPI class? I need to selec