Re: Cocoon 2 + Access

2002-05-15 Thread Tom Klaasen
Cyril, May I add a suggestion? Perhaps you should first try to make a DB connection from within a simple scratch program (so just in a main() method of some scratch class). I have the impression that the main part of the issues you're having, lies there. Once you have it in scratch code, it w

RE: help with redirect and forward

2002-05-15 Thread Vadim Gritsenko
> From: Vij, Bhavna [mailto:[EMAIL PROTECTED]] > > Hi All, > I am not able to redirect or forward to another pages > I need to do something like that. > There's a login page with username and password. If the login is > successfull, I need to forward it to page1 else I need to go back to login >

Re: Tomcat 4.0.4b3 and Cocoon 2.1-dev play nicely

2002-05-15 Thread Marc Jeffrey Driftmeyer
So long as you are running a non-SDK 1.4 of Java. -Marc Frank Ridderbusch wrote: >Just to let you know. I just grabbed Tomcat 4.0.4b3 and did a quick >'cp -rp' install of Cocoon (a recent 2.1-dev) from my older Tomcat. >JDK is IBM 1.3.1. > >As far as I can tell from my random clicks through doc

Re: Cocoon 2 + Access

2002-05-15 Thread Andrew C. Oliver
+1 Torsten Curdt wrote: >Sorry, this will not help but... > >If you want to stay away from problems, stay away from access... > >Just my two cents... >-- >Torsten > > >- >Please check that your question has not already been answ

Re: MS Excel

2002-05-15 Thread Andrew C. Oliver
Ahh... Okay this makes sense. I didn't read carefully enough about the version of Cocoon. I'd highly suggest using a recent nightly build of the serializer if you're using gnumeric 1.0.3+ (the format changed). A number of enhancements have been added recently as well as preliminary work on

RE: Cocoon 2 + Access

2002-05-15 Thread Faulkner, Perry
Cyril,   You probably should set up a datasource, using the ODBC data manager. That's what the logs part 'jdbc:odbc:logs' is referring to in your tag. Use the data source manager to create a data source, 'logs' that refers to your access database 'C:\JAVA\JDBC\logs.mdb'.   When you exe

Re: Cocoon 2 + Access

2002-05-15 Thread Torsten Curdt
Sorry, this will not help but... If you want to stay away from problems, stay away from access... Just my two cents... -- Torsten - Please check that your question has not already been answered in the FAQ before posting.

Re: Cocoon 2 + Access

2002-05-15 Thread cyril vidal
Hi Perry,   I've tried with // instead  of / ,it isn't better... Anyway, I've configurated with esql and pool. the cocoon.xconf looks like this: jdbc:odbc:logs  (with odbc, we don't need to write the complete url, right??) and I didn't forget to load the driver in web.xml...   My file

RE: Cocoon 2 + Access

2002-05-15 Thread Faulkner, Perry
Hi Cyril,   In theory it should work, as it's just some Java code, similar to that produced by ESQL. The disadvantage, is that you don't have any error checking or logging to fall back on when situations like this occur, and ESQL would provide that.   Anyway, the only obvious thing that I c

Cocoon 2 + Access

2002-05-15 Thread cyril vidal
Hy!   I would like to know  if it is an obligation to use ESQL and the connection pool provided by Cocoon2 to connect to a database. By example, isn't it possible just to write the following code, by which a simply connection should be executed with the 'logs' database? I've tried it and it

HTML Serializer issue

2002-05-15 Thread Fernando Padilla
Hello. We are developing a site and we're having an issue with the HTML serializer, it seems to be adding a newline after before every tag, but not if it's preceded by an tag. Now, most of the time this is not an issue, but we have a table cell with Option 1 Option 2 Option 3 and it'll lo

RE: upgrading to Cocoon2 and debugging

2002-05-15 Thread Artur Bialecki
Porting from Cocoon1 to Cocoon2 is like converting a gorilla to a submarine. If your project is small than I would read up on Cocoon2, rethink your approach and start from scratch, otherwise read on. > -Original Message- > From: gorillacommunications [mailto:[EMAIL PROTECTED]] > Sent: W

