RE: Out of memory with JDK

2001-08-28 Thread Chris Newland
Hi Stephan, I'm using Tomcat 4.0-b6 as my servlet container so I set the CATALINA_OPTS variable in the /bin/startup.sh script: CATALINA_OPTS=" -Xms128m -Xmx128m " as this environment variable is used to set the VM parameters when tomcat starts: java $CATALINA_OPTS ... If you are using a diffe

Q: restricted access possible?

2001-08-28 Thread Enke Michael
Hi, is it possible to restrict the access to a cocoon site or parts of the site by the IP address of the originating request? E.g. as parameter to sitemap.xmap? Regards, Michael - Please check that your question has not already

Q: DB-password clear text?

2001-08-28 Thread Enke Michael
Hi! Is there a possibility or would it be easy to implement to have the DB password encrypted in some kind (in *.xsp or cocoon.xconf)? This doesn't mean a state of the art encryption (too complicated!?), but only that not everybody can have direct access to the database. Regards, Michael ---

[c2] jdbc connection problem

2001-08-28 Thread Christoph Kliemt
Hi! I still have problems connecting a postgres database. ("Could not get the datasource java.sql.SQLException: You cannot get a Poolable before the pool is initialized") Driver is loaded ok; database is connectable (tested with a small java-program without the use of cocoon), config shoul

Re: MacRoman text encoding and C2

2001-08-28 Thread Fulvio Picecchi
Don't really know if Cocoon2 supports MacRoman, but when composing XML docs it would be always better to _not_ use a platform-dependent encoding like MacRoman (Mac) or Cp1252 (Windows). If you try writing something like this in MacRoman <> a PC user would see <>. In general the best way would

Re: MacRoman text encoding and C2

2001-08-28 Thread Jesse Reynolds
Thanks Fulvio for your kind thoughts. I'm fully aware that it would be much better if our database could send out UTF-8, but that's alot of work that I'd rather not do. Cocoon1 has been doing a perfect job of understanding MacRoman to date, it would seem a great pity to have lost this functionali

Re: One More Cocoon Powered Website!

2001-08-28 Thread Gritsenko
James, If you care at all for my advice, then In your RTF reports: Make headings font 3 times smaller; When one or more tables follow each other and all of them are short enough to fit on one page, they are placed on the same page. Viktor - Original Message - From: "James Y. Wilson"

Re: Can't run under JBoss2.4/Tomcat3.2.3 (org.xml.sax.SAXNotSupportedException)

2001-08-28 Thread Gianugo Rabellino
On Mon, Aug 27, 2001 at 04:15:36PM -0400, [EMAIL PROTECTED] wrote: > > Hi, > > I'm trying to get Cocoon2b2 going with the JBoss2.4/Tomcat3.2.3 bundle. To > the best of my knowledge I followed the Cocoon install instructions for the > JBoss2.2.2/Tomcat3.2.2 bundle to the letter, but am getting t

FOP Upgrade with cocoon

2001-08-28 Thread Sébastien Lefebvre
Hi, I use FOP 0.15 coming with cocoon 1.8.2 I want to upgrade to 0.19 I plan to simply put the FOP 0.19 jar into $TOMCAT_HOME/lib and restart tomcat. What kind of problem can occur ? Thanks a lot for your help Sébastien -

Re: [c2] jdbc connection problem

