XSP is not available in Cocooon 2.2 - see:
http://marc.info/?l=xml-cocoon-usersm=120349702914226w=2
where the developers suggest you migrate your code to use
java objects + flowscript + template.
Alternatively, stick to Cocoon 2.1 unless you have some other
critical reasons to use 2.2
On
On 04.06.2008 02:25, Derek Hohls wrote:
XSP is not available in Cocooon 2.2 - see:
http://marc.info/?l=xml-cocoon-usersm=120349702914226w=2
where the developers suggest you migrate your code to use
java objects + flowscript + template.
Alternatively, stick to Cocoon 2.1 unless you have some
Hello Matthew,
-Original Message-
From: Matthew Monkan [mailto:[EMAIL PROTECTED]
Sent: dinsdag 3 juni 2008 23:29
To: users@cocoon.apache.org
Subject: SendMail Transformer (Cocoon 2.1.11, Windows XP)
Okay, I'm having more trouble than I probably should with
mail in Cocoon. I
Many thanks for the link, Joerg.
The closest I got is [1]. From that I'd guess you should avoid to
deploy the mentioned classes and to the webapp's WEB-INF/lib directory.
[1]
http://qaix.com/java-programming/30-567-jboss-3-tomcat-4-0-3-illegalaccesserror-read.shtml
unfortunately moving
Robin
Thanks! This worked - with the modification that you only need:
var values = new java.util.ArrayList();
Derek
On 2008/06/03 at 03:57, in message [EMAIL PROTECTED], Robin Wyles [EMAIL
PROTECTED] wrote:
I'm not sure if it's the best way, but off the top of my head...
var values = new
Anyone have any ideas on this?
On 2008/05/27 at 09:15, in message [EMAIL PROTECTED], Derek Hohls
[EMAIL PROTECTED] wrote:
Running Cocoon 2.1.8
It seems to be the case that, when the number of allowed database connections
are exceeded (called by a getConnection in flowscript), the application
Derek,
the only condition I am aware of which might make the application
freeze is when connections are not properly closed and returned to the
connection pool. Could you post the javascript code you use to obtain a
connection from the DB and then close it ?
Regards,
Johannes
Derek Hohls
Hallo,
I use sql transformer. Some heavy SELECTs takes a long time (hours). Is some
possibility to display another site during transformer's work and when work
is finished show the result.
Thanks.
Pavel Navrkal
--
View this message in context:
Johannes
This was my thought too. I have numerous modules functions that
open (and should close!) connections. On manual inspection they all
seem to be OK, but possibly there is one somewhere which is not correct.
Hence my need to try and prevent this; or have the system in some way
report
Derek Hohls schrieb:
Johannes
This was my thought too. I have numerous modules functions that
open (and should close!) connections. On manual inspection they all
seem to be OK, but possibly there is one somewhere which is not correct.
Hence my need to try and prevent this; or have the
Hello Pavel,
-Original Message-
From: navrc [mailto:[EMAIL PROTECTED]
Sent: woensdag 4 juni 2008 12:03
To: users@cocoon.apache.org
Subject: sql transformer - display another site during
transformer's work
Hallo,
I use sql transformer. Some heavy SELECTs takes a long time
At the and of month we make some reports in pdf, there is lots of big tables
in the DB. So the selects take long time.
Pavel
--
View this message in context:
http://www.nabble.com/sql-transformer---display-another-site-during-transformer%27s-work-tp17643261p17643824.html
Sent from the Cocoon -
I agree with Jasha, that a background task would be the best solution.
Another solution would be that if it takes minutes, you could try to use Ajax
for generating the files in the background and displaying a processing task to
the user.
Jeroen
-Original Message-
From: Jasha
-Original Message-
From: navrc [mailto:[EMAIL PROTECTED]
Sent: woensdag 4 juni 2008 12:43
To: users@cocoon.apache.org
Subject: RE: sql transformer - display another site during
transformer's work
At the and of month we make some reports in pdf, there is
lots of big tables in
Johannes
Thanks for the detailed insight into issues. I had hoped to avoid
patching hundreds of functions. but I guess its inevitable.
Would a function like the following be able to avoid the problem
I have been having:
function accessDB() {
try {
//get connection
//do stuff...
Derek,
you should use the power of the finally construct, which is also
available in JS:
function accessDB() {
try {
//get connection
//do stuff...
//return result
} catch(e) {
cocoon.log.error (Unable to complete function accessDB);
return null;
} finally {
//close
Johannes
OK - and I assume the
} finally {
//close connection
}
won't throw an error if the connection is *not* open?
PS If there are any low entry barriers (i.e. not getting into Java,
or having to rewrite everything for Hibernate...) to improving this
approach, I would be very happy
Derek Hohls schrieb:
Johannes
OK - and I assume the
} finally {
//close connection
}
won't throw an error if the connection is *not* open?
It would throw an error in this case, but you could check if the
connection is open before closing it. However, the error would not be
The best way is to make sure all separate parts are properly cached. The
include transformer is really optimal for content aggregation, but won't
be of any help if the part that is included is not properly cacheable
-Ard
Hello
I have a question about the optimal way
Okay, I got it to work. My connection settings were correct, but I had to
rename the mail and activation jars to the geronimo ones and replace the
geronimo ones to get the mail to work. My question is, what file has the
code that decides what mail activation jars to use? My app is in Cocoon's
Hi there, i have this in my sitemap (the cocoon 2.2 examples):
map:pipeline
map:match pattern=view/*
map:generate src=view/{1}.jx type=jx /
!-- Make use of servlet services --
map:serialize type=servletService
map:parameter name=service
Hello,
This seems like I miss something very obvious, can somebody please help?
svn co http://svn.apache.org/repos/asf/cocoon/trunk
cd trunk
rm -rf ~/.m2/repository
mvn -Dmaven.test.skip=true -P allblocks install
This results in a build error:
[INFO]
On Jun 4, 2008, at 17:05, Matthew Monkan wrote:
Okay, I got it to work. My connection settings were correct, but I
had to
rename the mail and activation jars to the geronimo ones and replace
the
geronimo ones to get the mail to work.
You had to rename jars to get it working? ...hm
Okay, so I know how to generate an Excel document with data from a DB, and I
know how to send an e-mail with an attachment.
Is there a way to use only one URI to send an e-mail containing a generated
Excel document? This is a requirement.
For example:
map:match pattern=revenueAlert
--
View this message in context:
http://www.nabble.com/Database-to-Excel-Spreadsheet-tp17562564p17656567.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi
last night i wasted 5 hrs overs this without any success .. i guess it
has something to do with passing the RequestContextListener to the
spring context .. i have initialized the listener in my web.xml and also
added the config in applicationcontext.xml .. i checked everything on my
end
Imran Pariyani pisze:
Hi
Hi Imran,
last night i wasted 5 hrs overs this without any success .. i guess it
has something to do with passing the RequestContextListener to the
spring context .. i have initialized the listener in my web.xml and also
added the config in applicationcontext.xml
27 matches
Mail list logo