Win98 Java crash
Hi folks, I'm just starting out with Cocoon2 and I have a simple setup working with LInux and WinNT, but not windows 98 (on my laptop). It is crashing Java - so no stack trace, and no error log. My setup is Sun's JDK 1.2.2 on both WinNT4 and Win 98, Tomcat 4.something, Cocoon2, rc2. Any suggestions for how to proceed? I suppose I *could* install a more recent JDK if people suggest that is the way to go. Its just that I'm happy with 1.2.2 . Cheers Alex - 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]
Examples Cocoon 1.8.2
Hello to all. When loading the cocoon examples that are in the directory ESQL.Before anything else not and been able to install Postgresql v.7.1.3, when adding him the option: . / configure --with-java for later instarlar the jdbc. It shows me the following error: Ant es required to build Java Components. But do I when installing Tomcat already install the jakarta-ant, or is it necessary to install it again? That it is necessary to modify to the package? From Already Thank you for the help. Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.com - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Re: Win98 Java crash
Alex: The first suggestion would be to try Cocoon 2.0 final. That may be the cause. Another thing to consider is, as you said, upgrade the JDK, but I will defer to the more technical users as to whether that's absolutely neccessary Carlos On Sunday, December 9, 2001, at 05:36 AM, Alex McLintock wrote: Hi folks, I'm just starting out with Cocoon2 and I have a simple setup working with LInux and WinNT, but not windows 98 (on my laptop). It is crashing Java - so no stack trace, and no error log. My setup is Sun's JDK 1.2.2 on both WinNT4 and Win 98, Tomcat 4.something, Cocoon2, rc2. Any suggestions for how to proceed? I suppose I *could* install a more recent JDK if people suggest that is the way to go. Its just that I'm happy with 1.2.2 . Cheers Alex - 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]
Re: Examples Cocoon 1.8.2
Ivan: Asegurate que ant esta en tu classpath antes de instalar los ejemplos. Parece que el problem es que el programa no puede encontrar Ant asi que te dice que lo instales. Si es posible manda los errores que aparence en pantalla -- English Translation Make sure that ant is in your classpath before installing the samples. It looks like the install program can't find ant so it's telling you to install it. If it's possible send the errors that are output to your screen Carlos On Sunday, December 9, 2001, at 07:16 AM, Ivan Manuel Andrade Muñoz wrote: Hello to all. When loading the cocoon examples that are in the directory ESQL.Before anything else not and been able to install Postgresql v.7.1.3, when adding him the option: . / configure --with-java for later instarlar the jdbc. It shows me the following error: Ant es required to build Java Components. But do I when installing Tomcat already install the jakarta-ant, or is it necessary to install it again? That it is necessary to modify to the package? From Already Thank you for the help. Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.com
C2 V2.0 : International char in DatabaseXAction
Hi, i don't found this in the doc or in the mailing archive : how to send international char to my db using DatabaseXAction ? or how to format them as an xml string ( become lt;) before sending it in the db ? else if there is some think like FP (from cocoon1) it helps. Thanks. - 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]
C2 V2.0 : International char in DatabaseXAction
Hi, i don't found this in the doc or in the mailing archive : how to send international char to my db using DatabaseXAction ? or how to format them as an xml string ( become lt;) before sending it in the db ? (my Database refuse french char) else if there is some think like FP (from cocoon1) it helps. Thanks. - 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: Problem installing under JBoss + Tomcat(NoClassDefFoundError:Generator)
Sorry for that omission, Solaris (SPARC) 1.3.1_01. On Fri, 2001-12-07 at 11:41, Karl Øie wrote: what jdk are you using? - 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]
Send Parameters to Generator with POST
Hi all, I want to use a servlet (discussion forum) from another Tomcat context inside Cocoon 2. The servlet produces XML data that shall be transformed inside Cocoon. Hereis asnippet from my sitemap that passes parameters to the servletat theend ofthe URL: map:actions default="request" map:action name="request" src="org.apache.cocoon.acting.RequestParamAction"/ /map:actions ... map:match pattern="forum/main/postMsg" map:act type="request" map:parameter name="parameters" value="true"/ map:generate src="http://cocoon:8080/forum/main/postMsg{requestQuery}"/ map:transform src="stylesheets/forum/xslt/menupage_postmsg.xsl"/ map:serialize/ /map:act /map:match This far everything is working fine. But the discussion forum alsocontains forms that pass data using thePOST request method. How can I pass these data to the servlet so that doPost() is called? Thanks in advance, Andreas
Coccon2 site not found
Hi, XSLT Patterns.com site is not up/found Regards varadan
Re: Send Parameters to Generator with POST
Hi, If the forum servlet is in the same servlet engine: I think you may try: xsp, and use of RequstDispatcher.include(), Pass in include() the original request, I don't know if the orginal request still has the post info, may be you have to create a new request. If you are using a Servlet 2.3 you may use HttpServletRequestWrapper Try reading the serlvet spec, see componentents/jsp java source file how to use the include(). If the forum servlet is on a different servlet engine you have to build a java.net.HttpURL see the javadoc about docu of java.net.HttpURL. bye - 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]
Reading a JSP file
Ugh. I've read through all the documentation I can find, but I can't figure out how to get my submap to serve up JSP pages natively (i.e. they don't output XML). I have the following configuration: * Redhat 7.2 * Tomcat 4.0.1 * Sun JDK 1.3.1 When I place JSP files in the webapps/cocoon directory, they work just fine. When I create a submap map:pipeline map:match pattern=intranet/** map:mount uri-prefix=intranet src=file:/home/intranet/ check-reload=yes/ /map:match /map:pipeline The submap works and does every other mapping that it should, but it will not display a plain JSP page. The error that I get back is 'The request resource is not available'. The log files are not providing me a clue either. I've tried a workaround without success. I downloaded the top of tree version which I noted had JSPReader. I then JSPReader with the cocoon2 binary release and tried configuring it by hand via: map:reader name=jsp src=org.apache.cocoon.reading.JSPReader/ No joy. Any help would be appreciated. Thanks! -- Matt Ho Principal Indigo Egg, Inc. Providing VoiceXML Professional Services - 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]
SVG Resizing
Hello C2 Users,currently I have the following pipeline in my sitemap: map:match pattern=*.svg map:generate src=docs/samples/svg/{1}.svg/ map:serialize type=svg2jpeg/ /map:match I woud like that when the user request http://localhost/cocoon/picture.svg?width=200height=300 , cocoon reads the SVG file,make a XSL transform in order to resize the SVG an finally serialize to jpg.My SVG files all looks like : ?xml version=1.0 encoding=iso-8859-1? svg xmlns:xlink=ns_xlink; xmlns=http://www.w3.org/2000/svg; width=463.4675 height=463.4517 viewBox=0 0 463.4675 463.4517 style=overflow:visible;enable-background:new 0 0 463.4675 463.4517 xml:space=preserve g id=Layer_1 style=stroke:#00; g path style=fill:none;stroke:#100068;stroke-width:54; d=M404.3962,121.6704 C368.0271,64.7349,304.28,26.9858,231.7156,26.9858c-113.0801,0-204.75,91.6699 -204.75,204.75s91.6699,204.75,204.75,204.75 c113.082,0,204.752-91.6699,204.752-204.75H335.9646/ path style=fill:none;stroke:#100068;stroke-width:45; d=M338.7771,163.4927 c-22.5439-35.2969-62.0684-58.7021-107.0615-58.7021c-70.1104,0-126.9453,56.83 5-126.9453,126.9453 s56.835,126.9453,126.9453,126.9453c49.335,0,92.0938-28.1426,113.1084-69.25/ /g g path style=fill:#100068;stroke:none; d=M300.7195,195.7358H162.718v-30.002h138.0015V195.7358z/ path style=fill:#100068;stroke:none; d=M300.7195,297.7368H162.718v-30.001h138.0015V297.7368z/ path style=fill:#100068;stroke:none; d=M300.6228,195.7534l-118.5073,95.9668l-19.4019-23.9541l118.5117-95.9717 L300.6228,195.7534z/ /g /g /svg The XSL must only change the values width and height in the svg xmlns declaration,based on the URL request parameters. Question: How can I get the request parameter in this scenario ? - 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]
AW: SVG Resizing
There are two possibilities. 1. Use use-request-parameters in the Trax-Transformer (see JavaDoc for it - I haven't used it yet). 2. Write your own action which puts the parameter to the sitemap params. -Ursprüngliche Nachricht- Von: Gustavo Nalle Fernandes [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. Dezember 2001 01:18 An: Cocoon-Users Betreff: SVG Resizing Hello C2 Users,currently I have the following pipeline in my sitemap: map:match pattern=*.svg map:generate src=docs/samples/svg/{1}.svg/ map:serialize type=svg2jpeg/ /map:match I woud like that when the user request http://localhost/cocoon/picture.svg?width=200height=300 , cocoon reads the SVG file,make a XSL transform in order to resize the SVG an finally serialize to jpg.My SVG files all looks like : ?xml version=1.0 encoding=iso-8859-1? svg xmlns:xlink=ns_xlink; xmlns=http://www.w3.org/2000/svg; width=463.4675 height=463.4517 viewBox=0 0 463.4675 463.4517 style=overflow:visible;enable-background:new 0 0 463.4675 463.4517 xml:space=preserve g id=Layer_1 style=stroke:#00; g path style=fill:none;stroke:#100068;stroke-width:54; d=M404.3962,121.6704 C368.0271,64.7349,304.28,26.9858,231.7156,26.9858c-113.0801,0-204.75,91.6699 -204.75,204.75s91.6699,204.75,204.75,204.75 c113.082,0,204.752-91.6699,204.752-204.75H335.9646/ path style=fill:none;stroke:#100068;stroke-width:45; d=M338.7771,163.4927 c-22.5439-35.2969-62.0684-58.7021-107.0615-58.7021c-70.1104,0-126.9453,56.83 5-126.9453,126.9453 s56.835,126.9453,126.9453,126.9453c49.335,0,92.0938-28.1426,113.1084-69.25/ /g g path style=fill:#100068;stroke:none; d=M300.7195,195.7358H162.718v-30.002h138.0015V195.7358z/ path style=fill:#100068;stroke:none; d=M300.7195,297.7368H162.718v-30.001h138.0015V297.7368z/ path style=fill:#100068;stroke:none; d=M300.6228,195.7534l-118.5073,95.9668l-19.4019-23.9541l118.5117-95.9717 L300.6228,195.7534z/ /g /g /svg The XSL must only change the values width and height in the svg xmlns declaration,based on the URL request parameters. Question: How can I get the request parameter in this scenario ? - 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]
Re: Send Parameters to Generator with POST
Hi Bernhard, thanks for your help, but I still have some trouble ... If the forum servlet is in the same servlet engine: I think you may try: xsp, and use of RequstDispatcher.include(), Pass in include() the original request I tried to use something like: javax.servlet.RequestDispatcher dispatcher = ((org.apache.cocoon.environment.http.HttpRequest) request).getRequestDispatcher(forum/main/postMsg); dispatcher.include(request, response); But this won't compile, because org.apache.cocoon.environment.http.HttpRequest is does not implement javax.servlet.ServletRequest. What can I do instead? Do I have to build my own javax.servlet.ServletRequest object? BTW - is this the right approach to this problem? How is the result of the response included in this XSP page? , I don't know if the orginal request still has the post info, may be you have to create a new request. If you are using a Servlet 2.3 you may use HttpServletRequestWrapper Try reading the serlvet spec, see componentents/jsp java source file how to use the include(). Which file do you mean? I looked in cocoon.components.jsp.JSPEngineImpl, but didn't find anything ... Bye, Andreas - 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: Examples Cocoon 1.8.2
seta nt home in the enviornment vairables and then run the ommnad.Since u r running the commend with java so u need ant for compiling essential java classes - Original Message - From: Ivan Manuel Andrade Muñoz To: [EMAIL PROTECTED] Sent: Sunday, December 09, 2001 8:46 PM Subject: Examples Cocoon 1.8.2 Hello to all. When loading the cocoon examples that are in the directory ESQL.Before anything else not and been able to install Postgresql v.7.1.3, when adding him the option: . / configure --with-java for later instarlar the jdbc. It shows me the following error: Ant es required to build Java Components. But do I when installing Tomcat already install the jakarta-ant, or is it necessary to install it again? That it is necessary to modify to the package? From Already Thank you for the help. Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.com- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]>For additional commands, e-mail: <[EMAIL PROTECTED]>
Cocoon Position Available - Brisbane, Australia
To Cocoon-Users, We are a small Brisbane-based ( Brisbane, Australia ) web development company who are looking for someone with experience with Cocoon. Ideally this person will be well versed in XML oriented technologies and the Java programming language. J2EE experience would be a bonus. We are an equal opportunity employer as well ! If you are interested please contact us on [EMAIL PROTECTED] Yours Faithfully, Jason Uithol Data Technologist DatacodeX Pty Ltd [EMAIL PROTECTED] http://www.datacodex.com - 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]