Re: war update doesn't update COB-INF

2009-02-09 Thread Kjetil Kjernsmo
. This appears completely random, and yeah, it sucks. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: kjetil.kjern...@computas.com Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47

{language} sitemap parameters

2009-01-26 Thread Kjetil Kjernsmo
is not given? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: kjetil.kjern...@computas.com Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001

Sending different responses based on some conditions

2008-10-29 Thread Kjetil Kjernsmo
() at the same response object. Surely, this must be possible to achieve, I guess I just did it the wrong way. How can I do this? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE

Re: Send status code with error handler

2008-10-17 Thread Kjetil Kjernsmo
is this supposed to work? map:serialize type=html status-code=500 / As I said, I tried that first, and it didn't work. Any other ideas? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR

Send status code with error handler

2008-10-17 Thread Kjetil Kjernsmo
map:serialize elements, but it doesn't work. How is this supposed to work? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS PO Box 482, N-1327 Lysaker | Phone:+47 6783

Re: Send status code with error handler

2008-10-17 Thread Kjetil Kjernsmo
. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001

Re: Deployment of cocoon 2.2 application on production tomcat 5.5 fails

2008-09-04 Thread Kjetil Kjernsmo
to restart tomcat every time I deploy, but I can live with that. I guess this isn't encouraging nor very helpful, but since you haven't any other answers that did the trick, that's my wild guess, have a log4j config that you move around in likely and unlikely locations. Kind regards Kjetil

Tomcat loops indefinitely

2008-09-04 Thread Kjetil Kjernsmo
actually a Perl guy ;-) Does anybody have any idea where I can start? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box

Re: Redirecting with 303

2008-08-11 Thread Kjetil Kjernsmo
the network, but here is a description of the person. This is a key concept in the Semantic Web. So, what would the simplest way to do this with Cocoon be? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web

Redirecting with 303

2008-08-07 Thread Kjetil Kjernsmo
status-code=303/ but it doesn't, it does a 302. Is there a simple way to achieve this? If no simple way, what would the difficult way be? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http

Re: Rewriting EncodeURLTransformer to encode the locale parameter

2008-08-01 Thread Kjetil Kjernsmo
rewritten. H, OK. I'll look into it, but I think I found an XSLT way that sort of works too. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas

Rewriting EncodeURLTransformer to encode the locale parameter

2008-07-31 Thread Kjetil Kjernsmo
was wondering if someone has time to hold my hand while doing this? Also, this might be useful for the Cocoon project, as I think it is really important for LocaleAction to be useful, it's request feature is really quite useless without such a transformer. Please? Kind regards Kjetil Kjernsmo

Get the URL of the originating client into XSLT

2008-07-11 Thread Kjetil Kjernsmo
Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001

Re: Problems with ContextListener

2008-07-10 Thread Kjetil Kjernsmo
On Wednesday 09 July 2008 17:15:13 Barbara Slupik wrote: I had similar problem. I fixed it by adding: Wow, that worked! Thanks a lot! But I don't understand what it does, could anyone explain...? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47

Problems with ContextListener

2008-07-09 Thread Kjetil Kjernsmo
) at EDU.oswego.cs.dl.util.concurrent.BoundedBuffer.take(Unknown Source) at com.hp.hpl.jena.graph.query.BufferPipe.fetch(BufferPipe.java:43) ... 34 more What directions should I go to resolve this? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email

Re: Get the SVN revision number into the sitemap on 2.2

2008-07-07 Thread Kjetil Kjernsmo
/examples/filter.html Ah, OK. That sounds feasible indeed. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box 482, N-1327

Get the SVN revision number into the sitemap on 2.2

2008-07-04 Thread Kjetil Kjernsmo
somehow at build time, but I couldn't find any concrete way of doing it. Is there a way? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas

Re: Get the SVN revision number into the sitemap on 2.2

2008-07-04 Thread Kjetil Kjernsmo
://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Ah, great, cool! But how do I communicate the ${buildNumber} to the sitemap, then? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http

LocaleAction to preserve settings

2008-05-28 Thread Kjetil Kjernsmo
the locale, so the problem here is only that the locale is not retained across requests. How can I use Cocoon to do this? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE

Re: Setting a pipeline for true XHTML

2008-05-27 Thread Kjetil Kjernsmo
intend to use the HTTP Accept header. Browsers that reliably do this send application/xhtml+xml in the Accept header. Does this imply the use of the RegexpHeaderSelector or is there a better suited selector? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136

Re: [2.2] Configuring LocaleAction

2008-05-26 Thread Kjetil Kjernsmo
value={language}/ /map:transform map:serialize type=xhtml/ /map:act /map:match I've tried moving around where the map:act element is, but it always crashes with a java.lang.UnsupportedOperationException. How is this supposed to be done? Kind regards Kjetil

Re: Exception in thread Store cocoon-ehcache Spool Thread java.lang.NullPointerException

2008-05-22 Thread Kjetil Kjernsmo
java.lang.NullPointerException. Just to add that this is RC2, not the latest release. :-) Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box

[2.2] Configuring LocaleAction

2008-05-22 Thread Kjetil Kjernsmo
-language value=no/ /map:call /map:match ? BTW, there are lots of XML errors in the 2.1 docs for this. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR

Re: Setting a pipeline for true XHTML

2008-05-21 Thread Kjetil Kjernsmo
was never exposed to a proper framework, so he is of the faulty impression that these things are hard, thus the statement Steps 1 to 5 have been seen by every single person I have spoken to who has switched to using the XHTML MIME type. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer

Re: Setting a pipeline for true XHTML

2008-05-21 Thread Kjetil Kjernsmo
has it, but no documentation...? Anybody have a more elaborate example for 2.2? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien

Setting a pipeline for true XHTML

2008-05-20 Thread Kjetil Kjernsmo
do that? I tried to google for this, since it is a pain that almost everybody has, but it was hard to come up with proper keywords, so I didn't find anything... Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED

Getting the request query parameters in the XML

2008-03-27 Thread Kjetil Kjernsmo
missing here? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001

Re: Getting the request query parameters in the XML

2008-03-27 Thread Kjetil Kjernsmo
to do what I want. Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Kjetil Kjernsmo
Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web: http://www.computas.com/ |  SHARE YOUR KNOWLEDGE  | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001

Re: Cocoon 2.2: Accessing resources (images, css)

2008-03-26 Thread Kjetil Kjernsmo
, but what should one do inside development-environment where there is no such httpd? Come to think of it, is it possible, or rather, is it easy, to get the context into the hostname part of the URL rather than the path? That could potentially ease many of these problems. Kind regards Kjetil

Re: Cocoon, JX Temaplte and UTF-8

2008-02-27 Thread Kjetil Kjernsmo
, but not on his Windows box. I think he did investigate the standard encoding too, are there other possible points of failure that might be windows-specific? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web

Re: Cocoon Sparql Transformer ?

2008-02-26 Thread Kjetil Kjernsmo
will do it and release it at some point, but not yet... :-) (We're working on a Semantic Web project for libraries in Norway, based on Cocoon and SPARQL). Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED] Web

Courses on Cocoon 2.2 in Europe

2008-01-03 Thread Kjetil Kjernsmo
for a few years. We are very interested in a course on Cocoon 2.2 if someone could give one somewhere in Europe in near future. Are there any courses given nowadays? Kind regards Kjetil Kjernsmo -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: [EMAIL PROTECTED