2001-08-28 Thread Berin Loritsch
Christoph Kliemt wrote: > > Hi! > > I still have problems connecting a postgres database. > ("Could not get the datasource java.sql.SQLException: You cannot get > a Poolable before the pool is initialized") > > Driver is loaded ok; database is connectable (tested with a small > java-progra

Re: [c2] jdbc connection problem

2001-08-28 Thread Arnaud Vandyck
Date: 28 Aug 2001 12:11:02 +0200 From: Christoph Kliemt <[EMAIL PROTECTED]> > Hi! > > I still have problems connecting a postgres database. > ("Could not get the datasource java.sql.SQLException: You cannot get > a Poolable before the pool is initialized") > > Driver is loaded ok; database

Re: MacRoman text encoding and C2

2001-08-28 Thread Fulvio Picecchi
Sorry Jesse, I didn't know that C1 supports platform dependent charset encodings ... Anyway, if you'll ever need to do this conversion maybe this tools can help you: - Francois Pinard has written "recode" for Linux/Unix: http://www.iro.umontreal.ca/contrib/recode/ - But I think you already have

Bugs and problems with C2

2001-08-28 Thread Andrew Answer
Hello cocoon-users, I use C2b2 on Resin-2.0.1/jdk1.3/Win98/Celeron 500/256Mb PC-100 DRAM already several months (earlier I use C2b1). And I have many troubles with this engine. First, XInclude doesn't work with XML and XSP. It always produce NullPointerException [java.lang.NullPointerEx

Re: MacRoman text encoding and C2

2001-08-28 Thread Jesse Reynolds
Thanks Fulvio Looks like the JDK's native2ascii is what I want, only i'd need to make my own Generator out of it or something in order to perform the translation live, yeah? And that scares me! Do you think a Generator is the right way to go here? (That basically does the same as the xml fil

Re: [c2] jdbc connection problem (solved)

2001-08-28 Thread Christoph Kliemt
Hi! Problem solved: DEBUG (2001-08-28) 16:29.20:649 [cocoon ] (Unknown-URI) Unknown-thread/AbstractPool: org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated. The password property is missing. It is mandatory. cocoon.xconf had an empty password... i provid

Re: MacRoman text encoding and C2

2001-08-28 Thread Piroumian, Konstantin
Maybe another solution will be to post a message to Xerces or Xalan Dev mail list with your problem? If C1 supports that encoding then I think that Xerces/Xalan does the job and there must be either a reason that support was removed or they simply didn't add it at all until somebody will ask them

RE: [c2] jdbc connection problem (solved)

2001-08-28 Thread Klaus Bertram
Hi christoph I work also with pooling but on mySQL without a password and it works fine! Klaus > -Original Message- > From: Christoph Kliemt [mailto:[EMAIL PROTECTED]]On Behalf Of > Christoph Kliemt > Sent: Tuesday, August 28, 2001 4:35 PM > To: [EMAIL PROTECTED] > Subject: Re: [c2] jdb

Re: MacRoman text encoding and C2

2001-08-28 Thread Fulvio Picecchi
Well, I'm really sorry but I can't really help you 'cause I'm absolutely new to Cocoon. I'm just learning, for the moment. I come from PHP development and this operation in PHP is done in an extremely fast way with the iconv() function: Docs here: http://www.php.net/manual/en/ref.iconv.php I c

Re: MacRoman text encoding and C2

2001-08-28 Thread Gianugo Rabellino
On Tue, Aug 28, 2001 at 05:19:24PM +0200, Fulvio Picecchi wrote: > $XMLdoc_Latin1 = "Some characters: òàùèéì"; >$XMLdoc_UTF-8= iconv("ISO-8859-1", "UTF-8", $XMLdoc_Latin1); >$XMLdoc_MacRoman = iconv("ISO-8859-1", "MacRoman", $XMLdoc_Latin1); > ?> > Docs here: http://www.php.net/m

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-28 Thread IBrandt
Hi. I think I found the problem... I verified everything you listed. I am using jdk1.4beta. A little fishing around and I realized that Crimson was still being used from rt.jar (http://java.sun.com/j2se/1.4/docs/relnotes/features.html#xmlprocessing)! I tried to use a modified "run.sh" to att

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-28 Thread Gianugo Rabellino
On Tue, Aug 28, 2001 at 11:52:44AM -0400, [EMAIL PROTECTED] wrote: > I verified everything you listed. I am using jdk1.4beta. A little fishing > around and I realized that Crimson was still being used from rt.jar > (http://java.sun.com/j2se/1.4/docs/relnotes/features.html#xmlprocessing)! Argh

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-28 Thread Nicolai P Guba
On 28 Aug 2001 19:04:36 +0200, Gianugo Rabellino wrote: > On Tue, Aug 28, 2001 at 11:52:44AM -0400, [EMAIL PROTECTED] wrote: > > I verified everything you listed. I am using jdk1.4beta. A little fishing > > around and I realized that Crimson was still being used from rt.jar > > (http://java.sun.

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-28 Thread IBrandt
Hi, > Argh. Cygwin, Cocoon 2, JDK 1.4 beta... now *this* is what I > call bleeding edge :)) Yeah, I'm just having fun checking out what's coming down the pipe. ;-) I tried jdk1.3.1 without specifying the javax.xml.parsers.DocumentBuilderFactory and javax.xml.parsers.SAXParserFactory propertie

Re: A successful story about Cocoon C2b2

2001-08-28 Thread Walter G. da Cruz
Kris: Thank you for your support. I don't know much about SVG to answer your question, but I hope I can help you installing Cocoon in case that you need it. Thank you, Walter K wrote: > HEY!!! Congrats on your install!! :-) > looks good, and your email may ha

cocoon: class not defined error

2001-08-28 Thread Raghavan srinivasan
hello I run Tomcat-3.2.3 and installed Cocoon2.0b1. I did build and moved over the coccon.war file to webapps dir of Tomcat. Then I restarted the Tomcat and tried http://localhost:8080/coccon. I get the folowing class not defined error, could you help me which jar file i am missing in my CLASSPATH

Re: Q: DB-password clear text?

2001-08-28 Thread Martin Man
On Tue, Aug 28, 2001 at 11:21:45AM +0200, Enke Michael wrote: > Hi! > Is there a possibility or would it be > easy to implement to have the DB password > encrypted in some kind (in *.xsp or cocoon.xconf)? as long as the direct JDBC connection requires plaintext passwords (and yes all existing JDBC

Re: Can't run under JBoss2.4/Tomcat3.2.3

2001-08-28 Thread Gianugo Rabellino
> Hmmm, on Jboss 2.4 with latest coccon-2 build and IBM jdk1.3 I get this > little surprise: > > java.lang.InternalError: Can't connect to X11 window server using ':0.0' > as the value of the DISPLAY variable. > Why on earth does this thing want to connect to an X-server? Anybody > got a fix for

How do you create dynamic XML content under Cocoon?

2001-08-28 Thread Tim Darling
Sorry if this is easily answered, or has been answered many times but I couldn't find any answers in the mailing list logs. I have Tomcat serving *.xml files through Cocoon ok. If I add <%@ page language="java" %> to the top of the .xml pages, I get a Cocoon error so apparently I

Another successful story about Cocoon C2b2 (with Tomcat4 on W2KPro)

2001-08-28 Thread Bernie Lee
hi all. after a few days of messing around trying to get C2 working with tomcat 3.2.2 and 3.2.3 to no avail (i kept getting SAX and sitemap errors on all 3 machines i tried - 2 at work and 1 at home), i've finally managed to install C2 successfully. i think the problem is with T3. so... i decide

Re: Another successful story about Cocoon C2b2 (with Tomcat4 on W2KPro)

2001-08-28 Thread Matt Jezorek
I am getting these same errors Tomcat 4 fixed these problems? from what i gather? - Original Message - From: "Bernie Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 11:18 PM Subject: Another successful story about Cocoon C2b2 (with Tomcat4 on W2KPro) > hi

RE: Another successful story about Cocoon C2b2 (with Tomcat4 on W2KPro)

2001-08-28 Thread Bernie Lee
yeah. T4 installation was suprisingly seamless and C2 ran on the first try... -Original Message- From: Matt Jezorek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:30 AM To: [EMAIL PROTECTED] Subject: Re: Another successful story about Cocoon C2b2 (with Tomcat4 on W2KPro

Re: One More Cocoon Powered Website!

2001-08-28 Thread Bertrand Delacretaz
On Tuesday 28 August 2001 08:06, Derek Hohls wrote: > > Neat site! Out of interest... which process did you use to produce the > .rtf file report? Shameless plug: jfor, an Open-Source XSL-FO to RTF converter, could be used for this. It doesn't have a Cocoon 2 adaptor yet, but implementing one

timestamps in log !

2001-08-28 Thread Sumit Ranjan
hi ! can anybody please tell me how can i put timestamps in my log entries( in the std. format ! ) ? thanx , Sumit Ranjan - Please check that your question has not already been answered in the FAQ before posting.

DB-password clear text - what alternatives?

2001-08-28 Thread Derek Hohls
Please expand on the hints below... there are few areas that are not clear to me yet - at the moment all my passwords are stored in the xml file that makes the calls to the db  e.g.     String DBPass = "password"; ...   DBPass   and I am worried that as the xml file is readable (normally, i

Re: DB-password clear text - what alternatives?

2001-08-28 Thread Bertrand Delacretaz
On Wednesday 29 August 2001 08:21, Derek Hohls wrote: > What is a ' localhost loopback' I assume that means connecting to the same host using "localhost" (with Cocoon and DB running on the same server). Most (hopefully all) network stacks will in such case send IP packets "internally" without

Cocoon2 + SSL.

2001-08-28 Thread jose . camacho
I use Tomcat with Cocoon2. But now i need SSL. I've tried with tomcat but i can't. Someone can tell me how to do it properly. I've done all with tomcat papers but it doesn't work well. Some questions: 1) is 8443 is the port to get into.? 2) How can i access

Re: How do you create dynamic XML content under Cocoon?

2001-08-28 Thread Piroumian, Konstantin
> > Sorry if this is easily answered, or has been answered many times but I > couldn't find any answers in the mailing list logs. For dynamic XML content Cocoon uses XSP (eXtensible Server Pages). Look at the C2 site: http://xml.apache.org/cocoon2 and you will see a lot of links to XSP stuff. If

How to use Jfor with Cocoon 1.8.2 ?

2001-08-28 Thread Sébastien Lefebvre
Hi, I'd like to use jfor in order to produce RTF file format. The last version of jfor runs on FOP 0.19. Cocoon 1.8.2 comes with Fop 0.15 FOP 0.19 also runs with newer version of Xerces and Xalan. What do I have to do in order to upgrade the FO processing part of Cocoon 1.8.2? Thanks Sébastie