IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-29 Thread Allistair Crossley
Hi, I have been charged with getting IIS 5 talking to Tomcat 4.1.24 I have completed all the instructions and have the isapi filter running and spitting out its log information to a log file in tomcat and so on, so I know that JSP requests are getting into the isapi filter OK. However, when I

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-29 Thread Allistair Crossley
s seems to me that the workers, and IIS filter is working correctly at least according to the log file, but there may be nothing configured to receive the request in tomcat. Or maybe even tomcat Is not running at all ? hope it helps -reynir > -Original Message- > From: Allista

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
500 And Cannot Find Module Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir > -Original Message- > From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Sent: 29. maí 2003 13:38 > To: Tomcat Users List > Subject: RE:

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
nstallation possible. You might want to try out the other (jk2). Check out http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Hope it helps -reynir > -Original Message

SOLVED RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2 installation instructions, that work. Hope it helps -reynir > -----Original Message- > From: Allistair Crossley [mailto:[EMAIL PROTECTED] > Sent: 29. maí 2003 14:13 > To: Tomcat Users List > Subject: RE: IIS 5 + is

IncompatibleClassChangeError when in Action class but not in a JSP for ResultSet

2003-08-26 Thread Allistair Crossley
I have a Struts / Tomcat 5 setup and I use the same JDK 1.4.1 to compile classes as Tomcat uses to run. I have the following code in the action class DBConnectionFactory db = (DBConnectionFactory)getServlet().getServletContext().getAttribute("db"); Connection c = db.getConnection(); c.setCatalo

Tomcat logging loads of rubbish

2003-08-27 Thread Allistair Crossley
Tomcat seems to be churning out loads of logging into my web application's log file (configured with Log4J) I have included a sample here...where can I turn this all off .. I am not sure why it is all coming through into my application log. 12:50:12,680 - DEBUG org.apache.commons.digester.Digest

RE: Tomcat logging loads of rubbish

2003-08-27 Thread Allistair Crossley
ebapp somewhere, not in common/lib, common/classes, shared/lib, or shared/classes. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Allistair Crossley [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 27, 2003 7:53 AM >To: [EMAIL PROTECTED] >Subject: Tomcat logg

I think I narrowed performance issue down to Tomcat only

2004-04-05 Thread Allistair Crossley
HI Guys I started load testing my application last week and was horrified that my performance was 8s per page and an avg of 1.7 pages per second under a load of just 20 virtual users stepping through 6 pages. My setup is Tomcat 5.0.18, 512mb RAM, P3 I am using a Struts architectuer and have a b

My own caching implementation...

2004-04-08 Thread Allistair Crossley
Hi Guys I have been trying to improve the performace of our app the past week and one of the things I did was to cache our vast navigation systems as lots of JSPs each with the page ID as the jsp filename. Annnyway, this works fine but each time a page is accessed where the JSP include for the

JSPC not finding servlet files

2004-04-08 Thread Allistair Crossley
Hi Again Guys Last night I used the JSPC ant build to precompile all my JSPs. This created a SRC folder under my WEB-INF and a file called generated_web.xml but no classes? Therefore when I placed the web.xml entries and restarted and tried to run my apps lots of servlet not found exceptions oc

RE: Tomcat configuration tuning

2004-04-08 Thread Allistair Crossley
Hi Matt, Welcome to the list from me. It's funny because you have just listed precisely the same server setup as we are launching our new tomcat based app to this weekend and I have been having nightmares about performance. We have a system like this; user -> IIS -> JK2 ISAPI ->

RE: Tomcat configuration tuning

2004-04-08 Thread Allistair Crossley
Yes ok :) but other than that ;) ADC. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 08 April 2004 17:01 To: Tomcat Users List Subject: RE: Tomcat configuration tuning Hi, >Welcome to the list from me. It's funny because you have just listed >precisely the same

RE: Tomcat configuration tuning

2004-04-08 Thread Allistair Crossley
2004 17:22 To: Allistair Crossley Subject: RE: Tomcat configuration tuning I have seen a couple postings regarding poor performance with Tomcat recently and thought I'd respond because we are using IIS5 with Tomcat 5 and SQL 2000 as well. We have a Struts site but our difference is that we are u

