RE: voting for 5.0.29?

2004-10-27 Thread Allistair Crossley
from the website ... 06 October 2004 - Tomcat 5.5.3-alpha Released 06 October 2004 - Tomcat 5.0.29-beta Released nothing since these dates. Allistair -Original Message- From: Ronald Klop [mailto:[EMAIL PROTECTED] Sent: 27 October 2004 09:28 To: [EMAIL PROTECTED] Subject: voting

RE: Database connection pooling

2004-10-27 Thread Allistair Crossley
looks like you are using the 5.0 docs rather than 5.5 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resources-howto.html Context ... ... Resource name=jdbc/EmployeeDB auth=Container type=javax.sql.DataSource username=dbusername password=dbpassword

RE: ENCTYPE + SetCharacterEncodingFilter = no go joe for Tomcat 5.0.28

2004-10-26 Thread Allistair Crossley
When a form has the ENCTYPE=multipart/form-data specified, the data sent is not accessible via the request.getParameter method. You should only really need the ENCTYPE when the form is posting files. This is nothing to do with Tomcat. You need to decode the data using something like Commons

RE: MySQL upgrade Problem

2004-10-26 Thread Allistair Crossley
i don't know much about this but you mention the things that are different like dollar in password .. but have you tried setting the password to how it was when you used to use it? and putting appBase back as it was. You say you changed nothing but you've changed several things. Did you also

discussion on webapp reload in production environments

2004-10-25 Thread Allistair Crossley
Hi, Yoav, you suggested we should pick up this thread here in the list rather than the bugzilla report at http://issues.apache.org/bugzilla/show_bug.cgi?id=26372 I have copied the last 4 replies for any interested parties to start following this thread. I look forward to hearing the position

RE: error while starting Tomcat5 service

2004-10-25 Thread Allistair Crossley
I thought you had to have Tomcat 5.5 with JDK 5.0. If you are using Tomcat 5.0 there is a compatibility download that should be installed. If that is not your problem, try uninstalling the service and use the tomcat/bin/service.bat install method. Allistair. -Original Message-

RE: Configuration Management, JSP Recompiles, War Files

2004-10-25 Thread Allistair Crossley
your suggestion is precisely what we do here, but it still leads to 5 minutes downtime (web server nice maintenance page, removing old war, unpacking new war takes time). do any application servers support hot deploying if that is correct term, i.e user requests are served by the older webapp

RE: discussion on webapp reload in production environments

2004-10-25 Thread Allistair Crossley
with the $$$ servers I use. In-memory webapp reload is a good goal, great marketing, and sometimes works well in real life, but not that often. YMMV. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Monday, October 25

Deploy of single class into reloadable context throws LifecycleException with no recovery

2004-09-22 Thread Allistair Crossley
Hi Guys, Version: 5.0.28 Scenario: One of our web applications has context reload=true set so that we can deploy single class patches (side question: is there a better way of hot-deploying single-class patching?) However, every time we copy the new class over the existing class, Tomcat

RE: Deploy of single class into reloadable context throws LifecycleException with no recovery

2004-09-22 Thread Allistair Crossley
Hey no problem :) It's interesting that I cannot produce the same problem on my local instance of Tomcat; this was on the production server I was referrring to. The only difference between the two is that the production instance has no JSPs - they are all precompiled, but that's it .. they are

RE: Suggestion: A dedicated TOMCAT forum!

2004-09-21 Thread Allistair Crossley
i think you would need a forum that was capable of subscribing to new posts. with the mailing list, everybody is forced (kind of) to read new messages whereas a forum takes more effort to go to and then to find the new messages. on the negative side, it can get on my nerves with all the emails

RE: jk2 and file upload

