[Q] Deploing Cocoon on Tomcat

2002-09-27 Thread Ivan Luzyanin
Hi! Is there any way to deploy (redeploy) cocoon without restarting Tomcat? I tried to use deploytool, but unsuccessfull (100 Class not found errors when accessing http:/localhost:8080/cocoon). Ivan. - Please check that your

Re: [Q] Deploing Cocoon on Tomcat

2002-09-27 Thread Ugo Cei
Ivan Luzyanin wrote: Hi! Is there any way to deploy (redeploy) cocoon without restarting Tomcat? I tried to use deploytool, but unsuccessfull (100 Class not found errors when accessing http:/localhost:8080/cocoon). Yes. If you are using Tomcat 4.1 it's quite simple, but I struggled for a

How to filter the data according to the user input?

2002-09-27 Thread funing
Hi! I have a xml contains such data: isodocs doc category=jpg name14_84_1.jpg/name descriptiona nice pic/description location14_84_1.jpg/location /doc doc category=jpg name847_2.jpg/name descriptiona dog and a

Re: compile problem (cvs)

2002-09-27 Thread Michael Maluck
The problem did not exist in the cvs snapshots... something was maybe wrong in my local cvs tree... On Thu, 26 Sep 2002 09:18:36 +0200 Michael Maluck [EMAIL PROTECTED] wrote: ./xml-cocoon2/build/cocoon/work/blocks-build.xml:25: ./xml-cocoon2/src/blocks/batik/java not found. cu Michael

JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Tuomo Lesonen
I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? -Tuomo

Re: problem with database connection

2002-09-27 Thread Olivier GUCKERT
[EMAIL PROTECTED] a écrit : What component are you using? SQLTransformer? Database Action? Can you post the relevant portions of cocoon.xconf/sitemap.xmap? here is my configuration : In web.xml : init-param param-nameload-class/param-name param-value !-- pour

RE: How to filter the data according to the user input?

2002-09-27 Thread Luca Morandini
funing, I think a little XSLT could do the job, something along these lines: xsl:template match=isodocs/doc[@category='jpg'] xsl:copy-of select=./ /xsl:template Wrap it into a stylesheet and put this stage into your pipeline, it will act as a filter. Best regards, P.S. I wrote this

Re: How to filter the data according to the user input?

2002-09-27 Thread funing
Thank you. But, it is my fault not to state the question clearly, I need a dynamical generation.That is, which category to show is decided by user. It seems that I must use logic sheet, right? On Fri, 27 Sep 2002 11:23:37 +0200 Luca Morandini [EMAIL PROTECTED] wrote: I think a little XSLT

esql:parameter ?

