Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Richard In Public
Hi Alex Are you running tomcat as a service? If so, try running it from the command line using the appropriate batch file (%CATALINA_HOME%\bin\startup.bat for windows). If this helps, see my earlier post on this subject: http://www.mail-archive.com/[EMAIL PROTECTED]/msg24914.html Regards,

Re: Mounting Sub-Sitemap from outside cocoon-dir...

2003-02-26 Thread Richard In Public
Hi Jörg I am also using Windows. The following works for me: map:match pattern=myproject/** map:mount uri-prefix=myproject/ src=file://D:/MyFolder/MyWebApps/MyProject/ check-reload=yes / /map:match I notice two differences between this and the variations you've tried: 1. I'm using a

How to set an ESQL value into a variable?

2003-02-26 Thread Maxime.Gheysen
Hi, I make a connection (using ESQL) and get a value esql:get-string column=MYVAR/ . How can I get this value on the page to build another query like : Select * From mytable where ID = MYVAR I tried with xsp:parameter name=MYVAResql:get-string column=MYVAR//xsp:parameter But when I request it I

How to set an ESQL value into a variable?

2003-02-26 Thread Maxime.Gheysen
Hi, I make a connection (using ESQL) and get a value esql:get-string column=MYVAR/ . How can I get this value on the page to build another query like : Select * From mytable where ID = MYVAR I tried with xsp:attribute name=MYVAResql:get-string column=MYVAR//xsp:attribute But when I request it I

Re: How to set an ESQL value into a variable?

2003-02-26 Thread Richard In Public
Hi Maxime Assuming that the second query is in the same XSP document as the first, you can do this by nesting the queries as sketched below. The essential things to note: 1. The nested-query is a regular esql:execute-query element, placed within the an esql:row-results element. It's syntax is

Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Leszek Gawron
On ro, lut 26, 2003 at 08:56:02 -, Richard In Public wrote: Hi Alex Are you running tomcat as a service? If so, try running it from the command line using the appropriate batch file (%CATALINA_HOME%\bin\startup.bat for windows). If this helps, see my earlier post on this subject:

Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread MAHE Vincent FTRD/DIH/REN
Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0 ? Some people (Martin Holz for instance) on the net are talking about Jakarta CornerStone Scheduler but I can't find any example. Vincent

AW: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Scherler, Thorsten
Hello Vincent, http://www.wyona.org/docs/xdocs/scheduler.html wyona is a Open Source CMS and based on Cocoon and Java. Just have a look. p.s. It will hopefullybecome lenya in the near future and part of ASF King regards Thorsten -Ursprüngliche Nachricht-Von: MAHE Vincent

XInclude: content not allowed in prolog

2003-02-26 Thread Richard In Public
Hi I have a cocoon project that works perfectly when served by Tomcat but which breaks when I try to generate a static version from the command line. The difficulty appears to be caused by the use of XInclude. 1. It seems that Cocoon/Tomcat is more forgiving than Cocoon/CmdLine. Does anyone

Session:set-attribute bug

2003-02-26 Thread Maxime.Gheysen
There is a bug in following lines, I tried with java (session.setAttribute), but all my pages are requesting user with session:get-attribute name=user/. Thanks for your help! ... xsp:logic String user = request.getParameter(user); /xsp:logic titleLogin Informations/title content

xsp-session and JAVA sessions

2003-02-26 Thread Maxime.Gheysen
What is the difference between these two sessions??? : JAVA session: xsp:structure xsp:includeorg.apache.cocoon.environment.Session/xsp:include /xsp:structure ... xsp:logic Session session = null; ... session = request.getSession(true); session.setAttribute(user,user); ... /xsp:logic

RE: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread MAHE Vincent FTRD/DIH/REN
Hello, Yes but I need to install the whole Wyona whereas I'm only interested in the scheduler. My webapp has nothing to do with a Content Management and Publishing System. I just want to use the scheduler of Wyona in my webapp ... do you have any simple integration example ? Vincent

The new MS Office 2003

2003-02-26 Thread Ing. Antonio Gallardo
Sorry, for the SPAM ;-) But i post this link, because in the first screenshots are some labels related to XML/XSL stuff :) http://www.activewin.com/screenshots/office2k3b2/ Antonio Gallardo - To unsubscribe, e-mail: [EMAIL

WG: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Scherler, Thorsten
Hello group, is there a way to integrate our scheduler into a cocoon app without installing the whole wyona cms dist.? Please have a look on the following mail! Thank you very much! -Ursprüngliche Nachricht-Von: MAHE Vincent FTRD/DIH/REN [mailto:[EMAIL PROTECTED]Gesendet:

security problem? InvocationTargetException received

2003-02-26 Thread Uwe Gerger
Hello, while starting cocoon2 Version 2.0.3 on weblogic 5.1 I receive the following exception: Exception raised: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError: try to access method

unable to run cocoon2 on tomcat

2003-02-26 Thread Kieran Kirwan
Dear All, i've installed- - jdk1.3.1_01 - jakarta-tomcat-4.0.1.exe ...and it's all running fine - i get the http://localhost:8080/index.html page no problem.however ...when i copy cocoon.war (extracted from cocoon-2.0.1-bin.zip) and try http://localhost:8080/cocoon/ all i

security problem? Invocation TargetException received

2003-02-26 Thread Uwe Gerger
Hello, while starting cocoon2 Version 2.0.3 on weblogic 5.1 I receive the following exception: Exception raised: java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError: try to access method

Re: How to set an ESQL value into a variable?

2003-02-26 Thread Christian Haul
On 26.Feb.2003 -- 10:10 AM, [EMAIL PROTECTED] wrote: Hi, I make a connection (using ESQL) and get a value esql:get-string column=MYVAR/ . How can I get this value on the page to build another query like : Select * From mytable where ID = MYVAR I tried with xsp:attribute

Cocoon2: Logger required?

2003-02-26 Thread Uwe Gerger
Hello, can I configure Cocoon2 so that it doesn't use the logger? Thanks -- Uwe Gerger_/_/_/ _/_/ _/_/ BMW AG, TG-53 IT-Technologie _/ _/ _/_/_/_/ _/_/ 80788 Muenchen _/_/_/ _/ _/ _/ _/ _/ _/ Tel: +49 89

RE: Cocoon2: Logger required?

2003-02-26 Thread Schaper, Christoph
You can configure the NullLogger (see in avalon framework), if this is what you want to do. -Original Message- From: Uwe Gerger [mailto:[EMAIL PROTECTED] Sent: 26 February 2003 14:01 To: [EMAIL PROTECTED] Subject: Cocoon2: Logger required? Hello, can I configure Cocoon2 so that it

Re: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Martin Holz
MAHE Vincent FTRD/DIH/REN [EMAIL PROTECTED] writes: Has anyone managed to integrate a Java scheduler in a webapp using Cocoon 2.0 ?   Some people (Martin Holz for instance) on the net are talking about Jakarta CornerStone Scheduler but I can't find any example. Acutally I never tried it.

Axis as Cocoon component?

2003-02-26 Thread Alexander Enns
Hi all, is there any trial to integrate Axis engine in Cocoon? To have possibility to use Cocoon component model from web services code? Thanks, Alexander - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

XSP as=xml versus as=node

2003-02-26 Thread I-Lin Kuo
Hi, In the cocoon docs for XSP at http://xml.apache.org/cocoon/userdocs/xsp/request.html it talks about the attribute as=node but displays as=xml in the sample code. I tried both on my setup and they both work, but is there any difference between the two? I-Lin Kuo, Ann Arbor, MI Macromedia

Re: WG: Is there any way to use a scheduler with Cocoon ?

2003-02-26 Thread Michael Melhem
On Wed, Feb 26, 2003 at 12:46:56PM +0100, Scherler, Thorsten wrote: Hello group, is there a way to integrate our scheduler into a cocoon app without installing the whole wyona cms dist.? The avalon cornerstone scheduler already comes with cocoon2.1. Why do we need another scheduler ?

Re: Axis as Cocoon component?

2003-02-26 Thread Marcus Crafter
Hi Alexander, On Wed, Feb 26, 2003 at 02:20:08PM +0100, Alexander Enns wrote: Hi all, is there any trial to integrate Axis engine in Cocoon? Axis is integrated into Cocoon via the AxisRPCReader, which exists currently in Cocoon's CVS scratchpad. Essentially, it allows Cocoon

Re: unable to run cocoon2 on tomcat

2003-02-26 Thread Alex Romayev
Hi Kieran, This seems to be related to the problem I'm having, the the message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg25061.html. By just doing simple comparison, I don't think it's tomcat versions, as you're using 4.0.1 and I've had problems with both 4.1.12 and 4.1.18. What is

Re: Cocoon2: Logger required?

2003-02-26 Thread Uwe Gerger
Is this a class wich I have to specify in the web-xml file ? Thanks Uwe [EMAIL PROTECTED] schrieb: You can configure the NullLogger (see in avalon framework), if this is what you want to do. -Original Message- From: Uwe Gerger [mailto:[EMAIL PROTECTED] Sent: 26 February

Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Alex Romayev
Hi Richard, Thanks for you help. I've tried copying the libraries and I start using startup.bat, but this doesn't seem to be helping me. Do you have any other ideas? Thanks, -Alex --- Richard In Public [EMAIL PROTECTED] wrote: Hi Alex Are you running tomcat as a service? If so, try

Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Richard In Public
Hi Alex Are you building the cocoon.war file and placing it in the %catalina_home%/webapps directory? .\build.bat -Dinclude.webapp.libs=yes webapp Richard - Original Message - From: Alex Romayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 2:00 PM

Return value from Oracle Stored Procedure

2003-02-26 Thread Nigel Shrieves
Cannot get a return value from the following: esql:execute-query esql:call{call iauth_user_process.is_valid_authlogin( esql:parameter direction="in" type="String"xsp:exprp_authlogin/xsp:expr/esql:parameter, esql:parameter direction="in"

RE: JPEG/PNG IN IE???

2003-02-26 Thread Derek Hohls
how about setting the size of svg to match its largest boundary - svg pictures are not "automagically" sized correctly as for jpeg [EMAIL PROTECTED] 25/02/2003 07:57:15 Good news! I originally saved the svg file with an "xml" extension. I renamed it with the "svg" extension and it works! But

FIXED: Return value from Oracle Stored Procedure

2003-02-26 Thread Nigel Shrieves
Works if I change esql:get-string column="7"/ to esql:get-int column="7"/ Must be testing what the return type is as we use this same stored procedure in PHP and it returns a string ## Cannot get a return value from the following:

2.1 CVS build

2003-02-26 Thread Ryan Hoegg
Hello, I've heard echoes around here that the build system for 2.1 is in a state of flux right now. How can I stay abreast of the changes? Is this something for which I need to be on the Cocoon-dev list? -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net

RE: 2.1 CVS build

2003-02-26 Thread Matthew Langham
If you need up-2-the-minute information on this - YES! There is lot's of movement in the build system at the moment and things are looking better by the minute (really). Matthew -Original Message- From: Ryan Hoegg [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 4:49 PM

Re: Cocoon2: Logger required?

2003-02-26 Thread Bruno Dumon
On Wed, 2003-02-26 at 14:00, Uwe Gerger wrote: Hello, can I configure Cocoon2 so that it doesn't use the logger? Cocoon logging can be configured in the file WEB-INF/logkit.xconf. Usually for deployment the log-levels are set to ERROR (instead of DEBUG). -- Bruno Dumon

RE: Cocoon2: Logger required?

2003-02-26 Thread Matthew Langham
Uwe, Hello, can I configure Cocoon2 so that it doesn't use the logger? Cocoon logging can be configured in the file WEB-INF/logkit.xconf. Usually for deployment the log-levels are set to ERROR (instead of DEBUG). What Bruno means is - why do you want to turn the logger off? If it is

Undeclared Prefix Issue

2003-02-26 Thread Collin VanDyck
I'm using XSPUtil.includeString() to bring in some external XML into my source XML tree before I apply my transforms. This involves me assigning the XML to a string variable, and then including it as such: String xmlString = xmlDataValue.getXMLData(); XSPUtil.includeString(xmlString

Re: Xindice query does not produce data that is in a CDATA section

2003-02-26 Thread hgadm
Yuri, I currently use v 1.0 Holger On Wed, 26 Feb 2003, Yury Mikhienko wrote: On Tue, 25 Feb 2003 16:31:56 -0800 (PST) [EMAIL PROTECTED] wrote: Dear all, I am retrieving XML data from Xindice via Cocoon. Everything is retrieved OK except what's in a CDATA section - this is

AW: xsp-session and JAVA sessions

2003-02-26 Thread Marco Rolappe
from within an XSP you can have a session be created by specifying the xsp:page's attribute @create-session=true (this is handled by the session logicsheet. this way a session will be created if it didn't yet exist. problems can occur with these sessions, though; sessions created by the session

Problem on start !

2003-02-26 Thread robert
When I call the cocoon (http://localhost:8080/cocoon) I get the follow error: = message SAX2 driver class org.apache.xerces.parsers.SAXParser not found description java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser sender org.apache.cocoon.servlet.CocoonServlet

RE: Problem on start !

2003-02-26 Thread Sean McKaharay
First thing Robert, What server are you running on (i.e. tomcat, resin, jetty..). You need to look that you don't have an old version of SAX parser in the lib directory of the server. Sometimes the SAX parser it will try to use is the one in the lib directory of the Server.

Re: Problem on start !

2003-02-26 Thread robert
I am using Tomcat 4.0.6.. Sean McKaharay wrote: First thing Robert, What server are you running on (i.e. tomcat, resin, jetty..). You need to look that you don't have an old version of SAX parser in the lib directory of the server. Sometimes the SAX parser it will try to use is the one in

RE: sitemap and {session:locale} for i18n?

2003-02-26 Thread Stephane Amaudruz
First,a s you are using input module, you must ensure that they are declared in your Cocoon.xconf. Second the session input module allows you to access session properties, such as creationTime, id, lastAccessedTime and so on. I think that if you want to access attribute, you must use the session

Re: Unable to run cocoon-2.1-dev on tomcat 4.1.18

2003-02-26 Thread Alex Romayev
I've changed my environment from jdk1.3 to 1.4.1 and everything worked! One thing I noticed thought that my jdk1.3 had xml libraries in it's endorsed directory... not sure if this was the issue. --- Richard In Public [EMAIL PROTECTED] wrote: Hi Alex Are you running tomcat as a service? If

Re: cinclude transformer VERY slow

2003-02-26 Thread Martin Holz
Josema Alonso [EMAIL PROTECTED] writes: Replying to myself but still haven't found a good explanation... The *.news.xml docs I mentioned in my previous message are Docbook articles. All of them have the doctype declaration for the Docbook article DTD: !DOCTYPE article PUBLIC -//OASIS//DTD

Re: cinclude transformer VERY slow

2003-02-26 Thread Josema Alonso
Dear Martin, You were absolutely right. The DTDs were not being resolved locally. Once I updated the catalog adding the Docbook stuff, everything went back to normal. Sometimes I still feel Cocoon is too big... there are some components I haven't used yet... and I've been using Cocoon for almost

Problem with AuthenicationManager in 2.1 dev

2003-02-26 Thread Alex Romayev
Hi, I'm using the lastest build and having problems using authentication-fw. The error I'm getting is: Could not find component (role [org.apache.cocoon.webapps.authentication.components.AuthenticationManager]) Has anyone seen this? Have there been any changes lately that I likely to cause

Re: Xindice query does not produce data that is in a CDATA section

2003-02-26 Thread Yury Mikhienko
On Wed, 26 Feb 2003 09:22:09 -0800 (PST) [EMAIL PROTECTED] wrote: Yuri, I currently use v 1.0 I use v1.1 (from CVS) and cocoon v2.0.4, and XML data in CDATA section are retrived properly. for example: in document, stored in Xindice I have the next section: ![CDATA[test]] the cocoon's

xsp action sample doesn't work

2003-02-26 Thread joni santoso
Hi, I tried the tutorial in wiki site. but it seemed not working. can anyone tell me why? regards, the message : type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not

2.1 build fails

2003-02-26 Thread Alex Romayev
Hi I tried running today's build without any changes and got the following error: BUILD FAILED file:///C:/dev/xml-cocoon-2.1-dev/build.xml:610: IOException: java.io.FileNotFoundException: C:\dev\xml-cocoon-2.1-dev\b uild\webapp\samples\sitemap.xmap (The system cannot find the path specified)