RE: NIGHTMARE

2002-04-09 Thread Justin Rowles
Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days trying to make it work without success. You should've asked for help sooner then, rather than wait till you were so mad all you could do was vent... that's what the list is for. That's help, not venting ;-) J. --

RE: Manager App in 4.0

2002-03-14 Thread Justin Rowles
Not on that URL, buddy! That's your internal address. -Original Message- From: John Regan [ mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 17:29 To: 'Tomcat Users List' Subject: RE: Manager App in 4.0 still struggling to get the manager working. have followed all suggestions, don't

RE: Tomcat 4.0.1 on omvs under os390

2002-03-13 Thread Justin Rowles
I am in the process of porting our servlet based application running under Linux to omvs under Os390. I'm afraid I can't help, but I just wanted to say how nice it is to hear phrases like 'os390' and 'ebcdic' again. Takes me back to my first programming job ;-) J. -- You're only jealous

RE: CONNECTION BUSY

2002-03-12 Thread Justin Rowles
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt problem. This is coming only if I am executing a no. of SQLs in quick succession. The odbc bridge is not serialisable. That is to say, all requests are queued and answered one by one. If this is

RE: IE 5 on Mac is incompatible with TC 4?

2002-03-08 Thread Justin Rowles
From: Anders Rundgren [mailto:[EMAIL PROTECTED]] Well This is matter of taste. As IE 5 is the current Mac release and IE is relatively popular even by Mac-user's, I believe that TC should adopt to IE 5 rather than the revse. A *really* strange thing is that persistant cookies work.

RE: integer value

2002-02-25 Thread Justin Rowles
I have a doubt, I have a form that has name and his phone number, both the fields are optional. I declared name as VARCHAR and number as INTEGER in my SQL database. When the user leaves the fild empty, I get an error with the number field as NumberFormatException. If you really want to

RE: not suitable driver?

2002-02-22 Thread Justin Rowles
getConnection(jdbc:mysql:3306://localhost/bukujsp?snip Surely you mean: getConnection(jdbc:mysql//localhost:3306/bukujsp?snip They may be identical. Anyone? J. -- You're only jealous cos the little penguins are talking to me.

RE: Starting JSP from HTML

2002-02-22 Thread Justin Rowles
I am trying to start a JSP from an HTML page w/ the script: http://bmms.ibmms.com:8080/1st.jsp; where bmms.ibmms.com is the internal address of the JSP location. This works ine internally, but when I bring up the HTML page on the internet, It's prolly cos the name

RE: Folders/Files hidden in Linux but visible through Tomcat/Browser

2002-02-21 Thread Justin Rowles
I can't see folder and files that start with a certain word in Linux. There is no . (dot) in the name. Care to give us some examples, or shall we just guess? What are you using to list them and what is the output. However, when I run tomcat the folder/files are in the directory where it

RE: code!!

2002-02-21 Thread Justin Rowles
I'm not sure if it matters, but have you tried rewriting the code with the following: %@ page import = java.io.*, java.sql.* % in place of the page element defined below? I've never seen anyone split up imports into different statements. Those aren't different statements

RE: code!!

2002-02-21 Thread Justin Rowles
These are three distinct import directives, not one import delimited by three newlines. I apologise, I see what you mean - and said - three *imports* not three page directives. You are right about only import in a page directive, so I think your diagnosis was correct. I, on the other

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread Justin Rowles
Hello List... Hallo Newbie ;-) NEWBIE: I want to generate the welcome page for my domain so I mapped a test servlet to / in the web.xml for my context. PROBLEM: A test.gif image is not rendered by the servlet - as it appears the path is not found. Are you trying to return html

RE: NewB/Default Servlet:Can't find .gif

2002-02-18 Thread Justin Rowles
I'm confused as to why once I change the servlet-mapping from / to /intro that the .gif is read. So am I ;-) Can you print out the output from either case and send it. J. *** For more information on Ordnance Survey products and

RE: Sessions Timeout

2002-01-31 Thread Justin Rowles
I had a quick question about this. For a session to be refreshed by being accessed, does this count only direct calls to the specific URI's, or if I do a forward from another servlet context into it, will this count as access as well. I'd have *expected* any access to the session

RE: javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception in Tomcat4.0.1 with JBuilder6

2002-01-31 Thread Justin Rowles
Just from reading the error logs you sent: root cause java.lang.NoClassDefFoundError: org/xml/sax/SAXException ...it sounds like your classpath for JBuilder doesn't include this class. J. -- You're only jealous cos the little penguins are talking to me.

