java.lang.NullPointerException: Null content handler

2002-04-05 Thread Aslam Ahmed
Hello Friends, First time i'm using cocoon. My system configration is as follows: I've installed JDK1.3, cocoon2.0 and Tomcat3.3a on windows 2000 server machine. First time i ran the cocoon from my browser using the URL: http://localhost:8080/cocoon then i

Extra namespace declarations in XML from XSP

2002-04-05 Thread Stephen Ng
[Sorry if this is being posted twice; my email is misbehaving so I'm not sure if this went out.] I'm running into a small nuisance with Cocoon 2.0.2 (I'm running WinXP). After my XSP has been processed, I find the resulting xml file still has all the namespaces from the xsp. This is bumming me

RE: [HELP]Exception in creating Transform Handler

2002-04-05 Thread Vadim Gritsenko
> From: Darko Bunic [mailto:[EMAIL PROTECTED]] ... > Problem is: if I made xsl non-well-formed or non-valid > > for example: > > change to > > > I got following error: > Exception in creating Transform Handler Reasonable. > I spent a lot of time to find and isolate where is the error.

RE: C2 JPEG SVG Compression

2002-04-05 Thread Vadim Gritsenko
> From: MJ Ray [mailto:[EMAIL PROTECTED]] > > Vadim Gritsenko wrote: > >> Looking at the source on there (a not-too-recent CVS copy), it seems that > >> the JPEGTranscoder doesn't get the Hint for the compression set. Has > >> this been fixed and when (2.0.2? current CVS?)? Where is it best fixed

RE: Could not access component for hint

2002-04-05 Thread Vadim Gritsenko
Only log file and exception stack trace know the answer on this. IIRC, the page you are citing advices to read log file. Vadim -Original Message- From: Cristina Ulivi [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:56 AM To: [EMAIL PROTECTED] Subject: Could not access compone

C2.0.1 - esql stored proc problem

2002-04-05 Thread Argyn Kuketayev
I have two nested queries and one nested stored procedure call. I couldn't get resluts from the stored procedure. Cocoon says: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.ClassCastException: oracle.jdbc.driver.OraclePreparedStatement here's a f

Unable to determine servlet context URL

2002-04-05 Thread Jordi Guijarro
Hi! We are installing cocoon 2.0.2 on jakarta tomcat 3.3a (as a war file), all on a netware server. The JVM version is 1.3.1 (recently upgraded from 1.1.7b). When we are trying to access cocoon servlet to test it at the URL http://host:8080/cocoon/ we get this message: javax.servlet.ServletExcep

[HELP]Exception in creating Transform Handler

2002-04-05 Thread Darko Bunic
Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler Hi to all! My configuration: Cocoon - 2.0.2-dev tomcat 3.3 jdk 1.3.1 rh6.2 (kernel 2.4.12) Here is very simple example: XSP page looks like: http://apache.org/xsp";> Hello - and

Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Randy Smith
Hi gang, I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED

Re: Validating an XSL-FO

2002-04-05 Thread J.Pietschmann
Hahn Kurt (CHA) wrote: > I'm trying to produce PDF-documents, and I'm really desperate. For a while, > I tried to apply some minor changes to a previously working XSL, and all I > get since then is the Acrobat message "The file is damaged and could not be > repaired". However, if I choose xml as o

RE: Is anyone working on a book? Was: Why isn't Cocoon making into the commerical world?

2002-04-05 Thread Jeremy Aston
Actually this book is being written by myself. For one reason or another the listing on Amazon was a false start but things are moving along quite nicely now - teething baby allowing! Hopefully we will see it in the later summer/early autumn. Best regards, Jeremy -Original Message- Fr

Re: Load test with ab

2002-04-05 Thread Horst Rutter
Frustrating, I also have to communicate with a MS SQL 2000 db server. Not having started on the JDBC work I would be interested to know: a) what kind of experiences people have made using JDBC in a Cocoon 2.x environment talking to MS SQL 2000 b) any pointers to alternative (other than MS) JDBC dr

Logicsheet Woes with Esql and XSP Logic

2002-04-05 Thread Sharat Koya
Hi help on this problem would be much appreciated since I have been stuck with it for a few days of coding. I have a logicsheet that runs mysql statments and returns values from the database. In my logic (in the file using the logic sheet) I have the statment that trys to assign a value from the

Extra namespace declarations in XML from XSP

2002-04-05 Thread Stephen Ng
I'm running into a small nuisance with Cocoon 2.0.2 (I'm running WinXP). After my XSP has been processed, I find the resulting xml file still has all the namespaces from the xsp. This is bumming me out because I have unit tests on my xml output, and I have to update them to include these extrane