2004-09-17 Thread Allistair Crossley
apparently in the bugzilla report this has been fixed in the connectors CVS HEAD ADC -Original Message- From: juhani [mailto:[EMAIL PROTECTED] Sent: 17 September 2004 05:28 To: [EMAIL PROTECTED] Subject: jk2 and file upload Hi! As curren jk2 has problem with file upload i am

RE: jk2 and file upload

2004-09-17 Thread Allistair Crossley
yes we are successfully for the most part also but every now and again jk2 causes a stream terminated unexpectedly error. we use Commons FileUpload too but that is not the problem, it' JK2 and this is mentioned is fixed in CVS HEAD (again, because it was fixed before but people continued to

RE: Traversing up a directory using RequestDispatcher

2004-09-17 Thread Allistair Crossley
shame about the surname lol (sorry xeth just kidding) ADC -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 17 September 2004 13:17 To: Tomcat Users List; Xeth Waxman Subject: RE: Traversing up a directory using RequestDispatcher Hi, First of all, Xeth is

RE: tomcat v5.5.2 doesn't read ResourceParams ?

2004-09-16 Thread Allistair Crossley
they didn't in 5.5.0 either. i would have thought something so critical would have been corrected by now but looks like not ;) ADC -Original Message- From: Torgeir Veimo [mailto:[EMAIL PROTECTED] Sent: 16 September 2004 15:58 To: [EMAIL PROTECTED] Subject: tomcat v5.5.2 doesn't

RE: tomcat v5.5.2 doesn't read ResourceParams ?

2004-09-16 Thread Allistair Crossley
yes, i was surprised that 5.5 was released without database capability. i'm not sure what the reasoning is. -Original Message- From: Torgeir Veimo [mailto:[EMAIL PROTECTED] Sent: 16 September 2004 16:04 To: Tomcat Users List Subject: RE: tomcat v5.5.2 doesn't read ResourceParams ?

RE: tomcat v5.5.2 doesn't read ResourceParams ?

2004-09-16 Thread Allistair Crossley
that could also do it ;) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 16 September 2004 16:00 To: Tomcat Users List Subject: RE: tomcat v5.5.2 doesn't read ResourceParams ? Hi, ResourceParams are gone. See the updated docs:

RE: tomcat v5.5.2 doesn't read ResourceParams ?

2004-09-16 Thread Allistair Crossley
lol, yeah sorry. i tell you why i thought there was a problem and that was when 5.5.0 went out and i plugged in my app, all my database refs were coming up as null and so on. i told the list and remy said (to paraphrase) that there was a problem with resource params but not that they had been

RE: [OFF-TOPIC]RE: Some pretty basic Tomcat ConnectionPoolingQuestions????

2004-09-14 Thread Allistair Crossley
1. We should rename the DBConnection class to DBConnectionFactory. I have often wondered what a factory is in this sense, could you elaborate? charles answered this very well :) 2. Adding a finalize() method in the external class -- wouldn't that nullify the DataSource before we are

RE: [OFF-TOPIC]Yoav -- RE: Some pretty basic Tomcat ConnectionPooling Questions????

2004-09-13 Thread Allistair Crossley
definately wasteful. try changing your DBConnection object (which should be called DBConnectionFactory) and maintaining DataSource as a class member. Then in yuor constructor for DBConnectionFactory acquire the datasource from JNDI. Ensure you add a finalize() method to nullify your datasource

RE: Name jdbc is not bound in this Context

2004-09-09 Thread Allistair Crossley
i agree, when I define my 5 JNDI datasources within /conf/Catalina/localhost/webapp.xml on startup of tomcat I get a bunch of error messages saying JDBC is not bound for all my resources. I have a servlet context listener that configures a bunch of manager objects each of which attempts to

RE: Tomcat 5.5.1 Installation Help

2004-09-09 Thread Allistair Crossley
you can grab it at the binaries page at http://jakarta.apache.org/site/binindex.cgi either 5.5.1 Compat zip PGP MD5 5.5.1 Compat tar.gz PGP MD5 ADC -Original Message- From: Venkat Radha Venkataramanan [mailto:[EMAIL PROTECTED] Sent: 09 September 2004 17:15 To: [EMAIL

RE: Setting JVM == file.encoding = Cp1252

2004-09-08 Thread Allistair Crossley
Ben, file.encoding is a JVM parameter specified e.g java -Dfile.encoding=Cp1252 SomeClass There is no need to set this in server.xml when you can do this in the startup scripts for TC. You could even try within Java code System.setProperty(file.encoding, Cp1252); ADC -Original