RE: 64k limit on POST variables?

2002-01-30 Thread Justin Rowles
AFAIK there is no limitation in apache. I don't think that there is a limitation in tomcat or one of the connectors. Given that you could make a Denial Of Service attack by using memory by posting arbitrarily long parameters to a server, I suspect that all of them have some kind of

RE: TC Re: 64k limit on POST variables?

2002-01-30 Thread Justin Rowles
In my case, I wasn't checking the variable on the server at the right point. Tomcat was sending 64k just fine (I discovered after adding a decent amount of debugging). I happened to be putting the result in a database column that was limited to 64k. Hence the reason that I ran into the

RE: WebAppDeploy Vs WebAppMount

2002-01-30 Thread Justin Rowles
You can just modify your server.xml to have TC listen to 80. Thanks but I still want to serve static pages hence need to have apache. NB: TC will server static pages quite happily. Now, I've *just* been discussing this for implementation at my current contract. We are wondering what the

RE: Session Timeout

2002-01-30 Thread Justin Rowles
Hi, I tried setting session timeout to 5 mins using web.xml (please see the following code), but it does not seem to be working. In my jsp I displayed getMaxInactiveInterval() and it shows 1800 (30 mins). Can anyone please let me know if I can use web.xml for session timeout in

RE: Session Timeout

2002-01-30 Thread Justin Rowles
I think Justin is correct in stating to put the timeout in the JSP's. I bet the web.xml file is only for servlets. Well jsps *are* servlets once they are compiled! Personally I think it's a bug but I have a workaround so I can get on with this huge pile of vitally important small changes to

RE: Sessions Timeout

2002-01-29 Thread Justin Rowles
Is there a way to configure Tomcat to check the expire time against last access time and not creation time? Sessions *are* invalidated when the timeout period has passed without access. *Not* when the timeout period has passed from creation. Justin. -- You're only jealous cos the little

RE: Sessions Timeout

2002-01-29 Thread Justin Rowles
the session method getMaxInactiveInterval() gives you the time-value, after that your inactive session is killed. You can change this value in the web.xml file. Or in the jsp - request.getSession.setMaxInactiveInterval(time in seconds). J. -- You're only jealous cos the little penguins

RE: gc() and sessions

2002-01-29 Thread Justin Rowles
Does garbage collector run automatically when a session set by setMaxInactiveInterval() times out? No, gc runs when the jre thinks it should. That's all you need to know! (Well, that's the position of the java designers). When it runs it *will* remove inactive sessions and de-allocate their

RE: Session visibility

2002-01-29 Thread Justin Rowles
I have sessions setup for a couple of different servlets. For some reason the session that are created using one servlet are not valid in a different servlet. Is there a way to make this happen? Assuming when you say servlet you mean jsp page (which is slightly different): If they are in

RE: PLEASE REMOVE THE VIRUS BEFORE MAILING THE LIST...

2002-01-29 Thread Justin Rowles
Well, my ISP nuked your last issue of the digest (tomcat-user Digest 29 Jan 2002 07:19:31 - Issue 352) because it was emailed with the Party virus intact. Nuked your last issue? Surely the last issue?! It would be mailed intact cos the listbot doesn't strip attachments. That would

RE: TOMCAT 4.0.1 and Cookies / URL Rewriting

2002-01-28 Thread Justin Rowles
Is it correct, that session tracking with TOMCAT is only possible if Cookies are allowed in the browser. Or is there any configuration possibility to use URL rewriting if a browser has cookies disabled? You can use URL rewriting, but it will also require that your HTML server (Apache?) be

RE: READER to InputStream

2002-01-24 Thread Justin Rowles
No, I've a Reader and need an InputStream, sounds silly but the API needs so...:-( The abstract class Reader doesn't have any method to report which InputStream it is connected to. I think you may be out of luck. On the other hand, tell us more about the problem - it sounds interesting. J.

RE: Session timeouts

2002-01-24 Thread Justin Rowles
I've added to the following line to my server.xml to try and increase timeouts for the webapp 'matt' but it doesn't appear to have any effect. Am I missing something? Context path=/matt docBase=matt defaultSessionTimeOut=120/ I also found no effect. I always set it in the top

RE: IIS or Apache

