Re: [C2b2] JSP Generator example fails with "Error creating the resource Exception JspGenerator.generate()"

2001-09-05 Thread Piroumian, Konstantin
> Their is not jasper.jar in Tomcat 4.0-b7 or -b8, but their is a > jasper-compiler.jar. Copying jasper-compiler.jar to cocoon/WEB-INF/lib > works. > > Is this a Tomcat or Cocoon problem? I think, this is no a problem, but a feature of Tomcats (at least 3.3 and 4.0). See 'readme' files in lib/co

[C2]Output indent problem.

2001-09-05 Thread Ling Kok Choon
Hi All, I use cocoon to build a web site, when the output ( html ) shown, and i view the source, the html code is in very well form. like: so it make my output ( html ) got a space between this 2 pic, and what i need is this 2 image joined togather, like: but how t

installation problems - Cocoon 2 on weblogic 6.1

2001-09-05 Thread Damian_Kwok
Has anyone managed to successfully install Cocoon 2 (B2) on weblogic 6.1? I followed the instructions that came with the distribution, but Cocoon failed to load during deployment (I'm running weblogic 6.1 in development mode so that it would auto-deploy any .war applications dropped into the "app

Cocoon2: BrowserImpl, filtering bytes

2001-09-05 Thread Cassandra Bonner
Hi, Does anyone know where I can get a little more info on the browser categories implementation for cocoon2? We're using media types to write different stylesheets to various "media" types with no issues, but I'm looking for a scalable way to "filter" the number of bytes sent to a particular de

HP and Compaq Merger makes Linux a huge winner

2001-09-05 Thread Nael Mohammad
This is off the topic, but I could not resist posting this interesting take on Linux: Read Below HP-Compaq's Great Software Challenge What will CEO Carly Fiorina do about its gaggle of operating systems? The decision could confirm her vision -- and make Linux a huge winner http://www.busine

C1: Including XML in JSP pages

2001-09-05 Thread Mark S. Kent
I'm still fairly new at this so forgive me if this is an obvious question. First off, we are using JSP pages with Tomcat 3.2.1, JBoss 2.2.1 and Cocoon 1.8.2. I have built XML and XSL files to run a report using xsp:logic statements to create a dynamic query string (esql) and have the formatted HT

Re: [C2b2] JSP Generator example fails with "Error creating the resource Exception JspGenerator.generate()"

2001-09-05 Thread Paul Spencer
Their is not jasper.jar in Tomcat 4.0-b7 or -b8, but their is a jasper-compiler.jar. Copying jasper-compiler.jar to cocoon/WEB-INF/lib works. Is this a Tomcat or Cocoon problem? Paul Spencer Vadim Gritsenko wrote: > > Copy jasper.jar into cocoon/WEB-INF/lib directory and restart tomcat. > >

Re: fp taglibs - race conditions?

2001-09-05 Thread Elisa Green
Jeremy Quinn wrote: > > At 11:06 AM -0400 5/9/01, Elisa Green wrote: > >The project I am working on does not need a full-fledged database > >application so the simplicity of the fp taglibs is attractive, > >but I have been unable to find any information on managing race > >conditions? Is it best

[C2] Urgent problem with selector inside resource

2001-09-05 Thread Jörn Heid
When using the parameter-selector (org.apache.cocoon.selection.ParameterSelectorFactory) inside a resource ...

Re: fp taglibs - race conditions?

2001-09-05 Thread Jeremy Quinn
At 11:06 AM -0400 5/9/01, Elisa Green wrote: >The project I am working on does not need a full-fledged database >application so the simplicity of the fp taglibs is attractive, >but I have been unable to find any information on managing race >conditions? Is it best to look for another solution or

Apidocs

2001-09-05 Thread cib
Hi, my recent mails got no success. Maybe the object beginning with an "A" will help. I'd like to generate an xsl from an xsp (an example of this below) and save this it on my disk automatically (overwriting the previous one) and use it as a transformer for requests(I already know this part). I'

having problem with cocoon2 and weblogic 6.1

2001-09-05 Thread Dennis Long
hi, Cocoon is a pretty cool technology. thanks for the hard work in making it available to the public. I am currently trying to setup cocoon2 with weblogic 6.1. After installing cocoon2 i am not able to see the welcome page. i have followed the instruction on installing cocoon but it still gi

Internationl xsl:parameter

2001-09-05 Thread Vladimir Garanovich
Hi I Use iPlanet fasttrack 4.1 with Cocoon 1.8.2 and Apache 1.3.20 with Jakarta Tomcat 3.2.3 with Cocoon 1.8.2 XSL file fragment ... Requesting URL http://servername/file.xml?filter=%E9%F6%F3%EA when I use iPlanet I see next result: ÊÃÕË when I use Apache I see éöóê H

Another Working System!

2001-09-05 Thread Sinan Gabel
Cocoon 1.8.2 with/on: OS: Redhat 7.1 Webserver: Tomcat 3.2.3 Servlet Engine: Tomcat 3.2.3 JVM: IBM 1.3 - Please check that your question has not already been answered in the FAQ before posting.

get xml-file into a xsp

2001-09-05 Thread Thomas Hofer
hi! i am a new user, but i read all messages since i am subscribed (01-08-27), but i did not find an answer, so please do answer me with this (i think easy to solve) question. i wrote an xsp-file, which gets some data from a database. this is ok but what i now need, is a xsp-function, which gets

Re: xsp xincluding

2001-09-05 Thread Michael McKibben
Hello, one way to deal with this issue is to have your xinclude url refer another pipeline defined in your sitemap. For example if I had the following fragment in my sitemap: sitemap.xmap: ... ... Then, my xsp file had the following xinclude: ... ... This would only work if

can't output text before document element

2001-09-05 Thread Henrik Hofmann
Hi,   im really new new to Cocoon and have a, as I think, trivial Question for people used to Cocoon. I'm sorry but I couldn't sind any Solution on the net.   Im trying to learn how cocoon works so i copied the example from the cocoon website. Whe I try to acces this page i get the following

Strange Behaviour on Solaris-2.7

2001-09-05 Thread Rajkumar, Joseph
Hi Folks I have Apache-1.3.20, Tomcat-4.0B7, Cocoon-2.0B2 working with modweb_app on a box running Mandrake-Linux-8.0 and it works just fine. When I tried the same thing on Solaris, (remember everything was compiled from sources except Tomcat), I frequently get the following message, when I g

fp taglibs - race conditions?

2001-09-05 Thread Elisa Green
The project I am working on does not need a full-fledged database application so the simplicity of the fp taglibs is attractive, but I have been unable to find any information on managing race conditions? Is it best to look for another solution or does cocoon handle this? My setup here: Apache 1

RE: Re[2]: xml compressing

2001-09-05 Thread Klaus Bertram
yes you had a mime type of image who can not include code at the other side the firewall must extract the file, check it, compress and foreward it to the requested user we had problems with class files who are packed. if we leave it at class it works nice every company had other restrictions at

Re: Re[2]: xml compressing

2001-09-05 Thread Thomas
they're not allowing GIF and JPEG then either ? I have hard to see that a firewall would filter out binary files unconditionally. I feel pretty sure saying that if you can get a GIF image thru the firewall, gzipped HTML should slip through aswell. /thomas. - Original Message - From: "Kl

XSP example to capture http request parms

2001-09-05 Thread Multani, Dal
Hi, I am looking for an XSP example that will capture the parms from an http request and forward another http request using these parms. I am using Cocoon 2. Your help will be greatly appreciated. Dal Multani - Please check t

Re: Dynamic XSP

2001-09-05 Thread Christopher Painter-Wakefield
This approach is strongly discouraged. If you try to do it this way, your pages will take a long time to load, every time, because your second XSP program will have to be recompiled every single time. So, even if you can make it work, you won't *want* to. Is there some reason you are trying to

Re: Publishing Engine could not be initialized.

2001-09-05 Thread Christopher Painter-Wakefield
I'm sorry, I don't know the source of your problem, but I can help a little bit. My setup is mostly like yours. The symbolic links shouldn't be a problem (I assume you are on some kind of *nix). My setup uses symlinks as well, and I've done that successfully on both Solaris and Linux. When yo

RE: Re[2]: xml compressing

2001-09-05 Thread Klaus Bertram
Hi Thomas, comperssing is nice, but what ist about fire-walls!? at great industries they don't allow to get compressed files over net Klaus nbis - Röttgerweg 10 - 51371 Leverkusen phone: +49-214-206494-0 fax: +49-214-206494-44 email: [EMAIL PROTECTED] > -Original Message- > From: Th

C2B2 Sitemap compile failure - AbstractGenerator

2001-09-05 Thread Tony Goodwin
Hi, Cocoon 2.0b2 JBoss 2.4.0 with tomcat 3.2.3 I have problem with compilation of sitemap.xmap where error is indicating class not found - org/apache/cocoon/generation/AbstractGenerator I have traced error to sitemap.xmap.java line where I load my own Generator which extends the AbstractGenerator

Re[4]: xml compressing

2001-09-05 Thread Andrew Answer
Hello java guru, I want to compress the traffic and search any methods for do this. It can be: 1. Using HTTP-Header and default browsers compression support. 2. Using browser plugins which do it and use autoinstall for upgrade clients. 3. Anybody what you want... I'm not spec in this area, but i'

Re: Re[2]: xml compressing

2001-09-05 Thread Thomas
I have been fiddling around alot with sending gzip compressed streams to a browser. and have the following info for anyone willing to experiment. if/what compression algorithms a browser can deal with is stated in the request header "Accept-Encoding". values I have seen is "deflate" and "gzip". N

Doesn't anyone know how to get the date of a requested XML-File ?

2001-09-05 Thread Christofer Dutz
Hi again, sorry for posting this thing over and over again, but I simply never get a reply. I want to automaticaly display the date a requested XML-File that was requested was last modified. I think this type of action should occur quite frequently, so I hope one of you has an Idea how to access

RE: DatabaseXActions

2001-09-05 Thread Chris Newland
Hi Andrew, I'm currently modifying the DatabaseAction actions to allow request parameters to be overriden with request attributes. This will allow me to pass my form data through another action which manipulates the values and sets them in request attributes before the DatabaseAddAction adds the

Re: Re[2]: xml compressing

2001-09-05 Thread java guru
Hi., I feel sorry for leading this topic off cocoon2. Hope this will not extend beyond limits. But., yes, you can do that all., but as already someone explains you cannot bundle all html+images together in this method..and this kinda stuff is highly client dependent... --- Xavier Renard <[EM

DatabaseXActions

2001-09-05 Thread Andrew Answer
Hello cocoon-users, i read thread named "Action to modify request parameters" and want to ask another questions. 1. I try to use DatabaseAddAction for getting form data. In descriptor file i setup column type as timestamp . How to set request parameter on NOW + 1 hour (for example)?

RE: Re[2]: xml compressing

2001-09-05 Thread java guru
You are right in the sense that apache and tc4 can compress the output(only supported formats).. 1. And if thats what we are talking about then there is compression/decompression all over the network starting at the server., network layers, hardwares like modems etc.. 2. I dont think so the so c

Re: Re[2]: xml compressing

2001-09-05 Thread Xavier Renard
Excuse-me if this is out-of-subject or if I didn't properly understood the previous message but the server-side can send a compressed page with a Response-Header "content-Encoding gzip" for exemple indicating that the page is compressed and the client-side "can" decompressed the page to display

RE: Re[2]: xml compressing

2001-09-05 Thread Morrison, John
Whether browsers support compression (usually either gzip or zip I think) is sent as part of the header of the request. It is then up to the server to do any compression (of the supported type) it desires. To my knowledge: Apache httpd can compress it's output. TC 4 I think can (it's a filter a

Cocoon error when generating graphics in PDFs

2001-09-05 Thread Stephan Kassanke
Hi all, I would like to include graphics in PDF documents rendered by Cocoon. The problem we have is, that it simply does not work. Cocoon throws an exception about a method not defined in the AWT. We are running Cocoon 1.8.2 and JVM 1.1.8. The stylesheets are checked and validated by a manual FO

Re: Re[2]: xml compressing

2001-09-05 Thread java guru
Hi., Again., let me if i have mistaken anything.. 1. When we are talking about html over internet, we are talking about a server and a client(browser). You only have control over your side(server side). You DONT have control over the client(browser side). 2. Any compression mechanisms(let it

Publishing Engine could not be initialized.

2001-09-05 Thread Tod Thomas
> java.lang.RuntimeException: Error creating >org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be >found in the classpath > (org/apache/xalan/xpath/xml/XMLParserLiaison) > I'm trying to just set up Cocoon with Tomcat, no Apache yet. I've symlinked the necessary

Re: C2: Action to modify request parameters

2001-09-05 Thread Piroumian, Konstantin
> Hi Konstantin, > > Sorry for appearing stupid but I still don't see how attributes can help me. > > here is the original situation: > > 1) Form is submitted and form values are set into request *parameters* > 2) DatabaseAddAction reads request *parameters* and puts them into database. > > But I

RE: Could not connect to Oracle8i database

2001-09-05 Thread Ankush Anand
Its not there -Original Message- From: Ankush Anand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 05, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: Could not connect to Oracle8i database Hi I am not able to connect to Oracle8i database.Exception states that could not connect to d

Could not connect to Oracle8i database

2001-09-05 Thread Ankush Anand
Hi I am not able to connect to Oracle8i database.Exception states that could not connect to datasource & you cannot get a poolable before the pool is initialized. java.lang.RuntimeException: Could not get the datasource java.sql.SQLException: You cannot get a Poolable before the pool is initial

xsp xincluding

2001-09-05 Thread Andrew Answer
Hello cocoon-users, how to do xsp xincluding? Because xinclude is a transformer, i can't push it before xsp generator in sitemap pipeline... But i can't also do xsp processing later because of xsp is a generator and i must place it first in pipeline... What i can do? -- Best regards,

Re: Re[2]: xml compressing

2001-09-05 Thread Derek Hohls
Hmm - seems to me that the pages need to be redesigned ... good webpage design = smaller and faster w/out throwing more technology at the issue   (you can always allow people to get more/heavier/bigger stuff if they *choose* to do so...)   YMMV>>> [EMAIL PROTECTED] 05/09/2001 11:13:03 >>>Hi ja

RE: C2: Action to modify request parameters

2001-09-05 Thread Chris Newland
Hi Konstantin, Sorry for appearing stupid but I still don't see how attributes can help me. here is the original situation: 1) Form is submitted and form values are set into request *parameters* 2) DatabaseAddAction reads request *parameters* and puts them into database. But I need to manipula

Re: C2: Action to modify request parameters

2001-09-05 Thread Piroumian, Konstantin
Why you don't want to use request attributes? They are the right place of holding this kind of information and passing between different processing layers: actions, pages, etc. - Original Message - From: "Chris Newland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Septemb

RE: C2: Action to modify request parameters

2001-09-05 Thread Chris Newland
This is what I thought :( So it is not possible to use another action to modify the request parameters that will be picked up by DatabaseAddAction since I would have to put the updated values into the sitemap parameters and DatabaseAddAction only looks in the request parameters? Guess I'll have

AW: C2: Action to modify request parameters

2001-09-05 Thread Jörn Heid
No. There are two maps. -Ursprüngliche Nachricht- Von: Chris Newland [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 5. September 2001 11:14 An: [EMAIL PROTECTED] Betreff: RE: C2: Action to modify request parameters Does this mean that sitemap parameters override request parameters of th

RE: C2: Action to modify request parameters

2001-09-05 Thread Chris Newland
Does this mean that sitemap parameters override request parameters of the same name? Form: Set request parameter ---> Filter action: Get request parameter Alter parameter Save in sitemap parameter ---> DatabaseAddAction: use sitemap parameter instead of request parameter with same name Other

Re[2]: xml compressing

2001-09-05 Thread Andrew Answer
Hi java guru, Tuesday, September 04, 2001, 8:38:37 PM, you wrote: jg> Hi., jg> Correct me if wrong.. jg> 1. The xml/xsl rendering in c2 is done on server side. jg> Then why do u need to compress the xml/xsp for client jg> side? But if i even generate HTML-files, anyway i want/can compress th