2002-09-27 Thread Gabor Bartha
Hi all, I want to use esql, but I've got problems with esql:parameter. It seems the parameter haven't been replaced by its real value. Here is my xsp, with a java function: xsp:logic private String createTable() throws SQLException, org.xml.sax.SAXException { String tableName = tmp123456;

RE: How to filter the data according to the user input?

2002-09-27 Thread Luca Morandini
Funing, no problem, you just pass a parameter (named, say, select-cat) to your stylesheet from the sitemap, and then use that parameter value to select a category; hence, your stylesheet may look like: map:param name=selected-cat/ xsl:template match=isodocs/doc[@category=$select-cat]

Re: esql:parameter ?

2002-09-27 Thread Ugo Cei
Gabor Bartha wrote: Hi all, I want to use esql, but I've got problems with esql:parameter. It seems the parameter haven't been replaced by its real value. You cannot have DDL statements with parametrized object names. At least, not in Oracle. Use string concatenation, if you must.

Re: problem with database connection

2002-09-27 Thread JohnsBrn
Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is durl instead of dburl. I think you said this worked in a previous version of cocoon, and I don't know if the cocoon.roles has changed since then. Let me know if it's just a simple typeo before I try to load your

Re: reload a page

2002-09-27 Thread Emmanuil Batsis (Manos)
Err, this is not a cocoon related question. Try meta http-equiv=REFRESH content=10;URL=thisPage.html or put this in your head script type=text/javascript function init() { window.setTimeout(location.href='thisPage.html',1000); } /script and body onlload=init() Manos Gabor Bartha

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Timothy Larson
Each session needs to be logged into the database with a different username and password. How can I do this using a database pool? Tim [EMAIL PROTECTED] 09/26/02 04:33PM Timothy Larson wrote: I need to create a database connection, Why not: 1. Get connection from the pool, 2. do some

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Vadim Gritsenko
Timothy Larson wrote: Each session needs to be logged into the database with a different username and password. Do you think it's a good idea? How can I do this using a database pool? There is no way unless you know SQL command to do it. The hole purpose of a pool is to connect once, and

Re: esql:parameter ?

2002-09-27 Thread Gabor Bartha
Ok it is working now, thanks Ugo yuryx wrote: try esql:queryxsp:exprcreate table + tableName/xsp:expr/esql:parameter Ugo Cei wrote: Gabor Bartha wrote: Hi all, I want to use esql, but I've got problems with esql:parameter. It seems the parameter haven't been replaced by its real

Re: problem with database connection

2002-09-27 Thread Olivier GUCKERT
[EMAIL PROTECTED] a écrit : Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is durl instead of dburl. I think you said this worked in a previous version of cocoon, and I don't know if the cocoon.roles has changed since then. Let me know if it's just a simple

Re: Source Writing Transformer: Adding namespaces

2002-09-27 Thread Alex Romayev
I'm still struggling with this problem. Let me try to state it more clearly: I would like to write XML to a file. My XML contain namespaces. I declare the namespaces in the root element, just the way I would like it to be in the file and surround my XML with source:write tag. However,

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Peter Royal
On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Tuomo Lesonen
On Fri, 27 Sep 2002, Peter Royal wrote: On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried

java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader

2002-09-27 Thread Johannes Wechsler
Hi, I want to use a webservice to start a Phython script, but always get the following exception: java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader (...) at TestClasses2.TestAction.notifyActionItem(TestAction.java:1301) The Interface

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Timothy Larson
I am interfacing to an established system and cannot change the security model. It works like this: 1) Login as specific user with rights to public objects only 2) Run a report 3) Report does key exchange to prove its authenticity to the db 4) Database yields key to upgraded security role 5)

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread Tuomo Lesonen
On Fri, 27 Sep 2002 [EMAIL PROTECTED] wrote: This is also a free JDBC driver but I don't know if blob are supported http://www.thinweb.com/products_twfreetds.html good luck Bernard Thanks, I'll try it out. Their website is propably experiencing some technical difficulties, download doesn't

Re: JDBC driver for MS SQL Server 2000 with blob support

2002-09-27 Thread bdhave.work
This is also a free JDBC driver but I don't know if blob are supported http://www.thinweb.com/products_twfreetds.html good luck Bernard Surlignage Tuomo Lesonen [EMAIL PROTECTED]: On Fri, 27 Sep 2002, Peter Royal wrote: On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote:

Output xsl --- next trap

2002-09-27 Thread Jessica Niewint
HI it's me again. With this xml file I get the right chapters for the right sections and the right sections for the right document. Only that my output is something like this document section A section B chapter 1 chapter 2 chapter 3 I wanted to generate a document structure like this: document

Re: Plz help with this - error the requested uri /cocoon-dev/xmldb not found

2002-09-27 Thread [EMAIL PROTECTED]
I think that your URI is wrong. It should be something like xmldb:xindice:///db/mycollection/mydocument [EMAIL PROTECTED] wrote: Hi there , I'm still in the dog house as I can't seem to figure out why Cocoon 2 want serve up any

Re: Source Writing Transformer: Adding namespaces

2002-09-27 Thread Vadim Gritsenko
Alex Romayev wrote: I'm still struggling with this problem. Let me try to state it more clearly: I would like to write XML to a file. My XML contain namespaces. I declare the namespaces in the root element, just the way I would like it to be in the file and surround my XML with source:write

Re: Portal Exception in latest Cocoon 2.1?

2002-09-27 Thread Rob Johnston
Is there a known workaround or a PR open? thanks, rob On Thu, 26 Sep 2002, Kenneth J. Hughes wrote: I saw the same thing here today. At 02:37 PM 9/26/2002 -0700, Rob Johnston [EMAIL PROTECTED] wrote: Hello, In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a problem

JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure

Re: AW: AW: FOP In Latest Cocoon Releases

2002-09-27 Thread J.Pietschmann
Skladovs, Victor wrote: What would you suggest in this situation? How could I improve the Cocoon work as pdf concerns? Updating fop.jar doesn't help. First, get Xalan 2.4.0 and replace both the xalan.jar from FOP as well as the jar deployed with Cocoon. Check with the FOP command line

RE: Output xsl --- next trap

2002-09-27 Thread Luca Morandini
Jessica, three things: 1) could you please post the output of myfile.xml (in other words, the input of myfile.xsl) ? 2) could you tell me why the output is in Italian ? 3) could you use plain text for messages ? Best regards, -

JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure

RE: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread [EMAIL PROTECTED]
Roger, Try moving the jdbc driver/connector to the Tomcat/lib directory. I had all kinds of database errors with Tomcat 4.0.4 and Cocoon 2.0.3 with jdk1.3.1_02 on a RH Linux 7.x box. I did a lot of moving of the driver around and mucked with the config files. Nothing scientific just a lot

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Bobby Mitchell
Roger Ting wrote: Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread Roger Ting
yeah i agree.. i am using cocoon 2.0.3 built with jdk 1.3. So you are saying i can't use j-connector supplied by mysql? Is there any driver that i can use with cocoon built on jdk1.3? more specifically jdk1.3.1 This would help me a lot THX! From: Bobby Mitchell [EMAIL PROTECTED] Reply-To:

Re: JDK 1.3.1 is driving me MAD!

2002-09-27 Thread [EMAIL PROTECTED]
As Booby pointed out ... did you try and rebuild C 2.0.3 with the new JDK 1.4? I had to rebuild and it worked for me. If you don't have the old mysql jdbc driver, I can dig it up and send to your email directly. Conrad Original Message: - From: Roger Ting [EMAIL PROTECTED]

Re: RE: Handler information not found

2002-09-27 Thread Markdelanoy
Last month this thread went on for a bit and then died out. I wondering if there was a fix to the solution, e.g. using the auth-protect action I've protected a set of pages. When the user is not logged in, the login page correctly shows up, and then the authentication resource is called.

Re: AW: FOP In Latest Cocoon Releases

2002-09-27 Thread Barbara Post
May 0.20.4 be buggy ? I have this in my WEB-INF\lib, guess I got it from C... Babs -- website : www.babsfrance.fr.st ICQ : 135868405 - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 11:28 PM Subject: Re: AW: FOP In

Re: Serializig and LF: Problem

2002-09-27 Thread Skansen
It can't be the Cache because i used the Comandline. //Jakob - Original Message - From: Luca Morandini [EMAIL PROTECTED] To: Cocoon-users [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 10:35 PM Subject: RE: Serializig and LF: Problem Skansen, hold on a second... The

RE: Serializig and LF: Problem

2002-09-27 Thread Luca Morandini
Jakob (is that your name ?), I meant the Cocoon's cache, not the browser's one. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html

displaying values in a browser from xsp:logic

2002-09-27 Thread Matt MacDougall
Hello, I'm having a problem getting the results of a Java function wrapped in xsp:logic tags to display on my page. All I would like to do is display the value of the variables prevurl and nexturl on the page. This code below is in an xsl file outside of the main template. I'm calling this

Re: How to create db conn in action to use in esql or sql?

2002-09-27 Thread Vadim Gritsenko
Timothy Larson wrote: I am interfacing to an established system and cannot change the security model. It works like this: 1) Login as specific user with rights to public objects only 2) Run a report 3) Report does key exchange to prove its authenticity to the db 4) Database yields key to

Error compiling sitemap_xmap / problems Installing cocoon-2.0.3 on fresh jwsdp1_0_01 and j2sdk1.4_0_01

2002-09-27 Thread Dario Liberman
Hello, I am having problems Installing cocoon-2.0.3 on top of a fresh jwsdp1_0_01 and j2sdk1.4_0_01 installation running on a winNT4.0 SP6a At the page the error shows: Cocoon 2 - Internal server error type fatal