Name Resolution

2002-07-25 Thread Peter Schwenke
In Tomcat 4.x I've seen an "enableLookups" attribute on some of the connectors can set in server.xml. Setting it to false would stop what you're seeing. I've had a look in my old 3.2.1 config and don't see anything similar. A longshot and probably not the correct approach...The DNS timeouts mig

RE: aggregation questions

2002-07-18 Thread Peter Schwenke
I had a look at this quite a few weeks ago when I was looking to do some aggregation where the 's were different web sites. I trawled the archive and found the patch referred to in bug 10208. In the http case it is more difficult to solve because the exception was further down. You can't easil

Re: Barf on JSPGenerator on Hello.jsp (HELP!)

2002-06-05 Thread Peter Schwenke
Nothing springs to mind in that. There is an exception somewhere which is not displaying. You might need to make sure that you have DEBUG level logging on the JspGenerator. To do so make sure that there is a logger entry in sitemap.xmap for the JspGenerator like in this and then make sur

Barf on JSPGenerator on Hello.jsp (HELP!)

2002-06-04 Thread Peter Schwenke
You'll probably find more info in the log files in cocoon/WEB-INF/logs or, if the JSP has actually run, in your usual catalina.out or wherever your JSP logs are going. ...Peter Rob Kelley writes: > > Hi: > > I'm runn

RE: Very Important: Deploy Servlets in the Cocoon Context

2002-05-22 Thread Peter Schwenke
If you want to run the servlets in your cocoon webapp but not be handled by cocoon just set them up in your web.xml and call them in the usual way. That is just a normal servlet container issue. They are just additional servlets to the cocoon servlet that way. In the system I've been developi

Memory leaks(?)

2002-04-25 Thread Peter Schwenke
I went through this as well. You'll find that Vadim and Lajos' advice is correct. Set the parameters correctly and you'll see it stabilize at a particular size. There is a performance doc in the documentation which describes some of the parameters to set.

Re: special characters for i18n

2002-04-25 Thread Peter Schwenke
I've got the international characters set up a little differently in X (I use Gnome) and find this really really convenient. I generally only use international chracters for testing so this method makes it easy for me to compose the characters I want. I have the following in my .Xmodmap keycod

RE: How to clear the jar_cache files ?

2002-04-17 Thread Peter Schwenke
I've seen it, as well. In fact, having a look, I see it on one of my machines at the moment. [peter@epiphone peter]$ ls -l /opt/tomcat/temp/ total 578 -rw-rw-r--1 root root 587776 Apr 16 12:44 jar_cache62255.tmp I very clearly remember coming across it. My /tmp is small on that

