VerifyError?

2001-10-25 Thread Ben Young
I saw a similar problem to the one I'm having in one of the posts a few days ago. I'm running RedHat 7.1, Tomcat 3.2.2, Apache 1.3.20, and Cocoon 2.0rc1. Here's the error I'm getting: ERROR (2001-10-23) 17:02.58:684 [cocoon ] (/cocoon/) Thread-39/Handler: Error compiling sitemap

VerifyError? (continued)

2001-10-25 Thread Ben Young
My jdk version is 1.3.0_02. Thanks, Ben - 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: [EMAIL PROTECTED] For additional

RE: How to deploy my cocoon project ?

2001-10-25 Thread Luca Morandini
Eduardo, provided you use Apache, you can hide cocoon as much as you like with mod_rewrite. This solution is the one which lets your configuration unchanged. There is a FAQ entry on it. Best regards. - Luca Morandini

RE: date-format in cocoon 1.8.2

2001-10-25 Thread Mark S. Kent
Christian, I'm trying the same thing and tried to wrap the esql:get-time call with an esql:if-null. If that is the only command: esql:if-null column=schedule_lunch_startnone/esql:if-null it works just fine when the value is null, but I can't find the correct syntax to use for the

xalan2 and cocoon 1.8?

2001-10-25 Thread Christer Lindh
I bet this is a "faq"... Is it possible to use Cocoon 1.8.3(?) with Xalan2?

RE: date-format in cocoon 1.8.2

2001-10-25 Thread Faulkner, Perry
Hi Christian, These comments apply to Cocoon 2, but the generated java code checks for a null value and returns , otherwise it uses the SimpleDateFormat to convert the date. You might look at your generated code to see if it is doing the same thing. Maybe this was added for Cocoon 2. Anyway, if

how to implement a dynamic sitemap?

2001-10-25 Thread Christer Lindh
As far as I've understood C2, there is now a quite static sitemap which tells what request gets what XSL. This istoo staticfor my needs, I would like to do a bunch of calculations and then decide on what XSL to use. Is there any way I can accomplish this with C2? I have my own producer

Help needed Passing Parameters

2001-10-25 Thread Phil Blake
I am missing something when it comes to getting and passing request arguments. I've looked at the cocoon examples, and although my test example appears to match the cocoon one in every way there is obviously something fundamental missing. I think I'm pretty close. :) If anyone could help me

Upload file... working exemple?

2001-10-25 Thread Tiberiu Dondera
Does anybody has a working exemple of a file upload with cocoon2 using com.oreilly.servlet.MultipartRequest? I'm getting org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling upload_xsp: Line 288, column 31: Class

Re: Cocoon 1.8.2 and jakarta-tomcat-4.0.1

2001-10-25 Thread Truong,Hoang C.
I did copy all the cocoon jars to $TOMCAT_HOME/common/lib. I changed the text conf/cocoon.properties to WEB-INF/cocoon.properties in $TOMCAT_HOME/webapps/cocoon/WEB-INF/web.xml by Installing instruction. In tomcat-3.2.x, there is mod_jk.conf which we can add these lines to serve cocoon. How

JNI panic: JNI received a null string

2001-10-25 Thread Andrés Padilla
i have just intalled my cocoon 2 with tomcat 3.X, following all the steps form de installing document and when i type in my browser: localhost:8080/cocoon tomcat fails throwing this menssage: any idea? JNI panic: JNI received a null string at java.lang.ClassLoader.findLoadedClass(Native Method)

Re: xml-schema / validate forms

