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
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
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
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
I bet this is a "faq"...
Is it possible to use Cocoon 1.8.3(?) with
Xalan2?
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
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
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
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
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
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)
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
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
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
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.
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
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
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]
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
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
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
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
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
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
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:
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
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
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?
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
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
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;
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:
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
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
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
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
36 matches
Mail list logo