AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Christofer Dutz
Hi Paul, I guess one or more components in your cocoon.xconf are failing during cocoon startup. I ran into this problem quite some times. As soon as a component fails, Cocoon does a second initialization of all components. It seems the scheduler isn't correctly shut down prior to reinitializing.

Re: AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Paul Joseph
Thanks Chrisopher, apprecaite the reply. The only puzzle is that I haven't changed the cocoon.xconf--it has been the same for the last four years. (I am trying to upgrade from 2.1.7 to 2.1.11) It gives me a clue though. rgds Paul Christofer Dutz wrote: Hi Paul, I guess one or more

AW: AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Christofer Dutz
Hi Paul, make sure the logging is configured and active. I would also try increasing the log-level until you find any messages. Did I understand you correctly? You have upgraded Cocoon from 2.1.7 to 2.1.11 and have reused the old cocoon.xconf? If this is the case, there will certainly be the

Re: AW: AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Paul Joseph
Chris, Good idea--and yes, I was using the 2.1.7 xconf!!! Will change to the new xconf!. Paul Christofer Dutz wrote: Hi Paul, make sure the logging is configured and active. I would also try increasing the log-level until you find any messages. Did I understand you correctly? You have

problem with this line?

2009-02-23 Thread Paul Joseph
Hi There, I am upgrading a stable (2.1.7) customer application that I wrote to 2.1.11. In my flowscript, I get an error on this line and I don't know why--the jar file with this package is on the classpath. var encoder = new Packages.org.apache.cocoon.ojb.samples.bean.PasswordEncoder(); The

Re: problem with this line?

2009-02-23 Thread David Legg
Hi Paul, In my flowscript, I get an error on this line and I don't know why--the jar file with this package is on the classpath. var encoder = new Packages.org.apache.cocoon.ojb.samples.bean.PasswordEncoder(); Remove the brackets '()' from the end of the line. You want to create a new

Re: problem with this line?

2009-02-23 Thread Paul Joseph
Hi David, Thank you for your reply. It works perfectly fine AS IS with Cocoon 2.1.7. Would you know what changed in Cocoon 2.1.11 to make this change needed? thx Paul David Legg wrote: Hi Paul, In my flowscript, I get an error on this line and I don't know why--the jar file with this

HSQLDB server defaults to secure sockets

2009-02-23 Thread dhurbon
Working with Lenya 2.0.2, which relies upon the hsqldb block in cocoon-2.1.12-dev, lenya/cocoon was throwing initialization errors because for some reason the HSQLDB server started by: cocoon_2_1_x/src/blocks/hsqldb/java/org/apache/cocoon/components/hsqldb/ServerImpl.java Was starting using

Re: problem with this line?

2009-02-23 Thread David Legg
Don't quote me but I bet the version of the Rhino JavaScript interpreter [1] was upgraded and the new version does a better job of spotting this syntax error. Regards, David Legg [1] http://www.mozilla.org/rhino/ Paul Joseph wrote: Hi David, Thank you for your reply. It works perfectly

RE: Cocoon Forms builder

2009-02-23 Thread Konovalov, Oleg
Hi, Does anyboby know of any visual editor (designer mode) for XSL sheets ? Currently my users use Altova (XML Spy) StyleVision, but it's ActiveX and requires plugin to run and can't run in anything but IE. :-( Thank you, Oleg. -Original Message- From: Derek Hohls

Re: problem with this line?

2009-02-23 Thread David Legg
Paul, It occurs to me I might be talking complete gibberish here :-) Unfortunately, I don't have the time to investigate more fully... but you might like to peruse the Rhino paper [1] which discusses how to communicate between Java and Javascript in far more detail. [1]

