Re: Problem of template-applying

2001-06-01 Thread Yuji KATO
On Sat, 02 Jun 2001 13:03:28 +0900 Yuji KATO <[EMAIL PROTECTED]> wrote: > I have a problem of template-applying of XSL by Cocoon 1.8.2. > > I got the the result1 below using XSL1 but the result2 using XSL2. > My expectation on XSL2 is something like this: > ... > ... The tags above are wrong. T

Problem of template-applying

2001-06-01 Thread Yuji KATO
Dear All, Hello. How do you do? I have a problem of template-applying of XSL by Cocoon 1.8.2. I got the the result1 below using XSL1 but the result2 using XSL2. My expectation on XSL2 is something like this: ... ... What am I doing wrong? Sorry for the length. Thank you for help. +++

RE: init() and destroy() in XSP

2001-06-01 Thread Simon Waddington
This is kind of late in the conversation... but there's a race condition in your code. The thread that finds initialized zero could get suspended before setting it to one. Its unlikely but could happen. Then another thread will also find it zero and both threads will end up performing initializ

Re: esql connection basic

2001-06-01 Thread Oskar Werewka
I have already configured the pooling, thank you ;) >Thank you for information, I did not try connection pooling. >What I was thinking of, was to store database and database account >in one place, to avoid modification of many documents when changing >db accout password. > >With connection pool

Re: esql connection basic

2001-06-01 Thread Oskar Werewka
Thank you for information, I did not try connection pooling. What I was thinking of, was to store database and database account in one place, to avoid modification of many documents when changing db accout password. With connection pool I probably can solve this problem, am I right? Where can I

Re: esql => xsp

2001-06-01 Thread paint007
JC, try this instead: String toto = ; Depending on where you need to use "toto", you may need to declare it outside your node, like this: String toto = ""; ... toto = ; ... // now you can use toto here -Christopher Pleas

Re: Connection Pool with DB2

2001-06-01 Thread paint007
Annett, your code looks right to me. Did you restart Cocoon after defining your pool in cocoon.properties? -Christopher Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: "Guido Raunest" <[EMAIL PROTECTED]> Subject: Connection Pool with DB2 Hi all, can anybody help us

Re: esql connection basic

2001-06-01 Thread paint007
Oskar, would a connection pool not work for you? It is much easier than what you want to do, and performance is better, too (since you don't wait to log in every time.) However, if you really want to do this, you should be able to by creating a logicsheet. Your logicsheet would have a templat

white spaces

2001-06-01 Thread Oskar Werewka
How to remove all white spaces from cocoon output? Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ] - Please check that your question ha

RE: Cocoon and threads

2001-06-01 Thread Antonio Parolini
> Could you put the code in your mail where you retrieve the session object > itself? I made a logicsheet for this. It declare the DBUser object. // Define a initial default user that is anonymous XUser DBUser = new XUser() ;

Re: Cocoon and threads

2001-06-01 Thread Donald Ball
On Fri, 1 Jun 2001, Antonio Parolini wrote: > > Hi there, > > Let's think about the following XSP page accessed by two users in the same > time: > > > > String sName = session.getAttribute("name") ; > [...] > > > Welcome sName > > > In concurency tests I made, so

Re: esql dynamic sql

2001-06-01 Thread Donald Ball
On Fri, 1 Jun 2001, Oskar Werewka wrote: > > I need to include in my sql statement > some parameters from request object > and also from my java code. > > Example: > > "select * from users where userid = " > > How about PreparedStatement? > > "select * from users where userid = ?" > > Can I use i

Re: RE : ESQL and 'lock'ing tables for exclusive access

2001-06-01 Thread Donald Ball
On Fri, 1 Jun 2001, Luis Gois wrote: > Donald : > > One of my coleagues tried something similar to what you've > sugested, but the connection was getting closed after the lock > statement, therefore loosing the lock! But looking more carefully at > your code, I think he was doing something li

RE: Cocoon and threads

2001-06-01 Thread Michael Homeijer
Hi, Could you put the code in your mail where you retrieve the session object itself? Pages aren't synchronized because this introduces a bottleneck, and because they don't need to be. Just be carefull with your variable declarations. HTH --

RE: upgrade my beans from c1 to c2

2001-06-01 Thread Antonio Parolini
> I'm not that familiar with C1 but I think you have to use bridge uility > methods to convert your Nodes into SAX events. Have a look at the class > org.apache.cocoon.xml.dom.DOMStreamer. But I fear a performance problem doing so... If I upgrade my objects ot return a sax event like ContentHand

