Hi,
Can somebody tell me how to create a XSP-page which
can pass a parameter to the XSL-file when beeing processed ?
Regards,
Christofer
Dutz
I've done as you said, but... (be sure
,the path exists...)
P.S:i've tried WEB-INF/...,
./WEB-INF/...,..etc.; i'm trying to use cocoon 1.8.2 on both IIS5+JRun
and apache,tomcat3.2.3
Unable to open resource:
Now i have got it
worked..thanx...
Can anybody who has successfully used mod_rewrite for Cocoon2 please
contact me, or send me your full configuration (apache, tomcat if used,
cocoon)? if you're using mod_jk, that'd be yet another plus. Or if not
full configuration, as much as you can spare...
Here's what's happening to me: I'm
hi all !
i am using c2. it uses a default db hsql.
i have also jetspeed running as another of my webapps; which in turn also
uses hsql db.
this results in having two db , one for jetspeed and another for c2.
can anyone please suggest some method by which i'll be able to use only one
db to
Liam Morley wrote:
Can anybody who has successfully used mod_rewrite for Cocoon2 please
contact me, or send me your full configuration (apache, tomcat if used,
cocoon)? if you're using mod_jk, that'd be yet another plus. Or if not
full configuration, as much as you can spare...
Here's
How come the jsessionid tag appears sometimes, and other times not. I have
cookies turned on.
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To
Hi.,
I am not sure about everything else but the first
hit stuff..
It is possible to greatly reduce the first hit
time by having the c2 pre-compiled...This reduced the
first-hit time greately for me...(specially i have
lots of xsps)..
--- Karl_Øie [EMAIL PROTECTED] wrote: I am sorry, I
how do i set up c2 to precompile?
mvh karl
Hi.,
I am not sure about everything else but the first
hit stuff..
It is possible to greatly reduce the first hit
time by having the c2 pre-compiled...This reduced the
first-hit time greately for me...(specially i have
lots of xsps)..
---
If you write for Oracle you could use connect by clause of select statement.
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a85397/state21b.htm#2065648
Vadim
-Original Message-
From: Max Larsson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23,
Karl Øie wrote:
wget timing:
first run of toc.html - 41.879s
second run of toc.html - 0.013s (!!!)
first run of page.html?xpath=//*[@id='1222'] - 58.031s
second run of page.html?xpath=//*[@id='1222'] - 0.017s (!!!)
Hi Karl,
maybe I have another proposal for you:
If you
1) Put
your parameters inside XML generated by XSP,
or
2) In
XSP, put parameters as attributesof request object,
use
action in sitemap to obtain these parameters into sitemap
parameters,
ans
pass these parameters to XSL:
map:genenrate type="serverpage"
src="..."/
map:act
Liam Morley wrote:
Can anybody who has successfully used mod_rewrite for Cocoon2 please
contact me, or send me your full configuration (apache, tomcat if used,
cocoon)? if you're using mod_jk, that'd be yet another plus. Or if not
full configuration, as much as you can spare...
Here's
-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 7:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [C2] issues/observations
Hi!
Hello,
I'm currently evaluating Cocoon 2 for the next version of our site (we
deployed with
It really looks nice but I wouldn't use a jsp for rendering. I think using
XSLT is the 'standard' for rendering in different output formats. JSP is
only a Sun/Java standard not a W3C standard. You can use XSLT without Java -
JSP not. But that's believing.
Is XSP-XSLT-HTML that much slower?
I agree to your point that jsp/java is not a standard like XSLT, but my
point here is that the jsp page comes at the end of the pipeline so it must
be regarded as a serializer of the strange kind.
but since my pipeline (xml-xsl-jsp) is pure up to the end point it is easy
to re-use the
We've been reading lots of threads from faqs and mail-lists and do not
understand how it is possible anyone is actually working with tomcat
Cocoon 2. We're sorry to admit, but are getting a bit desperate ...
Our problem is that we constantly get the message:
I do ot use Tomcat but perhaps I can help you.
Remove (oder better just move;) all XML libs of Tomcat (perhpas jaxp.jar,
xerces.jar, dom.jar, sax.jar). Replace them with the xerces lib of C2.
Restart.
Hope that helps.
-Ursprüngliche Nachricht-
Von: Enric Staromiejski [mailto:[EMAIL
java guru wrote:
Hi.,
I appreciate if anyone is generous enough to share
xsl code for building collapsing menu structure for my
sample project...
Alot of the collapsable menues are done in javascript on
the client side. Your solution will have to be a combination
of XSLT and
From: Karl Øie [EMAIL PROTECTED]
Subject: RE: separation of content and logic
Date: Thu, 23 Aug 2001 15:07:17 +0200
Message-ID: [EMAIL PROTECTED]
btw: I'll try the id(xxx) tip you gave me, perhaps it can speed up
things a lot! :-)
Can you give us a feed back? ;)
Thanks,
--Arnaud
I understand ur frustation as any one struggled with
c2 first time would understand...but once u get it,
its amazing..
If u problem is not solved yet..please send zipped
log(latest) to me..
As curtesy, please dont post large files to user
list..
Thanks
--- Enric Staromiejski [EMAIL
We've already tried this and does not solve our problem :(
thanks anyway
-Mensaje original-
De: Jörn Heid [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 23 de agosto de 2001 15:30
Para: [EMAIL PROTECTED]
Asunto: AW: newcomer: desperately impossible getting Cocoon Started
I do ot use
oufcourse, i'll give you wget timings tomorrow!
mvh karl
btw: I'll try the id(xxx) tip you gave me, perhaps it can speed up
things a lot! :-)
Can you give us a feed back? ;)
Thanks,
--Arnaud
-
Please check that your
1. Put Tomcat 3.2.3 (that's latest release)
2. Do build clean
3. Do not copy cocoon, but do build install (see 3a) Automatic install. in install
file)
4. Remove jaxp.jar, parser.jar from tomacat/lib
5. put xerces_1_4_1.jar into tomcat/lib
6. launch tomcat.
If you still have problem, send
Hi all,
why does something like this
map:match pattern=navigation.xml
map:act type=session-validator
map:parameter name=descriptor
value=context://auth//descriptors//params.xml/
map:parameter name=validate value=username/
map:generate src=myNavigation.xml/
--- Enric Staromiejski [EMAIL PROTECTED] wrote:
snip/
2. We install Tomcat-3.2.1. (and it starts ok)
It is possible to run T3.2.1 with C2b2 but
1) Tomcat 3.2.2 is out now.
2) Tomcat 3.3.x is better because it manages the jar files in a
different way. The librairies of Tomcat
Hi!
Problem : I'm not able to make connections to a postgresql-db
(unmodified samples)
(cocoon from cvs, branch cocoon_20_branch a few days ago).
Exception is : (Yes, i read the faq and browsed the mail-archive...)
Could not get the datasource java.sql.SQLException: You cannot get a
java guru wrote:
Hi.,
I have just used the following successfully..
map:match pattern=welcome2
map:act type=session-isvalid
map:generate src=docs/samples/samples.xml/
map:serialize/
Hi All,
I am getting really frustrated trying to get Cocoon2 to run under Tomcat4.
I have a Linux Mandrake 8.0 machine with Java 1.3.1 installed.
Tomcat 4.0-b7 has been downloaded, installed and I have confirmed that it
works correctly.
Jakarta Ant 1.4.1 Beta 1 has been installed and is
java guru wrote:
Hi.,
I have just used the following successfully..
map:match pattern=welcome2
map:act type=session-isvalid
map:generate src=docs/samples/samples.xml/
map:serialize/
Hi.,
There were earlier reports of segmentation fault
on linux platform 'coz of sun jdk. Sun also have faq
on that issue and workaround..
Your problem may/maynot be related with that...try it
out..
Good luck
--- Lamb, Mark [EMAIL PROTECTED] wrote: Hi
All,
I am getting really
Hi.,
Sorry if i gave the impression that i AM using two
generators..
The orginal author of this problem seems to have
problem with coding two generators inside a
map:match..
You are right in the sense that logically only one
generator is used..
--- Berin Loritsch [EMAIL PROTECTED] wrote:
Did you start the postmaster before starting tomcat? (or other engine)
Useful for debugging is WEB-INF/logs/cocoon.log
Michael
Christoph Kliemt wrote:
Hi!
Problem : I'm not able to make connections to a postgresql-db
(unmodified samples)
(cocoon from cvs, branch cocoon_20_branch a
I am using c2 cvs from around the same time as urs..
From the error portion u posted, i cannot really
tell anything as it wouldnt guarantee the problem to
be with this portion of sitemap..
If u can send the sitemap log zipped up to my
mail...
--- Philipp Schmidt [EMAIL PROTECTED] wrote:
Hi Mark,
The problem you are experiencing is a known problem with jdk1.3.1. It
does not occur with jdk1.3.0. Nevertheless, there is a fix. Which is
to add the string '-classic' to your $CATALINA_OPTS environment
variable. This should fix the issue.
Hope
Thanks a lot everyone,
That worked a treat - it was really starting to bug me :)
Cheers again,
Mark.
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi!
-E == Enke Michael [EMAIL PROTECTED] writes:
E Did you start the postmaster before starting tomcat?
Yes.
netstat --inet --listen
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp0 0 *:
I are having trouble installing Cocoon 2 (via the CVS as described on
http://xml.apache.org/cocoon2/install.html). I am using it together with
a Tomcat 3.2.3-1 Debian package and some problems have occured.
First, I suspect that, since I am running both Cocoon and Tomcat on a
remote server
Hi.,
1. X problem is that some of the c2 components
requiring x server...
2. Second problem is that c2 not setup to talk to
hsqldb that ships with c2 by default..
Both of these are discusses numerous times..please
look into the mail archive..
--- Jan Warnstam [EMAIL PROTECTED] wrote:
I are
Hi all,
I'm update to cocoon 2.0b2 and Tomcat 4b7.
Everything works fine except the same error
when I query SQL server with cocoonso bad
any idea greatly appreciated
Thanks
Florent
for the off-topic a little : i'm using freetds_jdbc.snapshot.jar
(last version)
-Original
hi everyone,
I'm trying to install cocoon2 with tomcat-3.2.3 on linux redhat .A month
ago, I've installed cocoon2 on tomcat-3.2.2 without any problem but with the
new version of tomcat (3.2.3), cocoon doesn't work. When I try to connect to
cocoon2 with the url : http://localhost:8080/cocoon/ as
Here my log
Thanks,
Olivier
ERROR 99855 [cocoon ]
(Thread-32): Error compiling sitemapjava.lang.NoSuchMethodErrorat
org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:378)at
Hello,
I have a strange problem with esql. I got a page running well with an
old(one ortwomonth?)cvsversion ofcocoon2
http://vbstefi60.fapse.ulg.ac.be/www/index.html but with c2b2, it
generates an error when compiling the page... of course, the source is
not
From: Jan Warnstam [EMAIL PROTECTED]
Subject: Problems with Cocoon 2 with Tomcat 3.2.3-1 on Debian
Date: Thu, 23 Aug 2001 17:42:53 +0200
Message-ID: [EMAIL PROTECTED]
First, I suspect that, since I am running both Cocoon and Tomcat on
a remote server (which I access via SSH) the Tomcat
May be you should check whether /cocoon app. found on startup of tom3 ,if
not, the problem is on tomcat, i don't know why ,but i met with same problem
before..
- Original Message -
From: zze-DELARUE Franck stagiaire FTRD/DMI/LAN
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
How do I access a session parameter from a stylesheet? I know how to get a
request parameter:
1. set
use-request-parameterstrue/use-request-parameters
2. and use something like this in the stylesheet:
xsl:param name=messageid0/xsl:param
...
xsl:template
Karl Oie wrote:
goto http://www.xfree86.org and get the xvfb package, i had the same
problem, so i included this in the tomcat.sh after i installed Xvfb:
if [ $1 = stop ] ; then
# kill off any framebuffer running, kill kill kill :-)
kill -TERM `/sbin/pidof Xvfb`
elif [ $1=start -o
Is there a way to test possible XML data from a database prior to doing an
esql:get-xml column=DESC/ ?
The problem is, if someone else (non-technical) enters the data in the
database and they forget to close off a tag or something, is there a way I
can intercept that - or tell that it's not
Use action to get session attributes and return them to sitemap.
Right now there is no such action, but it is easy to write it.
Vadim
-Original Message-
From: logica [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: Session Parameters
Dear All,
I have a practical question. I have this taglib that I have written
earlier for C1. With C1, one could tell cocoon where to find the
corresponding xsl file through an entry in cocoon.properties. What is
the best way of doing this with C2. The cocoon.xconf file contains
entries like
try this:
http://www.thinweb.com/tw_products_twfreetds.html
Bernard
-Original Message-
From: florent barbare [mailto:[EMAIL PROTECTED]]
Sent: 23 August, 2001 18:04
To: [EMAIL PROTECTED]
Subject: RE: C2 SQL-server 7 : webbrowser keeps on loading
Hi all,
I'm update to cocoon
Brent L Johnson wrote:
Is there a way to test possible XML data from a database prior to doing an
esql:get-xml column=DESC/ ?
The problem is, if someone else (non-technical) enters the data in the
database and they forget to close off a tag or something, is there a way I
can intercept that - or
I have the bellow error runing some samples:
java.lang.NoSuchMethodError
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:116)
at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java:123)
I
Hello, I was wondering if anyone had any thoughts/comments/insights into the
evolution of the schema for the sitemap.xmap file in Cocoon2. Currently, it
doesn't seem possible to validate the sitemap.xmap file against an XML
schema or DTD. This is because each component may have it's own markup
Title: Purpose of LinkSerializer?
I've been playing around with Cocoon2 and came across the LinkSerializer. The documentation simply states that is shows the targets of the links in a document. How is this used? What can it be used for? I was looking for some examples using this serializer
Beat -
Here's the current version.
In addition to querying, you can do adds, removes and deletes. The Add
syntax is as follows:
eldap:execute type=add
eldap:server-urlldap://yourmachine:porthere/eldap:server-url
eldap:search-basecn=James
Hello,
I am trying to install the Cocoon2b2 version. But when i try to build the
cocoon.war i get the error, that it is not able to find ant. I have set the
ANT_HOME , but still i get the same error.
Thanx,
Raghu
light the deep, and bring silence to the world.
light the world, and bring depth
I got it. The solution is,
copy the ant and antRun from jakarta-ant-1.3 into cocoon/bin and then run
build.sh, may be the ant and antRun given by cocoon2b2 is for dos.
Thanx,
Raghu
light the deep, and bring silence to the world.
light the world, and bring depth to the silence.
-
58 matches
Mail list logo