RE: Setting JVM == file.encoding = Cp1252

2004-09-08 Thread Allistair Crossley
[mailto:[EMAIL PROTECTED] Sent: 08 September 2004 11:12 To: Allistair Crossley Subject: AW: Setting JVM == file.encoding = Cp1252 Me yet again.. would it be a good idea to convert all my app config files to utf8 too, once I change this file.enoding setting? regards Ben

RE: Setting JVM == file.encoding = Cp1252

2004-09-08 Thread Allistair Crossley
as Cp1252 and it gets mashed up. I have tried setting all encoding to utf-8 also but no go. I have to admit I am stumped now Anyone..? Anyone..? Bueller..? Bueller..? -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: 08 September 2004 12:29 To: Allistair Crossley

RE: Setting JVM == file.encoding = Cp1252

2004-09-08 Thread Allistair Crossley
lol, good good .. now why doesn't my version work lol ;) -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: 08 September 2004 17:23 To: Tomcat User List Cc: Allistair Crossley Subject: AW: Setting JVM == file.encoding = Cp1252 Dear Allistair, (et.al) Many

RE: Performance issue

2004-09-07 Thread Allistair Crossley
it's an interesting one and one that we found too between our dev 1 cpu, w2k, 512mb ram, tomcat 5.0.19 and production 2 cpu, w2k, 1gb ram, tomcat 5.0.19. In both cases we use a content management system backend and sql server. for us we found that the volume of content in our cms on the

RE: Performance issue

2004-09-07 Thread Allistair Crossley
-Oorspronkelijk bericht- Van: Allistair Crossley [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, September 07, 2004 9:01 AM Aan: Tomcat Users List; [EMAIL PROTECTED] Onderwerp: RE: Performance issue it's an interesting one and one that we found too between our dev 1 cpu, w2k, 512mb ram, tomcat

RE: Performance issue

2004-09-07 Thread Allistair Crossley
on the development server, it;s click and it's there. On the productionserver he needs some time (max 1 second) to reload the page. It seems it had to do something with cashing ore something??? Maarten -Oorspronkelijk bericht- Van: Allistair Crossley [mailto:[EMAIL PROTECTED] Verzonden

RE: Tomcat 5.5.0 - Child name is not unique error

2004-09-07 Thread Allistair Crossley
this is a bug in 5.5.0 and you will have to wait for 5.5.1 which I believe Yoav said might be out today :p ADC -Original Message- From: helena rato [mailto:[EMAIL PROTECTED] Sent: 07 September 2004 16:01 To: [EMAIL PROTECTED] Subject: Tomcat 5.5.0 - Child name is not unique error

RE: Tomcat 5.5.0 - Child name is not unique error

2004-09-07 Thread Allistair Crossley
sorry yoav .. i thought this was a bug that we discussed the other day. ADC -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 07 September 2004 16:04 To: Tomcat Users List Subject: RE: Tomcat 5.5.0 - Child name is not unique error Hi, There's nothing

RE: Real problem posting Euro symbol from jsp page, using TC 5.0

2004-09-06 Thread Allistair Crossley
Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: 06 September 2004 11:19 To: Tomcat User List Cc: Allistair Crossley; [EMAIL PROTECTED] Subject: Real problem posting Euro symbol from jsp page, using TC 5.0 Dear TC profis, (allistair and Nikola) I have had this problem

RE: ????? +++ problem saving Euro symbol character to database from my JSP form using TC5

2004-09-03 Thread Allistair Crossley
What is your database URL? Are you ensuring that a charset is specified on your database connectivity? This charset should be Cp1252 for Windows-1250. Find a row in the database with a euro character and ask yourself how that euro character got there? If it got there using an encoding different

RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03

TC 5.5 exceptions on shutdown and restart

2004-09-03 Thread Allistair Crossley
Hi Guys, I can create a couple of exceptions with TC 5.5 on shutdown as described below; SCENARIO 1 == 1. I start TC 5.5 using the service with no error messages until it says finally : INFO: Server startup in 8843 ms 2. I wait 1 minute 3. I shutdown the service. The additional

RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services

RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley

RE: Tomcat 5 service on windows

2004-09-03 Thread Allistair Crossley
service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service

RE: SOLVED! RE: Why request.getRemoteUser() returns NULL ?

2004-09-02 Thread Allistair Crossley
, auto integration with IIS, it will replace jsp, it can be used with existing tomcat without any new changes yes! go JAVA! -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 7:14 PM To: Tomcat Users List Subject: RE: Why

RE: Upgrade to 5.0.27 Causes Performance Problems

2004-09-02 Thread Allistair Crossley
Hi Mike, The standard-fare answer to this type of question is to get a profiler and measure where the cpu is going inside the code itself. did you not test this on your development server before launching the upgrade? ADC -Original Message- From: Mike Scott [mailto:[EMAIL PROTECTED]

TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
Hi Guys Decided to give TC 5.5 / JDK 5 B2 a whirl today with our web application on my local machine and am having some teething troubles; 1/ Jasper has an issue with JSP page imports where the imported packages are not used. This is throwing an exception. 2/ Had the error mentioned earlier

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
1/ Jasper has an issue with JSP page imports where the imported packages are not used. This is throwing an exception. Did you look at the generated source ? No, I just removed the imports from my JSP that it was complaining about and it went away. Would you like me to put them back in and

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
Hi Remy, 1/ Jasper has an issue with JSP page imports where the imported packages are not used. This is throwing an exception. Did you look at the generated source ? No, I just removed the imports from my JSP that it was complaining about and it went away. Would you like me to

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
) -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 16:15 To: Allistair Crossley Subject: Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) On Thu, 2 Sep 2004 15:11:38 +0100, Allistair Crossley [EMAIL PROTECTED] wrote: 1/ Jasper has an issue

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
(vendor/version) ? As this looks more like an error message that's generated by the java compiler (jvac, jikes, ...). -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 5:47 PM To: Remy Maucherat; [EMAIL PROTECTED

RE: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging)

2004-09-02 Thread Allistair Crossley
:p cool, thanks Remy! ADC -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 02 September 2004 17:01 To: [EMAIL PROTECTED] Subject: Re: TC 5.5 - 4 issues (jasper, ROOT, jndi, logging) On Thu, 2 Sep 2004 16:41:14 +0100, Allistair Crossley [EMAIL PROTECTED

RE: JSP/HTML Encoding

2004-09-01 Thread Allistair Crossley
: 31 August 2004 17:06 To: Allistair Crossley Cc: Tomcat User List Subject: AW: JSP/HTML Encoding Hi Allistair +++ Many thanks for your help. +++ I apologise when I ask some stupid questions... :) 1) I am not exactly sure what the benefit is, of seeing if the client is posting

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
we do it by adding request.tomcatAuthentication=false into tomcat/conf/jk2.properties if you are using IIS then you also need to set Windows Integrated Authentication on your default website. ADC -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: 01 September

