Hi,
The Jetty guys confirmed that Cocoon 2.0.3 does not
work in Jetty (JBoss 3.0.3/JBossWeb) - so I am not
going mad.
Anyone else searching the groups with the same problem
can follow the thread on YahooGroups under the title
JSP Engine in the group 'jetty-support'.
HTH someone in the future
Title: RE: i18n and xmlform combination-HELP
I just applied i18n into the XMLForm sample of Cocoon2.1 like this, but it cant apply i18n
in sitemap i declare :
map:match pattern=*
map:act type=WizardAction
map:parameter name=xmlform-validator-schema-ns
Hi Ivelin,
Thanks for your suggestions.
Do you create this method in the Bean file or Action file?
What does the method should return? The dom document?
Thank you
Regards
Sylvain
-Message d'origine-
De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 20:49
À:
Hi,
The TomCat guys confirmed getRealPath returns null,
and this is how it is supposed to be - because
embedded TomCat does not expand the war file (and
Jetty does).
Anyone searching on this can look in the tomcat mail
archives under the subject getRealPath is null
HTH someone in the future
Hi,
Does anyone successfully use JUnit and/or Cactus to
Unit Test Cocoon actions/generators etc ?
I have my own generators and actions but I'm not sure
how to call them from JUnit, how to pass in what they
would normally expect to receive.
e.g. an action receives
public Map act(Redirector
(To moderator: please remove alias for my @protek.com email for this list
and I'll subscribe with correct address)
Comments below:
From: Charlene Mitchell [EMAIL PROTECTED]
Hi,
The TomCat guys confirmed getRealPath returns null,
and this is how it is supposed to be - because
embedded TomCat
I'm running JBoss 3.0.4/JBossWeb, and it was by far the easiest install
of cocoon 2.1dev I've done so far.
Cheers,
Thor HW
On Tuesday, December 10, 2002, at 12:04 AM, Charlene Mitchell wrote:
Hi,
The Jetty guys confirmed that Cocoon 2.0.3 does not
work in Jetty (JBoss 3.0.3/JBossWeb) - so I
I can't confirm this. I used all C2.0.x versions with Jetty without
problems. Apart from this known redirection problem, that Nicola
pointed out to be probably a Jetty bug.
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103926206004897w=2
The simple workaround is to put a leading slash to your
Hello
I'm currently trying to create an application, which should be running
in english, german, thai and several other asian languages.
The i18n transformer is working correctly, but to display the characters
in the correct manner it is needed to use the specific charset in the meta
tag of
From: Kirchhoff, Lars [EMAIL PROTECTED]
Hello
I'm currently trying to create an application, which should be running
in english, german, thai and several other asian languages.
The i18n transformer is working correctly, but to display the characters
in the correct manner it is needed to use
I had this stored procedure running well with SQL Transformer:
query lang=1 isstoredprocedure=true
begin dbchem.scheda_xml('substitute-value sql:name=lingua/',
?,
'substitute-value sql:name=codice/',
'substitute-value sql:name=revisione/',
''); end;
/query
I
On 10.Dec.2002 -- 12:26 PM, Gabriele Domenichini wrote:
I had this stored procedure running well with SQL Transformer:
query lang=1 isstoredprocedure=true
begin dbchem.scheda_xml('substitute-value sql:name=lingua/',
?,
'substitute-value sql:name=codice/',
hi,
some time ago i had the same question and the same problems, here's is my
working solution for calling a ORACLE SP :
!-- search for businessunit's --
esql:execute-query
esql:call needs-query=true{ call
CONTACTS.searchBusinessUnit(esql:parameter direction=in
is i possible to create an .xsp from a xml-xsl compination (through
cocoon)
an then ask from cocoon to execute this .xsp? and all this on the fly?
i want to call http://../some.xsp
and cocoon create the some.xsp and then execute it
thnx
stavros Kounis
Running Cocoon 2.03, under Tomcat 4.04 (UNIX/Solaris)
One moment Cocoon is working, and the next BAM! no response:
just the same error (see below for one of many duplicates) for each
call that gets made to it - can anyone please help with this!?
Thanks
Derek
ERROR
Sorry, I forgot to quantify.
JSP in Cocoon deployed in Jetty does not work -
everything else does work (AFAIK), but JSP's do not.
So, unless you use JSP's you can easily be misled unto
thinking that everything works fine - but it doesn't.
Charlene
--- leo leonid [EMAIL PROTECTED] wrote:
I
Hi Stavros,
Well, yes, why not. I haven't done it and haven't tested it, but it should
be something like the following...
map:match pattern=*.xsp
map:generate src=xsp_xmls/{1}.xml/
map:transform src=xml2xsp.xsl/
map:serialize type=xml/
Hi Folks,
Does anybody know enough about the Cocoon's use of the
ExcaliburComponentManager to help me please?
I'm getting lots of warnings in my core.log Looking up component on an
uninitialized ComponentLocator and Attempted to release a null
component. I'm guessing that they are related to
Hello,
I want to protect a single page with Cocoon. How do I provide an authentication dialog
and check user's input? Would you point me to a basic sample?
--
Lenya Khachaturov
mailto:[EMAIL PROTECTED]
-
Please check that your
Hello
I am having problems with the PNG and JPG serializers, but only in Netscape. I know
about similar problems in IE but Netscape ?!
I have the following config:
map:match pattern=jsp/map.svg
map:generate src=/docs/samples/jsp/my.jsp type=jsp/
map:transform
Hello,
I've tried cocoon 2.0.3 and cocoon 2.0.4 on jboss/jbossweb(jetty), and
it works. But I've only tried xsps.
Charlene Mitchell wrote:
Sorry, I forgot to quantify.
JSP in Cocoon deployed in Jetty does not work -
everything else does work (AFAIK), but JSP's do not.
So, unless you use
Hello,
I want to Add/Remove/Edit Sql entries by clicking on buttons. I tryied
with these 3 actions :
map:actions
map:action name=add-workflow
src=org.apache.cocoon.acting.DatabaseAddAction /
map:action name=del-workflow
src=org.apache.cocoon.acting.DatabaseDeleteAction
Excuse me, previous message was not complete :
Hello,
I want to Add/Remove/Edit Sql entries by clicking on buttons. I tryied
with these 3 actions :
map:actions
map:action name=add-workflow
src=org.apache.cocoon.acting.DatabaseAddAction /
map:action name=del-workflow
I would also be interested in the if you have no objections...thanks!
You can now download the basics from:
http://www.upaya.co.uk/photoalbum.zip
This contains the sitemap, the XSL stylesheets, and an XML file for describing the
themes and the images.
If people think it a good idea, I could
Hello,
I am experiencing problems when trying to use FormValidatorAction.
Descriptor file:
root
parameter name=lastname type=string max-len=255
nullable=no/
parameter name=firstname type=string max-len=255
nullable=no/
parameter name=birthdate type=string nullable=no
On Tuesday, December 10, 2002, at 02:43 PM, Charlene Mitchell wrote:
Hi,
Yes, I have XSP's working as well, but they aren't
very performant and usage seem to be discouraged in
Carsten's book.
I have not read the book yet, but this is very hard to believe!
On the contrary, I think the
I 'm not able to use cocoon 2.0.4 ; it should work under tomcat 4.0.4, with
JDK1.3.1 , but .. it doesn't work at all , it displays The requested
resource (/cocoon/) is not available ; am I def or just insane ?
-
Please check
You need a proper name attribute on your submit button to get it to call the
action.
For instance, in your case (if you are not using an older version of
cocoon):
input type=submit value=Save name=cocoon-action-Add/ would call the
Add action from your workflow action-set. Similarly,
There's an example of this in the samples, but it's likely to be quite slow
if it is recreated for each request because of the overhead of compiling the
xsp. While there may be people out there successfully using that technique,
you'd probably be better advised to see if there's another way to
On Tuesday 10 December 2002 16:10, Lorenzo Bucciarelli wrote:
I 'm not able to use cocoon 2.0.4 ; it should work under tomcat
4.0.4, with JDK1.3.1 , but .. it doesn't work at all , it displays
The requested resource (/cocoon/) is not available ; am I def or
just insane ?
What do the logs say?
If I write input type=submit value=Save name=cocoon-action-Add/
I just come back to the previous page. I think it's because I haven't
write the ID. That means :
The database contains following collumns : ID - Name - Dispatcher
The xsp page contains : text field for name - Select object for
Seeding of random number generator has been completed
2002-12-10 14:58:34 HostConfig[localhost] Error deploying web application
archive cocoon.war
java.lang.UnsupportedClassVersionError:
org/apache/cocoon/servlet/CocoonServlet (Unsupported major.minor version 48.0)
at
Is this a fresh install or are you upgrading?
Geoff
-Original Message-
From: Lorenzo Bucciarelli [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 10:11 AM
To: [EMAIL PROTECTED]
Subject: cocoon 2.0.4
I 'm not able to use cocoon 2.0.4 ; it should work under tomcat 4.0.4,
I got such an error, when my appserver was running on java1.2 while
my webapp was compiled with java1.3. I found, that my JAVA_HOME
was not defined, when i started the tomcat server. That forces tomcat
to guess, which java env it shall use and this was unfortunately
not the expected one...
Maybe
Lorenzo Bucciarelli wrote:
2002-12-10 14:58:34 HostConfig[localhost] Error deploying web
application archive cocoon.war
java.lang.UnsupportedClassVersionError:
org/apache/cocoon/servlet/CocoonServlet (Unsupported major.minor version
48.0)
You are using a version of Cocoon compiled for JDK 1.4
I'm upgrading; I have no problem using tomcat 4.0.4 - cocoon 2.0.3 -
JDK1.3.1 , it works fine; I thought to use the new cocoon.war, but ..
At 10:23 10/12/2002 -0500, you wrote:
Is this a fresh install or are you upgrading?
Geoff
-Original Message-
From: Lorenzo Bucciarelli
Well, first make sure the version you're using is compiled for the JDK
you're using as just mentioned.
But I've also found that when upgrading, I need to delete the contents of
the tomcat/work directory that pertain to cocoon (while tomcat is stopped is
probably better).
Also, make sure you've
Well, either you have your config file for your database action configured
wrong for the tables in your database, or you have the field names wrong on
your form (I'm assuming the DatabaseActions work similarly to the
ModularDatabaseActions), or the action is actually working and your pipeline
is
Hello,
after cocoon-2.0.4 upgrade the following check inside my self-implemented
UploadGenerator (transfers an uploaded multipart file to a backend server, receives an
XML response from the backend server and transforms it into HTML) does not become true
any more:
if
Hello,
is there any way to find out whether a DatabaseAddAction was
successful / display the error message?
I would like to do the following:
map:match ...
map:action-set name=mydb
map:parameter .../
/map:action
map:generate .../
...
...
On 10.Dec.2002 -- 05:05 PM, Matthias Brunner wrote:
Hello,
is there any way to find out whether a DatabaseAddAction was
successful / display the error message?
I would like to do the following:
map:match ...
map:action-set name=mydb
map:parameter .../
Hello
I have a stylesheet which imports some CSS and SVG styles in a defs tag for an SVG
document with the following
xsl:copy-of select=document('style.xml')/
In my static SVG files, I can make an external reference to the file in this way.
?xml-stylesheet type=text/css
Hi,
Well, I don't know if quoting the book breaches
copyright :-) but here is what it says (p.301) about
XSP which discouraged me:
In earlier versions of Cocoon, XSP was the only
alternative for dynamic content
...with Cocoon's current architectureXSP is
losing some of [its] interest
Thank U Matthias, Hussayn, Ugo, Geoff : now I have my cocoon 2.0.4 well
running.
It was because of the wrong cocoon.war, and then (only then) a not well
formed pipeline in the sitemap; excuse me for wasting your time.
~ Lorenzo Bucciarelli~
On Tuesday 10 December 2002 17:19, Christian Haul wrote:
At least the one from the modular package does set the error
message as request attribute.
Thanks for your reply. Do you know whether this is in 2.1 only? (I
cannot grep setAttribute in the source file but it could be hidden
in other
Yes, maybe. Check to make sure that the new upload settings in web.xml (new
in 2.0.4) are set to allow uploads. There are several init-params (such as
autosave-uploads), and down later in web.xml there is a configuration for
the request factory implementation. The comments in web.xml should
On 10.Dec.2002 -- 05:57 PM, Matthias Brunner wrote:
On Tuesday 10 December 2002 17:19, Christian Haul wrote:
At least the one from the modular package does set the error
message as request attribute.
Thanks for your reply. Do you know whether this is in 2.1 only? (I
cannot grep
I don't know your reasons for using Xindice, but using Lucene as your search
engine may be a better approach:
- The Lucene 1.2 jar is integrated into the Cocoon war.
- With Lucene you divide your XML document into fields. For each field you
can decide whether to store it into the Lucene index or
I made an entry some time ago about the ImageReader. Very close...
http://outerthought.net/wiki/Wiki.jsp?page=ImageReader
Litrik De Roy
www.litrik.com
- Original Message -
From: Upayavira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 2:45 PM
Subject: Re:
Costantino,
but unfortunately that did not fix the problem. In fact, I have the same
problem if I try to access hello.html, for example, with the mobile device
(which should be no problem).
Do you have any idea?
Try this site with the mobile browser: http://www.caphnet.com/
This is
xsl:processing-instruction name=xml-stylesheet
xsl:texttype=text/css href=http://localhost/style.xml;/xsl:text
/xsl:procesing-instruction
As you can read, it's a processing instruction. A PI has no attributes
(even if it looks so), so you create the content as text.
Joerg
Chris Faulkner
On Tue, 2002-12-10 at 19:40, Charlene Mitchell wrote:
Hi,
Does anyone successfully use JUnit and/or Cactus to
Unit Test Cocoon actions/generators etc ?
I have my own generators and actions but I'm not sure
how to call them from JUnit, how to pass in what they
would normally expect to
Title: Multiple data sources
Is there a standard way of integrating multiple data sources using xmlform?
The XForms spec defines the model and instance elements which would be a good solution for my problem.
Basically, this is what I am attempting to do:
1. Load an xml document from an xml
Title: Calling resources from mounted sitemaps
Hi,
I could not find a way to call resources in the root sitemap from a mounted sitemap.
I have my resources defined in the root sitemap, and I'd like to call these resources from sub-sitemaps.
In the sub sitemap I have a simple matcher:
Hi Skip,
I can access your site without problem with my mobile - but unfortunately
not yet mine (http://titao.homelinux.org:8080/cocoon/hello.wml)...
I also tried every possible combination with
http://webcab.de/cgi-bin/fetchpage.cgi, checking the result in the core.log
file.
I am really puzzled,
I got the following error:
HTTP Status 500
type: Exception report
message:
description: The server encountered an internal error() that prevent it
from fulfilling this request.
Exception:
javax.servlet.ServletException: Servlet execution threw an exceeption
at
Title: Calling resources from mounted sitemaps
Did
you try the cocoon pseudo-protocol? map:call
resource="cocoon://stdout" for the root sitemap, cocoon:/stdout for one in
the same sitemap.
Geoff
Howard
-Original Message-From: Bordet, Simone
[mailto:[EMAIL PROTECTED]]Sent:
-Original Message-
From: Steven Cummings [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 3:57 PM
To: [EMAIL PROTECTED]
Subject: Blank screen on error
Hello all,
We've occasional seen the messages on this list about a blank
screen that is returned when there is some
Costantino,
I can access your site without problem with my mobile - but unfortunately
not yet mine (http://titao.homelinux.org:8080/cocoon/hello.wml)...
I also tried every possible combination with
http://webcab.de/cgi-bin/fetchpage.cgi, checking the result in the core.log
file.
I am
Thank you Konstantin,
you were right, it's working with utf charset, as well as the original
strings are using TIS-620. But now I run in a new problem. I get these
characters from a database and unfortunately the characters will be
transformed to be html compliant. That means odd characters
$ sh build.sh -Dbuild.root=somewhere
leads to errors when coming to scratchpad.
I had to modify build.xml.
See the attached patch.
--- build.xml 2002-12-06 21:41:58.0 +0100
+++ build.xml 2002-12-11 04:27:59.0 +0100
@@ -191,7 +191,7 @@
include name=*.jar/
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 2:19 AM
Subject: RE: XMLForm: content listbox problem
Do you create this method in the Bean file or Action file?
In the Action.
What does the method should return? The dom document?
I'm using ESQL to read and write data from a MYSQL database.
Everything works fine, except for one thing.
When I look at the data stored in my database, I see very strange
characters instead of the ones I expected.
For example, when I fill a field of the db with the string òàù, this
is
Following the how-to xmlform I get the exception below, when finally
submitting the data (from the confirmation page)
additionally s.th. within the logic seems wrong.
after choosing the interestgroup, the selection of the refering mailing-list
forms work,
but when selecting and submitting these
Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the
datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
valid JdbcConnection class available
Please help me! I've made
hello martin,
this happens most probably if you put spaces before starting the
?xml version=1.0 ? tag.
So be sure that there is no space before this tag in your xml file.
ciao Lars
-Ursprüngliche Nachricht-
Von: Martin Heink [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11.
What Database are you using?
Antonio Gallardo
Lars Müller dijo:
Description:org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not
get the datasource
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
I want to add an entry in my page when I click on : input
type=submit value=Save name=cocoon-action-Add/
And how can I have an automatic ID?
What is wrong in my page? Or in my Sitemap? Where do I have to write
witch connection to use?
map:actions
map:action name=add-dbentry
Thanks Geoff,
indeed it was the autosave-uploads param I had to set to true.
-Ursprüngliche Nachricht-
Von: Geoff Howard [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 10. Dezember 2002 18:15
An: [EMAIL PROTECTED]
Betreff: RE: cocoon-2.0.4 problem with multipart file upload
Yes, maybe.
69 matches
Mail list logo