RE: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Artur Bialecki
When I'm finished the port, maybe, but probably not, I spent too much time on the port already so as allways docs get no time. Also I'm moving from C1 to C2 so it's a little different. Artur... > -Original Message- > From: Argyn Kuketayev [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, M

RE: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Argyn Kuketayev
> I'm currently porting our stuff to Cocoon 2.0.2 > which will run on iPlanet 6.5. can you post your installation documents for Cocoon 2.0.2 and iPlanet 6.5? Thanks, Argyn - Please check that your question has not already been

upgrading to Cocoon2 and debugging

2002-05-15 Thread gorillacommunications
Hi all. I am upgrading an application from Cocoon1 to Cocoon2 and am having some problems. I get the error "Exception in creating Transform Handler: java.lang.NullPointerException". 1. I created a pipeline in sitemap.xmap, but are there any special things I must do to my XML and XSL files to upg

RE: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Artur Bialecki
I've been runnig Cocoon 1.8.x on iAS 6.0 through 6.5 for last couple of years. I'm currently porting our stuff to Cocoon 2.0.2 which will run on iPlanet 6.5. I haven't worked much with Weblogic and Websphere but for large applications both iPlanet and JBoss are f'ed up in their own unique way. W

Re: error starting tomcat

2002-05-15 Thread Bert Van Kets
My apps run fine too, I was just very curious why they appear and how to CatalogManager is used. Just can't seem to find any docs on it. Bert At 13:41 15/05/2002 +0200, you wrote: >I see this error also every time I start Tomcat. It doesn't seem to cause >any harm, so I just ignore it :-) > >to

Re: MS Excel

2002-05-15 Thread Andrew C. Oliver
cool I'll take a look at it. Andrew Timberlake wrote: >Andy > >I have attached the xml file, I typed 'bob' in cell A1 and saved as XML. >There are no errors or other in the logs files. > >Andrew > >On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote: > > >>Can you supply the XML you're using?

Re: MS Excel

2002-05-15 Thread Andrew Timberlake
Typically, as I posted my last message I thought of how I could fix it. I changed the xmlns to xmlns:gmr="http://www.gnome.org/gnumeric/v7"; and added around the content and it works. I do still have one question. I want to produce a fairly complicated spreadsheet through an XSL transformation,

Tomcat 4.0.4b3 and Cocoon 2.1-dev play nicely

2002-05-15 Thread Frank Ridderbusch
Just to let you know. I just grabbed Tomcat 4.0.4b3 and did a quick 'cp -rp' install of Cocoon (a recent 2.1-dev) from my older Tomcat. JDK is IBM 1.3.1. As far as I can tell from my random clicks through documentation and samples and my own pages, Tomcat and Cocoon work just nicely together. I

Re: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Lajos Moczar
I did, but something (I presume in Cocoon) kept unexpectedly bringing down iPlanet. I ended up switching back to Tomcat. Regards, Lajos Argyn Kuketayev wrote: > I must test my reporting module written with Cocoon on jBoss/Tomcat, > iPlanet, IBM WAS, BEA WLS. > > My main concern is iPlanet,

Re: MS Excel

2002-05-15 Thread Andrew Timberlake
Andy I thought I'd add that the Excel samples all work! Andrew On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote: > Can you supply the XML you're using? have you tried turning Logkit.conf > in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* > for details? > > -Andy >

Re: MS Excel

2002-05-15 Thread Andrew Timberlake
Andy I have attached the xml file, I typed 'bob' in cell A1 and saved as XML. There are no errors or other in the logs files. Andrew On Wed, 2002-05-15 at 21:09, Andrew C. Oliver wrote: > Can you supply the XML you're using? have you tried turning Logkit.conf > in WEB-INF/conf to DEBUG for ev

iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Argyn Kuketayev
I must test my reporting module written with Cocoon on jBoss/Tomcat, iPlanet, IBM WAS, BEA WLS. My main concern is iPlanet, since I'm more or less confident about others. Did any body deploy real-life Cocoon apps in iPlanet 6.5? Need resources. Argyn

Re: MS Excel

2002-05-15 Thread Andrew C. Oliver
Can you supply the XML you're using? have you tried turning Logkit.conf in WEB-INF/conf to DEBUG for everything and looking in WEB-INF/logs/* for details? -Andy Andrew Timberlake wrote: >I understand that the XSL Serializer is now Cocoon's domain instead of >POI. >I know that using Gnumeri

MS Excel

2002-05-15 Thread Andrew Timberlake
I understand that the XSL Serializer is now Cocoon's domain instead of POI. I know that using Gnumeric to create initial xml for use through the serializer should work. I am using Gnumeric 1.0.4 on Redhat 7.3 to generate a basic spreadsheet and then trying to serialize it but it is crashing MS Exc

DatabaseSelectAction, get results

2002-05-15 Thread Hiloliddin Karimov
Hi, I try use DatabaseSelectAction for selection. I have searched in the archive, but I haven't found solution, please help. 1. SELECT If I use key in form: SQL is: SELECT username, balance, status FROM users WHERE username = ? If I want select all, I try:

RE: how to start xmls with cocoon ??

2002-05-15 Thread Geoff Howard
Madhu, This is documented pretty well in the sitemap and documentation itself - try adding the following to your sitemap inside a pipeline, assuming your xml file is called testcontent.xml and is in the content/ directory and your xsl is called testtransform.xsl and is in the transforms director

RE: Tutorial XSL..

2002-05-15 Thread Alex McLintock
There is also the fop-user mailing list which as some helpful people on it if you are trying to convert XML to PDF using Cocoon. (Remember that Apache FOP is the component within Cocoon which does most of the PDF conversion) Alex At 14:50 15/05/2002, Graaf, Edgar de (fin) wrote: >

XIndice and Caching

2002-05-15 Thread Alex McLintock
Hi folks, I have a XIndice backed Cocoon website which I want to speed up. It is far too slow. One thing I need to reduce is the number of XSLT for loops, but that's for another time. The second thing I am looking at is trying to use Cocoon/Avalon caching and I am not sure I understand it.

Re: how to start xmls with cocoon ??

2002-05-15 Thread Konstantin Piroumian
From: <[EMAIL PROTECTED]> > Hi, > I have installed cocoon on my machine and I am using tomcat 3.2.3 . I > have created a sample xml, xslt and sitemap and I want to create a .HTML > file out of it but I am not knowing how to start with cocoon pipeline ?? > Can anyone help me with this ?? Can

what is good way to output XML from Java objects?

2002-05-15 Thread ptv
Hi folks, I was just talking to Harry Lai(a very helpful cocoon user I might add!) about the problem of outputting XML from Java. >From my experience, creating an XML output string from Java object is messy work. As bad as the original problem of outputting HTML content in Java. Ugly stuff. >F

help with redirect and forward

2002-05-15 Thread Vij, Bhavna
Hi All, I am not able to redirect or forward to another pages I need to do something like that. There's a login page with username and password. If the login is successfull, I need to forward it to page1 else I need to go back to login page and display error. I am able to access the request parame

getting xml files from servers other than one cocoon runs on, and thenprocessing...

2002-05-15 Thread Zachary A Lendon
I have server x.com, which has Cocoon 2.x installed and running on it. When a user comes to the following url: x.com/cocoon/file.xml file.xml actually resides somewhere else, lets say y.com/xml-files/file.xml. What's the best way for me to make sure I get the right xml file and have cocoon pro

RE: Tutorial XSL..

2002-05-15 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Tutorial XSL.. zvon.org has some excellent tutorials. -Original Message-From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 15, 2002 9:51 AMTo: '[EMAIL PROTECTED]'Subject: RE: Tutorial XSL.. www.w3schools.com   You also need to study