RE: Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Moritz Petersen
hi randy, > I have Tomcat installed and working and I was told by someone on the > [EMAIL PROTECTED] list that all I had to do was put the cocoon.war > file in the tomcat/webapps directory, restart tomcat and that was > it. Seemed > too easy and naturally it didn't work for me. I was wondering if

"http status 503 Servlet Cocoon2 is currently unavailable" after I install and

2002-04-05 Thread Siu Wong
Hi: I installed cocoon after I started tomcat 4.03 I got this error message. I did follow the instruction copied and renamed jar files, and copied cocoon.war file to catalina_home/webapps directory, modified server.xml of tomcat, modified web.xml of cocoon. Please Help Siu Man Wong >>>

Re: Basic cocoon app for newbies

2002-04-05 Thread Eric de Groot
>> CHello is a minimal cocoon application. >> >> http://chello.sf.net >> >> HTH, >> -Tom > Hi > It has not been updated in quite a while > with the newer version of either the JDK, Tomcat > nor Cocoon-2.0.2. > > Regards > Joseph Rajkumar Plus chello introduces a bunch of other stuff like Cruis

Re: Basic cocoon app for newbies

2002-04-05 Thread Joseph Rajkumar
> "von Schwerdtner, Thomas (GXS, FPI)" wrote: > > CHello is a minimal cocoon application. > > http://chello.sf.net > > HTH, > -Tom Hi It has not been updated in quite a while with the newer version of either the JDK, Tomcat nor Cocoon-2.0.2. Regards Joseph Rajkumar email: [EMAIL PROTEC

RE: Basic cocoon app for newbies

2002-04-05 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Basic cocoon app for newbies CHello is a minimal cocoon application. http://chello.sf.net HTH, -Tom It would be nice there were 2 cocoon distributions, a bare bones "I mean business" version as a base fo

Basic cocoon app for newbies

2002-04-05 Thread Eric de Groot
Title: Basic cocoon app for newbies After struggling for a few days trying to figure cocoon out, this is what I came up with as a basic starter cocoon application.  It’s the same basic structure as the cocoon webapp, but only including the required stuff for cocoon-2.0.2.jar ( also, I just took

Re: Validating an XSL-FO

2002-04-05 Thread Stijn Van Vreckem
Kurt, I've posted a work around to your problem a few days ago. You must change the fop jar from cocoon version 0.20.3rc with the latest version 0.20.3. Stijn On Fri, 5 Apr 2002, Hahn Kurt (CHA) wrote: > I'm trying to produce PDF-documents, and I'm really desperate. For a while, > I tried to

Re: Charting

2002-04-05 Thread Nicola Ken Barozzi
From: "Nicola Ken Barozzi" <[EMAIL PROTECTED]> > From: "Sozonnik Andrew" <[EMAIL PROTECTED]> > > Have you already put your charting things somewhere ? > > Where can I find it ? > > I'm *very* time constrained these days, so please be patient. > I will post them ASAP. > > Thank you very much for i

Re: [OT] HTML email (RE: [docs] Suggestions about and/or in the docs)

2002-04-05 Thread MJ Ray
von Schwerdtner, Thomas (GXS, FPI) wrote: > [...] Does ANYONE know of a way to shut this off or to whip Outlook into > shape? Yes. Shut off Outlook. > [...] I'm forced to use Outlook at work due to the Exchange server. Complain until the person "forcing" you fixes it, or allows you to use some

RE: Putting the esql:get-ascii inside CDATA block

2002-04-05 Thread Steven Sedlmeyer
Sorry, forgot the java file. It's attached here along with the xsp it came from, the resulting xml and the xml as I wanted it to appear. Steve -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 2:33 AM To: [EMAIL PROTECTED] Subject: Re: Putti

Re: Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Carlos
Here's Apple's way to do it http://developer.apple.com/internet/macosx/tomcat1.html On 04/05/02 5:46, "Randy Smith" <[EMAIL PROTECTED]> wrote: > Hi gang, > > > I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 > and I'm having some problems. I'm sure the main problem i

Re: C2 JPEG SVG Compression

2002-04-05 Thread MJ Ray
Vadim Gritsenko wrote: >> Looking at the source on there (a not-too-recent CVS copy), it seems that >> the JPEGTranscoder doesn't get the Hint for the compression set. Has >> this been fixed and when (2.0.2? current CVS?)? Where is it best fixed? > > IIRC, there were NO changes in the SVG seria

RE: form-validation and utf-8

2002-04-05 Thread Montier Patrick
hi, Thanks for your advises but it still doesn't work. 1. UNIX: LOCALE=... I try to change the LC_CTYPE to utf_8 but it doesn't change anything. >>>2. For Sun JVM, this is -Dfile.encoding option (I might be wrong though...) 2) I try to change system settings but it"s the same thing, i also tr

