getNextStepPos huh?!?

2001-10-18 Thread Phil Blake
org.apache.cocoon.ProcessingException: Error in creating Transform Handler: java.lang.RuntimeException: Programmer's assertion in getNextStepPos: unknown stepType: -1 Does anyone know what this means? ...or rather when you get an error like this, what kind of things could have you done

Re: Cocoon 1.8.2 and mySQL/ ESQL - hanging?

2001-10-18 Thread Derek Hohls
Lajos Thanks for the suggestions. In response: 1. Where do I find the mysql_comp.jar you refer to (I do not have it on my Windows test machine) and a quick scan at the mysql site did not reveal anything either... all I have is the mm.mysql driver (as seen below) which is in the Java lib.

Cocoon 2: Where to put xml/xsl files to?

2001-10-18 Thread Alexander Schatten
I used Cocoon 1 to publish XML files using xsl. this worked fine. now I installed Tomcat 4, Cocoon 2 as war in tomcat. basically works (on windows, not on linux...). however: I have no idea where to put the xml/xsl files to. I tried to use the webapps/cocoon directory as in C1, but C2 doesnt

RE: Cocoon 2: Where to put xml/xsl files to?

2001-10-18 Thread Torsten Curdt
have a look into the samples -Original Message- From: Alexander Schatten [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 11:32 AM To: cocoon-users Subject: Cocoon 2: Where to put xml/xsl files to? I used Cocoon 1 to publish XML files using xsl. this worked fine.

Re: JSP generator error.

2001-10-18 Thread Sergio Carvalho
To get JSP running, you must copy jasper-compiler.jar from your tomcat distribution to cocoon/WEB-INF/lib. It is not already there because the compiler jar is different between servlet containers. On Wed, 17 Oct 2001 19:02:45 +0800, Perry Molendijk wrote: From: Perry Molendijk [EMAIL PROTECTED]

Re: Yet another XInclude problem

2001-10-18 Thread Sylvain Wallez
Luca Morandini a écrit : Folks, I'm upset by this XInclude-thing... I can't figure out what's wrong. Ok, here's my sitemap: map:match name=wildcard pattern=map.xml map:generate type=serverpages src=docs/map.xsp.xml/ map:transform type=xinclude/

Re: Problems compiling sitemap

2001-10-18 Thread Sebastien Koechlin
Carlos wrote: Exception in thread main java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:58)

What's wrong with the util logicsheet in C2rc1?

2001-10-18 Thread Kenneth Petersen
In a former posting dated 2001-09-06, Chris says that the util logicsheet is broken in C2b2. Now I'm trying to use util:include-expr in C2rc1 from an XSP page but the resulting _xsp.java file is not generated properly. Even the examples used in the Cocoon 1 FAQ don't work. The FAQ states You

How to debug?

2001-10-18 Thread Eduardo Godoy Vega
Hi, Which is the best way to debug a XSP page? and an Action inside a pipeline? does any one integrate some IDE into debug process ? (JBuilder for example, for debugging an Action?) Eduardo. - Please check that your

Re: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

2001-10-18 Thread Berin Loritsch
Jörn Heid wrote: When trying to start Cocoon (Resin 2.0.2) on XP I get java.lang.ClassFormatError: uk/co/weft/maybeupload/MaybeUploadRequestWrapper (Code of a method longer than 65535 bytes) at java.lang.ClassLoader.defineClass0(Native Method) On my Windows 2000 machine the

AW: [C2RC1a] Serious (maybeupload.jar) problem with Windows XP / JDK 1.3.1_01

2001-10-18 Thread Jörn Heid
No. The problem seems to be fixed with the new version of maybeupload.jar. If you can, please download it and integrate it into the CVS (I can also write a bug report - should I?). BTW it would be nice if ALL of the jars have version information in its name. -Ursprüngliche Nachricht-

Re: Embedding esql:query within logic sheets.

2001-10-18 Thread Berin Loritsch
Colm O'Riordan wrote: Is this possible ? I have tried the code below but it seems to concat the two options rather than choose one. Do I need to have the logic outside the execute query tag ? I was hoping to avoid this as the results format is the same and I dont want to have to put it in

problems with Html Generator

2001-10-18 Thread lucas
When I install Cocoon for the first time I didnt install the html generator, but now I need it so I install it. I get the file Tidy.jar and i put it on the libs directory, but when i try to use it (even with the cocoon examples ), I get a cant find file message And in the log file

RE: Cocoon 1.8.2 and mySQL/ ESQL - hanging?

2001-10-18 Thread Marty McClelland
Hello Derek - I had a similar problem once when I moved an application to Linux - and tried to run it before all the appropriate jars were in place. Then after putting the jars in the lib - the app still failed. I finally realized the problem was that tomcat had generated code for the xsp

Cocoon.xml file the last missing piece