2001-10-25 Thread Martin Man
On Wed, Oct 24, 2001 at 10:40:07AM +0200, Kenneth Petersen wrote: Hi all! I was wondering why efforts have been made to generate and maintain the FormValidatorAction. Why not just use xml-schemas and xml-validation to validate input from froms? the effort was put there (by me as the

probleme cocoon2 tomcat4

2001-10-25 Thread Alexandre Bauer
Title: Message Cocoon 2 - Internal server error type internal-server-error message The sitemap handler's sitemap is not available. description org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available. sender org.apache.cocoon.servlet.CocoonServlet source

AW: Help! How can I call my xsp page from HTML document?

2001-10-25 Thread Skladov, Victor
Hi Jeremy! Thanks for the suggestion. I've done so and it runs although there's a modul mod_jk under Apache that can take this task (I mean communication between Apache and Tomcat) and I'm going to test it. Thanks one more time! Regards, Viktor -Ursprüngliche Nachricht- Von: Jeremy

Re: VerifyError?

2001-10-25 Thread jose . camacho
we had the same problem yesterday. We think we were using new libs instead of old ones. We got these libs again and all went ok. We change it to use directly FOP. Try to use the same libs getting them from cocoon web-inf/lib. Regards. José Blas.

Re: how to implement a dynamic sitemap?

2001-10-25 Thread Martin Man
On Thu, Oct 25, 2001 at 12:03:06AM +0200, Christer Lindh wrote: As far as I've understood C2, there is now a quite static sitemap which tells what request gets what XSL. This is too static for my needs, I would like to do a bunch of calculations and then decide on what XSL to use. Is there any

trying to access session object

2001-10-25 Thread Henrik Hofmann
Hi , Im trying to access the session object under cocoon2 rc1. My xsp code looks like this, ?xml version=1.0 encoding=ISO-8859-1? xsp:page   language=java   xmlns:xsp=http://apache.org/xsp   xmlns:util=http://apache.org/xsp/util/2.0  

C2 and Xfrom

2001-10-25 Thread Max Larsson
Hi, has anyone expierence with xforms and c2 ?? Max - 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: [EMAIL PROTECTED]

Re: how to implement a dynamic sitemap?

2001-10-25 Thread Piroumian, Konstantin
Simply use an "action" to do your calculations then return the result to the sitemap: match pattern="*.xml" generate src="" / act type="select-stylesheet" transform src="" / !-- You should place a value into the returning Map returned by your action at 'style-sheet' key -- /act

esql logicsheet get-column-name column=?

2001-10-25 Thread Roger I Martin PhD
Hello, I am new to Cocoon. Using version 2. I am trying to use the esql:get-column-name template and am having difficulty supplying the numerical index. esql:get-column-name column="1"/ causes java.lang.NumberFormatException: sun.tools.javac.Main has been deprecated. Also I want to

Re: How to deploy my cocoon project ?

2001-10-25 Thread Lajos Moczar
Context path=/cocoon docBase=d:/Myproj debug=0 reloadable=true/ in server.xml. Works for me. Then use Apache on top of Tomcat, if you want to remove the Tomcat port from your URL. Lajos galatea.com Eduardo Godoy Vega wrote: OK, but I don't want to put my project inside %TOMCAT_HOME% tree

RE: Help needed Passing Parameters

2001-10-25 Thread Valdas Rapsevicius
sorry, but can't help You. This trick with xsl:variable name=selectedPerson select=document('people.xml',.)/people/person[name='$person']/ xsl:value-of select=$selectedPerson/favoriteColour didn't work for me too. You took to selectedPerson just a value of

Re: Cocoon2 Release Candidate?

2001-10-25 Thread Lajos Moczar
Brent, In my experience, anything over and including 2.0rc1a works better with JDK 1.3.0/1. I don't know what your exceptions are, but I run Cocoon2 rc1a with Jdk 1.3 in production on several different OSs without problems. Lajos galatea.com Brent L Johnson wrote: I've been using Cocoon

Re: Help needed Passing Parameters

2001-10-25 Thread Martin Man
hi, your example is not going to work at all, ..., i suggest you to take a look at java source code generated from xsp page, this code is located somewhere in tomcat/work/localhost*/cocoon/org/apache/www/...your_xsp.java, you'll find there that element person-colour and Java variable

RE: date-format in cocoon 1.8.2

2001-10-25 Thread Mark S. Kent
I was mistaken... the esql:get-date and esql:get-time do work (in C2) to return a empty value if the date or time is null. I found that my error I was getting was because the column name I was referencing was not in my ESQL query (DOH!). Sorry about that. Mark -Original Message- From:

Delay in mailing list ???

2001-10-25 Thread Lajos Moczar
Hi folks, I'm getting up to a 7-hour delay in receiving posts to this list. Is it just me or is everyone having problems? Regards, Lajos - Please check that your question has not already been answered in the FAQ before

[C2] internal server error HELP!!!

2001-10-25 Thread sergi
i just added my action in cocoon, build it again, and restart server... and got this message: org.apache.cocoon.ProcessingException: Exception in Handler:org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint: org\apache\cocoon\www\sitemap_xmap i added

Re: how to implement a dynamic sitemap?

2001-10-25 Thread Sergio Carvalho
Christer Lindh wrote: As far as I've understood C2, there is now a quite static sitemap which tells what request gets what XSL. This is too static for my needs, I would like to do a bunch of calculations and then decide on what XSL to use. Is there any way I can accomplish this with C2?

RE: C2: esql:if-null

2001-10-25 Thread Mark S. Kent
Well, to reply to my own message, I didn't find any mention of additional is-null commands like is-null-true or is-null-false in the esql.xsl page, but I was able to get my code to use the is-null returned Java boolean value in an xsp:logic block to determine whether I should concat the

SQL-Statment with two (or more) where statments

2001-10-25 Thread Schroeter Christian
Hi, i use cocoon1.8.2. Now i have a little problem: i want to query my db like this: esql:connect ... esql:connect ... SELECT a.name FROM a, b WHERE

Re: Help needed Passing Parameters

2001-10-25 Thread Christian Schmitt
Phil, I would change your XSP to this: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:xsp-response=http://apache.org/xsp/response/2.0; xsp:logic String person = null;

[C2] using HTML nowrap in a TD

2001-10-25 Thread Mark S. Kent
This is weird. I just tried putting a nowrap param to my TD tag in my XSL file like this: td nowrap to prevent the table cell in HTML from wrapping and got this error on the screen: Error creating the resource Failed to execute pipeline. and in the log:

[c2]hooking a generator to transformer pipeline?

2001-10-25 Thread Bob Phillips
I'm making a generator extending ComposerGenerator that parses a text file and emits sax events using a contentHandler driven by a custom parser. The generator spits the xml ok, but dies when I add a map:transform stage to the pipeline, saying problem in getTransformer - error in creating

SQLException - please help

2001-10-25 Thread chris yeung
I am a new user to Cocoon 2.0. Here are what I have: - Cocoon-2.0rc1a Tomcat-4.0.1 jdk1.3.1 Windows 2000 Professional - I have installed Cocoon perfectly including hsql - Starting http://localhost:8080/cocoon and I can

C2 and mysql

2001-10-25 Thread Olivier MOUGEL
Hi all, I'm using mysql with php without great problem but I want to investigate the power of XML et Cocoon. My problem is that my data is stored under an DBMS !!! I want to get a connection between cocoon and mysql using xsp. Is somebody using this to explain in few steps what I have to

Re: AW: Help! How can I call my xsp page from HTML document?

2001-10-25 Thread Jeremy Aston
Victor, Thats correct. The documentation (in the FAQ) and cTwIG both say how you can get C2 requests served via an apache-tomcat-cocoon route. The documentation adds some stuff about how to do things like http://locahost/myc2app etc although there have been a number of questions about this on the