RE: Putting the esql:get-ascii inside CDATA block

2002-04-05 Thread Steven Sedlmeyer
I'm pulling out a CLOB that may or may not have embeded HTML which may or may not be XHTML... I then need to pass it on through a couple of stylesheets to format the results for a browser. I'm trying to put the text into a CDATA block so that the embeded tags will not get processed by later st

RE: Greetings, and question

2002-04-05 Thread Brent Eades
On 4 Apr 2002 at 19:36, Vadim Gritsenko wrote: > Test it, and continue from this to next step: > > > http://www.yahoo.com";> > > > > > > Test it, see the result, go further. Say, use xpath > value="/html/body/table". Ah. Should have thought of changing the serializer to "xml"... this

Could not access component for hint

2002-04-05 Thread Cristina Ulivi
Hi all. I've installed Tomcat 4.0.1& Cocoon 2.0.1 on a Windows 2000 o.s. It's all right, but now when I invoke the page "intrasl\flussi\upload.xsp" to upload a file I have the next error: Could not access component for hint: org\apache\cocoon\www\intrasl\flussi\upload_xsp   Someone of you ca

Help needed to install and run Cocoon 2.0.1 on WebSphere 4.0

2002-04-05 Thread Ali, Farhan
Hi, I have installed Cocoon2.0 on WebSphere. How can i test out whether the Cocoon application is running or not. The steps whatever i did for the installation of Cocoon on WebSphere 4.0 is as, I created an application Server and installed the cocoon.war on the newly created Application Server.

RE: Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Marina Sturino
At 09.39 05/04/2002 -0500, you wrote: >ALL NEWBIES READ THIS: Use Tomcat 4.0.1! Last week I've successfully installed Cocoon 2.0.2 with Tomcat 4.0.3 on Mac OS X 10.1.3 To prevent this error: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w

RE: Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Vadim Gritsenko
ALL NEWBIES READ THIS: Use Tomcat 4.0.1! Vadim > From: Randy Smith [mailto:[EMAIL PROTECTED]] > > Hi gang, > > > I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 > and I'm having some problems. I'm sure the main problem is that I'm new at > all this but I had to start

Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Moritz Petersen
hi randy, > I have Tomcat installed and working and I was told by someone on the > [EMAIL PROTECTED] list that all I had to do was put the cocoon.war > file in the tomcat/webapps directory, restart tomcat and that was > it. Seemed > too easy and naturally it didn't work for me. I was wondering if

RE: form-validation and utf-8

