RE: Tomcat and Ultradev produced pages. response.sendRedirect problem.

2001-09-19 Thread Danny Angus
Actually you can alter and wildly extend the behaviour (and develop plug-in type new functionality) from that which ships with Ultradev, I suggest you look in on http://www.macromedia.com/support/dreamweaver/extend/form/ where you can sign up for a closed news group where you'll get good advice, a

RE: Getting a Verisign certificate

2001-09-19 Thread Danny Angus
-BEGIN PGP MESSAGE- Version: PGPfreeware 7.0.3 for non-commercial use qANQR1DBwU4DmdiwY0SOCJsQB/9AzkQbYFbwdN4Ysx6WLS6/FC+HOa+LaUE+uufW se8IJ93Hg9ev+pIaF8TNVudhq/uE5RUcNyQRzovIfYRQ5Co6h7glU1KjpMRS829w H5aHcY+ADF2C52aIRfCNkJ8RGKfbCImB+qydXW6KFjhgsSQ0Kh9AXpUhGR+VFHlq K

RE: web.xml and servlet mapping problem.

2001-09-13 Thread Danny Angus
> IMPORTANT! This message has been blind-carbon-copied to you. > Do not reply-to-all or forward it without the author's permission. Please *dont* send me mail off-list like this. I will *never* respond. (well ok just this once then!)

RE: Tomcat memory-leak problem