2002-01-22 Thread Justin Rowles
One of the problems i've run into with open source servers on Windows is getting binaries for many of the common tools, servers and dlls required for Win32, such as connectors for Tomcat, OpenSSL for SSL on Apache, etc. snip If you can complile the binaries yourself, your OK.. but

RE: Jasper error

2002-01-22 Thread Justin Rowles
I have looked at most of the documentation I can find and tried to use web.xml - going to this list with such a basic question is a last resort. Firstly well done - a decent effort with the docs is something to be congratulated upon. Class org.apache.jsp.UserData not found. This is the

RE: Still have no answer for this!

2002-01-21 Thread Justin Rowles
OCI.DLL: One of the library files needed to run this appliction cannot be found. Can anyone tell me what might be the problem? I checked the dll dependency for OCI.DLL, all dll files are there. http://www.orafaq.com/msgboard/java/messages/398.htm OCI is the Oracle Call Interface and is only

RE: Can a url have a space in it?

2002-01-18 Thread Justin Rowles
When using tomcat 3.2.4, is it invalid to create a folder called /my folder? It looks like tomcat turns the url into my%folder, which I thought should work, but it can't find any files in this directory. Is this correct, is there something I can do to allow tomcat to find files in a

RE: Can a url have a space in it?

2002-01-18 Thread Justin Rowles
if uRL was http:/localhost/servlet/test?file=my%20documents then when your do : String paramV = request.getParameter(file); out.println(File Path is: + paramV); this should make paramV = my documents is this what your looking for? B Anyone correct me if I am wrong please. If you

RE: Getting a HTTP 503 Error

2002-01-18 Thread Justin Rowles
Anyone ever got a 503 error from TomCat 4? What does it mean? http://offline.home.cern.ch/offline/web/http_error_codes.html For all (well, all useful) http error codes. Remember people: STFW ;-) J. -- You're only jealous cos the little penguins are talking to me.

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Justin Rowles
An error occurred at line: 18 in the jsp file: /error.jsp Generated servlet error: D:\Tomcat\work\localhost\_\error$jsp.java:64: Class org.apache.jsp.PrintWriter not found. exception.printStackTrace(new PrintWriter(out)); ^

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Justin Rowles
I'm not importing it because I am not using directly. Tomcat is throwing the error when it is invoking its internal JSP compiler. Hmm... interesting. Yes, Tomcat is throwing the error when it tries to compile the .java file that it has genereated. There is, however, a source file called

RE: JSP Won't Compile Under Tomcat 4

2002-01-18 Thread Justin Rowles
I still can't understand why none of this was necessary under Tomcat 3. Probably the package import instruction you needed was added by the .java generator because some of the code it was adding to create the .java file from the .jsp file would need it. You can find out by looking in your

RE: Tomcat as a Windows Service on Windows 2000?

2002-01-18 Thread Justin Rowles
Now I wonder: what do I have to do to make Tomcat work as a Windows Service on Windows 2000 Professional or Windows 2000 Server? Install Tomcat 4.0.1 We have 3.2.3 working on Win2k. J. -- You're only jealous cos the little penguins are talking to me.

RE: JSP at client

2002-01-17 Thread Justin Rowles
JSP pages are working well at server (Tomcat is used). But although the url is correct, jsp pages show nothing at clients. Send (SHORT) example code, tomcat version, anything else useful, or no-one can help you. Justin. -- You're only jealous cos the little penguins are talking to me.

RE: reloadable

2002-01-17 Thread Justin Rowles
file a.jsp which includes b.jsp I'm viewing a.jsp in browser, then I modify b.jsp and reload page in browser, but I can't see changes - b.jsp doesn't recompile :-( Can you view b? If you do, it will recompile. Justin. -- You're only jealous cos the little penguins are talking to me.

RE: Urgent: works on TC 3.2.2, but not on TC 3.3 !!!

2002-01-17 Thread Justin Rowles
Usually frames are involved when something like this happens. My involvement with Tomcat is through an IDE I work on, so I haven't done a lot of real world webapp development. Thus, I don't know why the frames get different sessions. I would expect them to get the same session as the main

RE: One JSP not compiling - HELP - ANY TOMCAT DEVELOPERS?

2002-01-17 Thread Justin Rowles
Never mind - just writing that and re-reading it helped me figure it out...what a weird thing!! So what was it?! We want to hear about quirks and get them archived for future use. Justin. -- You're only jealous cos the little penguins are talking to me.