2002-04-05 Thread Vadim Gritsenko
> From: Montier Patrick [mailto:[EMAIL PROTECTED]] > > Thank you for the response but how to change the encoding of the servlet > container ? > that is what i want to do ! Two options: 1. UNIX: LOCALE=... Win: Control Panel - Regional Options - Locale 2. For Sun JVM, this is -Dfile.encoding

Problem with Pizza

2002-04-05 Thread "Ehms, Jürgen"
Hallo, i installed cocoon2.0.3-dev tomcat-4.03 on jdk1.4.0 it worked proberly bat after I realized, that database-poolining is not running with jdk1.4.0 I stepped back to jdk1.3.1. cocoon2.0.3-dev tomcat-4.03 on jdk1.3.1 It is running now, and the simple-database is now working but if I sta

RE: Error compiling sitemap

2002-04-05 Thread Rajput, Ashish S
We currently have 16 bits on our display setting. Ashish -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 5:33 PM To: [EMAIL PROTECTED] Subject: RE: Error compiling sitemap Shot in the dark: how many colors your display currently have?

Installing Cocoon on Mac OSX with Tomcat

2002-04-05 Thread Randy Smith
Hi gang, I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAI

Re: Dynamically transform a generators output

2002-04-05 Thread KOZLOV Roman
Hi Chris, Look at request selector usage in cocoon's default sitemap. Also, have a look at the very good tutorial http://www.cocooncenter.de/cc/documents/resources/request-params/requestselector.html Best regards Roman "Shaw, Chris" wrote: > Hi > > I have the following scenario... > > Th

Dynamically transform a generators output

2002-04-05 Thread Shaw, Chris
Hi I have the following scenario... The user choses, on an HTML Form, for which format they want the output (e.g. PDF, XML, HTML, etc)...and the parameter called 'format' gets set as to whatever they chose ...eg format=pdf. A generator is called which executes a database query and returns all t

Pipeline Usage

2002-04-05 Thread David LAGARDERE
Hello. I'm new on this list, so I hope you will pardon this question if it has already been asked. My question is : Without using XSP, I would like to introduce dynamic XML depending on each document of my site. Is it better using a pipeline for each page with an appropriate transformer adding

RE: Load test with ab

2002-04-05 Thread Carsten Ziegeler
> -Original Message- > From: Bert Van Kets [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 2:51 PM > To: [EMAIL PROTECTED] > Subject: RE: Load test with ab > > > Carsten, > does this mean that the latest CVS build can be trusted under > heavy loads, > say 50 to 100 concurrent

RE: Load test with ab

2002-04-05 Thread Bert Van Kets
Carsten, does this mean that the latest CVS build can be trusted under heavy loads, say 50 to 100 concurrent users? Bert At 14:12 5/04/2002 +0200, you wrote: >We had the same problem, and it had to do with the MRUStore which is >not thread safe in 2.0.1 and 2.0.2. > >I suggest you try the latest

Re: Load test with ab

2002-04-05 Thread Michael Wechner
Sorry, didn't see your email. Ok, then I won't try 2.0.2 but rather try the latest CVS version. Thanks a lot for your help Michael Carsten Ziegeler wrote: > We had the same problem, and it had to do with the MRUStore which is > not thread safe in 2.0.1 and 2.0.2. > > I suggest you try the l

Re: Load test with ab

2002-04-05 Thread Michael Wechner
There must be another reason in our case. We don't use Microsoft and we don't use a database. In the case of our load test, everything was retrieved from the filesystem. I will try Cocoon 2.0.2 over the weekend. Maybe that helps. Michael Nicola Ken Barozzi wrote: > From: "Chris Warr" <[EMAI

RE: Load test with ab

2002-04-05 Thread Carsten Ziegeler
We had the same problem, and it had to do with the MRUStore which is not thread safe in 2.0.1 and 2.0.2. I suggest you try the latest cvs version which is (paranoid) synchronized. This solved our problem with a hanging (dead) Cocoon. Carsten > -Original Message- > From: Michael Wechner

Re: Load test with ab

2002-04-05 Thread Michael Wechner
Where do I find sitemap_xmap.java? Within the work directory of Tomcat? If so, then I can't tell, because I deleted it unfortunately. But I can do another load test! Thanks for your help Michael Vadim Gritsenko wrote: > What is in these lines? > > org.apache.cocoon.www.sitemap_xmap.process(

logicsheet

2002-04-05 Thread Sharat Koya
hi, i have been trying to implemnet a logicsheet as follows in the logicsheet contains a function (calcs cords for an object) paramaeters of which are object="car" and cord=" " <--x or y depending on what i want returned This function then runs some esql to grab the data of the car and calcu

RE: Running Cocoon on Bea 6.1SP2

2002-04-05 Thread Matthew Langham
Ok, I can answer my own question :-). http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101300803717354&w=2 That fixes our problem. Matthew -- Open Source Group sunShine - Lighting up e:Business = Matthew Langham, S&N

Running Cocoon on Bea 6.1SP2

2002-04-05 Thread Matthew Langham
Hi, we are having problems running Cocoon 2.0.2 on Bea 6.1SP2. We get the following exception: >> Cocoon 2 - Internal server error type fatal message Language Exception description org.

Re: Charting

2002-04-05 Thread Nicola Ken Barozzi
From: "Sozonnik Andrew" <[EMAIL PROTECTED]> > Hello Nicola ! :-) > Have you already put your charting things somewhere ? > Where can I find it ? I'm *very* time constrained these days, so please be patient. I will post them ASAP. Thank you very much for interesting, I'm really happy for it :-