RE: ++ Best practive ?? ++ (JSP--Servlet--Database) character encoding.

2004-09-01 Thread Allistair Crossley
09:37 To: Allistair Crossley Cc: Tomcat User List Subject: How to pre-determine the browser request character encoding type Hi Alistair, I hope you find time to do your work more questions :) Why should the IE client which is definitely reading/parsing as ISO-8859-15(i can see

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 # apr.jniModeSo=inprocess # request.tomcatAuthentication=false -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
try removing the Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: 01 September 2004 10:26 To: Tomcat Users List Subject: RE: Why request.getRemoteUser() returns NULL ? i removed

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
nameurl/name valuejdbc:odbc:EQMS_DS/value /parameter /ResourceParams /Context /Host /Engine /Service /Server -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED

RE: Why request.getRemoteUser() returns NULL ?

2004-09-01 Thread Allistair Crossley
? -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 6:24 PM To: Tomcat Users List Subject: RE: Why request.getRemoteUser() returns NULL ? remove the tomcatAuthentication=false attributes from server.xml and use only jk2

RE: Tomcat 5.5

2004-09-01 Thread Allistair Crossley
from the jakarta site.. The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat 5.5.0. This is the first release of the new Tomcat 5.5 branch, and as such it is not yet stable. We expect significant additional changes, including possible changes to packaging,

RE: JSP/HTML Encoding

2004-08-31 Thread Allistair Crossley
we've got euro working using utf-8 page/char encoding. You can also use Cp1252 on Windows. ADC -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 16:00 To: Tomcat User List Subject: JSP/HTML Encoding Dear List, I am having unexpected

RE: JSP/HTML Encoding

2004-08-31 Thread Allistair Crossley
make sure also that you set file.encoding=utf8 in tomcat's startup options so that the jvm also operates in that mode. ADC -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: 31 August 2004 16:00 To: Tomcat User List Subject: JSP/HTML Encoding Dear List,

RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread Allistair Crossley
OK, I have now done a TC5.0.27-JK2-IIS5 config about 5 times in the past 2 weeks on our developer machines so it does work ;) Here are my files: tomcat_home/conf/jk2.properties = only contains the following lines, the rest is commented out. The following lines

