just forgot to describe our environment:
SuSE Linux 7.3
Apache 1.3.20 webserver
Jakarta-Tomcat 4.0.1 and 4.0.2-b2
Cocoon 2.0.0 and 2.0.1
--
+---+-+
|mailto:[EMAIL PROTECTED]
Have a look at the XMLDBTransformer in the scratchpad area.
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/XMLDBTransformer.java
HTH
Guido
--
Open Source Group sunShine - Lighting up e:Business
Hi Peter,
Are you using any of the Cocoon 2 functionality that requires an X server
(SVG for example)? If not then you can run Cocoon 2 without any X server
running (although you will need to comment out the SVG serializer from the
sitemap so that it does not get loaded).
If you do need an X
Vadim
Still no luck with your samples
First: which URL to use to call the XSP page? When I try
http://localhost:8080/cocoon/xsp/logicsheet-test
it simply gives me an error, with root cause:
java.lang.IllegalAccessError: try to access method
Hi, I'm using
- SuSE 7.3
- Apache 1.3.20
- JDK 1.3.1_02
- Tomcat 4.0.1
- Cocoon 2.0.0
- PJA classes to replace the X-environment
This runs fine without any problem. All SVG samples work without any
problem. Log files are clean!
SuSE is installed as a headless system, so no X is available.
Hi Chris,
thanks for your reply.
Unfortunately we need the graphics stuff, and we'd prefer to run a
real X server (not a headless replacement). However, we'll give Xvfb
a go, as soon as we have time.
We tried PJA, BTW, but C2 was unable to finde the Jars, although we put
them in all the lib
Did you try to comment out the svg serializers in the sitemap?
-Ursprüngliche Nachricht-
Von: Baer Peter [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 4. Februar 2002 10:50
An: [EMAIL PROTECTED]
Betreff: Re: RE: File mode cause of sitemap not available problems?
Hi Chris,
thanks for
Vadim
I appreciate all the help so far. The samples are still not working
tho', after
making the changes you suggested...
I have attached the files - they are saved in a derek1/logic subdir
(directly
under cocoon), along with the following additiion in the sitemap.xmap
file:
map:match
Hi Bert,
we'll try Xvfb, and there'll be a second attempt with PJA.
Talking of which: What did you do to enable Java to find the PJA jars?
Xvfb: If I interpret Chris's mail right, it is possible to run this
as a normal user. It's not run as root, which is certainly something
desirable for us...
Baer Peter wrote:
snip/
In fact, we *do have* X on our server, which we use for other purposes,
but we certainly can find another solution for that. But the question
is:
Why do we get that error message, although we have an X server
up and running?
Can anyone
No, not yet. Wouldn't that mean that we cannot use the SVG
graphics stuff? We need that...
Did you try to comment out the svg serializers in the sitemap?
-Ursprüngliche Nachricht-
Von: Baer Peter [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 4. Februar 2002 10:50
An: [EMAIL
Can anyone hint me howto link about implement and usage XScript in cocoon?
Thanx
Yury
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To
From: Michael Homeijer [mailto:[EMAIL PROTECTED]]
Hi,
For a prototype I have the need to store form data in a Xindice
(db:xml)
database. I was thinking of writing an action that generates xml data
based
on the request, calls a transformer and then stores the xml data in
Xindice).
From: Mark Ayad [mailto:[EMAIL PROTECTED]]
Hi All,
I'm currently designing a project which uses a database to store the
xml
content, my first though is that the xsl would have to stay outside of
the
database ?
Has anyone implemented this or can anyone point out any potential show
To get rif of IllegalAccessError: You will need CVS version of Cocoon,
*or* you can register logicsheet in the cocoon.xconf instead of pointing
to it from the XSP file (I don't imply, it is one of the possibilities).
Releveant piece of cocoon.xconf looks like:
builtin-logicsheet
parameter
Vadim
I have tried this:
!-- Derek Test Logicsheet --
builtin-logicsheet
parameter name=prefix value=greeting/
parameter name=uri
value=http://duke.edu/tutorial/greeting/
parameter name=href
You need to remove references to the logicsheet file from the XSP, and
leave only namespace declaration. Also, you can delete any generated
files from previous run and restart engine.
PS: CVS contains this sample and runs it out-of-the-box.
Vadim
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Hello,
I try the Xscript and Soap sample, and i have this error message in the
form :
SOAP Stock Quote Example 1
The stock price for HWP is org.xml.sax.SAXParseException: The markup in the
document preceding the root element must be well-formed.
Can anybody
Derek,
As in map:generate type=serverpages src=docs/samples/xsp/{1}.xsp/
The source must be a xsp file.
From the extension derek1/logic/greeting3.xml does not seem to be an xsp
file.
Valentin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Derek,
As in map:generate type=serverpages
src=docs/samples/xsp/{1}.xsp/
The source must be a xsp file.
Valentin,
xsp file != .xsp extension. It is not a Windows, you can use whatever
extension you like.
Vadim
From the extension
From: Baer Peter [mailto:[EMAIL PROTECTED]]
snip/
One problem here, is apparently that Cocoon can't be started ouf of
the box without running into problems, as, eg, the example
applications
use SVG etc.
Please separate Cocoon and sample webapp shipped with Cocoon. Sample
webapp should be
Am Montag, 4. Februar 2002 17:34 schrieben Sie:
From: Baer Peter [mailto:[EMAIL PROTECTED]]
snip/
One problem here, is apparently that Cocoon can't be started ouf of
the box without running into problems, as, eg, the example
applications
use SVG etc.
Please separate Cocoon and
From: Christian SCHRãTER [mailto:[EMAIL PROTECTED]]
snip/
Please separate Cocoon and sample webapp shipped with Cocoon. Sample
webapp should be tried in the development environment, where (if
your
dev. env. is Linux) X is supposed to be started, so no problem will
be
encountered with
Hello everybody
i have a problem with cocoon and
xsl
when i modify xsl file i should to
restart cocoon to get the effect
before this was working good
i modify xsl file and see the effect
without need to restart cocoon
but now this not work good
.
Jörn:
Commenting out the serializers doesn't always work.
As far as PJA not being found, that's because the Jars need to be
uncompressed and the resulting classes put on the JRE/classes
Carlos
On 02/04/02 3:23, Jörn Heid [EMAIL PROTECTED] wrote:
Did you try to comment out the svg
I'm using Cocoon 2.0.1 with Tomcat 4.0.1 and JDK1.3.1 on Windows.
I've got the following exception :
FATAL_E (2002-02-04) 19:08.12:218 [core.xslt-processor] (/cocoon/test.xml)
HttpProcessor[8080][4]/TraxErrorHandler: Error in TraxTransformer:
Please be more specific of what you are using (Cocoon version, engine,
etc), and what you are trying to do. Use plain text mail.
Vadim
-Original Message-
From: Mohamed Abdel Hameed [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 12:49 PM
To: [EMAIL PROTECTED]
Subject:
Ok, here's a trivial question: how do I serve image files using Cocoon?
I have some html tag in the results of some page, like:
img border=0 src=/images/company/wtf.jpg
and in the sitemap's main pipeline (the reader is configured at the top):
map:match pattern=images/**.jpg
map:read
i'm using cocoon-2 - tomcat server - under windows2000
the problem was not existing before , i work with xsl and modify it then i
can see this modification
without needing to restart tomcat server
but now when i try to make any modification
i can't see this modification till i restart tomcat
Mohamed,
do you insert this stylesheet in another styleshhet using xsl:import ?
If so, you should touch (change the file date) of the importing stylesheet
to make Cocoon recognize that the imported stylesheet has been modified.
Best regards,
-
Tomcat 4, Cocoon 2, Apache 1.3 on Red Hat 7.2
I've searched xml-cocoon-users at http://marc.theaimsgroup.com (and I've
searched and I've searched and ...)
So a request to those who've had this problem:
Apache won't deploy Cocoon and it seems to boil down to this error
message (where dell is
Hello everybody
I have a problem with cocoon and xsl .
when i modify xsl file i have to restart cocoon to get the effect.
before this was working good .
I modify xsl file and see the effect without needing to restart cocoon
but now this does not work good .
Thanks in advance
Hi
I'd like to be able to specify some constants in a sitemap for use as
parameter values to an action.
For example, I currently have a parameter for a login action:
map:parameter name=login_url value=myserver.xyz/login/
which is repeated for all my pages.
Can I specify in the sitemap
Hi from a cocoon-users newbie -- Is it possible to use Cocoon to generate an XSL stylesheet with an XSLT (not XSP), and reapply this dynamically generated stylesheet to the source document? I'm not talking about normal stylesheet chaining; in this case, the second stylesheet would be a
i'm using cocoon-2 - tomcat server - under windows2000
the problem was not existing before , i work with xsl and modify it then i
can see this modification
without needing to restart tomcat server
but now when i try to make any modification
i can't see this modification till i restart tomcat
While installing Cocoon2 with JBoss 2.2.2 and Tomcat distribution as
described in FAQ, I'm receiving the following message on JBoss launch:
Exception in thread main java.lang.NoClassDefFoundError:
javax/xml/parsers/DocumentBuilderFactory
at org.jboss.Main.init(Main.java:206)
at
I am trying to install cocoon 2.0.1. To do this I downloaded
the binary distribution (cocoon-2.0.1-bin.tar.gz) and followed
the installation instructions. I use tomcat-4.0.1.
Cocoon comes up with an internal server error
'The sitemap handler's sitemap is not available'.
Here are the first lines
Re:
I'm using the module mod_webapp.so and getting the following message
when httpd starts up:
[warn] Loaded DSO modules/mod_webapp.so uses plain Apache 1.3 API,
this module might crash under EAPI! (please recompile it with -DEAPI)
There doesn't seem to be another version of mod_webapp.so
Title: cocoon cache
S/W - Cocoon 1.8.2
Cocoon 1.8.2 does not seem to cache pages when request uri does not match the document loaded.
Eg
URI Document Loaded Cache Status
---
/webapp/a.xml DocRoot/webapp/a.xml Cached
From: Steve Barnes [mailto:[EMAIL PROTECTED]]
Tomcat 4, Cocoon 2, Apache 1.3 on Red Hat 7.2
I've searched xml-cocoon-users at http://marc.theaimsgroup.com (and
I've
searched and I've searched and ...)
So a request to those who've had this problem:
Apache won't deploy Cocoon and it
From: Durrant, Peter [mailto:[EMAIL PROTECTED]]
Hi
I'd like to be able to specify some constants in a sitemap for use as
parameter values to an action.
For example, I currently have a parameter for a login action:
map:parameter name=login_url value=myserver.xyz/login/
which is
Check out also http://localhost:8080/cocoon/sub/xsl-dynamic sample, it
might be of help (Cocoon 2.0.1)
Vadim
-Original Message-
From: Ruud Diterwich [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 3:43 AM
To: [EMAIL PROTECTED]
Subject: Re: Processing XSL dynamically created
From: Prof. Dr. Andreas Mielke [mailto:[EMAIL PROTECTED]]
I am trying to install cocoon 2.0.1. To do this I downloaded
the binary distribution (cocoon-2.0.1-bin.tar.gz) and followed
the installation instructions. I use tomcat-4.0.1.
Cocoon comes up with an internal server error
'The
MacOSX Cocoon works perfectly fine with the standard
distribution. The only problem I had was with compiling
the classes, the zip tool cut off the characters of file
names after a certain point. So, I had to traverse the
directory and put the names back in for the source files.
Then,
I get this error when I start jakarta 4.0.2b running
with apache 1.3.22ssl on rh linux 7.1.
This is the only application that does that. And of
course it does not work. I have a contect properly
defined for it in both httpd.conf and server.xml.
StandardContext[/cocoon]: Servlet /cocoon threw
I am trying to use Cocoon 2 in my application on WebSphere 4.0 (Windows
2000). I get a 'ResourceNotFoundException' when I try to get XML data
from a servlet using the default FileGenerator. My servlet has deployed
fine and is in the same web-application as the CocoonServlet. I can
successfully
Nicola
Could be more specific about how to disable caching; I agree
that it is a real pain during development!
Thanks
Derek
[EMAIL PROTECTED] 04/02/2002 09:36:50
From: Luca Morandini [EMAIL PROTECTED]
Mohamed,
do you insert this stylesheet in another styleshhet using
xsl:import ?
If
Vadim
Unfortunately I only have the built version...
Still no success - as I said before, I have removed the
xsp:logicsheet location=derek1/logic/logicsheet.greeting.xsl/
from the XSP and also cleared the cache (not that I could find any
references
to the file). Also did restart. Still
Does anyone have a quickstart guide to using DocBook stylesheets under
Cocoon 2,
perhaps with a 'tried and tested' example?
I have a previous application which worked under Cocoon 1.8 and now
does not
under C2, and I am trying to see where it is failing. Having something
that is working
would
Are there any issues in upgrading a *non* CVS (ie. precompiled) version
from 2.0?
Is it possible to just copy the new WAR under Tomcat and let nature
take its course??
Thanks in advance for any hints/tips!
Derek
-
Please
From: Derek Hohls [EMAIL PROTECTED]
Nicola
Could be more specific about how to disable caching
In cocoon xconf:
xslt-processor
class=org.apache.cocoon.components.xslt.XSLTProcessorImpl
logger=core.xslt-processor
!--parameter name=use-store value=true/
parameter
51 matches
Mail list logo