RE: IIS mod_jk2 2.0.4 Bug???

2004-04-08 Thread Allistair Crossley
Yes it is Yoav. The error is "stream unexpectedly terminated". I could not find anything on this at all. I resorted to having my multipart form upload to :8080 and then my action redirects back onto the IIS route through :80. Cheers, ADC -Original Message- From: Shapi

RE: My own caching implementation...

2004-04-08 Thread Allistair Crossley
it as it did for you to write an email and send it. - Original Message - From: "Allistair Crossley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004 11:25 AM Subject: My own caching implementation...

RE: Tomcat configuration tuning

2004-04-08 Thread Allistair Crossley
Slightly off-forum but related to my performance tuning of my tomcat webapp, I am using the JCIFS NTLM authentication servlet as a filter. The filter is mapped to all requests /*. I just thought to myself on the train home whether because NTLM is a 3-way handshake, that this may be causing some

RE: Tomcat configuration tuning

2004-04-08 Thread Allistair Crossley
tion. Works great. I was considering going >with >a filter servlet instead but if you say its slow then maybe I did the right >thing. > > >Charlie > > > >Allistair Crossley wrote:

RE: My own caching implementation...

2004-04-08 Thread Allistair Crossley
display the nav links. Just a thought -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 2:28 PM To: Tomcat Users List Subject: RE: My own caching

RE: Tomcat configuration tuning

2004-04-08 Thread Allistair Crossley
ring going with a filter servlet instead but if you say its slow then maybe I did the right thing. Charlie Allistair Crossley wrote: >Slightly off-forum but related to my performance tuning of my tomcat

RE: DefaultServlet character encoding

2004-04-09 Thread Allistair Crossley
or specify -Dfile.encoding=UTF or whatever in your tomcat startup -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 09 April 2004 16:55 To: 'Tomcat Users List' Subject: RE: DefaultServlet character encoding Hi, Tomcat ignores META tags (for good reasons I won't go in

RE: DefaultServlet character encoding

2004-04-09 Thread Allistair Crossley
: "Allistair Crossley" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, April 09, 2004 10:56 AM Subject: RE: DefaultServlet character encoding or specify -Dfile.encoding=UTF or whatever in your tomcat startup -Original Message-

JSPC compiler breaks tag library calls in JSP?

2004-04-10 Thread Allistair Crossley
Hi Guys I have just compiled my application with the JSPC build file for Tomcat 5. I have noticed that all my custom tag calls in the JSPs have been spat out "as is" without being interpreted. So is JSPC only usable when no custom tags are included? This will be unfortunate as I will not be a

RE: JSPC compiler breaks tag library calls in JSP?

2004-04-10 Thread Allistair Crossley
This is my own stupid fault .. the taglib was not included in the file in question and no error was presented by JasperC for me to pick this up. Cheers, ADC -Original Message- From: Allistair Crossley Sent: 10 April 2004 13:31 To: [EMAIL PROTECTED] Subject: JSPC compiler breaks tag

RE: starting out with tomcat and struts

2004-04-10 Thread Allistair Crossley
there are distributions of tomcat that do not come bundled with the examples. Normally there is another more complete download, or you can get them separately...take a look in the binaries on jakarta.apache.org under tomcat, I know they are there :) As for struts the best thing to do is just dow

Tomcat and my application's performance ... time being lost?

2004-04-11 Thread Allistair Crossley
Hello Guys *sigh* I am trying to make my app work as quick as possible but look at these stats... Page name: page_6 page_7 page_8 page_9 page_10 page_11 Min web transaction (without images): 460.79 1962.42 2296.12 2881.90 2660.72 1640.80 Avg web transaction (withou

RE: Tomcat and my application's performance ... time being lost?

2004-04-12 Thread Allistair Crossley
ubject: RE: Tomcat and my application's performance ... time being lost? Hi, Use a Profiler to show you exactly where time is spent. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Allistair Crossley [mailto:[EMAIL PROTECTED] >Sent: Sunday, Ap

RE: Tomcat performance issue?

2004-04-12 Thread Allistair Crossley
This evening I did the same with JProbe under 360 requests as you describe and this led to me gaining a 38% speedup. The main bottleneck I found was some very simple tags I have were calling out.flush() at the end. Thiw was consuming 14 seconds of time to flush 1 string from the tag. The tag i

RE: Request parameters getting lost

2004-04-13 Thread Allistair Crossley
the only time i lost request parameters was because the form was multipart/form-data. In that case you need to use a form upload processer like commons FileUploader. ADC -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 13 April 2004 13:49 To: Tomcat Users List Subje

Big Thanks

2004-04-13 Thread Allistair Crossley
Thanks to all on the list who have supported my questions, we launched our system this morning and apart from being a little slow under load it's been well received. Cheers, ADC --- QAS Ltd. Developers of QuickAddress Software http://www.qa

How to handle tomcat's stdout.log size

2004-04-13 Thread Allistair Crossley
Hi Guys, me again :) I am noticing that the stdout.log is getting rather large very quickly. It is specified in the service.bat as --StdOutputFile "%CATALINA_HOME%\logs\stdout.log It does not appear to have any way of rolling it over or restricting it's size via the server.xml. Can anyon

RE: TC 5.0.19 logs get cluttered in high performance scenarios

2004-04-14 Thread Allistair Crossley
In a similar vein, I get the following littering the stdout.log 14-Apr-2004 13:25:03 org.apache.jk.server.JkCoyoteHandler action INFO: Response already commited 14-Apr-2004 13:25:07 org.apache.jk.common.HandlerRequest decodeRequest I would also be interested in getting rid of all this logging.

RE: precompilation of jsps

2004-04-15 Thread Allistair Crossley
You need to use Jasper 2 whic is on the Tomcat 5 homepage. There is an Ant build file that you need to run to do this .. the instructions are there. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html ADC -Original Message- From: Niraj Alok [mailto:[EMAIL PROTECTED] Sent:

RE: Memory Leak

2004-04-15 Thread Allistair Crossley
In your profiler rather than looking at the type of object taking the memory look at the accumulated memory consumed by your classes. This will show you which classes are taking up the most memory and if you have a leak you might expect this accumulated value to be a high percentage of the overa

RE: Memory Leak

2004-04-15 Thread Allistair Crossley
this is what I have heard before but it is not true. our Tomcat 5.0.19 under load in the task manager view goes up to about 150MB and overnight or under light load goes back down to 95MB. ADC -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: 15 April 2004 16:32 To:

RE: Memory Leak

2004-04-15 Thread Allistair Crossley
the only time my task manager memory went up and never came down came from the classloader having to reload classes because I had dynamic reloading switched on ... are you deploying classes that force tomcat to do a "live reinit"? -Original Message- From: Chanan Braunstein [mailto:[EMAIL

RE: Memory Leak

2004-04-15 Thread Allistair Crossley
: Tomcat Users List Subject: RE: Memory Leak Which vm and os do you use ? That behaviour is jvm and os dependend. (This is the first time I hear of an implementation that returns memory to the os, although I knew that it could be done) > -Original Message- > From: Allistair Cr

RE: JK connector -- isapi2 -- file upload

2004-04-19 Thread Allistair Crossley
I use a workaround - my upload form uploads to port 8080 directly and then Tomcat redirects the user back to port IIS port 80 after the upload. ADC. -Original Message- From: JoAnn Lemm [mailto:[EMAIL PROTECTED] Sent: 16 April 2004 18:17 To: 'Tomcat Users List' Subject: RE: JK connector -

RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Allistair Crossley
The standard response to this type of question is are you closing your database connections, are you releasing references to objects being created. I can't imagine what you are doing that manages to wipe out 1200M memory ;) Oh and "use a profiler" comes up too for this type of question :) -

RE: Tomcat 5 : java.lang.OutOfMemoryError

2004-04-20 Thread Allistair Crossley
11:41 To: Tomcat Users List Subject: R: Tomcat 5 : java.lang.OutOfMemoryError About : wipe out 1200M memory I've read it in a TOMCAT Mail archive. How wipe memory should be configurate? Thanks Francesco. -Messaggio originale- Da: Allistair Crossley [mailto:[EMAIL PROTECTED] In

RE: JK connector -- isapi2 -- file upload -> BUG & HACK PROVED

2004-04-20 Thread Allistair Crossley
Hm, I just decided to test the "stream terminated unexpectedly" upload bug with JK2/IIS/TC5 and your statement that adding DEBUG to JK2 removes the problem. Firstly, I uploaded a series of files of increasing size from 50K through to 60K at 1K intervals. The bug appears at files of 54K+ (tested

RE: JK connector -- isapi2 -- file upload -> BUG & HACK PROVED

2004-04-20 Thread Allistair Crossley
Nevertheless my tests and the chap who previously mentioned logger helped his case both show that logger being switched on has _some_ effect in relation to this issue, although your case now shows that it is not the _complete_ picture. Do the JK2 ISAPI development team monitor this list? ADC

RE: JK connector -- isapi2 -- file upload -> BUG & HACK PROVED

2004-04-20 Thread Allistair Crossley
ct: RE: JK connector -- isapi2 -- file upload -> BUG & HACK PROVED > -Original Message----- > From: Allistair Crossley > > Nevertheless my tests and the chap who previously mentioned > logger helped his case both show that logger being switched > on has _some_ effect

RE: JK connector -- isapi2 -- file upload -> SOLVED

2004-04-20 Thread Allistair Crossley
: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 20 April 2004 14:01 To: 'Tomcat Users List' Subject: RE: JK connector -- isapi2 -- file upload -> BUG & HACK PROVED > -Original Message----- > From: Allistair Crossley > > Nevertheless my tests and the chap who previous

RE: JK connector -- isapi2 -- file upload -> BUG & HACK PROVED

2004-04-20 Thread Allistair Crossley
Alex don't ask me where I saw this but I read that your SHM size causes issues - I cannot remember what issue I had when it was the same as your but I changed it to 1048576 and it solved it. This may be a total red herring but hey. -Original Message- From: Alex [mailto:[EMAIL PROTECTED]

RE: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Allistair Crossley
the following is my workers2.properties for Tomcat 5 / IIS 5 / JK2. You seem to have commented out the channel socket to 8009. [shm] file=d:\Tomcat 5.0.18\work\jk2.shm size=1048576 [channel.socket:localhost:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol tomcatId=loca

RE: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Allistair Crossley
annel line probably in trying to fix a different error previously).. Thanks Allistair!! Your help was invaluable as frustration was certainly eroding my focus. moran -Original Message----- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 11:01 AM To: Tomcat Users Li

RE: URL Mapping Question

2004-04-23 Thread Allistair Crossley
You definately did a hard IIS restart..? I have done simple stop/start ones using the controls and found this does not reload the mappings. -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: 23 April 2004 13:51 To: [EMAIL PROTECTED] Subject: URL Mapping Question Hi

JK2 still broken even in new version 2.0.4 with upload Stream ended unexpectedly error

2004-05-13 Thread Allistair Crossley
Well, since using 2.0.4 this error has been unheard of until today. A user has been trying to upload a document and tried 4 times and constantly got the Stream ended unexpectedly error from JK2 connector. The document is Word and 140K. I have tested with other users trying to upload this item an

JkCoyoteHandler Error

2004-05-06 Thread Allistair Crossley
Hi All, I have been looking through our production server logs and the following error block is repeated an awful lot, like every 6 minutes or so and sometimes 6 times per minute. 06-May-2004 14:38:50 org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketExcept

Showing an error page when Tomcat is down using IIS + JK2

2004-05-10 Thread Allistair Crossley
Hi Guys I am trying to get IIS to display a nice HTML page when Tomcat is not running. We use JK2 to push requests between IIS and Tomcat. I am able to specify custom pages for IIS HTTP codes but when I stop Tomcat I get the Intenet Explorer message Cannot find server or DNS Error Internet Ex

Bug? Repost: JkCoyoteHandler Error

2004-05-20 Thread Allistair Crossley
Hi All, This is a repost of an issue we are still experiencing on the production server. I found a similar post re: tomcat 4 that was a bug (although cannot find in bugzilla now). The same thing happens to us .. I have been looking through our production server logs and the following error blo

Can I change Tomcat's default character encoding?

2004-05-24 Thread Allistair Crossley
We are having a host of problems with character encoding at the moment. Somehow between the UI and the Struts Action our euro symbols are being turned into question marks. I have fiddled with the JVM file.encoding, using JSP page directives for content type and much else besides. I thought Java

JNDI Error / Servlet Error / Tomcat Admin Error !!!

2003-12-17 Thread Allistair Crossley
Hi Guys, I am tring to use JNDI for an SQL Server database in my Struts/Tomcat 5.0.16 application. The fact is that this has been working until today where I added a few new actions that do not even use the database and yet for some reason mayhem has ensued. I am using a Servlet that has a loa

Static ints being cached

2004-01-08 Thread Allistair Crossley
Hi All, I have an interface containing public final static ints. My servlets reference these ints when making database inserts. Yesterday I reordered the values of the ints and noticed that old values were still being placed into the database. I guess this was somehow a caching problem. I delet

RE: Static ints being cached

2004-01-08 Thread Allistair Crossley
OK, thanks. ADC -Original Message- From: Frode E. Moe [mailto:[EMAIL PROTECTED] Sent: 08 January 2004 09:57 To: Tomcat Users List Subject: Re: Static ints being cached On Thu, Jan 08, 2004 at 09:53:14 -, Allistair Crossley wrote: > Hi All, > > I have an interface c

Tomcat OutOfMemory at 158MB - Not reclaiming any memory overnight

2004-01-08 Thread Allistair Crossley
Hi, The other day Tomcat threw an OutOfMemoryException. This is our development version of Tomcat. Looking at the Windows processes revealed Tomcat at 158MB. I could not tell you whether that is a good or bad statistic for a 2 man development Tomcat that uses database pooling to SQL Server, St

RE: Tomcat OutOfMemory at 158MB - Not reclaiming any memory overnight

2004-01-08 Thread Allistair Crossley
Yes I would like to profile my applicationbut do you have any tips on how to do this or where to start? Thanks -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: 08 January 2004 12:49 To: 'Tomcat Users List' Subject: RE: Tomcat OutOfMemory at 158MB - Not rec

RE: Tomcat 4.2 with IIS5

2004-01-08 Thread Allistair Crossley
http://jakarta.apache.org/site/binindex.cgi scroll down to Tomcat Web Server Connectors ADC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 22:09 To: [EMAIL PROTECTED] Subject: Tomcat 4.2 with IIS5 Hi, Where can I find a copy of isapi_redi

RE: Microsoft SQL Server validation query

2004-01-08 Thread Allistair Crossley
i think you could use anything .. maybe SELECT COUNT(*) FROM table The dual table is an oracle dummy table and is quite handy, but I think the validation query can just be any old select statement that should return true a result always. ADC -Original Message- From: Derek Mahar [mailto

RE: Microsoft SQL Server validation query

2004-01-08 Thread Allistair Crossley
I would not do that because that would return as many 1s as there are rows in the table. Something like count(*) may not be the most efficient but it returns just 1 row always. Also with using 1, you cannot guarantee a row will come back. Allistair Crossley

Modifying tomcat startup options on Tomcat 5 with Windows .exe

2004-01-09 Thread Allistair Crossley
Hi, I have the windows version of Tomcat 5 installed and am using the windows service. I need to add the -security option to the startup. I notice that catalina.bat is still there but a) does the tomcat.exe use catalina.bat's config? b) how do I make the tomcat.exe service use -security? C

RE: Modifying tomcat startup options on Tomcat 5 with Windows .exe

2004-01-09 Thread Allistair Crossley
ant in the box provided. (I think) Andrew Waters. Allistair Crossley wrote: > Hi, > > I have the windows version of Tomcat 5 installed and am using the windows service. I > need to add the -security option to the startup. I notice that catalina.bat is still > there but >

Connection pool exhausted

2004-01-09 Thread Allistair Crossley
Hi All, My tomcat is chucking a connection pool exhausted at me after about 15 minutes of operations on my web application. Here is my resource; factory org.apache.commons.dbcp.BasicDataSourceFactory

RE: Modifying tomcat startup options on Tomcat 5 with Windows .exe

2004-01-12 Thread Allistair Crossley
ts that it should, but I haven't actually tried it. "Allistair Crossley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I have the windows version of Tomcat 5 installed and am using the windows service. I need to add the -security option to the startup. I notice t

Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
I am not sure if this is a Tomcat or Struts or code problem... Every now and again (every 5 minutes or so) my requests to Tomcat are coming back with a blank white page. The logs show the following stack trace where myController is an ActionServlet ... Servlet.service() for servlet myControlle

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
Hi No its not being restarted! Yes it is reloadable and we are compiling often, but I have found that in general it only serves a blank page when a request is made to a class that has been recompiled. OK, I will assume there is nothing untoward here for now! Cheers! -Original Message-

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
Hi >So your context is reloadable and you're changing classes often, but the >context is not being restarted? Is that what you're saying? Sometimes yes I believe so. Just compiling new classes with a reloadable context does not make the context reload as far as I can see. What does make the con

RE: Servlet returning blank page and then re-initing every 5 minutes

2004-01-12 Thread Allistair Crossley
Well we'd still have to restart on each compile - that is the biggest pain. Reloadable has proven to be very helpful so far and works well. Plus because our code relies on each other's we would still deploy the same compile to both instances! -Original Message- From: Shapira, Yoav [mailt

OpenSource / Free Profilers to use with Tomcat

2004-01-12 Thread Allistair Crossley
Hi Guys, I hope you dont mind me asking if there are any free/opensource profilers out there that are quite good and offer the same type of features as JProfiler et al that I can use to profile tomcat 5? Many thanks, ADC --- QAS Ltd. Devel

RE: OpenSource / Free Profilers to use with Tomcat

2004-01-13 Thread Allistair Crossley
January 2004 19:22 To: Tomcat Users List Subject: Re: OpenSource / Free Profilers to use with Tomcat I used IBM alphaworks' jinsight (http://www.alphaworks.ibm.com/tech/jinsight) several years ago to do some profiling of a Tomcat-hosted application. YMMV. dwh Allistair Crossley wrote: >

CVS

2004-01-14 Thread Allistair Crossley
Hi Guys, I was trying to get hold of the Tomcat source tree using CVS but I get the following problem; Sorry if this is nearing the line of Tomcat list or not... Logging in to :pserver:[EMAIL PROTECTED]:2401:/home/cvspublic cvs [login aborted]: connect to cvs.apache.org:2401 failed: No connecti

RE: Memory Leaks

2004-01-14 Thread Allistair Crossley
I've been looking at this this week and have resolved that we need to buy a JVM Profiler, prob. JProfiler. -Original Message- From: Christian Witucki [mailto:[EMAIL PROTECTED] Sent: 14 January 2004 14:00 To: [EMAIL PROTECTED] Subject: Memory Leaks Does anyone know that when Garbage Co

RE: CVS

2004-01-14 Thread Allistair Crossley
ething like Putty and WinCVS. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Allistair Crossley [mailto:[EMAIL PROTECTED] >Sent: Wednesday, January 14, 2004 8:56 AM >To: TOMCAT USER (E-mail) >Subject: CVS > >Hi Guys, > >I was trying to get hol

RE: CVS

2004-01-14 Thread Allistair Crossley
Millennium ChemInformatics > > > >>-----Original Message- >>From: Allistair Crossley [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, January 14, 2004 8:56 AM >>To: TOMCAT USER (E-mail) >>Subject: CVS >> >>Hi Guys, >> >>I was trying to get

JK2 ISAPI between IIS and Tomcat 5 has file upload bug?

2004-01-16 Thread Allistair Crossley
Hi Guys, I am using Commons File Uploader to post a file to my Struts app running on TC 5. If I post a file upload to Tomcat directly, e.g http://server:8080/upload.do it works fine If I post a file through our IIS -> JK2 -> Tomcat method, e.g http://server/upload.do it fails with a "Stream te

RE: ISAPI redirector use with IIS5

2004-01-16 Thread Allistair Crossley
post to the :8080 version of the URL for this action and then redirect back to the non-:8080 URL after. Do the JK2 boys not fix this stuff? Allistair Crossley __ Intranet Senior Developer New Media Group, QAS Ltd Telephone: 020 7819 5343

Tomcat Cluster and Load Balancer

2004-01-19 Thread Allistair Crossley
Hi Guys, Could anyone recommend a good place to start for setting up a Tomcat cluster on the same server? I also need a good/free load balancer that can integrate with this cluster. I understand Tomcat 5 can be clustered with a load balancer but have never done anything like it and would apprec

Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
I am having the biggest headache ever with this. When I start Tomcat 1) Why is my controller servlet always initialised twice?? That is, as soon as all my logging has finished for one init, it all comes out again a second time! 2) In the init I get the following error when it tries to look at

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
will see if happens again. > -- > De: Allistair Crossley[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: segunda-feira, 19 de janeiro de 2004 12:56 > Para: TOMCAT USER (E-mail) > Assunto: Please help, I have a headache .. servlet init troubles >

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
.. servlet init troubles Howdy, Is the controller servlet declared twice in your web.xml? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Allistair Crossley [mailto:[EMAIL PROTECTED] >Sent: Monday, January 19, 2004 10:57 AM >To: TOMCAT USER (E-mail) >

RE: Please help, I have a headache .. servlet init troubles

2004-01-19 Thread Allistair Crossley
no, it's one host, Cheers, ADC -Original Message- From: James Neville [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 16:31 To: Tomcat Users List Subject: Re: Please help, I have a headache .. servlet init troubles Allistair Crossley wrote: >Do you know why my servlet in

RE: out of memory problem. Help!

2004-01-19 Thread Allistair Crossley
This is very interesting to hear. I can believe it too...we lose between 400K and 5MB per request and Tomcat 5.0.16 bombs out at 155. We have invested in JProfiler now to see why but your comment is curious. Are you on the development team? When will 5.0.18 become stable...does not seem to be a

RE: Please help, I have a headache .. servlet init troubles

2004-01-20 Thread Allistair Crossley
use these parameters for a simple connection, do you really connect to SQLServer? I think that your real problem is to create a JNDI datasource. > -- > De: Allistair Crossley[SMTP:[EMAIL PROTECTED] > Responder:Tomcat Users List > Enviada: segunda-feira, 19 de janeir

RE: maxProcessors vs maxThreads

2004-01-20 Thread Allistair Crossley
Hi Yoav, You seem to know what you are talking about and it amuses me everyday you come on at the same sort of time and bang off all the answers :) (although regrettably I was hoping you would answer my Tomcat and Clusters one yesterday). Anyways, if someone like you is not using the connectors

RE: Please help, I have a headache .. servlet init troubles

2004-01-20 Thread Allistair Crossley
nium ChemInformatics >-Original Message- >From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004 8:25 AM >To: 'Tomcat Users List' >Subject: RE: Please help, I have a headache .. servlet init troubles > > Right, usu

RE: maxProcessors vs maxThreads

2004-01-20 Thread Allistair Crossley
Hm, we have setup IIS in front of Tomcat so it can serve off the static content, I thought that was the conventional wisdom. We're looking at about 300+ users of which maybe lets say 20 concurrent at quiet times, probably approaching 100+ when we announce something. Would you say Tomcat can han

RE: maxProcessors vs maxThreads

2004-01-20 Thread Allistair Crossley
Thanks Yoav. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 20 January 2004 16:12 To: Tomcat Users List Subject: RE: maxProcessors vs maxThreads Howdy, >Hm, we have setup IIS in front of Tomcat so it can serve off the static >content, I thought that was the conv

JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
Here is something odd .. I have just installed Tomcat 5.0.18 so that it does not use IIS/JK2 like our 5.0.16 install. I have deployed our webapp on it. The profiling between the 2 is totally different. On the 5.0.16 profile just 2 requests to the webapp made the heap profile have a scale of 10

RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
I read about the leak and some other posts but it seemed that Remy did not consider it to be anything many people would run into or even a big leak. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 17:05 To: Tomcat Users List Subject: RE: JProfiler wi

RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
] Sent: 21 January 2004 17:21 To: Tomcat Users List Subject: Re: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour Allistair Crossley wrote: > I read about the leak and some other posts but it seemed that Remy > did not consider it to be anything many people would run into or even > a big l

RE: memory leak in tomcat 5.0.16 ?

2004-01-22 Thread Allistair Crossley
We had exactly the same problem. 2 users on 5.0.16 after 20 minutes the RAM consumed was 158MB and then it crashed. Upgraded to 5.0.18 yesterday and RAM is a steady 30MB. I dont care what anyone says, 5.0.16 had a problem! -Original Message- From: Francois JEANMOUGIN [mailto:[EMAIL PRO

RE: memory leak in tomcat 5.0.16 ?

2004-01-22 Thread Allistair Crossley
mes a steady 121MB. Is this normal or excessive? Derek -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: January 22, 2004 5:44 AM To: Tomcat Users List Subject: RE: memory leak in tomcat 5.0.16 ? We had exactly the same problem. 2 users on 5.0.16 after 20 minutes th

RE: -verbose:gc

2004-01-22 Thread Allistair Crossley
i'm guessing a garbage collect reclaimed 64896K and the first two numbers are the before and after? [GC 28827K->22937K(64896K), 0.0062130 secs] ADC -Original Message- From: Derek Mahar [mailto:[EMAIL PROTECTED] Sent: 22 January 2004 15:04 To: Tomcat Users List Subject: -verbose:gc Wo

RE: JavaScript Doubt

2004-01-23 Thread Allistair Crossley
this is not the list for these questions, stop cross posting -Original Message- From: Pinguti Sridevi [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 11:56 To: anand; javagroup; parvez; tomcat Cc: mahesh; siva; wipro Subject: JavaScript Doubt hey); If the user does not touch the browse

5.0.18 Catalina.out, stdout and stderr Missing

2004-01-23 Thread Allistair Crossley
My 5.0.18 TC has no Catalina.out, stdout and stderr whereas the 5.0.16 one had them straight off. I DO have localhost_logs. Am I missing a simple switch? Cheers ADC --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.

RE: Memory climbs until I get an OutOfMemory Error

2004-01-26 Thread Allistair Crossley
Hi, Did the old version without the connection pool work? What driver are you using? I ask because I had/may still have similar memory problems and we use the MS SQL Server drivers for the connection pool. I might try download a 3rd party demo and see what the performance on that is like Cheer

RE: Tomcat clustering

2004-01-26 Thread Allistair Crossley
hey, if 1 server is very powerful, then 1 instance of tomcat would not utilize the full resources available right? so does a cluster also make sense in this situation so that multiple tomcat instances on the same server can benefit an application's performance. I appreciate that multiple server

IOException while loading persisted sessions

2004-01-27 Thread Allistair Crossley
Hi, I quite often but not always get a huge stack trace thrown when Tomcat boots up the top part of which is the following. I'm not sure why it thinks it needs to be loading anything to do with my bean here from persisted sessions. Is that a setting that I have switched on that I need to switch

init 1 jndi pool fine, init 2 jndi pool not fine (with logging)

2004-01-27 Thread Allistair Crossley
Hi All, You may recall I posted that I solved this problem some time ago...I was trying to reference my JNDI pool in the init() method directly and I was getting "Cannot create JDBC driver of class ''" errors. I moved that out into the classes themselves and it was going so well. But I have spo

  1   2   3   4   5   6   7   >