RE: java and tomcat books

2004-08-25 Thread Allistair Crossley
Professional Tomcat 5 by Wrox Publishing (www.wrox.com) I got it last night and it's really good. Allistair Crossley -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 14:27 To: [EMAIL PROTECTED] Subject: java and tomcat books looking

RE: java and tomcat books

2004-08-25 Thread Allistair Crossley
Not really, I think TC 5 changed a whole lot from 4. Go with the O'Reilly one. Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 14:59 To: [EMAIL PROTECTED] Subject: RE: java

RE: [OFF-TOPIC] RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-20 Thread Allistair Crossley
jTDS is the fastest driver for SQL Server. We use it for some heavy traffic and found it faster than the MS driver. Allistair Crossley -Original Message- From: Brad McEvoy [mailto:[EMAIL PROTECTED] Sent: 20 August 2004 01:17 To: 'Tomcat Users List' Subject: [OFF-TOPIC] RE

RE: application deploys twice

2004-08-20 Thread Allistair Crossley
Do you not need an explicit declaration for a Context so that can you define JNDI resources though? Are you saying autoDeploy cannot work if you have a webapp that uses JNDI resources in a context XML file? Sorry if I am interpreting this wrong :) Allistair Crossley -Original Message

Performance implications of running direct from WAR?

2004-08-20 Thread Allistair Crossley
Hi Guys, Are there any performance implications of running straight from a WAR for Tomcat? Does it uncompress the WAR each time .. how is this handled? Cheers, Allistair FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of

RE: Performance implications of running direct from WAR?

2004-08-20 Thread Allistair Crossley
So are you saying Host unpackWAR=false .. still means the files are deployed somewhere? Allistair Crossley -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: 20 August 2004 15:40 To: Tomcat Users List Subject: Re: Performance implications of running direct from

RE: Performance implications of running direct from WAR?

2004-08-20 Thread Allistair Crossley
, and I have to restart tomcat to get it to to actually start seeing the files as it were to serve requests. Allistair Crossley -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: 20 August 2004 15:48 To: Tomcat Users List Subject: Re: Performance implications of running

RE: Odd characters inserted in response after JSPC

2004-08-19 Thread Allistair Crossley
Thanks. I copied the code in the JSP over to the homepage JSP and resaved and it works. Must have been the JSP file encoding like you say. Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 18 August

RE: How to submit new Tomcat documentation updates.

2004-08-19 Thread Allistair Crossley
Got em. Thanks Tim! Allistair Crossley -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 18 August 2004 11:47 To: Tomcat Users List Subject: Re: How to submit new Tomcat documentation updates. Look at the xdocs directories. All the docs are xml files

[OFFTOPIC] Removing attribute from all HttpSessions

2004-08-19 Thread Allistair Crossley
Hey, I am putting a page caching stategy into place per user session. However, there are times when I need to refresh all the caches for all users. For example, let's say 5 users have a cached version of page 5. An external event causes page 5 to invalidate. I need an effective strategy to

RE: [OFFTOPIC] Removing attribute from all HttpSessions