RE: Urgent: works on TC 3.2.2, but not on TC 3.3 !!!

2002-01-17 Thread Justin Rowles
One potential problem with frames is the session id if cookies are disabled. snip description - look in the archives You can get round this by having a third hidden frame which 'owns' the links and which is the one which gets refreshed, and using JavaScript to connect up the links from the

RE: Urgent: works on TC 3.2.2, but not on TC 3.3 !!!

2002-01-17 Thread Justin Rowles
Would you mind me asking you to elaborate your idea with simple code? Mind you asking, not in the least! However, I'm a bit busy. framset frame name=one src=foo.html frame name=two src=bar.html frame name=three src=form.jsp /frameset The top two have have javascript in all their tags

RE: Urgent: works on TC 3.2.2, but not on TC 3.3 !!!

2002-01-17 Thread Justin Rowles
The funny thing is that when I printed out the session Id of the main jsp page and the session Id of one jsp page which sits inside that main jsp page, their session Ids are different. How come?? They shouldn't be. A session is really a browser-specific connection, not a page-specific

RE: PLEASE HELP : THIS IS THE THIRD TIME I M POSTING

2002-01-17 Thread Justin Rowles
The reason you're not getting answers is prolly bacause your question is so basic it implies you haven't even read the documentation! If you have, then I apologise. If you haven't, then in future (and this is nothing personal, I don't know who you are at all), do that first! Also your

RE: Off Topic apache problem, Strange url behaviour

2002-01-16 Thread Justin Rowles
I have some problems with my URL:s I know this is a TomCat group but I dont know any Apache mailing lists. Suggestion please. sarcasm STFW? /sarcasm http://httpd.apache.org/lists.html Justin. -- You're only jealous cos the little penguins are talking to me.

RE: Off Topic apache problem, Strange url behaviour

2002-01-16 Thread Justin Rowles
STFW='Save the funny wale' or 'Search the f*ing web' or what? In answer to your question, I suggest you STFW ;-) A good place to start for this sort of thing is http://www.acronymfinder.com/ J. -- You're only jealous cos the little penguins are talking to me.

RE: Can't get it working: TC4.0.x + warp + Apache 1.3.20 + SuSE Linux 7.3

2002-01-16 Thread Justin Rowles
BTW: If I specify http://MyHost.de/example I get a Not found error, while with http://MyHost.de/examples/ the result is a blank page. ?!?!? In your TC context definition it *matter* whether or not you include the final /. If you want it to work either with or without, put both contexts

RE: Session timeouts

2002-01-15 Thread Justin Rowles
I want to set the session timeout for a web app. In the example web.xml it says that the the value is is seconds, but in book I have about Tomcat 4 it says that it's in minutes. It's minutes. It is set to a default in the xml configuration file, but can also be set in the jsp (find the

What is the current state of response.encodeURL?

2002-01-14 Thread Justin Rowles
expected. As always, speedy answers are very much appreciated, but I shall refrain from using caps and exclamation marks in the subject line ;-) J. -- Justin Rowles E-Delivery Team C478 We live to serve *** For more information

RE: What is the current state of response.encodeURL?

2002-01-14 Thread Justin Rowles
I get a URL with a semi-colon separating the JSessionID declaration from the rest of the URL. OK, so far so odd. I forgot to mention that clicking on this link produces an apache error: The requested URL /test.jsp;jsessionid=pgutcltep1 was not found on this server So it isn't functional

RE: Tomcat Apache JSP compilation error

2002-01-14 Thread Justin Rowles
For some reason i'm getting a class not found exception for a Vector Better stfw for where you find Vector then! Generated servlet error: T:\Tomcat\work\www.myonlineshop.com\shop\basket_0005fedit_0005 fdetails_0005f content$jsp.java:128: Class org.apache.jsp.Vector not found. I'll give

RE: Tomcat Apache JSP compilation error

2002-01-14 Thread Justin Rowles
Yeah, seemed too obvious though. It works on the other server we are running here and the codes no different. Still, works now. Bargin. Are you sure?! Try copying one across to the other, just for me ;-) The difference is likely to be in the list following the import tag in the %@ ... %

RE: Auto starting Tomcat during boot?

2002-01-11 Thread Justin Rowles
I've just installed Tomcat 4.0.1 on my Red Hat 7.2 Linux box. Everything works fine but Tomcat won't auto start after a reboot. I added a symbolic link to the Catalina.sh file in my rc3.d level. ln -s /usr/local/bin/tomcat/bin/Catalina.sh S99tomcat If you have a look at the startup

