FYI, we are using Apache 1.3.9, with MOD_GZIP running Cocoon under the JRun
servlet engine and we are seeing 85%-95% compression ratios! We are
returning large data sets to the user so needless to say this is a huge
performance boost for us.
-Aaron
> -Original Message-
> From: Alex McLi
Is there a way to set the SQL Prefetch value when using the Cocoon
datasources? Example Java code would be:
Statement sql = connection.createStatement();
sql.setFetchSize(100);
ResultSet rs = sql.executeQuery("Select * from table");
I would imagine a parameter passed to
I wrote a custom Transformer that writes it out to disk and passes the SAX
Events through (for serialization or other transformation, very useful for
debugging). If anyone is really interested in this I can contribute it to
the codebase.
-Aaron
-Original Message-
From: Bert Van Kets [ma
age-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 11, 2002 5:41 PM
To: [EMAIL PROTECTED]
Subject: RE: More on Cocoon 2 generated SAX Exception
> From: SANSONE, AARON M [Non-Pharmacia/1000]
>
> Cocoon 2.0 - Running on P3-500 NT 4.0 SP6 with JRun 3.1
>
> Here
Vadim,
I got the Feb 13, CVS Snapshot and this is working now. Thanks. However, I
am still having the Problem with the AbstractDOMTransformer that I've
implemented. See the "More on Cocoon 2 generated SAX Exception" Thread.
Thanks,
Aaron
(P.S. here is the exception from the thread I'm talki
Ferran,
Yes you can do any SQL statement using the transformer. An insert may look
like this:
http://apache.org/cocoon/SQL/2.0";>
http://apache.org/cocoon/SQL/2.0";>
insert into tablex ( username, password, activeFlag ) values
('', '', 'Y')
Then process this throught the SQL
According to documentation, to change the default XML Parser to user Xerces
(as opposed to JAXP), the following two steps must be taken:
1) Add
"-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.p
arser.XercesParser" to the JVM Startup args for your servlet engine.
2) Pla
Exception
> From: SANSONE, AARON M [Non-Pharmacia/1000]
>
> Cocoon 2.0 - Running on P3-500 NT 4.0 SP6 with JRun 3.1
>
> Here is some extra exception information from root.log I didn't
include
> before:
>
> org.xml.sax
Uwe,
I think what you are looking for is passing request parameters to the
stylesheet. To do that you must pass the paramters in the sitemap. For
example:
This declares that all the request parameters will be passed to the
Stylesheet. Then in the stylesheet you must declare the va
Andreas,
Just a random thought but:
I believe that if you use the request-parameter action, you can actually
retrieve the query string as a sitemap parameter. Then you could use that
string as your GET parameter set (which would forward all parameters that
were passed in). Check the source cod
Pino,
We control access to our entire project using nested match patters like
this:
... other matchers...
The * match pattern is the first filtered match
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 th
e any
ideas?
Thanks,
Aaron
-Original Message-
From: SANSONE, AARON M [Non-Pharmacia/1000]
Sent: Tuesday, December 18, 2001 5:10 PM
To: Cocoon-Users (E-mail)
Subject: Problem Implementing AbstractDOMTransformer...
Hi,
I'm trying to create an implementation that extends AbstractDOMT
ne ?
>
> --
> Sylvain Wallez
> Anyware Technologies - http://www.anyware-tech.com
> }//Unquote
>
> I am experiencing the same problem. Currently I am trying earlier avalon
> builds but nothing is a fix yet.
>
> Anyone else with this problem?
>
> Roger
>
> -
Hi,
I'm trying to create an implementation that extends AbstractDOMTransformer.
I have a piece of java code that takes a document, does some work and
returns a new document that is to be streamed back to the pipeline.
According to the javadocs all I have to do is implement the transform
method. I
g it for use with Cocoon is
> questionable as GNU does not consider the Apache license to be compatible
> with the GPL.
>
> > -Original Message-
> > From: SANSONE, AARON M [Non-Pharmacia/1000]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 17, 2001 7
; -Original Message-
> From: SANSONE, AARON M [Non-Pharmacia/1000]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 17, 2001 7:27 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: starting Xvfb for Cocoon
>
> There is another solution to the XVFB pro
There is another solution to the XVFB problem which we are implementing:
You can use http: //www.eteks.com/pja/en which is a replacement for the
Java Graphics package. It is 100% Pure Java and doesn't use any native
graphics resource of the system on which the Java Virtual Machine runs.
There
All,
We are running C2 on JRun and seeing the following error:
Logging Error: Could not set up Cocoon Logger, will use screen instead
org.apache.avalon.framework.configuration.ConfigurationException: cannot
find LogTargetFactory class org.apache.cocoon.util.log.CocoonTargetFactory
at
org
Add the following to your web.xml file (in WEB-INF)
log-level
DEBUG
Allbeit this turns on all logging, but you could filter out everything but
XIncludeTransformer with the logkit...
HTH,
Aaron
-Original Message-
From: Mitchell Christensen [mailto:[EMAIL PRO
For the archives:
I solved the issue. There was an older Xalan jar file in the classpath
prior to the newer version supplied with cocoon.
-Aaron
-Original Message-
From: SANSONE, AARON M [Non-Pharmacia/1000]
Sent: Thursday, December 06, 2001 12:25 PM
To: Cocoon-Users (E-mail)
Subject
All,
I am trying to deploy Cocoon to a Solaris system using JRun. We were
getting an error about not having an X11 server which we resolved using the
XVFB in-memory XServer. However, we are now recieving the following
exception which I have not seen before:
jcp-0/TraxTransformer: Problem in ge
Hi Christoph,
To get oracle working, you must first add a section to load the oracle
driver class in the web.xml file. Be certain that the Oracle driver Jar file
is in your servlet engine's classpath.
Cocoon2
load-class
Hi Christoph,
To get oracle working, you must first add a section to load the oracle
driver class in the web.xml file. Be certain that the Oracle driver Jar file
is in your servlet engine's classpath.
Cocoon2
load-class
Sorry for the post. I should know better and check the FAQ! :)
-Original Message-
From: SANSONE, AARON M [Non-Pharmacia/1000]
Sent: Monday, December 03, 2001 12:54 PM
To: Cocoon-Users (E-mail)
Subject: Can't connect to X11 window server exception...
All,
I am trying to deploy c
All,
I am trying to deploy cocoon to a Sun Ultra-4 Sparc runining SunOS 5.8.
When trying to hit the opening page the compliation of the sitemap occurs
and generates the following stacktrace:
java.lang.InternalError: Can't connect to X11 window server using
'milhouse:0.0' as the value of the DISP
Ulli,
Just place any necessary jar files in your WEB-INF/lib directory. Your
servlet engine should pick it up if it is 2.2 compliant.
HTH,
Aaron
-Original Message-
From: Ulli Hoffmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 5:06 AM
To: [EMAIL PROTECTED]
Subject: extr
I am preparing to implement a Cocoon 2 Web Site for Production purposes.
Like many organizations, we have a Development, Test and Production
environment. Each environment has it's own web server and oracle database.
What is the best way to automate having Cocoon 2 use the appropriate
datasource d
Has anyone successfully installed C2 on a JRun Servlet engine? I have had
some success but am trying to package an application as a WAR file and
deploy. My problem is that Cocoon2 won't run unless the JAR files are
located in the JRun server lib directory. According to the Servlet 2.2
spec, the
Mark,
The reason you had problems is that the HTML is actually XHMTL which is just
well formed HTML. The XHTML Documents must conform to all the rules of XML.
So attributes of a tag must have the form tag=""; So in your example to get
a browser to actually use the nowrap tag the way you are expe
Eduardo,
Actions work within a block structure. If the action itself returns NULL,
then the action fails and the tags within the action block are not
processed. You can use this to create a type of IF logic such that IF the
action fails (returns NULL) then the code within the block structure
ex
Hello everyone,
In Cocoon2 has anyone successfully configured a JUnit test case that will
run an Action (or any other class) that has logging method calls in it?
For example, I have an action that I am able to Unit test with out any
problem until I add the following (line 45):
getLogger().
I am attempting to send XHTML files (as is) through C2. To do this I
created a match pattern in sitemap as follows:
---excerpt from sitemap.xmap
This should match any pattern of an xhtml file extension, generate it from
All,
I have been having the same problems as Eduardo, and at one point found that
hitting the main page first seemed to fix the problem. Later after starting
to work through cTwIG tutorial, I was generating the error even on the main
page. I found two things that I believe resolved this problem
34 matches
Mail list logo