2004-08-19 Thread Allistair Crossley
need to store the caches created per session somewhere so I can grab them. Allistair Crossley -Original Message- From: Michiel Toneman [mailto:[EMAIL PROTECTED] Sent: 19 August 2004 09:57 To: Tomcat Users List Subject: Re: [OFFTOPIC] Removing attribute from all HttpSessions Bad

RE: [OFFTOPIC] Removing attribute from all HttpSessions

2004-08-19 Thread Allistair Crossley
) - new session: 0E3C9F21B145FF21903D8D35E540217F Also, sessionDestroyed I am guessing is not actually called when a user closes their browser but on session timeout after inactivity correct? Allistair Crossley -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 19 August

RE: Tomcat As A Service Printing Problem

2004-08-19 Thread Allistair Crossley
hi, does anyone have any idea why each request to my application goes through twice each time? I am basing this on my log4j logs which show each logging entry twice for requests e.g here is 1 click to the web app 2004-08-19 15:46:06,066 - DEBUG (iq.actions.LoadPageAction:136) - cached

How to submit new Tomcat documentation updates.

2004-08-18 Thread Allistair Crossley
Hi Guys So far, I have been able to checkout from CVS the various modules for Tomcat to look at the source code. I cannot find a clear step-by-step for how one would get the latest documentation, e.g Jasper HowTo, and then submit changes to it. If anyone has the time to detail a few steps (you

Odd characters inserted in response after JSPC

2004-08-18 Thread Allistair Crossley
Hi Guys I have compiled all my JSPs with JSPC. I have found that 3 odd characters occur at the very start of most of my my responses which use a certain template JSP ...  I use 2 layouts, one for home and one for other pages. This problem is not happening on the home page although both that

RE: Odd characters inserted in response after JSPC : more info

2004-08-18 Thread Allistair Crossley
OK, I just totally wiped the whole page jsp file and then ran JSPC and it generated 12 errors on a blank file complaining about unclosed string literals. Looking at the JAVA file JSPC generated for the blank JSP you can see it is still trying to output 3 chars but don't know why. package

RE: can't use EL c:out value=${obj.names}....

2004-08-16 Thread Allistair Crossley
You shouldn't even need to use c:out to output values either. When it works, you can just use ${obj.attr} directly in your HTML/JSP. The web XML is the likely cause. -Original Message- From: Andrew Watters [mailto:[EMAIL PROTECTED] Sent: 16 August 2004 13:12 To: Tomcat Users List

Debugging Tomcat

2004-08-12 Thread Allistair Crossley
. I would like to know which log this translates to, and how to enable it. I have tried setting ALL debug attributes within server.xml to 4 but this does not yield the logging statements I am looking for from (2). Help appreciated, Allistair Crossley -Original Message- From: César

RE: Debugging Tomcat

2004-08-12 Thread Allistair Crossley
: QM [mailto:[EMAIL PROTECTED] Sent: 12 August 2004 13:26 To: Tomcat Users List Subject: Re: Debugging Tomcat On Thu, Aug 12, 2004 at 08:58:21AM +0100, Allistair Crossley wrote: : 1) Everywhere in the documentation on Tomcat and in the comments for : server.xml, when the debug attribute

RE: Debugging Tomcat

2004-08-12 Thread Allistair Crossley
of the load package happens (boo). Do TC developers not have the logging switched on when developing? Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 12 August 2004 13:43 To: Tomcat Users

RE: 5.0.19 Memory Leak?

2004-08-11 Thread Allistair Crossley
yep, it was adding request.registerRequests=false to your CATALINA_HOME/conf/jk2.properties file Allistair -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 11 August 2004 13:43 To: Tomcat Users List Subject: RE: 5.0.19 Memory Leak? Hola, The

ThreadDeath bug 27371

2004-08-11 Thread Allistair Crossley
Hey Yoav, Did you see the latest update to the ThreadDeath bug @ http://issues.apache.org/bugzilla/show_bug.cgi?id=27371 One of our developers here is getting this error on his local TC 5.0.25 every single compile without fail, and the spooky thing is - this is a brand new TC image from my

RE: ThreadDeath bug 27371

2004-08-11 Thread Allistair Crossley
realized that the exception is purely informational my interest in the topic dropped to negligible. It'll be good to reproduce and fix, but I'm fully occupied with more important stuff. Yoav Shapira Millennium Research Informatics -Original Message- From: Allistair Crossley

RE: how to read a text file and store into mysql databse --JAVA

2004-08-10 Thread Allistair Crossley
are you off your rocker? this is a tomcat mailing list. -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: 10 August 2004 16:17 To: [EMAIL PROTECTED] Subject: how to read a text file and store into mysql databse --JAVA Hello Everybody, I have text file (ram.txt)

RE: How to Upload a File Using JSP?.(Snippest of code needed)

2004-08-10 Thread Allistair Crossley
; } } Allistair Crossley -Original Message- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: 10 August 2004 14:07 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: How to Upload a File Using JSP?.(Snippest of code needed) Hello Yoav, Thanks

[OFF TOPIC] J2EE/Tomcat Build Process

2004-08-09 Thread Allistair Crossley
Hi All, I am currently trying to streamline our team's build process here using Tomcat as our servlet container. For a while the way I had it setup was that we had 1 instance of TC running on a dev server and 1 instance on production. Each developer would checkout only the code they will

RE: Problems with file encoding

2004-08-09 Thread Allistair Crossley
You still can. If you look in catalina.bat ... %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS% So, just make sure you set %CATALINA_OPTS% e.g SET CATALINA_OPTS=-Dfile.encoding=ISO8859-1 If you are using a Windows Service you need to modify service.bat Allistair. -Original Message- From:

RE: worker2.properties conf

2004-08-06 Thread Allistair Crossley
try the following out .. i've not tested it though :p [logger] level=INFO [logger.file:0] level=INFO file=d:\\jakarta-tomcat-5.0.25\\logs\\jk2.log [workerEnv:] info=Global server options timing=1 debug=0 logger=logger.file:0 [shm] file=d:\\jakarta-tomcat-5.0.25\\work\\jk2.shm size=1048576

Cannot get log4j logs into tomcat logs folder using relative mechanism

2004-08-06 Thread Allistair Crossley
Hi Guys, Our developers use the same log4j configuration file, but have separate instances of tomcat on the server. At the moment we have to do a search and replace for the File attribute to make sure the directory is correct per developer instance. At the moment this works for an instance ...

RE: Cannot get log4j logs into tomcat logs folder using relative mechanism

2004-08-06 Thread Allistair Crossley
deploying your webapp. You can do this with filter tokens and build.properties files for every developer. Yoav Shapira Millennium Research Informatics -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 7:43 AM To: [EMAIL

RE: log4j SEVERE ThreadDeath in Tomcat 5.0.25

2004-08-06 Thread Allistair Crossley
Hi Yoav, I'm afraid no success using this method; public void contextDestroyed(ServletContextEvent scE) { LogManager.shutdown(); LogFactory.releaseAll(); logger.info(Renewals Application Destroyed); } The following stack trace

workers2.properties - uri mapping requests with ports to different tomcats

2004-08-05 Thread Allistair Crossley
Hi, I have setup 2 Tomcat instances on the same server. JK2 ISAPI is installed on IIS and running fine routing all intratestgbr URIs to Tomcat 8009. I have setup anothe website on IIS with JK2 also, but running on port 84. I now want to map URIs that use port 84 to Tomcat 8011. The following

RE: java.lang.OutOfMemoryError

2004-08-05 Thread Allistair Crossley
We had memory loss with 5.0.19. We profiled a 5.0.19 web app and found that memory was not being garbage collected too well. As soon as we upgraded this went away and was proven by th profiling. Start by trying out 5.0.27 and see how it goes. If it still happens then take Yoav's advice and

RE: Strage Behaviour - Tomcat Memory Leak

2004-08-05 Thread Allistair Crossley
As Yoav points out, this is quite normal. I also run JProbe and if you just leave it alone, very small memory usage is made and at regular intervals the GC will jump in, producing your saw tooth (since the GC will only jump in when it really thinks the heap needs clearing out is why it

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

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

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

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

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

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

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

RE: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Allistair Crossley
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 List Subject

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 :)

<    1   2   3   4   5   6   7   >