Basically Apache sends all requests for
'whatever-the-domain.com/cocoon/*' to Tomcat4. Tomcat4's server.xml has
many host records for www.domain1.com, www.domain2.com, www.domain3.com,
etc. Within each host record I can have a context which maps /cocoon to
a directory (the docBase). What I
thanx , but i already reinstalled it... during last
night.
- Original Message -
From:
lucas
To: [EMAIL PROTECTED] ; Andreas
Panagiotidis
Sent: Thursday, July 19, 2001 8:56
AM
Subject: RE: anybody has the
sitemap.xmap?
that's for you.
Using XSP Pages and ESQL logicsheet to generate XML Streams results in
putting several namespaces used for internal XSP processing in the final
stream, i.e.:
xmlns:xsp=http://apache.org/xsp;
xmlns:xspdoc=http://apache.org/cocoon/XSPDoc/v1;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
Chris,
I was very happy to read your mail, as I'm suffering with Cocoon and Jetty
without any success for some time now. My situation is only a little bit
different, I'm playing with JBoss3, which is tightly integrated with Jetty.
I've did everything what came to my mind (about replacing the xml
does the request Logicsheets work with a HTML form with
enctype=mutlipart/form-data?
I want use the upload file possibility of te input type=file.
Thanks
Philippe LEBRETON
-
Please check that your question has not already been
If you are ready to reinstall to this:
I have cocoon2, tomcat 4 (the latest) and I dont built cocoon, just copying
the default war inside \webapps.
in sitemap.xmap try to add a simple line like this one :
browser name="wap"
Useragent="Ericsson"/
below the map:selectors
default="browser"
This is a simple one.
if you copy the cocoon.war file to a new name, ex. host1.war, you actually
create a new webapp called host1. You can access this Cocoon installation
through http//yourdomain/host1
If you configure Apache so that is redirects a certain subdirectory (or the
root for that
Hi,
I see an earlier posting Sylvain Wallez
Quote
{
Hi team,
Cocoon can't start when using the avalon jars that were recently
updated. I've got the following exception at context startup (Tomcat
output) :
Starting service Tomcat-Standalone
Apache Tomcat/4.0
Logging Error: Could not set up
Assuming you are talking about Cocoon2 HEAD branch.
When did you try? I committed new avalon jars 2 days
ago. This should have solved the problem.
--
Torsten
On Wed, 19 Dec 2001, Roger I Martin PhD wrote:
Hi,
I see an earlier posting Sylvain Wallez
Quote
{
Hi team,
Cocoon can't start
Dwayne Kemp wrote:
I need to execute an xsp page without a stylesheet. this file is used for
redirecting the client to a particular page
i tried
map:match pattern=valid.xml
map:generate type=serverpages src=valid.xsp/
map:serialize src=xml/
/map:match
and
Ah...
Well this is occurring in the 2.0 release. We will have to look at running
off the HEAD branch instead of the stable releases...
Thanks Torsten...
-Aaron
-Original Message-
From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 7:59 AM
To: [EMAIL
I am using netscape 4.7 to view. When I use the serialize as xml
the I get the option to download the file which is what i dont want
i want the xsp page to execute and redirect me to an html page based on
some conditional statements in the file.
Hi all,
(please CC me your response, I get the digest)
I'm working on a stylesheet that is intent on organizing the simple-sql
example page ($COCOON/docs/samples/sql/sql-page.xml) into a gnumeric
style xml spreadsheet. I'm very close, but I need to an incremental row
number. I figured I'd
Can you clarify what you're trying to do?
Are you trying to execute some java code and then redirect to a new url? If so, then
why not try this:
map:action
name=your_action
src=com.yourpackage.yourclass
/
...
map:match pattern=your_pattern
map:act
1. I have a login page which posts to my xsp page.
2. In the xsp page i reference a class which references
Some DB and initializes my object.
3. If valid i place the object in the session.
4. If invalid no session is given
5. Then i redirect to the approprite page.
In my old cocoon 1 and
As I wrote before:
If all you were trying to do is execute some arbitrary java code before you do a
redirect, then an XSP page is not the thing to use.
It sounds like that is all you are trying to do. You are not trying to generate XML
content for a pipeline to process and serialize.
So
At 10:17 AM 12/19/01 -0500, you wrote:
I figured I'd just use XSP inside of my stylesheet, but all
I've accomplished so far is a literal printout of what is in between the
xsp:expr tags.
That's correct.
* An XSP page gets executed in the map:generate step.
* An XSL stylesheet gets executed in
Ok thanks ill try that. Now for the variables that are passed from the
login how would i include this in my action?
//| Dwayne A. Kemp |
| [EMAIL PROTECTED]
Actions have access to the HTTP request, and therefore the request parms.
Put the following code in:
import org.apache.cocoon.environment.Redirector;
import org.apache.cocoon.environment.SourceResolver;
import java.util.Map;
import org.apache.avalon.framework.parameters.Parameters;
import
Andreas:
Can you post the section of the sitemap where you're having problems
Also, please not HTML mail to the list.
Carlos
on 12/19/01 3:33 AM, Andreas Panagiotidis at [EMAIL PROTECTED] wrote:
If you are ready to reinstall to this:
I have cocoon2, tomcat 4 (the latest) and I dont built
I am unfamiliar with HEAD branch; the default?
I just got a clean (renamed my old folder and checked out xml-cocoon2) cvs
this morning. Had the logging error. Tried avalon 4.1. Then cvs'ed and
built clean jakarta-avalon, jakarta-avalon-excalibur, jakarta-avalon-logit
projects this morning.
Can ESQL handle calls to stored procedures?
We have a java application that calls an Oracle stored procedure called
get_titles with one parameter (104) in the following way:
String query = begin ? := get_titles(?); end;;
CallableStatement s = connection.prepareCall(query);
Is it possible for a standard Transformer (XSLT? CInclude?) to retrieve
multiple HTML documents based on a dynamically-built list of URLs?
I'm thinking of the following scenario, but I'm not sure how to implement 2.
1. Generator + Transformer build an XML document containing a list of http
I'll look into it today if possible, sf's prdownloads is quite
overloaded right now. (It always is)
-Chris
Jozsa Kristof wrote:
Chris,
I was very happy to read your mail, as I'm suffering with Cocoon and Jetty
without any success for some time now. My situation is only a little bit
hi,
to my knowledge you have access in an xsp page to a response object.
this response object has a method setHeader(String name, String value)
you can use this method to send a Location header with the redirect url.
i think this will provide you with the needed behaviour.
HTH,
wouter
I am
dear sir,
I have downloaded cocoon 2 and try to install in Redhat linux
7 but unsuccessful. It causes by "segmentation fault" when compiling using
"ant" when i run the script "build.sh".
What should i do to solve the problem and install the tool
successfully ?
Yours,
Jennifer
I've installed:
tomcat 4.0.1
cocoon 2.0
xerces 1.4.4
xalan 2.1.0
All works fine except cocoon. I copied the war file to $tomcathome/webapps, I
restarted tomcat,
it unpacked the war file in a directory cocoon, I put the xerces line in cocoon.xconf
and the env
variable for xerces as is said
Please mention your OS. There is a known issue with *nix and an X11
DISPLAY not being available. But I can not tell if you suffer the same
problem if you don't let us know what OS your Cocoon/Tomcat system is
on.
Greetings
Martijn Bouterse
Andreas Rittershofer wrote:
I've installed:
tomcat
Jennifer Ho wrote:
dear sir,
I have downloaded cocoon 2 and try to install in Redhat linux 7 but
unsuccessful. It causes by segmentation fault when compiling using
ant when i run the script build.sh.
What should i do to solve the problem and install the tool
successfully ?
A
Title: Message
did
you install the postgres driver on tomcat? marty
-Original Message-From: Ivan Manuel
Andrade Muñoz [mailto:[EMAIL PROTECTED]] Sent: Tuesday,
December 18, 2001 9:59 AMTo:
[EMAIL PROTECTED]Subject: HELP PLEASE: Error executing
the example esql.xml on
i had the same problem before,
if you are using jdk1.2.2 try to upgrade to jdk1.3
i did this and the problem ran away...
cheers...
-Original Message-
From: Jennifer Ho [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 6:55 AM
To: [EMAIL PROTECTED]
Subject: cannot install
Please check the installation instructions under tomcat 4.0 and the scroll
down to where it says headless/linux/batik You'll need to follow those
steps in order to get Cocoon running.
FYI, the error most likely means that Batik can't access the X server.
Carlos
on 12/19/01 12:11 PM, Andreas
Hola Cocooner's
We want to build a movie download in cocoon. The File is matched, and
downloaded .. But only the beginning of the file. For examble .. We get
an 1 Mb mpg as an 80 Kb mpg.
What is the problem.
Sitemap:
map:match pattern=video/*.mpg
map:read
On 19.Dec.2001 -- 09:54 PM, Jennifer Ho wrote:
dear sir,
I have downloaded cocoon 2 and try to install in Redhat linux 7 but unsuccessful.
It causes by segmentation fault when compiling using ant when i run the script
build.sh.
There exists a known problem with java and glibc2.2. Search
On 19.Dec.2001 -- 01:46 PM, Durrant, Peter wrote:
Can ESQL handle calls to stored procedures?
AFAIK CallableStatements are currently not supported by ESQL.
We have a java application that calls an Oracle stored procedure called
get_titles with one parameter (104) in the following way:
Thanks everyone who helped. As it turned out I didn't need XSP (and the
O'Reilly book deceived me). Here is the final solution to my problem.
(I ran this against the simple-sql example). I realize this is the
wrong list to ask, but we'd love to have some more examples if anyone is
game (I'll
Hi again,
if got another question, where i could not find any solution right now.
I want to access elements of my xsp document. I have the following xsp
document. i want to access the values of the frame/sitemap/item elements
with xsp. after this depending on the result i want ether display the
Dunno if this will work for you but often what I do is generate my xsp page
dynamically (at compile time, using Ant; not at run time with Cocoon) as the result of
applying an XSL sheet to an XML document.
So basically you'd start with an XML document like this:
frame
sitemap
Wouldn't it be easier to compute the row number in the stylesheet instead of
XSP?
I think xsl:value-of select=position()/ will give you the 1 based index
of the current element
e.g.
a
b/ !-- position() is 1 --
row/ !-- position() is 2 --
row/ !-- position() is 3 --
/a
which might be what
Hey gang,
Just wondering if anyone can help me. I am using cocoon (and its logkit),
but the company standard is Log4J. So, I have written an adapter that
extends AbstractOutputTarget and pumps event messages into Log4J. Trouble
is, I want to know how I can configure cocoon to use it instead of
On 31 Dec 69, at 16:35, Carlos wrote:
Please check the installation instructions under tomcat 4.0 and the scroll
down to where it says headless/linux/batik You'll need to follow those
steps in order to get Cocoon running.
FYI, the error most likely means that Batik can't access the X
did you read the documentation
Linux/Headless/Batik
If you are using unix with the sun jdk, it's awt implementation requires you
to use X even if you aren't actually displaying anything. One simple
solution is to use a different implementation of the awt.
From www.eteks.com you
hallo,
I haven't installed jdk1.3 so it couldn't be used somewhere. Never the less
I copied tools.jar to WEB-INF/lib, but it doesn't work and I get the same
error message.
Some further hints are welcome ;-)
Achim Weßling
[EMAIL PROTECTED]
hi,
you might try to use the DatabaseReader, it's like a FileReader but you
have to specify a database,
bye bernhard
Bernard Bielinski wrote:
Hi,
I have got some files (*.gif, *.jpg, *.doc etc ) stored in my database.
What is the best way to show these files to people on reqest
On 19 Dec 01, at 17:38, Aguirre, Carlos (C.) wrote:
did you read the documentation
Linux/Headless/Batik
Where can I find this? I looked around in some directories.
Please excuse me, I'm new to Cocoon.
FYI, the error most likely means that Batik can't access the X server.
Do
I tried the 3.0alpha from the website with no luck (it couldn't find
language resources that should have been there for jetty). I then
downloaded the jboss-all cvs and tried to get the unjar'd cocoon working
by modifying jetty.xml in the jetty plugin sar. That didn't work.
However, I tried
Andreas:
The documentation is located either at:
http: //xml.apache.org/cocoon/
Or on your local installation under documentation
Carlos (araya, just to make things clearer)
on 12/19/01 2:41 PM, Andreas Rittershofer at [EMAIL PROTECTED] wrote:
On 19 Dec 01, at 17:38, Aguirre, Carlos (C.)
yes,
there are already some installation descriptions in this mailing list,
Escepecially :
* Unjar the cocoon.war
* Eventually set the classpath of the wls startup script including
cocoon xerces.jar, and xalan.jar,
overriiding WLS default xerces, and xalan
bye bernhard
salaheddine alachari
I cannot believe that this is a problem of batik or X - X is already running on my
linux box.
mfg ar
--
mailto:[EMAIL PROTECTED]
http://www.rittershofer.de
PGP-Public-Key http://www.rittershofer.de/ari.htm
-
Please check
More information on this issue, here is my calling definition in my sitemap:
map:match pattern=upgmaTree
map:act type=request
map:parameter name=parameters value=true/
map:generate type=file
src=sql/getSimilarityMatrix.xml/
Title: RE: org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
Hello all,
I'm getting hundreds of emails everyday from cocoon user mailing list and therefore my inbox was run out of space. I understand that these messages are valuable when I have a problem
Andreas:
I was having the same problem that you're having and following the
instructions from the headless section under Tomcat 4.0
Why don't you try it and see if it works?
Another option is for you to see if you can find the stack trace on your log
directory and let us know what the error is
Same error, even with eteks-stuff.
So I really don't think this error is caused by a batik / X11- problem. But what could
it be?
mfg ar
--
mailto:[EMAIL PROTECTED]
http://www.rittershofer.de
PGP-Public-Key http://www.rittershofer.de/ari.htm
I think the problem is because tomcat4 start does a 'su' to the tomcat4 user
there is an interaction with X access control.
Try:
tomcat4 stop
(wait a few seconds for the jdks to die - watch them on top or ps)
xhost +
tomcat4 start
(wait for cocoon to start - watch your load meter - can take
Hi
I hope this is straightforward...
How do I add objects to the objectModel Map?
http://xml.apache.org/cocoon/userdocs/generators/velocity-generator.html
says:
export-object key=objectMapKey name=velocityContextName/ (optional;
0..n) - Export the object specified by key from the Cocoon object
Sorry for the cross post, but I don't know where this belongs.
I am using what appears to be an A=B=C situation with pipelines but I am
seeing three completely different results.
I am using the default XSLT Transfomer:
org.apache.cocoon.transformation.TraxTransformer and below you will find
I installed the eteks stuff, set CATALINA_OPTS as described, put the jars in an
appropriate
directory, additionally put the PJA-jar-files in the CLASSPATH, deleted the works
directory,
restarted tomcat and it says:
Toolkit not found: com.eteks.awt.PJAToolkit
What could be wrong here? I
Hello, my idea is: create n pipelines that acces to the url's and get html
documents into xhtml. After that create an pipeline that include all this sources:
For all urls:
map:match pattern=url1
map:generate src=http://www.myurl.com/PredINM; type=html/
map:serialize type=xml/
58 matches
Mail list logo