Re: Cocoon on Resin
Hello Sean, 24 Feb 2003, 17:05:27: SM> Does anyone know how to fix it? are you sure you have set up the cocoon to work with sunRise and the those other quite 'fragile' components? because as you see other examples on your server do work fine -- Bye, ilfrinmailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: sunRise login error rediect - doesn't work always
Hi Carsten, CZ> Which version of cocoon are you using? 2.0.4 CZ> The only suggestion I could make is turning on debug logging and have CZ> a look at the logs what is exactly happening (Seeing how far everything CZ> comes and where the exception excatly occurs.) I'll try that, it'll take some time cause I have unlimited access only to the production servers and the problem occurs on a machine that holds the official website but I'll do it sooner or later anyway thanks, if I get any results I'll be in touch -- Bye, ilfrinmailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
sunRise login error rediect - doesn't work always
Hi I'm experiencing a problem concerning the sunRise login action. the sitemap fragment looks like this: the problem is that this thing works on one machine and doesn't work on some other one (it works on the development host one but wills not to cooperate on the main server), it does log in but the problem is when you pass a wrog password it throws a NullPointerException it doesn't redirect. I repeat the same code works on one machine and doesn't work on an other one, the two machines have the same cocoon and tomcat. Is there any idea what to search for, where is the problem and how to get it to work ? I think this question is mainly to you Carsten :) should I try wrapping the contents of the math with the sunRise-auth action ?? Thanks a lot and thanks for your last hint Carsten, it worked of course :) -- yours, ilfrin mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
sunRise logout - context cleaning
Hi, I try to use the sunRise logout action and the logout action itself works fine redirecting me to some page i stated to redirect to. But as I see it doesn't clear the context, the user is still logged in (after calling a protected resource I get access to it instantly) .. I think that I should call some context clearing action, perhaps some xsp or sth ? any ideas what to do about it? the action is defined in the main project dir as : http://apache.org/cocoon/sitemap/1.0"; xmlns:sunshine="http://sunshine.sundn.de/sunshine/1.0";> and the resource itself is defined in the account subdir sitemap as so loggin in, error-handling works fine, only this last thing .. it redirects to "login" but doesn't logout the user, doesn't clear the context any ideas ? -- Bye, ilfrin mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Re: [SOLUTION] - NullPointerException with SunRise
Hi, 13 dec 2002, 22:25:29: BS> Hello everyone - BS> I hope this may help others out, and if anyone has any insight into why BS> sunRise may not "play nice" with JDK 1.4.1, it is welcomed. Conversely, BS> I would be interested to hear from people who have gotten sunRise to BS> run without any issues on JDK 1.4.1. well after a while spent on various searches (and researches) my gold combination is (I work on WinXP Pro): 1. JDK 1.4_01 as well as 1.4.1_01 2. Cocoon 2.0.3 (release) as well as 2.0.4 (release) everything works perfectly (at least the /sunspotdemo exapmle portal works fine (logging in, logging out)) UNDER THE FOLLOWING CIRCUMSTANCES: primo: tomcat has to be installed and run as a WinNT service secondo: you have to do a little jar-swap-trick before you give it a try :) une: place the cocoon war into the webapps dir and let it unpack or in any other way properly install cocoon deux:you stop the tomcat service trois: you delete or 'disable' by changing the extension to anything but "jar" of the two jar files in $TOMCAT_HOME/common/endorsed/ quatre: you copy xerces,xalan and xmlapi jars from webapps/cocoon/WEB-INF/lib to $TOMCAT_HOME/common/endorsed/ (eg. xml-apis.jar, xercesImpl-2.0.0.jar, xalan-2.3.1.jar) cinq: you delete any work files from cocoon from the work dir (I dont't know if it helps in any matter but I fell safer when I do that :) ) six: you start the tomcat service -- ilfrinmailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
cocoon crashing
Hi , an hour ago I updated the sources from the cvs and now I run a build: build.bat -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp and after placing the war in the webapps dir and restarting Tomcat i get the following error while loading cocoon start page (note that I running on WinXP Pro PL and Tomcat 4.1.12.): HTTP Status 500 javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:952) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1664) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.(XMLDocumentFragmentScannerImpl.java:248) at org.apache.xerces.impl.XMLDocumentScannerImpl.(XMLDocumentScannerImpl.java:245) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.(Unknown Source) at org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumentScanner(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.(DTDConfiguration.java:366) at org.apache.xerces.parsers.StandardParserConfiguration.(StandardParserConfiguration.java:197) at org.apache.xerces.parsers.IntegratedParserConfiguration.(Unknown Source) at org.apache.xerces.parsers.IntegratedParserConfiguration.(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:296) at java.lang.Class.newInstance(Class.java:249) at org.apache.xerces.util.ObjectFactory.newInstance(ObjectFactory.java:293) any ideas?? the idea is that I want to get the authentication classes to work (logging in, session handling et cetera) -- ilfrin mailto:ilfrin@;box43.pl - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>