Re: build problems with JDK 1.4.0

2002-04-05 Thread Conny Pemfors
the problem is that you have to put phpsrvlt.jar and the other jar file into lib directory. Then it will not complain. make sure that you don't miss xml-apis.jar, xalan-XXX.jar, Xerces-XXX.jar kind regards Conny - Original Message - From: "Adnan Zelkanovic" <[EMAIL PROTECTED]> To: <[EMA

RE: databaseaddaction...help me....

2002-04-05 Thread Rolfe Jenny
Title: RE: databaseaddaction...help me Brilliant, thank you thank you thank you it works like a charm jenny -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 9:51 AM To: [EMAIL PROTECTED] Subject: Re: databaseaddaction...help me

I18n and Cocoon2

2002-04-05 Thread Matthieu Sozeau
I've got some questions/feature requests for the i18n transformer: 1) When I have large chunks of data containing markup (say These files are {0} encoded, a format similar to the mp3 but which is totally free (source code, algorithms...) and more powerful. If u use windows and {1} yo

Re: Cocoon 1.82 + CLOBs + Oracle + esql

2002-04-05 Thread Andreas Kuehne
Hi Russell , > I've had a hell of a time getting cocoon 1.82 and the esql taglib to > pull XML data stored in CLOB fields from Oracle 8.1.7 (using the > thin Oracle driver) > > I decided to fix it, and happily all I had to do was add a few things > to the esql.xsl file under src. than

Re: databaseaddaction...help me....

2002-04-05 Thread Christian Haul
On 05.Apr.2002 -- 09:26 AM, Rolfe Jenny wrote: > HttpProcessor[8080][3]/AbstractDatabaseAction: Setting column 2 named > key:page:pageid with value null >From this we can conclude that the value is not found. OK, the issue is a bit complicated here. And you coudn't have known unless inspecting th

Validating an XSL-FO

2002-04-05 Thread Hahn Kurt (CHA)
I'm trying to produce PDF-documents, and I'm really desperate. For a while, I tried to apply some minor changes to a previously working XSL, and all I get since then is the Acrobat message "The file is damaged and could not be repaired". However, if I choose xml as ouput instead, everything looks

RE: databaseaddaction...help me....

2002-04-05 Thread Rolfe Jenny
Title: RE: databaseaddaction...help me I've included the relevant section from the sitemap logs below. It looks as if the pageid is being saved as a sitemap parameter but it is not being picked up by 'key:page:pageid'. Now this database stuff is in the middle of a whole heap of things, I'm