RE: tomcat startup script (AW: Auto starting Tomcat during boot?)

2002-01-11 Thread Justin Rowles
I was wondering why you can't just add a symbolic link in the rc3.d point to Catalina.sh, startup.sh or shutdown.sh. I tried linking those files but it still doesn't work after I restarted the server? Possibly because Catalina.sh then gets a parameter of start? I dunno though, only

RE: URGENT! PLEASE..

2002-01-10 Thread Justin Rowles
Btw, what does 10x2 all mean?? It means thanks as in ten-x (say it, then realise how lame it is). I worry about the mental health of people who use that sort of thing myself... ;-) J. -- You're only jealous cos the little penguins are talking to me.

RE: Free Firewall Solution - Smoothwall

2002-01-09 Thread Justin Rowles
As long as you don't need support. hehe. Lots of people are using it, and no-one's needed any yet ;-) J. -- You're only jealous cos the little penguins are talking to me. *** For more information on Ordnance Survey products and

RE: Tomcat 4 integration with apache

2002-01-07 Thread Justin Rowles
me too!:) For Pete's sake, I reckon the lad that offered has got the message. Vinay, please write up and post a simple HOWTO. 'Many people' will clearly appreciate it. 'Many people', please stop sending aol Me too /aol! Cheers, Justin. -- You're only jealous cos the little penguins are

FW: Tomcat 4 integration with apache

2002-01-07 Thread Justin Rowles
Kindly sent by Mr Peter Burgess, for those needing a guide to the above. -Original Message- Hi, I noticed your posting on the tomcat-user list via the mail archives (I'm not directly subscribed myself) - this should answer your problem:

RE: whine/

2001-12-21 Thread Justin Rowles
RTFM Read the (friendly) manual. For this and any other acronym questions, go to google and type in (say) RTFM and acronym. You'll find it in no time. Justin. -- You're only jealous cos the little penguins are talking to me.

RE: black magic mystery

2001-12-21 Thread Justin Rowles
I have never used a debugger for java before, can gdb be used on java? strange. AIUI gdb can be used on anything that is gdb compliant. It uses an API to talk to the debugger, rather than gdb taking over the program. I may be subtly wrong, but you get the idea. J. -- You're only jealous

RE: AW: Classloader question

2001-12-20 Thread Justin Rowles
Servlet containers look for JAR files, not ZIP files. Why Oracle persists in shipping their JDBC drivers in ZIP format is a mystery to me -- but the complaints should go to them. As I understand it, .zip files can be renamed to .jar files without a problem. The manifesto is missing, but

RE: AW: Classloader question

2001-12-20 Thread Justin Rowles
I tried and it works. The manifest isn't used here so you can only rename the file. If you want to be clean you must unzip the file and recreate the jar but it's pointless. Thanks for that - that was my understanding. Nice to have it confirmed. J. -- You're only jealous cos the little

RE: Illegal State Exception - Even more!

2001-12-20 Thread Justin Rowles
AH! *So*, the theory here is that I am generating more than the 8kb of data, which is being autocommited to the browser, then an error occurs and the servlet cannot send the error, but instead raises this exception. Got it. In fact, I write a large form back in html. If the last

RE: Illegal State Exception - Even more!

2001-12-20 Thread Justin Rowles
The increase in memory probably didn't affect the buffer size. For JSP, the JspWriter's buffer may be increased with: %@ page buffer=size % Whoops, didn't say what I meant. That (the above) is exactly what I did - to 500kb I can get a Response has already been committed exception at

RE: Can you view SSL without the https prefix?

2001-12-20 Thread Justin Rowles
I can change any references internal to my system (index.html, etc) to use https, but some clients have bookmarked the servlet page, rather than the access page. Is there a way to redirect http://xx.xx.xx.xx:8080/index.html; to *actually* call up the page

RE: Code request; Code to reveal a DB schema

2001-12-19 Thread Justin Rowles
I'm looking for some dynamic code that will reveal all libraries, files, fields in a DB Does anyone have an example or can you point me in the right direction? *Totally* DB specific. For Oracle try searching http://technet.oracle.com; for anything else try asking on a database list? ;-)

RE: Code request; Code to reveal a DB schema

2001-12-19 Thread Justin Rowles
I'm looking for some dynamic code that will reveal all libraries, files, fields in a DB Does anyone have an example or can you point me in the right direction? java.sql.DatabaseMetaData is your friend! Wow! I didn't know that, ta! Apols for the previous wrong answer then. J. --

RE: VERY VERY URGENT!!!!

2001-12-19 Thread Justin Rowles
1. I want the Jakarta service keep functioning when an user logoff from NT (now it is stopping). Start -Settings -Control Panel -Services -Jakarta -Settings (or something like that) -Run as... Enter administrator and the admin password. Then it will run as admin and continue when you log

Illegal State Exception

2001-12-19 Thread Justin Rowles
At intervals I get this error (or very similar). I have previously got rid of it by removing what I last did! Last time, it appeared to be caused by calling the first() method on a ResultSet. This time I have made several changes and have no idea what the cause is. How can I pursue it through

RE: Illegal State Exception - Further information.

2001-12-19 Thread Justin Rowles
At intervals I get this error (or very similar). I have previously got rid of it by removing what I last did! I have commented out all my recent additions, and the system worked again. I then uncommented all my comments, one by one, and guess what? It still works. Anyone got any ideas?

RE: Illegal State Exception

2001-12-19 Thread Justin Rowles
You are doing something like res.getOutputStream().write(data); twice within the same request. This could be for several reasons and it general occurs when you include a page in your response and then try to use the above - you can do a response.isCommited() to check the state of the

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Justin Rowles
Remember that TC is made in Java, the character \ is illegal, to do it you have to put C:\\Temp, the same as String x = \n; Better still, use Unix notation: C:/Temp J. -- You're only jealous cos the little penguins are talking to me.

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Justin Rowles
Yes, is true, it is supported in java.io.File class, bur remember, the other will be faster for the platform, at the end, the runtime will convert C:/Temp to C:\Temp, it is the platform specification :-), Faster by 1ns at process startup only. Now, compare that to the time lost by bad

RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Justin Rowles
They have a complete JDBC 2.0 complaint jdbc-odbc driver. This will allow you to work with SQL Server or access from linux, solaris or windows. Be aware that the jdbc-odbc bridge is serialised (cos odbc is single-threaded). So if you want multiple concurrent accesses then that isn't an

[Offtopic] RE: JDBC Driver for MS SQL Server

2001-12-18 Thread Justin Rowles
I certainly agree on this opinion! I got bloody knuckles from the MS driver (really just OEM'd from Merant before they spun off). bigint didn't work at all right out of the gate. How many other bugs are lurking if such an obvious one made it through the extensive QA process? According to

RE: Tomcat 3.3, Apache 1.3.22, and Windows NT

2001-12-13 Thread Justin Rowles
Which version of Apache? I think there was one version that wasn't happy with back slashes '\'. You could try forward slashes '/'. AFAIK, all versions require use of / not \ which is treated as an escape character (as per Unix text specs). Oh, if only everyone would come over to the one

RE: Tomcat 3.3, Apache 1.3.22, and Windows NT

2001-12-13 Thread Justin Rowles
I think from around Apache 1.3.12, it would tolerate back slashes in file names on Windows systems. I believe it may have been Apache 1.3.14 that had a bug such that drive letter:\rest of path wasn't recognized as being an absolute path and try to use it as a relative path. Still, it is

RE: Apache + mod_jk (ajp13) + Tomcat: no Expires header in the response

2001-12-12 Thread Justin Rowles
Tomcat can serve static resources just fine. The only question is, which way supports the minimum performance standard that you need? If it does, you should set things up that way. Apologies - I was working on the assumption that the questioner was using TomCat under Apache already (as

RE: Servlets and memory usage.

2001-12-12 Thread Justin Rowles
1. If Java throws an OutOfMemoryException, there is no more memory to collect. Java guarantees that before the exception is thrown the garbage collector has run. If you get these exceptions then you still have references to the memory. Hmmm. I know this is in the spec, but I am

RE: can't have multiple occurrences of language

2001-12-11 Thread Justin Rowles
I've just moved a system of ours from Jrun to Tomcat. A page which did run on Jrun now come comes up with this error on Tomcat : 'Page directive: can't have multiple occurrences of language'. Can anybody help? Duncan, also known as Andy, Have you checked that you don't have multiple

RE: Apache + mod_jk (ajp13) + Tomcat: no Expires header in the response

2001-12-11 Thread Justin Rowles
In general I agree with you and I never put static HTML pages under Tomcat, but the pages I'm talking about now are created by Tomcat itself after invoking a servlet to store the result of the invocation... I didn't like the idea that Tomcat would had saved these HTML files under Apache

RE: SESSION Poblems

2001-12-10 Thread Justin Rowles
In wich file is setted the time witch the session remains valid without any operations made in my web-app. In my case, if I login to my application and I stay logged in without doing nothing for a half an hour (30 min) I lose the session and I have to login again (to initiate a new

RE: Mailing list question

2001-12-06 Thread Justin Rowles
What sort of turn-around time do you guys (and gals) usually see on messages? Up to a couple of hours. I'm in the UK, I don't know where the mailing list server is physically though. J. -- You're only jealous cos the little penguins are talking to me.

RE: Tomcat 3.3, server.xml and a lot of fun

2001-12-05 Thread Justin Rowles
webapps should never have made it into the spec. Name three well known web sites running in a mass virtual hosted environment and deployed as webapps with a web.xml file to boot ! Hell, name *any*. We're the main european hub for bioinformatics research and resources, the fact that

RE: Known Memory clean-up issues?

2001-12-04 Thread Justin Rowles
NOW, does anyone know when the damn jspDestroy method should be invoked?! PLEASE! From the JavaDoc for javax.servlet.jsp.JspPage (version 2.2): jsp_destroy() is invoked when the JspPage is about to be destroyed (I believe that the underscore is a typo.) A JSP is only destroyed

RE: How to prevent access to the content of a folder?

2001-12-04 Thread Justin Rowles
If I direct the browser to http://localhost:8080/app1/images I'll have access to the contents of this directory. Is there a way to prevent this from happenning? Include an absolute path reference and file in the default page list: default.htm index.htm /other_stuff/sod_off.htm This means

RE: Please Help : Use MySQl

2001-12-04 Thread Justin Rowles
I use Tomcat 4.0.1, Apache 2.0.28, Mysql 3.22 and solaris 8, and need conect with database, please help with this configration. We'll need more information! What exactly are you having problems with? In the meantime, this should help: The JDBC mySQL drivers are available on Sourceforge

RE: Tomcat 3.3, server.xml and a lot of fun

2001-12-04 Thread Justin Rowles
Please don't top post. Replies go under the original post. Only MS weenies with MS outlook top post. Agreed. Ok. I am going to rant here. You want to complain? About a free product?! *Do* something *constructive* instead, like help with the project or the documentation. Enough said.

RE: Tomcat 3.3, server.xml and a lot of fun

2001-12-04 Thread Justin Rowles
OK. Let's be constructive. Let's say I'm a newcomer to Tomcat, just as I was a couple of months ago... How am I supposed to write docs? You're not. You're supposed to hang out on lists like this one till you know what you are doing and then write docs. Complaining that no-one has done is

RE: Known Memory clean-up issues?

2001-12-02 Thread Justin Rowles
I checked my servlet code. It only allocates local variables within the request methods. So the JVM should be cleaning them up but it isn't. If I let my test run long enough, I can cause an OutOfMemory exception to be thrown by Tomcat. I logged memory usage on our system and graphed it.

RE: When does jspDestroy actually run, and why doesn't it appear to be running at all?!

2001-12-02 Thread Justin Rowles
I'm re-sending this - can anyone please advise? Can anyone confirm that they get the jspDestroy method run at unload time? if the servlet itself is not loaded , then how do jspdestroy will get loaded No, no, it *is* loaded, and used for a bit, then timed out and - presumably - unloaded.

RE: Question about the calendar object

2001-12-02 Thread Justin Rowles
I think that the Calendar object behaves strange. Yes it does. http://java.sun.com/products/jdk/1.1/docs/api/java.util.Date.html Not really a Tomcat issue, though, is it? Justin. -- You're only jealous cos the little penguins are talking to me.

RE: When does jspDestroy actually run, and why doesn't it appear to be running at all?!

2001-11-29 Thread Justin Rowles
that this is a correct approach for timeouts, and, more importantly that the jspDestroy method should be running and why it does not appear to be :( Thanks in advance. Justin. -- Justin Rowles E-Delivery Team C478 We live to serve

When does jspDestroy actually run, and why doesn't it appear to be running at all?!

2001-11-28 Thread Justin Rowles
. -- Justin Rowles E-Delivery Team C478 We live to serve *** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk