use
jar to unpack your war file, inside you will find the
cocoon.jar.
mvh
karl øie
-Original Message-From: vendo
[mailto:[EMAIL PROTECTED]]Sent: 8. desember 2001
14:52To: cocoonSubject: Cocoon War and Command
line
Hi,
I got the latest release of cocoon, for
Hi
I ma have solved this problem - certainly I had the same issue:
# tomcat4 run
started tomcat fine; I waited a while (minutes!) the made a req to
http://tc/
Worked fine, tomcat4 demos fine
Then a connection to /cocoon/
Instant death!
All the tomcat4 processes died - no errors no (useful) logs
Hi,
I've almost finished a rather big project using cocoon2. Now that
cocoon2 is final and I'm using tomcat 4, performance is already great.
But, since the web site will probably serve a 1000+ users, it oughta be
even faster. Actually, the site is currently manually updated, and we
had the
Hi,
I'm trying to handle Page Not
Found errors in Cocoon. My sitemap.xsl reads:
map:pipeline
internal-only="true" map:handle-errors
type="404" map:generate
type="serverpages" src="xsp/notfound.xsp"/
map:serialize
status-code="404"/
/map:handle-errors
map:handle-errors type="500"
Hi,
I've almost finished a rather big project using cocoon2. Now that
cocoon2 is final and I'm using tomcat 4, performance is already great.
But, since the web site will probably serve a 1000+ users, it oughta be
even faster. Actually, the site is currently manually updated, and we
had the
Thanks for answering, Torsten !
Take a look into the caching docs.
Yes but hey ! I don't know where they are ! Didn't find them on the web
site anyway. Looks like the 1.8 docs do mention cacheing, but is that
up-to-date ?
Candide
Thanks for answering, Torsten !
Take a look into the caching docs.
Yes but hey ! I don't know where they are ! Didn't find them on the web
site anyway. Looks like the 1.8 docs do mention cacheing, but is that
up-to-date ?
Ups... sorry, assumed you were talking about 2.0
True - it was
- Original Message -
From: Berin Loritsch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 07, 2001 5:36 PM
Subject: Re: performance
hello berin,
i have some answers to your questions and some questions 'bout your
answers...
Also, you didn't answer my first question:
Anyone have any thoughts on this?
What could cause an XSP page to get called twice in the same request?
Tnx!
DR
At 12:07 PM 12/7/01 -0500, you wrote:
Actually, regarding the setup below (which I mentioned in another message), I'm
having a problem with it and would appreciate some help.
At 12:44 AM 12/10/01 +0100, you wrote:
2. Write your own action which puts the parameter to the sitemap params.
FYI -
I just happened to discover the other day, that there's a pre-written action that will
do this for you.
map:action
name=request
Hallo,
I find myself in front of the task to process xml data through an xsl(t)
stylesheet to a different xml.
It is possible to do that using Cocoon [2] as if it where supposed to
produce an html output.
Before I embark in using Cocoon (instead of, for instance, SAXON) I'D like
to ask
- Original Message -
From: arjen stolk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 3:22 PM
Subject: Re: performance
, but performance is still the same.
oke finally connected to other dbserver instead of server running on my
local machine.
that made a
I'm not sure I understand your question, so I'll try to answer as best I can:
* Is it possible to use cocoon to do an XSLT transformation with the output being XML?
Yes.map:serialize type=xml/
* Is it possible to use cocoon to do an XSLT transformation with the output being HTML?
Yes.
arjen stolk wrote:
- Original Message -
From: arjen stolk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 10, 2001 3:22 PM
Subject: Re: performance
, but performance is still the same.
oke finally connected to other dbserver instead of server running on my
I must send a parameter to an external cgi. This cgi only implements doGet()
method, and couldn't be changed.
¿How can i pass parameters to this external server using POST method?.
I have a pipeline like that:
map:match pattern=exec/external
map:act type=request
Wow I wish I could applybut I think the commute would be
unbearable. (from NC, US) ;-)
--
www.sourceforge.net/projects/poi - port of Excel format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html
- fix java generics!
The avalanche has
That was real quick, David. Thanks.
I'll clarify:
1. In Tomcat [4] we have set the destination type to map:serialize
type=xml/, as you have suggested.
The following problems have arisen:
- Internet Explorer gets into Cocoon's way and wants to open the xml file
when I click onto it to start the
That was real quick, David. Thanks.
I'll clarify:
1. In Tomcat [4] we have set the destination type to map:serialize
type=xml/, as you have suggested.
The following problems have arisen:
- Internet Explorer gets into Cocoon's way and wants to open the xml file
when I click onto it to start the
The browser shows the xml file becuase of its content type text/xml.
If you change that (you can do so in the sitemap) to application/x-whatever
your browser should ask you to save or view it. But that's not Cocoon
specific.
If you want to show the source code I think you have to write a xslt
What Joern said is correct. I'll elaborate some more, though.
Since you've set map:serialize type=xml/, you're sending XML to the browser (mime
type: text/xml).
Most browsers don't know how to natively display XML, so it looks wacky.
IE, however, does know how to do it, so it does - as
Jörn,
what do mean by sitemap? (Please tell me the German term, maybe I'll
understand it better...)
Matthias
-Original Message-
From: Jörn Heid [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 5:08 PM
To: [EMAIL PROTECTED]
Subject: AW: XSLT transformations with Cocoon (added
Are you sure IE doesn't put its hands on text files? We'll try it out
tomorrow, I'll tell you the outcome.
For today (CET), thanx a lot for your quick and detailled answers.
Matthias
-Original Message-
From: David Rosenstrauch [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001
At 05:51 PM 12/10/01 +0100, you wrote:
Are you sure IE doesn't put its hands on text files? We'll try it out
tomorrow, I'll tell you the outcome.
Actually, no I'm not sure. It was just an off-the-top-of-my-head suggestion.
The download suggestion, however does work. I'm using it in my own
Hello all,
I'm setting up cocoon2 with tomcat, both are latest versions from the
website. The examples from tomcat and cocoon2 work fine. I'm also
trying to setup ELDAP and I'm having some trouble. I created a
pipeline in sitemap.xmap and when I bring up the URL in the browser I
My guess is you need to specify you are using the LDAP transformer like so
map:transform type=ldap src=crocker/eldap.xsl / . This requires that
you have defined this transformer in the first place, which is not done in
the default sitemap in the distribution. Add:
map:transformer name=ldap
Jeremy Crosbie wrote:
My guess is you need to specify you are using the LDAP transformer like so
map:transform type=ldap src=crocker/eldap.xsl / . This requires that
you have defined this transformer in the first place, which is not done in
the default sitemap in the distribution. Add:
Rockin! I'll give this a try.
--
Matt Ho
Principal
Indigo Egg, Inc.
Providing VoiceXML Professional Services
-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 10, 2001 12:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Reading a JSP file
Hello Michael, try this xsp:
?xml version=1.0 encoding=ISO-8859-1?
xsp:page language=java xmlns:xsp=http://apache.org/xsp;
page
testxsp:exprTESTING.toLowerCase()/xsp:expr/test
/page
/xsp:page
Send a reply if it works...
The stylesheet processed there, is the
Hi Sergio,
I had the same problem, XSP forces us to take a different look at
common tasks of a server page. Using taglibs is'nt so trivial and
powerful as i had thinked.
In this case, why don't you try to solve the problem by taking the
arguments of the request direct in your taglib? If
Hi, I hope there's a little bit of help out here - I am just starting this
really but I seem to be getting just a little stuck.
System: Windows 2000, build 2195, Service Pack 1; 392 meg of RAM.
Previously had installed JDK 1.2.2 to C:\jdk1.2.2.
Downloaded Tomcat 3.2.1 and installed to
sitemap is the configuration file located in:
$TOMCAT_HOME/webapps/cocoon/sitemap.xmap
It defines the pipelines and the components of it.
Have you try to rigth-click the xml that IE shows and click in
view-source to see the xml file the cocoon returns?
Regards...
--
Mauricio Souza Lima
Hi,
I want to do this in a stylesheet:
xsl:variable doc=some-doc
select=document('http://some-server/some-doc.xml')/
The first time the stylesheet is run, the URL in the document() function is
accessed. After that, it appears to be cached, and any changes to
some-doc.xml are not reflected in
Hi all,
Another attempt to deploy has failed and I have to chalk it up to
stupidity - although I've seen (perhaps 20) different methods and
configurations to get cocoon+tomcat+apache working together, I have
proved too stupid to make ANY of them work.
I REALLY need someone who has
Someone else had this same problem recently.
Use util:include-expr. It will parse the text that you pass in to it, and generate
SAX calls from it (as opposed to writing the text straight to the output - after
escaping all the control chars - like it's doing now).
1) Include the namespace
If I save the following in a file as iso-8859-1
?xml version=1.0 encoding=iso-8859-1?
page
test
T-t testing 1-2-3!
Günther
check 1-2
/test
/page
and run it through xerces using a sample test program where the guts
contains
SAXParserFactory factory = SAXParserFactory.newInstance();
Hi,
Can the hosting web page be updated to reflect that Capital Internet has
tested Cocoon 2.0 and it is available to customers. Pre-2.0 support
will still be available.
Thanks,
Brian
--
Capital Internet, LLC
High Availability Web Hosting and Internet Access
http://www.capital-internet.net
I omitted a detail...I'm on Cocoon 2.0rc2.
Thanks
...Peter
-
Please check that your question has
Hi,
I have just installed Cocoon and I get this message when I try to
view a xml page with a stylesheet
The sitemap handler's sitemap is not available. Please check logs for
the exact error
the error in cocoon.log is : java.lang.NoSuchMethodError
xml :
?xml version=1.0 ?
?xml-stylesheet
Hi all,
I have
some problems with the xsp pages and encoding. When i try to display Shift_JIS
encoded characters it is not displaying properly.
when i hard code the japnese
characters it is working properly. for example in this xsp page
?xml version="1.0"
encoding="Shift_JIS"?
39 matches
Mail list logo