RE: [HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-21 Thread Peter Schwenke
Pipeline = > (EventPipeline)this.manager.lookup(EventPipeline.ROLE); > pipeline = > (StreamPipeline)this.manager.lookup(StreamPipeline.ROLE); > pipeline.setEventPipeline(eventPipeline); > } catch (Exception e) { > getLogger().error("Pro

[HELP]SAXException JspGenerator.generate() - Using Tom Cat 4.0.1 and latest Cocoon build JDK 1.3.1

2002-03-20 Thread Peter Schwenke
Check your cocoon log. They'll be an exception thrown when when your JSP was running. ...Peter Chitharanjan Das writes: > Hello all, > I just synchronized the latest source from archive and deployed > the cocoon and upon in

[HELP]Exception JspGenerator.generate()

2002-03-19 Thread Peter Schwenke
I haven't played with this, but I see you can set your JSP Engine in cocoon.xconf. I checked the source and this is used by JSPEngineImpl.java. ...Peter [EMAIL PROTECTED] writes: > Description:org.apache.c

Re: Correction: [SOLUTION] Cocoon with the Tomcat 4.0.3

2002-03-03 Thread Peter Schwenke
I've also seen this on Cocoon 2.0.1, TC 4.0.1 on RH7.1 kernel 2.4.2-2 and JDK 1.3.1_01. Browser is mozilla is 0.9.7. We all have sufficiently different setups. I didn't see it with TC3.2.1 and Cocoon 2RC2 on the same machine. It will either be Cocoon or Tomcat. I'll try to work it out nex

RE: Images slow, even if not processed by Cocoon

2002-02-19 Thread Peter Schwenke
Are you using a web server with Tomcat? If so, have you tried serving the images from the web server. E.g. in Apache Alias /images /somepath/images and then use /images/imageFile.gif in for your tags. ...Peter Lai, Harry wr

Re: Newbie FAQ (was Re: Just starting COCOON

2002-02-18 Thread Peter Schwenke
Peter Flynn writes: > Peter Schwenke writes: > > There has been discussions on the list that it is better to stick > > with Tomcat 4.0.2 for now. > > (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101363193404329&w=2) > > But that's what I&#

Re: (newbie) virtual host

2002-02-17 Thread Peter Schwenke
If you're using the ajp (mod_jk) connectors and including the generated config in your Apache config you can add this sort of thing to your server.xml ...Peter Cocoon User writes: > > i use apache for the virtua

Re: Newbie FAQ (was Re: Just starting COCOON

2002-02-17 Thread Peter Schwenke
There has been discussions on the list that it is better to stick with Tomcat 4.0.2 for now. (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101363193404329&w=2) That was an error after it started, though. Is the war file OK - Can you do a jar tvf on it? Permissions OK etc

RE: RE: XML --> CSV file download to client

2002-02-17 Thread Peter Schwenke
That approach looks like it would work, well. Another way I have done this in the past on non-cocoon systems is with extra path information in the URL. That is, http://yourhost/somescript/theFile.csv Where some somescript is the servlet, JSP, CGI script or whatever. Internet Explorer And Win

OutOfMemoryError and xsp file size

2002-02-14 Thread Peter Schwenke
If the size of the XSP isn't that big that it is a design issue you might just want to increase the heap size of your JVM. You can set the min/max heap sizes using parameters such as -ms128m -mx256m (depending on your JVM) ...Peter St

RE: in jsp causeing error

2002-02-14 Thread Peter Schwenke
d > you should delete it right away. Servlet.jar provided in the Cocoon with > the only purpose to compile sources. > > Vadim > > > -Original Message----- > > From: Peter Schwenke [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 14, 2002 6:15 P

in jsp causeing error

2002-02-14 Thread Peter Schwenke
I had a similar error calling RequestDispatcher.forward from a servlet and traced it back. I ended up replacing the servlet.jar which came with cocoon by the servlet.jar from Tomcat. Works fine. That was with Tomcat 3.2.1 and Cocoon2.0rc2.

RE: JSP Include and Forward problem

2002-01-31 Thread Peter Schwenke
Hi Vadim Vadim Gritsenko writes: > > From: Peter Schwenke [mailto:[EMAIL PROTECTED]] > > > > > > I've had no problem with including other pages. I've been using the > > old style includes - mainly because we never updated the JSPs to the > &g

JSP Include and Forward problem

2002-01-30 Thread Peter Schwenke
I've had no problem with including other pages. I've been using the old style includes - mainly because we never updated the JSPs to the XML syntax because of an old servlet runner. (I've spent the last few weeks reworking to Cocoon and that is on the list) eg <%@ include file="include/Standar

RE: Cocoon2 and non-English characters in jsp

2002-01-23 Thread Peter Schwenke
Have you put the following in your JSP as the first line of output? ...Peter Vadim Gritsenko writes: > > From: Gasper [mailto:[EMAIL PROTECTED]] > > > > Hello > > > > If I use non-English characters in my jsp's, the

JSPGenerator and redirects

2002-01-21 Thread Peter Schwenke
Hi, I was wondering if anyone has any ideas on handling redirects from JSP pages which are processed by JSPGenerator. JSPGenerator, as expected, parses the output from the JSP. When the result is a redirect, intermittent behaviour - sometimes the redirect gets back to the browser (surprisingly

Cocoon and servlets (MVC)

2002-01-20 Thread Peter Schwenke
Hi, I currently have part of a system working under cocoon. I have some servlets which are called by those pages, working in a different Tomcat context. I would like to bring the two together - mainly for the reason that they use the same session id from tomcat. Since cocoon is a webapp on it'

Ant: JspGenerator and Encoding

2001-12-11 Thread Peter Schwenke
I found the problem. I wasn't actually outputing the from my JSP. Fool! ...Peter - Please check that your question has not already been answered in the FAQ before post

JspGenerator and Encoding

2001-12-10 Thread Peter Schwenke
I omitted a detail...I'm on Cocoon 2.0rc2. Thanks ...Peter - Please check that your question has no

JspGenerator and Encoding

2001-12-10 Thread Peter Schwenke
If I save the following in a file as iso-8859-1 T-t testing 1-2-3! Günther check 1-2 and run it through xerces using a sample test program where the guts contains SAXParserFactory factory = SAXParserFactory.newInstance(); SAXParser parser = factory.newSAXParser();