2001-10-18 Thread Scott Trafford
Hi All I have Apache HTTPD Server 1.3.22 and Tomcat 3.2.3 running on WinNT sucessfully. I have also installed Cocoon 1.8.2 and the index.xml (with the URL http://localhost:8080/cocoon/samples/index.xml) and the samples come up fine. The last piece that I cannot get working is the Cocoon.xml

RE: [C2] error creating the resource

2001-10-18 Thread Mark Damm
Last night at 11:00 PM I realized my mistake. In the past, I had manually created a ANT_HOME (this was not in my PATH)which pointed at an Ant 1.3 installation. I whacked the ANT_HOME and everything worked just like everybody said it would. Now I'm on to some real problems. Sorry! med

SV: How to debug?

2001-10-18 Thread Jan Normann Nielsen
Hi ev'rybody! I'm using Netbeans 3.2.1 and the chapter Integrating NetBeans/Forte for Java Community Edition with JBoss for source level debugging for setting up the debugger: http://www.jboss.org/documentation/HTML/ch10s14.html This will work with any Java program run in a virtual machine set

SV: cocoon2 installation

2001-10-18 Thread Jan Normann Nielsen
Hello I remember having this problem. What version of JBoss Tomcat are you using? Have you replaced JBoss's XML parser with Xerces? Best regards, Jan Nielsen -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sendt: 15. oktober 2001 15:17 Til: [EMAIL

Re: problems with Html Generator

2001-10-18 Thread Sebastien Koechlin
Please, do not post in HTML ! When I install Cocoon for the first time I didn't install the html generator, but now I need it so I install it. I get the file Tidy.jar and i put it on the lib's directory, but when i try to use it (even with the cocoon examples ), I get a `can't find file'

Strange C2 behaviour with Navigator 4.7

2001-10-18 Thread Alexander Schatten
I tried to use C2 for publishing XML through XSLT basically this works when connecting with IE5 or Opera 5, but not with Netscape 4.7 the behaviour is very strange: Netscape displays nothing (white page), but when I go to show source it displays the html code correctly. again more strage:

[C2] Accessing CLOBs as Documents

2001-10-18 Thread Russell Castagnaro
Hello cocoon-users, I've got a problem. I have a table that has a few fields and a clob in it. I want to use the esql taglibs or SQLTransfromer to access this as a document. The column 'doc_content' is currently I'm using xml like this: ?xml version=1.0 encoding=ISO-8859-1?

Re: Strange C2 behaviour with Navigator 4.7

2001-10-18 Thread Berin Loritsch
Alexander Schatten wrote: I tried to use C2 for publishing XML through XSLT basically this works when connecting with IE5 or Opera 5, but not with Netscape 4.7 the behaviour is very strange: Netscape displays nothing (white page), but when I go to show source it displays the html code

RE: Strange C2 behaviour with Navigator 4.7

2001-10-18 Thread Liam Morley
This is... well, rather curious. Have you tried this on other systems running Navigator 4.7? What sub-version of NS 4.7 are you running? As I've had no problem under NS4.78 with my own Cocoon project. Liam Morley -Original Message- From: Alexander Schatten [mailto:[EMAIL PROTECTED]]

RE: [C2] Accessing CLOBs as Documents

2001-10-18 Thread Marty McClelland
I have a similar application - but the clob is an xml fragment ( meaning it doesn't have processing instruction tags ). So I can use get-xml instead of the get-ascii you use. Then I can access data in the xml fragment with the XSL stylesheet. marty -Original Message- From: Russell

Re: Embedding esql:query within logic sheets.

2001-10-18 Thread Colm O'Riordan
Thanks Berin - that would'nt work but I solved it as follows : xsp:logic String getJock = request.getParameter(jockname); String getstatus = request.getParameter(selJockId); String sqlPiece = where DJName like + getJock; if(getJock == null) { sqlPiece=where ID = + getstatus;

New Cocoon 1 site

2001-10-18 Thread Jeff
Hi! We are now using Cocoon 1 at: http://www.cogentlogic.com/ Please list this site at http://xml.apache.org/cocoon/livesites.html. Thanks :-) Warmest regards, Jeff Lawson Cogent Logic Corporation +1 (416) 340 8025

Re: Cocoon 1.8.2 and mySQL/ ESQL - hanging?

2001-10-18 Thread Lajos Moczar
Hi Derek: Maybe the JDBC jar came with your version of MySQL? I downloaded mine from http://www.mysql.com/Downloads/Contrib/mm.mysql.jdbc-1.2c.tar.gz. I then had to edit tomcat.bat/sh so it could find the jar file. I initially developed my app on Win98 and then ported it to Linux, but I

RE: session and xsl

2001-10-18 Thread Mark S. Kent
Marty, I tried your suggestion, but it didn't work. Although cocoon is seeing a session, it does not appear to be the same one that Tomcat(?) created when the user logged in. I put a session.getId() call into my JSP page and also one in the XML file and both returned different values. Now, I

Re: session and xsl

2001-10-18 Thread Lajos Moczar
Mark: AFAIK, Tomcat does not by default share session across web applications. If you want that, you need Tomcat 4.0 and then you need to put all web applications in the same Realm object. You might want to take a look at the description of the Host tag in the Tomcat 4.0 documentation. If

Stylesheets using Logicsheets

2001-10-18 Thread Brent L Johnson
Can a stylesheet use tags from a custom logicsheet? I'm still having the problem with Cocoon generating a NumberFormatException for no apparent reason. To get around this, I'm keeping my HTML tags for the header in the stylesheet (by keeping it there instead of copying it into the logicsheet, I

Someone with knowledge in DatabaseXActions?

2001-10-18 Thread Arno Illmann
I am testing around with the tutorial from cvs and with the DatabaseSelectAction. I added it to the cocoon source and made a new build. After that another test action worked and I could access the tutorial with the included DatabaseSelectAction without errors. But i could not get a sample

Stylesheets Logicsheets

2001-10-18 Thread Bernie Lee
hi can anyone tell me the diff betw a logicsheet and a stylesheet? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail:

JPEG and PNG examples

2001-10-18 Thread Phil Blake
Hi all, Can anyone provide an example of a working svg2jpeg and/or svg2png transformation? I have what looks right, cocoon isn't giving any errors. but nothing useful is arriving at the client. No examples included with cocoon but I'm hoping that someone would have tried this by now.