esql dynamic sql

2001-06-01 Thread Oskar Werewka
I need to include in my sql statement some parameters from request object and also from my java code. Example: "select * from users where userid = " How about PreparedStatement? "select * from users where userid = ?" Can I use it somehow? Thank again for your help. Oskar Werewka. --

esql connection basic

2001-06-01 Thread Oskar Werewka
I have this (sample): oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:oskarw/@dbsrv:1527:desy select * from helpdesk_labels No employees and want to have one

Re: Presenting a Cocoon challenger: Lagoon

2001-06-01 Thread Sergio Carvalho
On Thu, 31 May 2001 22:25:43 +0200 Mikael Ståldal <[EMAIL PROTECTED]> wrote: > At 15:38 2001-05-18 +0200, Sérgio Carvalho wrote: > >Most times, a better alternative to offline content generation - when used > >as a cache - is to use a real frontside cache. Squid, for example, can be > >setup to

Connection Pool with DB2

2001-06-01 Thread Annett Figge
Hi all, can anybody help us in solving our problem with connection pooling? Trying to use a named pool like this test ... results in the following runtime exception: Error found handling the request. java.lang.RuntimeException: Could not open pooled connection: test at _C_._Apache

Re: [c2] problem with latest cvs

2001-06-01 Thread Andreas Neuenschwander
Hi, I get same exception with the newest C2 version. > org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is > not available. I use Jetty 3.0.6 with the latest C2 cvs version (01.06.2001) The problem is that the sitemap will never compile. In the log files I get the followin

cocoon-process