2001-07-12 Thread Danny Angus
I had this trouble, some of it is due to not closeing, and destroying everything, some is due to sessions living too long. The best thing to do is make sure you are using hotspot (-server JVM option for sun's Linux distro) this will quickly fix all leaks not due to your code, as it beefs-up

RE: Cartes Offertes

2001-05-18 Thread Danny Angus
UNSUBSCRIBE dont send me any more mail -Original Message-From: Nicolas Dulion [mailto:[EMAIL PROTECTED]]Sent: Friday, May 18, 2001 8:46 AMTo: [EMAIL PROTECTED]Subject: Cartes Offertes   Imprimerie - Objets Promotionnels - VĂȘtement

RE: How tomulti thread a servlet

2001-05-14 Thread Danny Angus
I'm nervous about airing my own ignorance here, but what I have seen is that Tomcat hands out requests to multiple threads each of which contains an instance of your servlet. In other words if your servlet processes the request Tomcat will run multiple threads of it where necessary, by default.

RE: hotspot jvm crashes in production

2001-05-09 Thread Danny Angus
In my experience hotspot ( -server option on linux) is vital to provide enhanced garbage collection, which otherwise is totally inadequate under heavy load. Hotspot is also faster, providing on-the-fly compilation of often used routines into native code. My apps die without it, ending with

RE: JAVA vs. PERL startup time + memory

2001-05-05 Thread Danny Angus
Perl can be small, and relatively fast, apache cgi invocations of perl scripts (mod-cgi not mod-perl) load the perl "engine"(whatever it might be called, interpreter/VM/JITcompiler) for every process, as far as I know anyway, hence the rise of mod-perl which caches the compiled perl scripts and t

RE: Memory usage

2001-05-04 Thread Danny Angus
I found this behaviour on Linux was cured by using hotspot. I don't know how to use hotspot under windows, but I think its a seperate executable (in the JDK) -Original Message-From: Garry De Toffoli [mailto:[EMAIL PROTECTED]]Sent: 03 May 2001 13:34To: [EMAIL PROTECTED]Subject

FW: Boycott China - please read - your life may depend on it

2001-04-27 Thread Danny Angus
Oh please! If you want to parade your bigotry, and racist paranoia, dont use an international list, just shows off your narrowminded stupidity. > > 1. Our extreme trade deficit vs. China (nearly $100B per year now) has > been > > used for a massive military buildup, with the U.S. as the > ultimat

RE: Sunday and the brain is numb

2001-04-24 Thread Danny Angus
> This subject line can be a good line for a song. > Should have Apache/TOmcat somewhere in it, > to ooficially qualify to be a song. How about: "Sunday and the brain is numb(Tomcat on my mind)"

RE: ArrayList vs. Vector

2001-04-23 Thread Danny Angus
they aren't synchronised, tomcats thread pooling may cause unpredictable numbers of threads to have access to your objects, even once the servlets method has returned(unless you use single thread model). What do you stand to gain at the expense of the risk? > -Original Message- > From: Hu

RE: [Fwd: Multiple IP based virtual hosts in Tomcat 4]

2001-04-23 Thread Danny Angus
-Original Message- > From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 23, 2001 5:17 PM > To: tomcat users list > Subject: [Fwd: Multiple IP based virtual hosts in Tomcat 4] > > > Hello: > > Has anyone seen this problem > > Thanks, > Neil. > > -- > Neil A

RE: [Fwd: Virtual host in Tomcat 3.2.1 thros NullPointer]

2001-04-23 Thread Danny Angus
-Original Message- > From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 23, 2001 5:17 PM > To: tomcat users list > Subject: [Fwd: Virtual host in Tomcat 3.2.1 thros NullPointer] > > > Hello: > > Has anyone seen this problem > > Thanks, > Neil. > > -- > Nei

RE: Package Q

2001-04-19 Thread Danny Angus
perhaps I'm missing something but it looks like: out.println(ServletUtilities.headWithTitle("Hello") should be out.println( new ServletUtilities.headWithTitle("Hello") etc... or better still.. ServletUtilities mySU = new ServletUtilities(); out.println(mySU.headWithTitle("HelloW

RE: java.lang.OutOfMemoryError... O happy day.

2001-04-16 Thread Danny Angus
I've just overcome this situation too, and would say my code now has 75% more explicit flush(), close(), and x=null statements, plus make sure you're using hotspot, as gc on hotspot seems to be 1,000,000,000 times more effective I *know* what you are going through, don't give up youwill win in th

RE: Question

2001-04-16 Thread Danny Angus
uot;. > But, I did set the env and in any case the file is in the same > directory as > jasper.bat. > > What could be wrong here? > > Erlan > > -Original Message- > From: Danny Angus [mailto:[EMAIL PROTECTED]] > Sent: 15 April 2001 20:47 > To: [EMAI

RE: Question

2001-04-15 Thread Danny Angus
> Yep, nothing worked. I finally realized that it wasn't going to work after > following the docs so I went decided not to use Tomcat after spending 2 > hours trying to figure it out. seems a bit harsh, I had no problems making it work as a standalone server straight out of the box on NT & Linux,

RE: obtaining the url

2001-04-15 Thread Danny Angus
its the http_referrer environment variable, available as a request attribute I think.. > -Original Message- > From: teh j [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 15, 2001 11:57 AM > To: [EMAIL PROTECTED] > Subject: obtaining the url > > > Hi guys > > Just wondering if there is a

RE: Question

2001-04-14 Thread Danny Angus
have you tried: ../tomcat.bat start ? > -Original Message- > From: George "Lifeguard" Flatman [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 14, 2001 7:25 AM > To: [EMAIL PROTECTED] > Subject: RE: Question > > > I tried that and it kept saying it could not find the file specified.

RE: A couple of questions

2001-04-13 Thread Danny Angus
read again, this time look for /servlet/* and the word "context" it *is* all there > -Original Message- > From: Lu, Spencer [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 13, 2001 7:38 PM > To: '[EMAIL PROTECTED]' > Subject: RE: A couple of questions > > > OK, I have just read the Servl

Http10Interceptor: SocketException reading request,

2001-04-13 Thread Danny Angus
I've noticed that: 2001-04-12 13:58:07 - Http10Interceptor: SocketException reading request, ignored looks like it might be accompanied by a step up in memory use (linux rh6, JVM=jre1.3.0_02,java -server option), and that memory use doesn't come down with load. is this a bug?

RE: Thanks: Re: Fed up to the back teeth with tomcat !!!

2001-04-12 Thread Danny Angus
> I'm having a problem quantifying one metric "buttload". extrapolating the general case it must have ten buttocks. ~:-o

RE: Lots of threads an %MEN for Tomcat

2001-04-12 Thread Danny Angus
lots of threads is normal, top ^M shows nothing but java threads for me .. I have also found that memory leaks on linux, but perhaps thats my app... I haven't finished changing everything yet... > -Original Message- > From: Wolle [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 12, 200

RE: Tomcat Problem (startup.bat)

2001-04-12 Thread Danny Angus
I think you need to specify a full file path, because your servlet will search in the current directory, which is way *not* ever going to be where you expect it to be... You can use your knowledge of your own application, the request URI, and TOMCAT_HOME to build one that's independant of i

RE: Index files and CGI UNDER TOMCAT

2001-04-12 Thread Danny Angus
watch out, if this means that the http response code issued isn't 200 OK, you can find browsers refusing to store your page in history, and bookmarks. We used a similar scheme with perl CGI & apache, but its no substitute for preparing a proper handler. danny

RE: Fed up to the back teeth with tomcat !!!

2001-04-12 Thread Danny Angus
> > possibly mails the exceptions thrown in the production system Mailing responsible people (other than yourself, obviously) for every 500 error is a *great* wakeup call to nail shoddy workmanship.

RE: Index files and CGI UNDER TOMCAT

2001-04-12 Thread Danny Angus
tting a System.out.println ("something") in the doGet > method... well, it was printing "something" all over again...) > > Pleas do assist me further (I really need some god ideas...) > Thanks again ! > > Hades > &g

RE: Fed up to the back teeth with tomcat !!!

2001-04-12 Thread Danny Angus
> BTW > Is there an easy way to import a SQL-Server database into mysql ? > At least > that way I could dump the jdbc-odbc bridge ? if you have fewer than 100's of tables use rational rose to de-construct the SQL server into DDL, throw away all the relationship definitions [sic], switch a few d

RE: Index files and CGI UNDER TOMCAT

2001-04-12 Thread Danny Angus
I think something like: indexServlet app_nr*/ should take all hits to that path, but not to specified files, to the indexServlet, which can parse the request URI to decide what to give you, depending on where you think you are.

RE: Tomcat + win 98

2001-04-09 Thread Danny Angus
it does run on win98, i have it on my laptop, but I only had problems with startup.bat, once I cured them it was OK. you have to put http:// infront of addresses with port numbers, is that it? try http://127.0.0.1:8080/ I hope it is ! -Original Message- From: Mike Campbell [mailto:[EM

RE: Hide an URL

2001-04-09 Thread Danny Angus
but the URL will be available if you right click the frame and choose properties. this is not a good thing to need, better to configure the server so that the URL you need to hit isn't a security risk. try using proxying if you need to "hide" machines or POST and ssl if you need to secure paramete

RE: Map ".html" suffix to JSP engine...*how*?

2001-04-09 Thread Danny Angus
or alter apache's config, to remove html from the list, I think you may want to look in httpd/conf/apache-mime.types but it seems a little unlikely if you get htm to work ok.. :-( > -Original Message- > From: Michael Hale [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 09, 2001 9:37 AM >

RE: database access problem

2001-04-09 Thread Danny Angus
I dont think its the SQL statement thats causing your grief.

java.lang.OutOfMemoryError (Help?)

2001-04-09 Thread Danny Angus
Error: 500 Location: / Internal Servlet Error: java.lang.OutOfMemoryError Can anyone help me, I'm new to tomcat, fairly new to java too, but have been doing the apache/perl thing for too long... Why wont my servlets memory be being re-cycled? I have variously, installed the latest builds, rem

RE: aaargh!

2001-04-06 Thread Danny Angus
>The point of this rant is not (as you might think) that the universe needs to satisfy me.. it's just that I'm a little >concerned that I need to go buy a Microsoft product to get open source software to run on my machine.. I agree with this guy, VC++ seems a bit of a strange recommendation, unde

RE: generating a excel page in the browser

2001-04-06 Thread Danny Angus
> > IE4+ & Excel are quite good at picking up other file formats, > such as CSV > TAB etc, I forgot to point out that as these are type text/plain you wont be prompted to save, and excel will spot the filename extension.

RE: generating a excel page in the browser

2001-04-06 Thread Danny Angus
you cant affect this behaviour, if you want to simply display in the browser, then your user has to have elected not to be prompted for this MIME type. :-( IE4+ & Excel are quite good at picking up other file formats, such as CSV TAB etc, and the best way of all (to get generated sheets into exc

servlets, sessions, and memory ..

2001-04-04 Thread Danny Angus
I see from the archive that the memory "leak" effect is caused by session handlers creating a session for each.. well.. session. My question is how can I take charge of this, i cant seem to turn off session tracking for servlets. Simply removing the interceptors from server.xml doesn't help. I