Re: Help Me fop in Cocoon2 !!! embedded font Problem
Possibly you have to embed the font itself in the pdf, because not all users have this korean font. Or: If you normally generate a pdf with Acrobat Exchange, you can select the option to use only systems fonts or to embed a subset from the font of the types existing in the document or the whole font and so on. Next possibility: your Acrobat Reader or your web client cannot use unicode (i think you are using it for korean fonts). Or you cannot use unicode with shellscript? Hope this helps somehow, Arno ÀÌÇöÁÖ wrote: When I used a Shell script that is added fop-0_20_1-dev.jar of C2 to CLASSPATH for runing FOP , I had a successful test to build a pdf file inclued Korean fonts. But, when I built a pdf file with a web browser, I had a unrecognized characters, like , in the pdf. Both user-config file and metrics files were used in a Shell script for building a pdf file. I had a test to make a Shell script with merics files included a missed path, and to build a pdf file. and then, I had a error message below. Failed to read font metrics file ./../webapps/cocoon/hangul-fonts/gulim.ttf.xml : File file:///x-mas/applications/uiControl/Fop-0.20.2/tests/webapps/cocoon/hangul -fonts/gulim.ttf.xml not found. Although I used same evironmental Shell script in a web browser test, I never had a error message. Moreover, I had a pdf file with Korean characters as unrecognized characters, . I wonder why Korean font is not built on a pdf. I look forward to a good assistance. Regards. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Only a test (all the mails in my client have the same content)
Only a test (all the mails in my client since ca. 13:30 have the same content). It is beginning with: I've been watching both this thread and also the one on *sharing microsoft experience*, and was prompted to contribute some experience. ... and its from the developers mailing list. Is this a problem with my client? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Someone with knowledge in DatabaseXActions?
I am testing around with the tutorial from cvs and with the DatabaseSelectAction. I added it to the cocoon source and made a new build. After that another test action worked and I could access the tutorial with the included DatabaseSelectAction without errors. But i could not get a sample with DatabaseSelectAction working, does someone know a sample of a working descriptor file and a XSP with a little bit select * from something ... I i.e. read the DatabaseSelectAction source and all files in the tutorial but I can't find out how to invoke the action. Something like following?? ?xml version=1.0? xsp:page xmlns:xsp=http://apache.org/xsp; document header titleSelect Test/title /header body s1 title=Select Department form handler=select-test.html submit name=Select Department/ /form /s1 /body /document /xsp:page And: Is the DatabaseSelectAction flexible enough for an sql with grouping operators? Example of this too, please... Much thanks in advance, Arno --- Hope this looks ok: Sitemap: map:actions map:action name=dbSel src=org.apache.cocoon.acting.DatabaseSelectAction/ !-- added -- map:action name=dbAdd src=org.apache.cocoon.acting.DatabaseAddAction/ map:action name=dbDel src=org.apache.cocoon.acting.DatabaseDeleteAction/ map:action name=dbUpd src=org.apache.cocoon.acting.DatabaseUpdateAction/ map:action name=form src=org.apache.cocoon.acting.FormValidatorAction/ /map:actions map:action-sets map:action-set name=process map:act type=dbSel action=Select Department/ map:act type=form action=Create Department [ ... and the other ..] map:match pattern=select-test.html map:act set=process map:parameter name=descriptor value=docs/select-form.xml/ map:generate type=serverpages src=docs/confirm-select.xsp/ map:transform src=stylesheets/apache.xsl/ map:serialize/ /map:act map:generate type=serverpages src=docs/select-test.xsp/ map:transform src=stylesheets/apache.xsl/ map:serialize/ /map:match map:match pattern=select-test.xml map:act set=process map:parameter name=descriptor value=docs/select-form.xml/ map:generate type=serverpages src=docs/confirm-select.xsp/ map:serialize type=xml/ /map:act map:generate type=serverpages src=docs/select-test.xsp/ map:serialize type=xml/ /map:match the descriptor file select-form.xml: - root connectionpersonnel/connection table name=department keys key param=id dbcol=department_id type=int mode=manual/ /keys values value param=name dbcol=department_name type=string/ /values /table /root *** * And then ? * *** Something like following?? ?xml version=1.0? xsp:page xmlns:xsp=http://apache.org/xsp; document header titleSelect Test/title /header body s1 title=Select Department form handler=select-test.html submit name=Select Department/ /form /s1 /body /document /xsp:page - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to install an action ...
I did this: 1) downloaded DatabaseSelectAction.java from CVS and compiled it to ..\cocoon\WEB-INF\classes\org\apache\cocoon\acting. 2) added to cocoons web.xml: init-param param-nameextra-classpath/param-name param-valueC:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\org\apache\cocoon\acting\DatabaseSelectAction.class/param-value /init-param 3) added to the sitemap of the tutorial web application example: map:actions map:action name=dbSel src=org.apache.cocoon.acting.DatabaseSelectAction/ !-- added -- map:action name=dbAdd src=org.apache.cocoon.acting.DatabaseAddAction/ map:action name=dbDel src=org.apache.cocoon.acting.DatabaseDeleteAction/ map:action name=dbUpd src=org.apache.cocoon.acting.DatabaseUpdateAction/ map:action name=form src=org.apache.cocoon.acting.FormValidatorAction/ /map:actions :) the error message after invoking the tutorial is : org.apache.cocoon.ProcessingException: Exception in Handler: org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint: org\apache\cocoon\www\tutorial\sitemap_xmap Without map:action name=dbSel src=org.apache.cocoon.acting.DatabaseSelectAction/ it started seriously. I then tried other paths in init param extra classpath, and other funny things. Could someone please shed some light on this. Thanks in advance, Arno Illmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C2] Newbie: How to start a new proyect ...
Eduardo Godoy Vega wrote: How is the best way to start a new context in Tomcat+Cocoon2, I want to create a XSP based proyect... In tomcat/conf/server.xml: [... other configurations...] ContextManager debug=0 workDir=work showDebugInfo=true [... other configurations...] Context path=/cocoon docBase=webapps/cocoon debug=0 reloadable=true /Context /ContextManager If you want to use apache as http server with tomcat on another port you must configure the mod_jk file here. This is described in the installation instruction too. What do I have to modify in Tomcat (ver. 3.2.3)? What does my new WEB-INF/web.xml must include ? You make a new subfolder in cocoons folder and have to match requests in cocoons sitemap.xmap file to your subfolder sitemap file and there to your files. You do not need the deployment descriptor web.xml in the beginning. Sitemap syntax usage is found a lot in itself and on the cocoon site. And visit http://www.pigbite.co.uk/ctwig , it is very good for starting with cocoon. Best regards, Arno Illmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: installing of actions
I forgot ... from cocoon log: WARN(2001-10-04) 22:12.55:030 [cocoon ] (/cocoon/xsptest/welcome) Thread-15/sitemap_xmap: org.apache.cocoon.acting.DatabaseSelectAction java.lang.ClassNotFoundException: org.apache.cocoon.acting.DatabaseSelectAction at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [... more descriptions ...] ERROR (2001-10-04) 22:12.55:030 [cocoon ] (/cocoon/xsptest/welcome) Thread-15/GeneratorSelector: Could not set up Component for hint: org\apache\cocoon\www\xsptest\sitemap_xmap org.apache.avalon.framework.configuration.ConfigurationException: Sitemap: org.apache.cocoon.acting.DatabaseSelectAction [... more descriptions ...] Package problems? The class file is found. From root.log: DEBUG (2001-10-04) 22:41.13:430 [root] (Unknown-URI) Unknown-thread/CocoonServlet: extraClassPath is absolute: C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\org\apache\cocoon\acting\TestHeaderAction.class; And its in the path. But the package org.apache.cocoon.acting should be in \cocoon\WEB-INF\classes\org\apache\cocoon\acting. Or should it be If it is a pre-written action, simply include the jar in WEB-INF/libs. as I found now in the mail lists (mailman.realtime.com is closed till december)? ... No, was the same error and after configuring the cocoon web.xml with init-param param-nameextra-classpath/param-name param-valueC:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\lib\org\apache\cocoon\acting\TestHeaderAction.class;/param-value /init-param it was recognized in the root.log, but the error is the same. Next thing I tried was a test action class without packaging and I placed it in WEB-INF/libs. But the same error message ... * * * * Any suggestions or a short overview in installing actions are very welcome, Arno* * * * - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: umlauts in html forms
For which encoding is the database configured? mfg, Arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTML Code Formatting / Meta Tags
Hi Liam, The transformation sheet with additional meta tags is working, perhaps I had the wrong serializer or so. And the http-header-action is only for the http response, as I could find in the APIdocs. By the way, thanks for your tips in loooking for documentation. Another place could be surely the cocoon source. I am really mad about it. In a thread ([RT] Cocoon web applications) at the developer mail list one of the developers (Stefano Mazzochi himself) wrote: ... but still, I think that good documentation should not *patch* an architectural design limitation, but sheds some light on both the users (to make them work in the best scenario) and the developers (to make it possible for users to be guided by the software first *and* the documentation later, not the other way around). Ok - but i.e the other problems with whitespace and indent I have to solve nevertheless and it could not be the right way to work with an very mighty application framework and then on the other hand get stuck and spending hours and hours with such a little problem. These days I am thinking about a C2 WEB APP TAG reference work as I posted before but no time yet. Perhaps. I will collect it and then ask some of the devs for the missing things. I hope. If someone could help ... Another suggestion is a web based forum like an almanach where you can post and find solutions for developing (NOT install) issues. Lets see, my webspace has no db account, but a friend did it with textfiles, I will ask him. Later, Arno - and best regards PROPOSAL: a short, but completed list with code examples of the usage of sitemap tags for the xdocs. But my knowledge isn't that now ... : Should I post this to the cocoon developers?? ?xml version=1.0 encoding=UTF-8? sitemaptags map:act description ... u er well .../description parameters/parameters example/example /map:act map:action-set description/description parameters/parameters example/example /map:action-set map:aggregate description/description parameters/parameters example/example /map:aggregate map:dependency description/description parameters/parameters example/example /map:dependency map:generate description/description parameters/parameters example/example /map:generate map:handle-errors description/description parameters/parameters example/example /map:handle-errors map:label description/description parameters/parameters example/example /map:label map:logicsheet description/description parameters/parameters example/example /map:logicsheet map:match description/description parameters/parameters example/example /map:match map:mount description/description parameters/parameters example/example /map:mount map:param description/description parameters/parameters example/example /map:param map:parameter description/description parameters/parameters example/example /map:parameter map:part description/description parameters/parameters example/example /map:part map:pipeline description/description parameters/parameters example/example /map:pipeline map:read description/description parameters/parameters example/example /map:read map:redirect-to description/description parameters/parameters example/example /map:redirect-to map:resource description/description parameters/parameters example/example /map:resource map:select description/description parameters/parameters example/example /map:select map:serialize description/description parameters/parameters example/example /map:serialize map:sitemap description/description parameters/parameters example/example /map:sitemap map:transform description/description parameters/parameters example/example /map:transform /sitemaptags - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: stripping whitespace [c2].
Hi! Could you give me an working example (with a XML and a XSL file) of your normalize-space(Title) code. I am working on the same problem (see thread HTML Code Formatting / Meta Tags a few before), but all tests did not come to an good end, I think about a solution with xsl. In C1 you could configure the line length of the output too. Thanks in advance, Arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
C2RC1a on W98 can't build
Hello. Running the build.bat i get the ant.bat (or one of these depending scripts) stopped at: [ find ANT_HOME if not .== goto checkJava rem check for ant in Program Files on system drive if not e Befehl oder Dateiname nicht gefunden. (file not found) .] If I insert an ECHO test blah blah before the skript breaks at this 19 numbers before. I have set all these batch scripts to maximum environment ram and SHELL=C:\COMMAND.COM /E:4096 /P in config.sys too. (this machine has enough ram). Whats the point Please help, thanks, Arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to set ANT_HOME in build? Was: C2RC1a on W98 can't build
After converting ant.bat from UNIX to DOS and getting a normal dosbox output I get a message I should set ANT_HOME. Could not find sth. in the install instructions . In my previous builds I hadn't set this too, an ant was found automatically. I have no ant directory, ant (1.4) comes with cocoon OK. What to do? Thanks, Arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie Question (Static HTML from Cocoon2)
Oh. Yes. I hit the wrong button! .-) Arno giacomo schrieb: On Mon, 24 Sep 2001, Arno Illmann wrote: Arno Please post in english or in private. TIA Giacomo oder z.B mit Webcopier (mein favorite, ist auch freeware) oder noch anderen offline browsern. Aber warum eine static version ? mfg, Arno Sebastian Mäder schrieb: Hi there, my name is sebastian and im a trainee on a company in Gemany. Im was building a website with xhtml and cocoon2 .. Now my big boss said to me, that i have to build a STATIC HTML VERSION of my cocoon site, and I don't know how I can do this. The only way I know is, to save from Browser, but that's not the way. Are there any instructions for the sitemap.xmap or a batch file, which generated this static version ?? I will hope you can help me. How can I get this information? THX Sebastian - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Arno Illmann Uerdinger Str. 22 47799 Krefeld 02151/601142 [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions
Dear Cocoon Users and Developers, Ahead I beg your pardon for my germlish. Following a few questions about sitemap syntax, XSP-Logicsheets and configuring for actions. I think these questions are a good example for the questions of a c2 idiot v0.2RC1 0:) . The answers should be added in the below mentioned documentations and what I can do is mailing it to Jeremy Aston and his The Cocoon Two Idiots Guide at http://www.pigbite.co.uk/ctwig/ . 1) Where to find additional detailed syntax and usage of sitemap tags? A few days ago I tried to put out i.e. a HTML head with caching information, but it doesn't do it (was not parsed or outputted). I found some snippets on this mailing list. My test was (map:aggregate did it): map:match pattern=welcome map:aggregate element=page ns=http://lokalzumhost/arnoillmann; map:part src=docs/static.xml element=arno ns=http://lokalzumhost/arno/ map:part src=docs/dynamic.xsp element=illmann ns=http://lokalzumhost/illmann/ /map:aggregate map:transform src=stylesheets/simple-page2html.xsl/ map:act type=http-header-action map:parameter name=expires value=0/ map:parameter name=Pragma value=no-cache/ map:parameter name=Cache-Control value=no-cache/ /map:act map:serialize/ /map:match The very helpful overview/documentation v1.0 from Berin Loritsch (to find in thread cocoon 2 tutorial) or the profound documentation on the Cocoon 2 Site about sitemap tags don't provide this information. 2) A next question is about the (deprecated?) built-in XSP logicsheets, i.e response.xsl (\src\org\apache\cocoon\components\language\markup\xsp\java\request.xsl) or util.xsl. I know, i should work with actions in the sitemap, but where can I find the corresponding elements in c2? 3) Why is the request taglib in use and the response taglib not, respectivly is an action set defined for i.e HTTP reguest and where to find those in the cocoon code base. Respectivly can someone give an overview of the contents and a what-to-do-with-it (beside building a war file) of these folders in \src\org\apache\cocoon\: \acting\ \components\browser\ \components\language\markup\sitemap\java\ \components\language\markup\xsp\ \components\language\markup\ \environment\http\ \environment\wrapper\ \environment\ \selection\ \sitemap\ Concerning Carsten Ziegelers mail in thread Apache Cocoon 2 RC Release [ ... The schedule for the final version of Cocoon 2 is estimated at 4-6 weeks from today. This heavily depends on the feedback of the current Cocoon 2 users. We expect that the changes between the release candidate and the final version only concern documentation updates. But this is a very difficult and time consuming task. ...] I will post this to cocoon-dev too. I hope this is o.k. and constructive. If it's the wrong place for documentation feedback, let me know. Thanks in advance and congratulations and many thanks to the C2 developer team for releasing RC1! Best regards, Arno Illmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions
Yes, thanks. Where can I find information about this protocol ? :) Wasn't in the docs on the c2 site or in the how-to from Berin Loritsch. The map:part tag isn't described there too. [EMAIL PROTECTED] wrote: 1) I think you have to use the cocoon: protocol to refer to internal resources for parts in map:part Thanks, Arno (c2 idiot v0.2RC1) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Documentation / API - Doc
Dear Cocooners! Where can I find the API-Docs for C2? Could it be a part in the answers for my questions in thread Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions two threads before? I know, the Cocoon developers are commenting there code like in \src\org\apache\cocoon\acting\HelloAction.java like below. How can I translate any comments and syntax or description in API-Doc in appropriate syntax for i.e the sitemap? Thanks in advance, Arno /** * A simple Action that tracks if a codeSession/code object * has been created or not. * * @author a href=mailto:[EMAIL PROTECTED];Giacomo Pati/a * @version CVS $Revision: 1.5 $ $Date: 2001/08/22 12:03:32 $ */ public class HelloAction extends ComposerAction implements ThreadSafe { /** * A simple Action that logs if the codeSession/code object * has been created */ public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters par) throws Exception { Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT); if (request != null) { Session session = request.getSession (false); if (session != null) { if (session.isNew()) { getLogger().debug(Session is new); } else { getLogger().debug(Session is old); } } else { getLogger().debug(A session object was not created); } } return null; } } - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Documentation / API - Doc
Yes, thanks. Where can I find information about the cocoon: protocol ? :) Wasn't in the docs on the c2 site or in your how-to. The map:part tag isn't described there too. Or am I with eyes close? And a much thanks for your how-to-tutorial v1.0. - very good readable and much enlighning to me (with general knowledge in web app authoring). And now I want to put flesh on my general overview of c2 web app development knowledge. Do you think, I should be more patient in asking for documentation? I think this could eh generate a good view of what is necessary for the doc too. Thanks, Arno (c2 idiot v0.2RC1) Berin Loritsch schrieb: Arno Illmann wrote: Try here: http://xml.apache.org/cocoon2/apidocs/ Dear Cocooners! Where can I find the API-Docs for C2? Could it be a part in the answers for my questions in thread Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions two threads before? I know, the Cocoon developers are commenting there code like in \src\org\apache\cocoon\acting\HelloAction.java like below. How can translate any comments and syntax or description in API-Doc in appropriate syntax for i.e the sitemap? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie Question (Static HTML from Cocoon2)
oder z.B mit Webcopier (mein favorite, ist auch freeware) oder noch anderen offline browsern. Aber warum eine static version ? mfg, Arno Sebastian Mäder schrieb: Hi there, my name is sebastian and im a trainee on a company in Gemany. Im was building a website with xhtml and cocoon2 .. Now my big boss said to me, that i have to build a STATIC HTML VERSION of my cocoon site, and I don't know how I can do this. The only way I know is, to save from Browser, but that's not the way. Are there any instructions for the sitemap.xmap or a batch file, which generated this static version ?? I will hope you can help me. How can I get this information? THX Sebastian - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Arno Illmann Uerdinger Str. 22 47799 Krefeld 02151/601142 [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Idiots Guide - Site Released!
Hi Jeremy! I visited your site ... very good. Could be a central starting point for beginners. You should add a faq and collect questions from the mail list. I remember to get cocoon 1 documentaion was very difficult (i.e. the taglibs) and hope it will be better in c2. Best regards, Arno This I wrote in thread Wanted - C2 Idiots Guide to deploying XML/XSL/XSP files where you posted first: HI you guys, dear cocooners, to put this all together and then give it to the cocoon developers is a very good idea. I know one of them has written a 30 page documentation of developing web applications with c2, but not in a way of a how to and step by step for c2 beginners. ... I can send you a pdf (good to print and read) made from the doc on the cocoon2 site one month ago or so, and enough for a first overview. Or I can post it somewhere on the Web. --- on the c1 site you can find a desciption of the xsp-tags ... but leave out the processing instruction tag ;-) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wanted - C2 Idiots Guide to deploying XML/XSL/XSP files
Hi Coconeers. Please look at thread cocoon 2 tutorial and please collect your beginner-how-to to make berin loritsch a suggestion to interlace this in-the-eyes-of-a-newbie. His tutorial will be part of C2.1 . ok battery low, regards arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: c2b2 install problem / c2b1 running fine ...
o! I forgot to put the jar file in tomcat/lib. Now the error comes a bit nicer (any suggestions? thanks, arno): Cocoon 2 - Internal server error type internal-server-error message Exception in Handler description org.apache.cocoon.ProcessingException: Exception in Handler:java.lang.NullPointerException sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/welcome embedded exception java.lang.NullPointerException embedded exception stacktrace java.lang.NullPointerException at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:163) at org.apache.cocoon.sitemap.Handler.run(Handler.java:224) at java.lang.Thread.run(Thread.java:484) exception org.apache.cocoon.ProcessingException: Exception in Handler:java.lang.NullPointerException path-info welcome stacktrace org.apache.cocoon.ProcessingException: Exception in Handler:java.lang.NullPointerException at org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:257) at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:167) at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:169) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:90) at org.apache.cocoon.Cocoon.process(Cocoon.java:293) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) java.lang.NullPointerException at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:163) at org.apache.cocoon.sitemap.Handler.run(Handler.java:224) at java.lang.Thread.run(Thread.java:484) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
c2b2 install problem / c2b1 running fine ...
DearCocooners! Can someone please help me? I get an internal server error after building Cocoon2 beta 2 and placing it in tomcathome/webapps and so on. Cocoon 2 beta 1 is running fine. Servlet engine is tomcat 3.2.1 on Windows98. At the bottom of this mail I included excerpts from browser-windoe and cocoon.log. Please show me the right way, much thanks in advance, Arno ** Cocoon 2 - Internal server error type internal-server-error message Exception in Handler description org.apache.cocoon.ProcessingException: Exception in Handler:java.lang.NullPointerException sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/welcome embedded exception java.lang.NullPointerException embedded exception stacktrace java.lang.NullPointerException at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:163) at org.apache.cocoon.sitemap.Handler.run(Handler.java:224) at java.lang.Thread.run(Thread.java:484) exception org.apache.cocoon.ProcessingException: Exception in Handler:java.lang.NullPointerException path-info welcome stacktrace org.apache.cocoon.ProcessingException: Exception in Handler:java.lang.NullPointerException at org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:257) at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:167) at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:169) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:90) at org.apache.cocoon.Cocoon.process(Cocoon.java:293) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) java.lang.NullPointerException at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:163) at org.apache.cocoon.sitemap.Handler.run(Handler.java:224) at java.lang.Thread.run(Thread.java:484) - - from cocoon.log: - DEBUG 13400 [cocoon ] (Thread-24): looking up hintmap for role org.apache.cocoon.components.language.markup.MarkupLanguageSelector ERROR 13400 [cocoon ] (Thread-24): The component instance for 'xsp' has an invalid class name. java.lang.ClassNotFoundException: at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at org.apache.avalon.excalibur.component.DefaultComponentSelector.configure(DefaultComponentSelector.java:241) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:110) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:78) at org.apache.avalon.excalibur.component.DefaultComponentManager.lookup(DefaultComponentManager.java:185) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.compose(ProgramGeneratorImpl.java:98) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:100) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:78) at org.apache.avalon.excalibur.component.DefaultComponentManager.lookup(DefaultComponentManager.java:185) at org.apache.cocoon.sitemap.Handler.run(Handler.java:220) at java.lang.Thread.run(Thread.java:484) DEBUG 13400 [cocoon ] (Thread-24): Could not access the Component for role: org.apache.cocoon.components.language.markup.MarkupLanguageSelector
Simple XSP Samples in C2-site / Cocoon Process type ??
Hi all ... I'm new to C2. Isn't ?cocoon-process type=xsp? ?xml-logicsheet href=logicsheet.greeting.xsl? in http://xml.apache.org/cocoon2/logicsheet-guide.html Cocoon 1 syntax/paradigm ??? I know, new documentation is coming. Best regards, Arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[c1-c2] Is it a must to create a war file ... etc
Hi all! And thanks for the help setting the environment for command.com. And after the build etc. (a bit difficult was deciding to put all cocoon jar-files into tomcat/lib, and which old jars have to be deleted) my questions about if it is a must to create a war file are obsolete. ;-) Best regards, Arno - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]