2001-06-01 Thread [EMAIL PROTECTED]
C1.8.2 on tomcat I want to know if i'm right! (good understanding) Imagine you've got a very very complex xsp page that need : to look in a db, to see which file to load, to look inside another field of db,to ... So a very complex xsp page with a lot of cascading tag (xsp, esql,...) inside. (I me

esql => xsp

2001-06-01 Thread [EMAIL PROTECTED]
Hello everybody, I use C1.8.2 on tomcat. I want to know if it's possible to keep esql result to put it in a xsp java variable ! I try this : It's not compile Thank for your help JC -- Profitez de l'offre spéciale Liberty Surf ! 50 h / 95 F TTC par mois tout compris pendant 3 mois

RE: installing C2 on Tomcat 3.2.1, parser

2001-06-01 Thread Götz Botterweck
> Sorry if this is a FAQ Ok, it was a FAQ. After removing jaxp.jar from %TOMCAT_HOME%\lib cocoon's main page is showing. - Please check that your question has not already been answered in the FAQ before posting.

RE: Cocoon and threads

2001-06-01 Thread Antonio Parolini
I think this beaviour was given by IE. I made the test on the same machine using dfferente IE sessions... Sorry about this... The page seems now to be synchronized... - Tony > -Original Message- > From: Antonio Parolini [mailto:[EMAIL PROTECTED]] > Sent: sexta-feira, 1 de junho de 200

installing C2 on Tomcat 3.2.1, parser

2001-06-01 Thread Götz Botterweck
Sorry if this is a FAQ, I'll make it short: Downloaded C2a7 via cvs built cocoon.war as described in INSTALL copied cocoon.war to %TOMCAT_HOME%\webapps TRIAL1 started tomcat when requesting http://localhost:8080/cocoon/ I get org.xml.sax.SAXException: Could not get valid parserNamespace not supp

Cocoon and threads

2001-06-01 Thread Antonio Parolini
Hi there, Let's think about the following XSP page accessed by two users in the same time: String sName = session.getAttribute("name") ; [...] Welcome sName In concurency tests I made, sometimes, users don't see their own name on the browser! One c

cocoon-process

2001-06-01 Thread [EMAIL PROTECTED]
I'm using Cocoon1.8.2 on tomcat I want to know if i'm right! (good understanding) Imagine you've got a very very complex xsp page that need : to look in a db, to see which file to load, to look inside another field of db,to ... So a very complex xsp page with a lot of cascading tag (xsp, esql,...

Re: init() and destroy() in XSP

2001-06-01 Thread Matthew Cordes
There is no init method, i'm just suggesting: int initialized = 0; if ( initialized == 0 ) { // do init stuff here initialized = 1; // this block will never be reached again. } Hope this helps. Perhaps someone else has another idea? -matt - Origi

Re: C2 and Resin

2001-06-01 Thread Robert O'Brien
Hi Rick You sent a reply to wrong mail :( I'm using cocoon 1.8.2 -robert- --- Rick Tessner <[EMAIL PROTECTED]> wrote: > On Fri, 01 Jun 2001 15:16:10 +0400, "Grigory V. > Manushkin" wrote: > > >Hello > >sorry for disturb > >i try to launch C2a7 on Resin 1.3 snap > >as u describe in ur message on

Re: C2 and Resin

2001-06-01 Thread Robert O'Brien
Hi Rick You sent a reply to wrong mail :( I'm using cocoon 1.8.2 -robert- --- Rick Tessner <[EMAIL PROTECTED]> wrote: > On Fri, 01 Jun 2001 15:16:10 +0400, "Grigory V. > Manushkin" wrote: > > >Hello > >sorry for disturb > >i try to launch C2a7 on Resin 1.3 snap > >as u describe in ur message on

Re: C2 and Resin

2001-06-01 Thread Rick Tessner
On Fri, 01 Jun 2001 15:16:10 +0400, "Grigory V. Manushkin" wrote: >Hello >sorry for disturb >i try to launch C2a7 on Resin 1.3 snap >as u describe in ur message on cocoon mailing list >but i get this I personally haven't tried the Resin 1.3 yet. But from the stack trace you provided, it looks l

RE: Logicsheets tags in private logicsheet

2001-06-01 Thread Jaroslaw Kutylowski
Hi Aurelien Another solution could be telling cocoon to parse the esql stylesheet the hard way: . This requires of course putting the esql.xsl into the directory where dicolx.xsl is located (you can find esql.xsl somewhere in the sources for cocoon), but i think it provides better reusability tha

Re: Logicsheets tags in private logicsheet

2001-06-01 Thread paint007
Aurélien, this should work (I do it frequently). You need to declare the esql namespace in both your logicsheet and in any XSP programs that use your logicsheet (even if they do not use esql directly). -Christopher Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject:

xsp-encoding - how it doesn't work

2001-06-01 Thread Mariusz Pliszka
Hi, I've got Resin 1.2.2 with Cocoon 1.8.2 installed on Linux machine. I've created an xml page, where some data are static and some are retrieved from mySQL db with XSP. I've set utf-8 encoding in tag in xml and xsl files. When I run the page in a web browser, I can see national characters from

Re: Process Flow(060101) for Cocoon 1.8 URL Error

2001-06-01 Thread Denny
Still bad link. sorry. keep up the good work. and if I may suggest...ck out ARGOuml.org you'll find a very cool UML tool there... ciao denny [EMAIL PROTECTED] wrote: > > Hi, > > First of all, I would like to apologize that the last mail ( posted at > 5/13/10 9:02 a.m.) had an error in the URL

Logicsheets tags in private logicsheet

2001-06-01 Thread Aurelien DEHAY
Hello. I'am writing my own logicsheet for a little news engine. I want to have some tags to make SQL queries, so I write something like that in my logicsheet file: dicolx ** QUERY ** ** RESULTS **

RE : ESQL and 'lock'ing tables for exclusive access

2001-06-01 Thread Luis Gois
  Matt :   I'm using Informix as my DBMS, but I'm stuck with the format of a database already created and populated, in which we have a column with a unique identifier, which gets incremented before each row insertion ( 'MAX(column-to-be-inc) + 1' on my INSERT statement). So those autoincrem

Process Flow(060101) for Cocoon 1.8 URL Error

2001-06-01 Thread kokchoon
Title: Hi, First of all, I would like to apologize that the last mail ( posted at 5/13/10 9:02 a.m.) had an error in the URL for the process flow of Cocoon 1.8. I would like to thank Deny([EMAIL PROTECTED]) for highlighting my mistake. 1) Reason / Introduction I am a new u

RE: init() and destroy() in XSP

2001-06-01 Thread Csaba Nagy
Overloading "finalize" will not work because the JVM is not forced to call this method immediately when the class becomes eligible to garbage collection (in fact it might not call it at all). So you might end up with your clean up code not executed before the page is reinitialized, or even not exe

RE: pl reply asap

2001-06-01 Thread Sriram
Hi, I think u need to create the directorys in the following format: C:\tomcat\webapps\cocoon\web-inf In this web-inf u need to place the web.xml,cocoon.properties.In web.xml file goto init parameters tag,change conf to WEB-INF directory.because u already copied the cocoon.prop

Re: enabling validation of XML files 4 XML Schema

2001-06-01 Thread Ulrich Mayring
Christian Parpart wrote: > > So, what do I need to use .xsd's? Xerces 1.4 Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung - Please check that your question has not already been answered in the FAQ before posting.