Hi!
Did you check that the jars you mention are not included over the
dependency cocoon-mail-impl? If not, you could add these dependencies in
your pom, then you should get them in your build.
--
Med vennlig hilsen / kind regards
Søren D. Krum
Systemutvikler/system developer
UNINETT FAS
+ 47
Hello!
i have a tomcat 6.0.20 and in it runs a application using cocoon. We did
an upgrade from 2.1 to 2.2, which hm, yes worked after a while ;-)
But there is something that confuses me: I find in the catalina.out
(tomcats logging configuration we did not touch at all) i find a nice
line
Hello!
I have a small problem with a cocoon application and forms.
The application runs fine on one machine, but for some reason we want to
have a mirror of that machine. Higg Avalability and failover...
And here some more details: The part failing is a simple form build up
via cocoon forms (we
Hi again!
:-) You see me smiling, the file encoding on the one machine is utf-8,
there it works, and the other is iso-8859-1. I am not sure if it fixes
the problem if i change it, but that i figure out soon (if i have
figured out why this differs at all, and how to change it.) :-) Thx for
this
And that fixed the problem! Winner of the cake is Dominic Mitchell,
thanks a lot :-)
--
Med vennlig hilsen
Søren D. Krum
-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail:
Hi!
We are using cocoon 2.2 and hibernate. I am not sure if we choosed the
optimal way to integrate these both, but for us it works.
We configured all database connections via spring as DataSource, and
these we use further on for the hibernate session factories and for the
old avalon data
Hi!
did you have a look around here?
http://forum.springsource.org/showthread.php?t=36556
Looks like your instalation for some strange reason does not support
CGLIB2...
Best regards
Søren
-
To unsubscribe, e-mail:
Robby Pelssers wrote:
Can someone tell me what is needed to get AOP working in a cocoon block?
· Dependencies
· Block configuration
· …?
Kind regards,
Robby
Hi!
so long i just worked with transactions as aop in cocoon. But i found
the documentation of spring really complete, it worked
Hi again, maybe the whole stack trace helps?
here it is:
ex:full-stacktrace
org.apache.cocoon.ProcessingException: Sitemap: error when calling
sub-sitemap
at map:mount -
file:///site/apps/apache-tomcat-6.0.20/work/fasportalen-webapp/blocks/fasportalen-forms/sitemap.xmap:105:69
at
Hi!
i have strange behaviour in cocoon 2.2. When calling a subsitemap in a
block, it sometimes works fine, but sometimes (under conditions i cannot
predict so long) i get the following when anybody tries to access a url
pointing in the sub-sitemap.
So long it looks like follows:
When this
Hm, for clarification:
If the sub-sitemap is unacessable, it does not recover, or something,
and this behavoiur change only after a restart of the server.
Please ask if you need any further information. I am a bit lost which
infos to provide here...
Søren Krum
= props.getProperty(key);
/* 161*/value = replace(value, props, settings);
}
}
}
and yes, line number 163 has just one curly brace in it, not a really
god candidate for a null pointer...
Søren Krum
Hello!
i am trying out the sql transformer from cocoon 2.2, and, hm, let us say
i am a little confused:
i have one matcher:
map:match pattern=get
map:generate src=vis-sql.xml /
map:transform type=sql label=debug
map:parameter name=use-connection value=intern /
map:parameter
have a fix, the others, sorry must figure out something by
themself. Yust change the from line to something like that:
from dual,sql:substitute-value sql:name=org/.pernavn
n,sql:substitute-value sql:name=org/.person p
and there does not vanish any space any more ;-)
Best regards
Søren Krum
Hello!
i am trying out pdf serialisation, but the fop process is not interested
in finding the metrics file.
I wrote a configuration like this:
configuration
fonts
font metrics-file=file:ocrb.xml embed-file=file:ocrb.ttf kerning=yes
font-triplet name=OCRB style=normal weight=normal/
Hi!
I rewrote a old a bit monolitic web application from cocoon 2.1 to 2.2,
and so far, it worked well :-)
Now i have a bit of a problem: I have a central block containing a
transformer service, which i use to render all my pages, so they all get
the same fine CI. As part of this frame,
Hi!
You declare a Exception SAXException, but i guess you will not find such
a exception in any of your jarfiles. Maybe changing that to
org.xml.sax.SAXException helps a little :-)
--
Med vennlig hilsen
Søren D. Krum
Systemutvikler/system developer
UNINETT FAS
+ 47 73557859
There are 10
Hi!
As i am right now hacking a bigger application in smaller pieces (while
upgrading from cocoon 2.1 to 2.2). While doing so, I would like to
handle most of the errors (probably all) in one central place.
Did anybody tried out something like Forwarding Errors to another
block? Could that
Hei!
I am trying out some things with the new exception generator, and
because i want to customize the messages for the customer i am
interested in finding a reference to the schema the documet produced
from the generator refers to. So, has anyone seen a xsd fitting to the
namespace
hi!
thanks for the suggestion, I was afraid that such a solution would
come... :-)
My original error handling does something like this:
map:handle-errors
map:select type=exception
map:when test=not-found
...
/map:when
map:when test=premature
...
Hi!
while upgrading from 2.1 to 2.2 i run in a problem: How do i refer to a
real context path in the new version? In the old i just used e.g.
file:{contextrealpath:./resource/} to resolve to a directory under the
directory containing the sitemap.xmap file. How it that done in modern
world?
Looks like that one has a new name:
contextpath
Søren
-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org
Hi!
I use some fine forms in cocoon 2.1, nice feature, but now i am a little
trapped, maybe someone has an idea where to look:
I have some fields like that one:
fd:field id=ved state=output
fd:datatype base=double /
fd:initial-value3000/fd:initial-value
/fd:field
and if i
Hi!
Now i tried out the ServerPageGenerator coming from cocoon:cocoon-xsp
2.1.11 but if i try to run it in an environment which is based on 2.2, i
get the following error:
Caused by:
java.lang.NoSuchFieldError: manager
at
Hi!
a kind of strange. Is that just you ide complaining, or do you actually have problems to start your application?
My eclipse does not wonder about the form namespace, and spring starts just fine.
Søren D. Krum
-
To
Joerg Heinicke wrote:
I'm not sure why you can't find the XSP block in 2.2 but there is a
ServerPagesGenerator:
http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/src/main/java/org/apache/cocoon/generation/
Joerg
Looks like that is Snapshot 6, seems like that
Hi!
While upgrading from a cocoon 2.1 to 2.2 i found some pices of code
using a ServerPageGenerator, but i was not able to find that one in one
of the cocoon modules. Any idea if it was removed or in wihch module it
was placed?
The documentation of views (found here:
Hi,
is that under cocoon:cocoon-xsp? Sorry, i searched under
org.apache.cocoon, and there is nothing like that, and i asumed that
under cocoon: was the old stuff, will say 2.1 or older
Søren D. Krum
-
To unsubscribe,
Hi
depending on the real purpose, it could be a solution to configure some
views, add lables to the places you want to hop out of the
transformations and use the cocoon-view parameter in the request you fire.
--
Søren D. Krum
Systemutvikler/system developer
UNINETT FAS
+ 47 73557859
There
Hi!
Not sure about this, but that looks like you have thrown away an
important part of the error message. Look if you find the innermost
Caused-By. That could be cocoon does not find tech.xsl, or that the
definition for the transformer is missing, or ...?
Hope that helps
--
Søren D. Krum
Hi!
hehe, just a matter of time, i have found a solution.
SpringToAvalonDataSourceWrapper!
A fine howto use can you find here:
http://cocoon.apache.org/2.2/blocks/databases-bridge/1.0/project-info.html
worked out of the box for me... Even over block boundaries...
--
Søren D. Krum
Hi!
i try to migrate an old cocoon application (started with 2.0, and was
migrated to 2.1 at least partly, will say with least possible efford...)
As a matter of fact, i try to modularize our application and with that i
run in some problems.
So long we had a central cocoon.xconf, and in
So, now did i try out some things, i guess i have to get down to the
base first :-). I configured a data source in the target block itself
in a cocoon.xconf file under src/main/resources/META-INF/cocoon/xconf/
and used that data source in the sitemap, but it looks like the xconf is
not read
Some further investigations and a little bit try and error got me a bit
further:
- the xconf file has to be placed in
src/main/resources/META-INF/cocoon/avalon
- i figured out that if i write some xml which is not valid, that the
file is read, because then a error during the startup is
Andre Juffer wrote:
If you intend to forward the request parameters to a stylesheet you
need to explicitly state that in the sitemap. I cannot recall the
exact format, however
I guess that is what you mean (and if you do it right it works!):
map:match pattern=portal-login-service
Hi!
I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am,
i want to get it all fine in small blocks.
Calling blocks works fine so far, but...As ever there is a special case
where i want to pass some parameters to the called block:
i tried it as follows:
Hi!
i am trying out some things with cocoon sitemaps, and i wonder: Is there
anywhere a place on the web where i can get an overview about the
different parameters/variables i can use in the sitemap as e.g.
request-parameter:param-name
Regards
Søren Krum
Yea, that looks like what i was searching for, thx :-)
--
Søren D. Krum
Systemutvikler/system developer
UNINETT FAS
+ 47 73557859
There are 10 different kind of people in the world, those who understand binary
and those who don't
Hi!
I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am,
i want to get it all fine in small blocks.
Calling blocks works fine so far, but...As ever there is a special case
where i want to pass some parameters to the called block:
i tried it as follows:
Hi!
I try an upgrade of an web app from cocoon 2.1 to 2.2, and eger as i am,
i want to get it all fine in small blocks.
Calling blocks works fine so far, but...As ever there is a special case
where i want to pass some parameters to the called block:
i tried it as follows:
40 matches
Mail list logo