RE: Tutorial XSL..

2002-05-15 Thread Graaf, Edgar de (fin)
Title: RE: Tutorial XSL.. www.w3schools.com   You also need to study FO(Formatting Objects). That is a type of XML that can be converted to PDF.   Your XMLXSL>FO XML--fo2pdf serializer> PDF   Try www.w3c.org for FO.   But only when you have a good understanding of FO and XSLT

RE: config memory with multiple cocoon instances one one machine

2002-05-15 Thread Vadim Gritsenko
> From: Stephan Michels [mailto:[EMAIL PROTECTED]] > > > > On Wed, 15 May 2002, Giuseppe Di Pierri wrote: > > > in each of the three cocoon instances under tomcat, the files cocoon.xconf > > contains: > > > >> logger="core.store.janitor"> > > > > > > > > > > >

RE: xsp-session ns calls element creation funcs?

2002-05-15 Thread Vadim Gritsenko
> From: Zack Angelo [mailto:[EMAIL PROTECTED]] > > > C2 doesn't seem to be behaving as expected...my code looks just like > > the > > examples. Any ideas? I'm sure it's something obvious. > > > > Okay, so apparently this: > > > > String userID = ; Do you have xsp-session namespace declared?

Re: Error Handling

2002-05-15 Thread Konstantin Piroumian
Add something like this to your WEB-INF/web.xml: 404 /404.html See Servlet 2.3 specification, point 9.9.2 Hope this helps. -- Konstantin - Original Message - From: "Michael Zehrer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 11:35 AM Subject: RE:

Re: error starting tomcat

2002-05-15 Thread Tom Klaasen
I see this error also every time I start Tomcat. It doesn't seem to cause any harm, so I just ignore it :-) tomK Bert Van Kets wrote: > When I start Tomcat I get 5 messages in the console saying: > "Cannot find CatalogManager.properties" > I have A separate site using Cocoon, next to a Cocoon

RE: how to start xmls with cocoon ??

2002-05-15 Thread Sreedhar Chintalapaty
Madhu, Try the Bonebreaker example at http://www.cocooncenter.de/cc/documents/resources/navigation/index.html. It has more material than you asked for in the mail, and deals with navigation, but it has enough info for you to get going; plus you'll eventually think about navigation schemes anyways

Subsitemap's files under a clecase view.

2002-05-15 Thread TREGAN Fabien
Hi, I'm trying to have my cocoonapp under a clearcase view. The mounting in the sitemap work well : if I put my files in D:\ it works, but when I try to have them in the clearcase view (Y:), I only get half of my page, and it end with a Cocoon error message (the length of the "correct" answer cha

Re: xsl:apply-templates bug?

2002-05-15 Thread Mike Dewar
If you select just the column nodes then they are indeeed in positions 1 to 4. However if you select all nodes then your "header" is in position 1, and your "columns" in 2-5. Mike. On Tue, May 14, 2002 at 08:47:57PM +0200, J.Pietschmann wrote: > Spectron International, Inc. wrote: > > I have no

Re: config memory with multiple cocoon instances one one machine

2002-05-15 Thread Stephan Michels
On Wed, 15 May 2002, Giuseppe Di Pierri wrote: > in each of the three cocoon instances under tomcat, the files cocoon.xconf > contains: > >logger="core.store.janitor"> > > > > > > > > > > > > > The error that we get is neither a

RE: Error Handling

2002-05-15 Thread Michael Zehrer
And what about errors outside of ? -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 14. Mai 2002 16:26 An: [EMAIL PROTECTED] Betreff: RE: Error Handling > From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi List, > > how can one have a g

Re: xsp-session ns calls element creation funcs?

2002-05-15 Thread Bert Van Kets
Hi, I had the same problem with esql in a Dynamic XSLT using XSP. There was no solution found or given, so I made a workaround and skipped the logic sheet and did everything straight in Java. I too find the behavior very strange and would rather see this solved. It would open a lot of possibi