Re: COCOON-1887 (was: Getting started with C2.2 -- where's the exception information?)

2009-02-23 Thread Joerg Heinicke
On 30.01.2009 18:04, Andy Stevens wrote: I uploaded https://issues.apache.org/jira/browse/COCOON-1887 2 1/2 years ago and it's still waiting, even though it's a relatively trivial change and only about half a dozen lines of code if you ignore the comments and unit test :-( Hey Andy, this

Re: COCOON-1887

2009-02-23 Thread Grzegorz Kossakowski
Joerg Heinicke pisze: On 30.01.2009 18:04, Andy Stevens wrote: I uploaded https://issues.apache.org/jira/browse/COCOON-1887 2 1/2 years ago and it's still waiting, even though it's a relatively trivial change and only about half a dozen lines of code if you ignore the comments and unit

Re: AW: AW: Cocoon 2.1.11--Scheduler with name Cocoon already exists.

2009-02-23 Thread Paul Joseph
Hi Chris, I changed to the 2.1.11 cocoon.xconf and the problem went away... Thanks again. Paul Christofer Dutz wrote: Hi Paul, make sure the logging is configured and active. I would also try increasing the log-level until you find any messages. Did I understand you correctly? You have

[2.2] Why are some projects not installed?

2009-02-23 Thread Andreas Hartmann
Hi Cocooners, when I build the current trunk, some projects are not installed, for instance * cocoon-serializers-charsets * cocoon-serializers-impl * cocoon-validation-impl * cocoon-chaperon-impl The artifacts also don't seem to be available in the online repositories. Since I use them in

Re: [2.2] Why are some projects not installed?

2009-02-23 Thread Grzegorz Kossakowski
Andreas Hartmann pisze: Hi Cocooners, when I build the current trunk, some projects are not installed, for instance * cocoon-serializers-charsets * cocoon-serializers-impl * cocoon-validation-impl * cocoon-chaperon-impl The artifacts also don't seem to be available in the online

Re: [2.2] Why are some projects not installed?

2009-02-23 Thread Andreas Hartmann
Hi Grzegorz, Grzegorz Kossakowski schrieb: Andreas Hartmann pisze: Hi Cocooners, when I build the current trunk, some projects are not installed, for instance * cocoon-serializers-charsets * cocoon-serializers-impl * cocoon-validation-impl * cocoon-chaperon-impl The artifacts also don't

Re: [2.2] Why are some projects not installed?

2009-02-23 Thread Grzegorz Kossakowski
Andreas Hartmann pisze: thanks a lot – one minute ago I also remembered this, but the mail was already on its way, sorry for the noise :) No problem. :) Any help on getting more blocks released is greatly appreciated. Is there a documentation what needs to be done? I guess it's mainly a

[2.2] java.lang.NoClassDefFoundError: org/mozilla/javascript/continuations/Continuation

2009-02-23 Thread Andreas Hartmann
Hi Cocooners, apparently I broke something in my application. Unfortunately I can't recall what I changed that could have caused this issue. It looks like Rhino is not on the classpath. Maybe some classloader problem? All I can tell is that the sitemap + flowscript already worked. I

Re: [2.2] java.lang.NoClassDefFoundError: org/mozilla/javascript/continuations/Continuation

2009-02-23 Thread Grzegorz Kossakowski
Andreas Hartmann pisze: Hi Cocooners, apparently I broke something in my application. Unfortunately I can't recall what I changed that could have caused this issue. It looks like Rhino is not on the classpath. Maybe some classloader problem? All I can tell is that the sitemap + flowscript

Re: problem with this line?

2009-02-23 Thread Paul Joseph
Ok, I removed the end brackets from line 8 of Request.js. It used to be: var encoder = new Packages.org.apache.cocoon.ojb.samples.bean.PasswordEncoder(); After removing the end brackets it now is: var encoder = new Packages.org.apache.cocoon.ojb.samples.bean.PasswordEncoder; I get this

[Solved] [2.2] java.lang.NoClassDefFoundError: org/mozilla/javascript/continuations/Continuation

2009-02-23 Thread Andreas Hartmann
Hi Grzegorz, thanks for your reply! Grzegorz Kossakowski schrieb: Andreas Hartmann pisze: apparently I broke something in my application. Unfortunately I can't recall what I changed that could have caused this issue. It looks like Rhino is not on the classpath. Maybe some classloader problem?

Re: problem with this line?

2009-02-23 Thread Benjamin Boksa
Any ideas anyone? Have you tried importClass(Packages.rg.apache.cocoon.ojb.samples.bean.PasswordEncoder); [...] var encoder = new PasswordEncoder(); ? Just an any idea ;-). I have not tried it - but I use the construct above in some places. Let me know if that helps Benjamin

Re: problem with this line?

2009-02-23 Thread Paul Joseph
I guess the message (below) was telling me that I had a Package, not a class. org.mozilla.javascript.EvaluatorException: file:///C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/webapp/webtask/request/Request.js, line 8: Not a Java class: [JavaPackage

Re: COCOON-1887 (was: Getting started with C2.2 -- where's the exception information?)

2009-02-23 Thread Andy Stevens
2009/2/23 Joerg Heinicke joerg.heini...@gmx.de: Hey Andy, this particular patch has been applied. Thanks, Joerg That's great; thanks. Andy. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional