Weblogic 6.1 sp1 and cocoon2

2001-10-22 Thread Le, Vincent
Title: Weblogic 6.1 sp1 and cocoon2 Hi, I'm quite new with cocoon xml framework.  I was setup and running cocoon 1.8.2 successfully with weblogic server.  I want to move to cocoon 2.0, but get the following error messages.  After doing the build and copy cocoon.war file into applications dir

Re: Catching XMLSerializer O/P

2001-10-22 Thread Shailendra Vasale
hi Sébastien, Thanks for your reply. What I'm trying to do is - I want to save the result which is getting displayed on the browser in a file. So I'm catching the events in XMLSerializer,when I catch the characters event I get the whole document content inside each element.Wh

AW: Generate static HTML with Cocoon

2001-10-22 Thread Jörn Heid
The problem of those web spiders is using of dynamic links (e.g. via JavaScript or Flash). I'm currently developing a little tool on top of Cocoon which generates static content via a mapping xml file. There you can define all of your urls and their dependencies to xml and xsl files. So if you ch

Re: Generate static HTML with Cocoon

2001-10-22 Thread Bertrand Delacretaz
On Tuesday 23 October 2001 08:12, Holger Danske wrote: > We want to use Cocoon to generate static HTML. wget (www.gnu.org/software/wget), a command-line utility, is very good at creating static versions of dynamic web sites. -- -- Bertrand Delacrétaz, www.codeconsult.ch -- web technologies

AW: Generate static HTML with Cocoon

2001-10-22 Thread Jörn Heid
In one of my projects I used a web spider (OfflineExplorer) to get a static copy of my webserver. Second possibility: Write your own transformer (or serializer) which saves the output to a file. There might be more. Hope this helps. JOERN_HEID -Ursprüngliche Nachricht- Von: Holger Dans

Generate static HTML with Cocoon

2001-10-22 Thread Holger Danske
Hello Cocoon-User. We want to use Cocoon to generate static HTML. Bachground: Our customer don't want to work with Cocoon, but we want. So we want to use Cocoon for our work and generate the HTML for the customer. Is there an possibiltity to do that with Cocoon. TIA JD __

cocoon2 - problem with REDIRECT

2001-10-22 Thread sergi
i would like to redirect to other url, in case if someone requests uri with wrong parameters... this will be the way of validation of request parameters... which is the best way to do? in sitemap or in my .xsp... and, ofcourse, how? please help...

cocoon2 jakarta-4.0.1 on redhat7.1 sitemap error

2001-10-22 Thread Truong,Hoang C.
Hi, I am a newbie to this cocoon. I have problem access cocoon page on my redhat 7.1 linux box. I did the same thing for window 2000, and it worked. Here are my linux box conf info: - redhat 7.1 - jakarta-tomcat-4.0.1 - cocoon-2.0b1 - jdk1.3.1 from SUN Can anyone help me to fix this problem?

Re: Fastest Platform (softwarewise)?

2001-10-22 Thread Phil Blake
Hi, We run apache/tomcat/cocoon on 3 server platforms, Linux, AIX and MacOS X. Linux on a dual PIII 550, OSX on a PPC-G4 450 and AIX on a 4x250MHz PPC-G3. Bang for buck, a G4 running OSX wins hands down. However, believe it or not, the dual PIII comes in second (AIX don't come close... too

RE: [C2] Howto ... IF in sitemap ...

2001-10-22 Thread SANSONE, AARON M [Non-Pharmacia/1000]
Eduardo, Actions work within a block structure. If the action itself returns NULL, then the action fails and the tags within the action block are not processed. You can use this to create a type of IF logic such that IF the action fails (returns NULL) then the code within the block structure ex

RE: [C2] Howto ... IF in sitemap ...

2001-10-22 Thread Eduardo Godoy Vega
What I'm doing wrong ? here is my sitemap http://apache.org/cocoon/sitemap/1.0";>

Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Skladov, Victor
Hello friends! I use Tomcat 4.0.1, Cocoon 2 on Linux (SuSe 7) and try to get a connection to Oracle 8.1.6 DB, which is located on another server. SuSe server has no Oracle-Client installed. I've made the folllowing entries in configuration files: In cocoon.xconf: oracle:jdbc:t

Re: AW: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Berin Loritsch
"Skladov, Victor" wrote: > > Thanks Berin! > > But why does it run with Java-Application? > If there had been something wrong with the username,password, port etc, > it would not have run with Java too or am I wrong? Do I have to install > the Oracle-Client on the Server? The Java Application i

Re: Using Custom Component in Cocoon2

2001-10-22 Thread Berin Loritsch
Alexander Smirnoff wrote: > > O-o, I've missed the wall... Sorry for stupid question... > > But I have possible candidate for another one: > > In my application I have heavily relly on database connection pool. I've > look into xsp esql file and see that the way you get Database Connection is

Re: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Russell Castagnaro
Hello Victor, The url you are using is wrong! try: jdbc:oracle:thin:@server.his.de:1521:mydb ;) Monday, October 22, 2001, 6:00:38 AM, you wrote: SV> Hello friends! SV> I use Tomcat 4.0.1, Cocoon 2 on Linux (SuSe 7) and try to get a SV> connection to Oracle 8.1.6 DB, which is located on ano

Re: [C2] Howto ... IF in sitemap ...

2001-10-22 Thread Sylvain Wallez
Eduardo Godoy Vega a écrit : > > Hi, > I want to use some kind of "IF-ELSE" into sitemap... > > right now, I have this code ... > > > > > > > > > > > > > > > "unveil_result" is a number returned by my action, and I want to choose a > different XSP page if unveil_result is

AW: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Skladov, Victor
Thanks Berin! But why does it run with Java-Application? If there had been something wrong with the username,password, port etc, it would not have run with Java too or am I wrong? Do I have to install the Oracle-Client on the Server? Regards, Viktor -Ursprungliche Nachricht- Von: Berin

RE: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Luca Morandini
Viktor, it may be silly, but... Since, your DBURL is: oracle:jdbc:thin:@server.his.de:1521:mydb I wonder whther mydb is the correct name of the Oracle instance you want to use. Best regards, - Luca Morandini

RE: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Gapinski, Gary (GEL, MSX)
The errors you mention in your original message seem to indicate that the Oracle JDBC driver is not being found. I have only had success (in the Tomcat environment) when I renamed classes12.zip to classes12.jar and placed the renamed file in the CATALINE_HOME/common/lib directory (as I have other

Pb installing cocoon2 : javax TransformerException

2001-10-22 Thread LEUZINGER Claude (DSIT-EX)
Hello, I try to install the version 2.0rc1a of cocoon 2 with tomcat 3.2.2. and windows NT4.0. I have a javax.xml.transform.Transformer exception when i access the URI 'http://localhost:8080/cocoon/'. (it works well with the previous version of cocoon 2.0b1) Thanks in advance, Claude.

AW: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Skladov, Victor
Hello Gary! The problem seems to be not with loading of the driver itself - it has been loaded. The problem. I think, is with DB URL - Cocoon seems not to like my URL - or with something else. Any idea? Thanks, Viktor -Ursprüngliche Nachricht- Von: Gapinski, Gary (GEL, MSX) [mailto:[EMA

Re: Using Custom Component in Cocoon2

2001-10-22 Thread Alexander Smirnoff
O-o, I've missed the wall... Sorry for stupid question... But I have possible candidate for another one: In my application I have heavily relly on database connection pool. I've look into xsp esql file and see that the way you get Database Connection is via DataSourceComponent select method. So

Re: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Berin Loritsch
"Skladov, Victor" wrote: > > I tried the connection also with Java-Application on the same server and > it runs! > I don't know what else I must do. Has anyone already experienced this or > has any idea or suggestions? > I would be very grateful for your help! When I originally wrote the connect

[C2] Howto ... IF in sitemap ...

2001-10-22 Thread Eduardo Godoy Vega
Hi, I want to use some kind of "IF-ELSE" into sitemap... right now, I have this code ... "unveil_result" is a number returned by my action, and I want to choose a different XSP page if unveil_result is zero or if unveil_result equal one or if unveil_result is bigger than on

RE: Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Gapinski, Gary (GEL, MSX)
While I have not tried locating the renamed classes12 file in WEB-INF/lib directory, I have used it successfully when it is placed in the CATALINA_HOME/common/lib directory. - Please check that your question has not already been

Help! Cocoon 2: Problem with connection to remote Oracle DB

2001-10-22 Thread Skladov, Victor
Hello friends! I use Tomcat 4.0.1, Cocoon 2 on Linux (SuSe 7) and try to get a connection to Oracle 8.1.6 DB, which is located on another server. SuSe server has no Oracle-Client installed. I've made the folllowing entries in configuration files: In cocoon.xconf: oracle:jdbc:t

C2: FO example with XML file

2001-10-22 Thread Mark S. Kent
I'm migrating from my C1 tests to C2 and attempting to get my previously working FO (PDF) examples to work. I had a namespace defined in my C1 file that the C2 serializer doesn't like: code: http://www.w3.org/1999/XSL/Transform";> error: FOTreeBuilder: Unknown formatting object http://www.w3.or

Re: where is context.setAttribute?

2001-10-22 Thread Sylvain Wallez
Paolo a écrit : > > How can we set context attributes with cocoon2? Why did the authors > implement getAttribute function but not the setAttribute? > > ByeBye, > Paolo Scaffardi > AIRVENT SAM S.p.A. > This feature has recently been added and will be part of the next release. If you need it no

RE: Re[2]: [C2] Accessing CLOBs as Documents

2001-10-22 Thread Marty McClelland
> Hmm.. So ar you saying that if my clobs didn't have the " version="1.0" encoding="UTF-8"?>" then get-xml would work? Removing the top PI worked for me - and it makes sense after thinking about it since it is only valid when it is the first line in the document. When the get-xml is executed, th

Re: about sitemap

2001-10-22 Thread Martijn Bouterse
sergi wrote: > > is there any relyable documentation about sitemap tags You can find some information in the official Apache Cocoon 2 documentation. This documentation isn't updated very often. Better try the documentation that comes with the Cocoon 2 distribution. If you've downloaded the sour

Re: majix and teixlite

2001-10-22 Thread Rupert Barrow
Hi, For RTF conversion, take a look at RTF2FO from NovoSoft (the guys at the heart of UML in ArgoUML) : http://www.novosoft-us.com HTH, Rupert le 18/10/01 11:35, florentmom à [EMAIL PROTECTED] a écrit : > Hi, if someone used majix to convert rtf to xml with the teixlite dtd, can > you send me

RE: Problems during cocoon2 installation

2001-10-22 Thread Luca Morandini
Hi Folks, I apologize to all of you, ,y previouse message was meant to be sent to the private address of Alessandra, hence the use of Italian and HTML... sorry for this. Best regards, - Luca Morandini GIS Consultant

RE: Problems during cocoon2 installation

2001-10-22 Thread Luca Morandini
Alessandra,       dovrebbe essere incluso nella distribuzione di Red-hat, oppure scaricabile dal loro sito all'indirizzo:   http://www.redhat.com/swr/i386/XFree86-Xvfb-4.0.3-5.i386.html   Ciao,   -   Luca Morandini   GIS Co

RE: Second run error

2001-10-22 Thread SebRose
Is this the 'locked DB problem' as describe in the FAQ? Edit webapps/cocoon/web-inf/db/cocoondb.properties and set modified=no Seb -Original Message- From: Mark S. Kent [mailto:[EMAIL PROTECTED]] Sent: 22 October 2001 14:24 To: [EMAIL PROTECTED] Subject: RE: Second run error Kenny, N

AW: about map:action and about sitemap

2001-10-22 Thread Jörn Heid
http://xml.apache.org/cocoon2/ -Ursprüngliche Nachricht- Von: sergi [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. Oktober 2001 15:35 An: [EMAIL PROTECTED] Betreff: about map:action i'm not sure what this does... is anyone there who could explain me... --

about sitemap

2001-10-22 Thread sergi
is there any relyable documentation about sitemap tags - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED

about map:action

2001-10-22 Thread sergi
i'm not sure what this does... is anyone there who could explain me... - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail:

Re: Problems during cocoon2 installation

2001-10-22 Thread Alessandra Donnini
Luca, do you know where I can find Xvfb (that is the pseudo-X-server to install in place of a real one)? Thank a lot Alessandra DonniniSmarten Software Spa - Original Message - From: Luca Morandini To: [EMAIL PROTECTED] Sent: Monday, October 22, 2001 12:59 PM Subject

RE: cocoon-disable-caching instruction

2001-10-22 Thread Vincent
hi and thanks for your response, but with that solution i will have no more cache at all.. And cocoon will "die" under requests :-( >Hi Vincent: > > You can try with this sentence in cocoon.properties. > > >#uncomment this to disable ALL page caching >cache = org.apache.cocoon.cache.NoCac

RE: Second run error

2001-10-22 Thread Mark S. Kent
Kenny, Not really a solution, but I've seen the same error. It went away when I deleted the cocoondb.backup file in the WEB-INF\db folder. I've only seen it again once or twice and solved it with the same solution. Mark -Original Message- From: Kenny Chow [mailto:[EMAIL PROTECTED]] Se

Re: HELP for Cocoon2 and Unix

2001-10-22 Thread Lajos Moczar
Comment out the 3 svg* serializers from the section and the pipeline entries that use those serializers. Lajos galatea.com Andreas Grünhagen wrote: > Hello, > when I start cocoon2 (with Tomcat 3.3 Beta 2) under Linux or Solaris it > always tries to establish a connection to a running XServer

HELP for Cocoon2 and Unix

2001-10-22 Thread Andreas Grünhagen
Hello, when I start cocoon2 (with Tomcat 3.3 Beta 2) under Linux or Solaris it always tries to establish a connection to a running XServer. How can I avoid this ? thanks in advance andreas - Please check that your question ha

Re: Using Custom Component in Cocoon2

2001-10-22 Thread Berin Loritsch
Alexander Smirnoff wrote: > > Hi, > > I have made custom Component and trying to access it from XSP file. It seems > that it passes OK all main steps of > composition/configuration/initialization, but somehow at the end I getting > the next exception: The most basic reason of all. Your compon

RE: cocoon-disable-caching instruction

2001-10-22 Thread Jose de Miguel
Hi Vincent: You can try with this sentence in cocoon.properties. #uncomment this to disable ALL page caching cache = org.apache.cocoon.cache.NoCache I hope you be able to solve the problem with it. Jose de Miguel Madrid España e-mail : [EMAIL PROTECTED] -

cocoon-disable-caching instruction

2001-10-22 Thread Vincent
Hi, I'm using cocoon 1.8 with tomcat 3.2. I've got an xsp which retrieve the date.. But the xsp is in cache ! So i've often have the date of three or four days ago..! not so cool ! Anyone knows how to avoid this ? I've tried but, with no success ! Thanks fo help ! Vincent Majer http://www.med

Cocoon 1.8 + Tomcat 3.3 + IIS 5 ?

2001-10-22 Thread thorsten . sommer
Please, I need help: Could someone tell me, how to install Cocoon 1.8 + Tomcat 3.3 + IIS 5? Thanx Thorsten - Please check that your question has not already been answered in the FAQ before posting.

Java interpreter dies running samples

2001-10-22 Thread SebRose
System: Windows NT 4 SP6 JDK: 1.2.2 Tomcat 3.2.3 (standalone) - modified as per Coccon instructions Cocoon 2.0 rc 1a - built using '.\build.bat -Dinclude.webapp.libs=yes -Dinstall.war={path-to-webapps-dir} install' and placed in webapps folder. IE 5.00.2919.6307CO Tomcat starts up fine, and the te

RE: Problems during cocoon2 installation

2001-10-22 Thread Luca Morandini
Alessandra,       there is a FAQ entry about Cocoon giving an error like this when X11 is not running. It is Batik that expects X11 to be in place, but there is a workaround for this nuisance, as described in the FAQ.   Best regards,   - 

Problems during cocoon2 installation

2001-10-22 Thread Alessandra Donnini
Hi people, I need help because I don't know how to start!   Our configuration is: Linux redhat 6.2 Apache 1.3.20 jakarta-tomcat-3.2.3 Cocoon 2   When we try to start cocoon2 for the first time the browser shows this message "the sitemap handler's sitemap is not available". Looking for the rea

RE: Reloading Cocoon2 / Custom Generator

2001-10-22 Thread Karl Oie
i am not sure if the SimpleClassLoader can load from jars, but if it can it could work, the classloader is the object that actually gets classes from disk to the jvm, so if the SimpleClassLoader can load the classes from a jar, then it should work. please tell me if you can find a Classloader tha

Re: cocoon2 generator implementation query

2001-10-22 Thread Laurens M. Fridael
Hi, Here are my thoughts. For the sake of convenience you should derive your Generator from "AbstractGenerator" (or any of its descendants). The protected field "contentHandler" lets you send SAX events down the pipeline. The protected field "source" represents the URI according to the mapping

Re: Anyone using Castor with Cocoon2

2001-10-22 Thread Frank Taffelt
Hi, yes, you can place all your castor stuff (castor.jar, ...) right into cocoon/WEB-INF/lib directory. After that you can include and use castor like a normal library. hth, frank - Please check that your question has no