RE: Server Alias

2004-09-15 Thread Andy Eastham
Dionisio, The first option, with multiple alias tags. Andy -Original Message- From: Dionisio Ruiz de Zárate [mailto:[EMAIL PROTECTED] Sent: 15 September 2004 15:28 To: Tomcat Users List Subject: Re: Server Alias i have see the doc. but if i have several aliases for one host how

RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5.

2004-09-03 Thread Andy Eastham
. Hope this helps, Andy -Original Message- From: João Gil ACE-SC [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 12:18 To: Tomcat Users List Subject: RE: Unable to integrate Apache 2.0.24, mod_jk2 with Tomcat 5. Hello, Thank's to Andy Eastham solution I managed to get Apache

RE: Unable to integrate Apache 2.0.24 with Tomcat 5.

2004-09-02 Thread Andy Eastham
Joao, I looked at that url and the way redirections are configured is different to mine. I do NOT have things like Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location /mywebapp JkUriSet worker ajp13:localhost:8009 /Location (in fact these look like mod_jk configuration to

RE: understanding web.xml

2004-08-17 Thread Andy Eastham
Also look at the sample chapter at http://www.moreservlets.com/ Andy -Original Message- From: Thilo Krawietz [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 08:07 To: Tomcat Users List Subject: Re: understanding web.xml Hi Tobias, in Suns official Servlet specification all

RE: Too many open files on Solaris

2004-06-16 Thread Andy Eastham
The first thing that came up in Google was this, which might help: http://support.bea.com/support_news/product_troubleshooting/Too_Many_Open_Fi les_Pattern.html Andy -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Davor Cengija Sent: 16 June 2004 09:59 To:

RE: How to (Unique value)?

2004-06-16 Thread Andy Eastham
Unique keys are generated by using the AUTO_INCREMENT attribute on an integer column. http://dev.mysql.com/doc/mysql/en/example-AUTO_INCREMENT.html Andy -Original Message- From: A Z [mailto:[EMAIL PROTECTED] Sent: 16 June 2004 12:28 To: [EMAIL PROTECTED] Subject: How to (Unique

RE: Repost... no response from numerous posts

2004-06-14 Thread Andy Eastham
Jack, I think what you are looking for is the following set of directives: In httpd.conf, in the Virtual Host section something like the following: Location /control/ JkUriSet worker ajp13:localhost:8009 /Location Location /wwwsadmin/ JkUriSet worker

RE: Common/lib works shared/lib doesn't

2004-06-11 Thread Andy Eastham
Marc, The only issue with having jars in common/lib, is that any static class variables are shared across every webapp, as the class loader only loads these classes once per server. Classes under webapp/WEB-INF/lib are loaded once per webapp and invisible to other webapps. For example, if

RE: JSP source being shown (not being executed)

2004-06-09 Thread Andy Eastham
Michael, If you put the JSPs under the WEB-INF folder of the web app, Tomcat will be unable to serve them directly. Does that make any difference? Andy -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: 08 June 2004 20:43 To: 'Tomcat Users List' Subject: RE: JSP

RE: AW: IP Adresses

2004-06-09 Thread Andy Eastham
Gunnar, You are contacting the developers of Tomcat. I'm not one myself, but I bet some of the people who have put in vast amounts of their own time voluntarily to develop Tomcat would be quite offended by your comment. I also wouldn't be surprised if the reason that you can't run another web

Off Topic - Java Graphing Package

2004-05-12 Thread Andy Eastham
Hi, Sorry this is a bit off topic, but can anyone recommend an open source or freeware toolkit for building bar charts and graphs in java? I am going to use it within Tomcat, but I could probably use something that's aimed at applets if I had the source code. Thanks to anyone who responds.

RE: Off Topic - Java Graphing Package

2004-05-12 Thread Andy Eastham
for jfreechart). u can find it at sourceforge. - Original Message - From: Andy Eastham [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 5:41 PM Subject: Off Topic - Java Graphing Package Hi, Sorry this is a bit off topic, but can anyone

RE: Off Topic - Java Graphing Package

2004-05-12 Thread Andy Eastham
-source-structured-graphics- libr aries-in-java/view Ryan. -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 12 May 2004 10:41 To: 'Tomcat Users List' Subject: Off Topic - Java Graphing Package Hi, Sorry this is a bit off topic, but can anyone recommend

RE: SSL and sessions

2004-04-21 Thread Andy Eastham
Glen, I found this a right pain, and currently I'm using SSL for the whole app. But this is storing up performance problems as I'm sending fairly high rez astronomical images over SSL and I know I'll have to fix it sometime. The way I'm thinking of getting round it is to send back a one time key

RE: [OT?] Apache Portable Runtime JK2

2004-04-01 Thread Andy Eastham
Matt, I built it on Solaris 9. I'd already built and installed apache 2, and all required libraries were then installed. Are you specifically trying to do this without installing Apache2? If not, here's my simple notes: build mod_jk2: download connector src:

RE: deploying servlets, missing application web.xml

2004-03-30 Thread Andy Eastham
I had this problem once when I deployed onto a live server and it drove me mad. I not absolutely sure what caused it, but it was something like I'd called the webapp's WEB-INF directory web-inf, ie a case sensitivity problem in the path. Andy -Original Message- From: Shapira, Yoav

RE: Does anyone have a working workers2.properties file?

2004-01-19 Thread Andy Eastham
Rasmus, This simple one works on windows and solaris. By the way, when I changed the shm size to 100, it didn't... Andy [logger.apache2] level=DEBUG [shm] file=c:/Apache2/logs/jk2.shm size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009

RE: using mod_rewrite with mod_jk2

2003-12-18 Thread Andy Eastham
Jon, I'm pretty sure you can, because I once had a problem which was fixed by swapping the order of the LoadModule statements for mod_jk2 and mod_rewrite. Not an exact answer, but hopefully some encouragement... Andy -Original Message- From: jon yeargers [mailto:[EMAIL PROTECTED]

RE: Tomcat and Log4J

2003-12-18 Thread Andy Eastham
Kent, A gothcha to be aware of: if you put log4j.jar in common/lib, all webapps will share the same log4j configuration. This causes a race at server startup - the last one to initialize log4j wins, ie gets it's own settings. Everything else then logs into the same file. This is a symptom of

RE: Tomcat and a DLL

2003-11-21 Thread Andy Eastham
David, The line Illegal Class name jawin folder/develop/jawin/DispatchPtr) is very suspicious - I'm pretty sure that the space in the path to your class will cause problems. Try renaming jawin folder to just jawin and rebuild the jar. Andy -Original Message- From: David Sierra

RE: Running a Service

2003-11-19 Thread Andy Eastham
Karl, An easy way of doing this is to call your servlet with wget from a cron job. Andy -Original Message- From: Karl Coleman [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 20:21 To: Tomcat Users List Subject: RE: Running a Service I apologize for being so broad. Let me be

RE: JK2 Build Error

2003-11-19 Thread Andy Eastham
Bill, The problem is that the apache runtime library cannot be located. I just found this resource that might help you out: http://cymulacrum.net/tomcat/jk2_compile.html Best regards, Andy -Original Message- From: Bill R [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 02:03 To:

RE: https -- http session problem

2003-11-17 Thread Andy Eastham
Andrew, Couldn't agree more - I've just been round this circle myself. I don't care if someone gets a session hijacked in my application, but I don't want passwords transferred over plain text, because people tend to use the same passwords in multiple applications. This application may not need

RE: Problem with IIS tomcat 4.1 jk2 connector

2003-11-12 Thread Andy Eastham
Stéphane, Your English is perfect - no need to apologise. I've looked at my config (which is for 4.0.18 with jk2) and the only obvious difference is that I don't have a leading / in my context path, So try: Context path=java docBase= debug=0 privileged=true reloadable=true/ rather than:

RE: Obtaining JK2 binaries for Linux

2003-11-05 Thread Andy Eastham
Patrick, I found this, but I did manage to compile them from source. Unfortunately my notes don't seem to be that good, but here they are: build mod_jk2: download connector src: jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz gunzip and untar cd

RE: MAC OSX and Tomcat -4.0.1

2003-10-16 Thread Andy Eastham
James, At first glance, it looks like class javax/servlet/ServletResponse class can't be found. This resides in servlet.jar, which is in common/lib under my tomcat home directory on my installation. Andy -Original Message- From: James Snelling [mailto:[EMAIL PROTECTED] Sent: 16

RE: What is a good dev-enviroment for servlet/tomcat?

2003-10-09 Thread Andy Eastham
Have you never run into a problem when multiple developers are working on the same server, and someone crashes the server, overwrites someone else's code, breaks something that someone else was relying on, or restarts the server when someone was in the middle of testing a long running batch job?

RE: HTML quoting

2003-10-02 Thread Andy Eastham
Greg, Standard one is java.net.URLEncoder.encode() and java.net.URLEncoder.decode() Andy -Original Message- From: David Rees [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 22:25 To: Tomcat Users List Subject: Re: HTML quoting On Thu, October 2, 2003 at 2:18 pm, Greg Ward sent

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Andy Eastham
Chris, Webapp is unsupported because JK is better and noone in the open source community wants to support it. Are you volunteering ;-) Andy -Original Message- From: Walker Chris [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 11:58 To: 'Tomcat Users List' Subject: RE:

Mod jk2 binaries

2003-09-08 Thread Andy Eastham
Hi, Please could anyone tell me why there are no linux binaries for mod jk2 version 2.0.2 under http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/ I've got to move something from Solaris to Linux and would be interested to hear if there's a good reason for this

RE: File upload Bug?

2003-09-03 Thread Andy Eastham
Tom, I found that the O'Reilly classes were totally unreliable on Solaris with binary uploads and mod_webapp. However, I They work fine on windows and Linux, and luckily I've not needed them on a Solaris deployment. I think decided it was actually caused by a bug in Solaris mod_webapp - are you

RE: Using sendRedirect puts me into an infinite loop...

2003-07-16 Thread Andy Eastham
Mike, The documentation is always your friend :-) The docs say that relative urls are interpreted relative to the CURRENT REQUEST URI, so the behaviour is as advertised: * sendRedirect public void sendRedirect(java.lang.String location) throws

RE: [OFFTOPIC??] RE: dbcp connection and database restart

2003-07-09 Thread Andy Eastham
Angus, You can call Conection.isClosed(), but the documentation suggests that this is not a reliable method of telling that it is _definitely_ closed. However, if it does return true, you know that you should reconnect before attempting a call with the connection. Andy -Original

RE: A question about filters

2003-07-08 Thread Andy Eastham
Abid, You are right, but if you set up the same filter in the web.xml for every webapp, you'll get the same effect. Andy -Original Message- From: Abid Ali Teepo [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:30 To: Tomcat Users List Subject: A question about filters Hi After

RE: A question about filters

2003-07-08 Thread Andy Eastham
for the entire installation that is in the same place as the server.xml Is it possible to add a filter in these files ? Abid -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 8. juli 2003 12:03 To: Tomcat Users List Subject: RE: A question about filters Abid

RE: A question about filters

2003-07-08 Thread Andy Eastham
will try that when you say filter map such as * you mean url-pattern as * right ? Abid -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 8. juli 2003 13:05 To: Tomcat Users List Subject: RE: A question about filters Abid, The server web.xml is processed

RE: Tomcat an jdk

2003-07-08 Thread Andy Eastham
GVS The release notes of 4.1.18 refer to specific issues with 1.2.x - 1.3.x on Linux, so from that I infer that generally it works with JDK = 1.2.0 It's built with JDK 1.4 though. Andy -Original Message- From: GVS Srinivas [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 13:59 To:

RE: Tomcat, load balancing, singletons

2003-07-08 Thread Andy Eastham
Vijay, Someone else posted something today about an open source EJB container that runs with Tomcat. It might have been called OpenEJB? Andy -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 15:28 To: 'Tomcat Users List' Subject: RE: Tomcat, load

RE: getting a reply like this.

2003-06-19 Thread Andy Eastham
. ? - Original Message - From: Andy Eastham [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 8:17 PM Subject: RE: getting a reply like this. Anto, When you post to this list, the mail gets distributed to various subscribers, some of whom are behind

RE: Precompiling JSPs

2003-06-18 Thread Andy Eastham
Andoni, I do this in Sun One Studio, where I do all my Java development. You can compile JSPs just as you can compile java source. Andy -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 10:25 To: Tomcat Users List Subject: Precompiling JSPs Hello,

RE: getting a reply like this.

2003-06-18 Thread Andy Eastham
Anto, When you post to this list, the mail gets distributed to various subscribers, some of whom are behind companies anti-spam filters that range from crap to fuxxing useless. These antispam filters all seem to be poorly written and poorly configured, so that they allow in most spam but reject

RE: Issues with web.xml

2003-06-03 Thread Andy Eastham
Robert, I'm not sure what the problem is, but you can redirect the output in dos, just like in unix. Eg, if you're running startup.bat, type startup.bat myfile.log and inspect the output written to the log file. This should help you solve the problem yourself, or at least you'll be able to

Cookies and HTTPS through Apache

2003-03-27 Thread Andy Eastham
Hi, I've got a site up and running which uses Tomcat via Apache2 and mod_jk2 (only - no direct access to Tomcat). I manage logins using standard session management via cookies. Some of the site is accessible by http, other bits are accessible via https. This is managed by mod_rewrite in Apache.

RE: Unexpected Signal : 11 occurred

2003-03-26 Thread Andy Eastham
Georges, I read the release notes for J2SE 1.4.1_02 (latest release) and remember that there was a fix for a signal 11 bug. I don't know if it will solve your problem, but it's worth a try. Andy -Original Message- From: Georges Roux [mailto:[EMAIL PROTECTED] Sent: 26 March 2003

RE: Can't connect to X11 window server using '0:0' as the value ofthe display and now java.awt.HeadlessException

2003-03-20 Thread Andy Eastham
Hi, I would say that Xvfb does _not_ connect to your display adapter - the v stands for virtual, ie it's not a real frame buffer as in a video card - it's a virtual one in your systems normal memory. It's specifically for taking the place of a display adapter when your server doesn't have one.

RE: Problems configuring Tomcat with Apache using mod_jk2

2003-03-04 Thread Andy Eastham
David, This looks like jk config to me, not jk2. If it helps, here are my working config files for apache 2 and mod_jk2 on solaris. (The workers.properties file is called workers2.properties on my system, which is the default name). My Httpd mapping looks like: VirtualHost * ServerName

RE: Problems configuring Tomcat with Apache using mod_jk2

2003-03-04 Thread Andy Eastham
Lighthammer Software (http://www.lighthammer.com) -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:32 PM To: Tomcat Users List Subject: RE: Problems configuring Tomcat with Apache using mod_jk2 David, This looks like jk config to me, not jk2

RE: include a class

2003-03-03 Thread Andy Eastham
If you can understand perl, surely nothing can be confusing ;-) Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 08:36 To: Tomcat Users List Subject: Re: include a class Thanx a lot. i using the tomcat and for a perl-man, like me, it

RE: Tomcat4.1.18 and ClassCastException.

2003-02-11 Thread Andy Eastham
Prasad, Is there more information under the exception information you have supplied labelled Root Cause: ? If so, this is the information we need to help. Can you post this additional information to the list if it's there please? Best regards, Andy -Original Message- From: Prasad

RE: Strange error

2003-02-10 Thread Andy Eastham
Felipe, Just one additional idea: Are you executing another command on the same connection? This destroys the result set. Eg, if you are trying to loop over the result set, and are using the same connection to do an update or delete on this or another table, you will get this sort of error.

RE: Apache-Tomcat Configuring....

2003-02-10 Thread Andy Eastham
Allen, Solaris 2.9 has been the latest operating system for about 6 months... I'd definitely patch it I was you. Andy -Original Message- From: Wilson, Allen [mailto:[EMAIL PROTECTED]] Sent: 10 February 2003 15:48 To: Tomcat Users List Subject: RE: Apache-Tomcat Configuring

RE: Porblem editing httpd.conf

2003-01-22 Thread Andy Eastham
John, Do you not need to name it too, ie LoadModule jk2_module modules/mod_jk2-2.0.43.so Thats what's in my working set up anyway. Andy -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 18:07 To: 'Tomcat Users List' Subject: RE: Porblem editing

RE: Pick a Platform - Linux, Windows, Unix, Solaris...

2003-01-21 Thread Andy Eastham
Adoni, Version 4.1.18 seems to be the current one and seems to be stable for me. As for platforms, the best one depends on the situation. Personal use: go for your favourite platform. Customer use: Ask them what their favourite platform is. If it's windows protest mildly, tell them windows

RE: Require a secure connection

2003-01-16 Thread Andy Eastham
try: if (!request.isSecure()) { // abort code here } You can put this in a superclass of all your secure servlets if you like. Andy -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: 16 January 2003 22:09 To: Tomcat Users List Subject: Require a secure

RE: Servlet Mapping Bug?

2003-01-15 Thread Andy Eastham
of these mapping techniques a suggestion rather than a requirement, allowing servlet containers to each have their different schemes for mapping client requests to servlets. -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: 14 January 2003 22:46 To: Tomcat Users

RE: Servlet Mapping Bug?

2003-01-15 Thread Andy Eastham
configuring path=/control here... (I don't think it's a bug?) -Ursprüngliche Nachricht- Von: Andy Eastham [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 15. Januar 2003 16:17 An: Tomcat Users List Betreff: RE: Servlet Mapping Bug? This is a bug, as I've now checked

RE: Tomcat 4.1.18 Configuration with UNIX

2003-01-14 Thread Andy Eastham
Neginder, I'm not sure if you sorted this. If not, the problem looks like the system is trying to create /opt/jakarta-tomcat-4.1.18/work/Standalone/localhost/examples/jsp/jsptoserv/ jsptoservlet_jsp.java. Check that /opt/jakarta-tomcat-4.1.18/work/ exists and that the unix user running Tomcat

Servlet Mapping Bug?

2003-01-14 Thread Andy Eastham
? Best regards, Andy Eastham -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Pb with HEAD request

2002-11-27 Thread Andy Eastham
Cedric, The servlet container automatically handles head requests by calling doGet but then only returns the headers. This can be very inefficient in cases such as yours. The O'Reilly Java Servlet Programming book suggests at the top of doGet() do:

RE: is there a free ide that gets along well with tomcat?

2002-11-21 Thread Andy Eastham
Sun One Studio needs 256Mb of memory. If you haven't got that much, forget it. If you have, it rocks. Andy -Original Message- From: Steve R Burrus [mailto:[EMAIL PROTECTED]] Sent: 21 November 2002 21:29 To: Tomcat Users List Subject: Re: is there a free ide that gets along well

RE: windows iis machine + linux tomcat machine

2002-11-12 Thread Andy Eastham
Install Apache on the Linux machine and everything will work perfectly ;-) -Original Message- From: Jose Antonio Martinez [mailto:lfbbes;yahoo.es] Sent: 12 November 2002 11:22 To: [EMAIL PROTECTED] Subject: windows iis machine + linux tomcat machine what do you think is the best

RE: How MySQL Works?

2002-11-07 Thread Andy Eastham
Han Lin, I don't know the answer, but if I wanted to find out, I'd download the source code and take a look. That's why we use open source isn't it? Andy -Original Message- From: Unidux (S) - Han Lin [mailto:hanlim;unidux.com.sg] Sent: 07 November 2002 03:31 To: [EMAIL PROTECTED]

RE: Tomcat 4.1 and apache 1.3 how-to

2002-11-05 Thread Andy Eastham
Sorry, I meant to send this directly to Zack rather than back to the list, Andy -Original Message- From: Andy Eastham [mailto:andy.eastham;gliant.com] Sent: 05 November 2002 10:32 To: Tomcat Users List Subject: RE: Tomcat 4.1 and apache 1.3 how-to Zack, Here's the mod_webapp.so

RE: Session start

2002-10-30 Thread Andy Eastham
In my experience, IE 6 creates a new session cookie for each browser window... Andy -Original Message- From: Nick Lombard (VSP) [mailto:nick.lombard;vcontractor.co.za] Sent: 30 October 2002 15:25 To: Tomcat Users List Subject: RE: Session start Hi Mauro At least this one I can

RE: AJP13 ..You must Read this !

2002-10-29 Thread Andy Eastham
It's not something to do with line feeds / carriage returns is it? Andy -Original Message- From: Sigurður Bjarnason [mailto:siggi;betware.com] Sent: 29 October 2002 11:55 To: Tomcat (E-mail) Subject: AJP13 ..You must Read this ! Hi all I been having a very strange problem

RE: mod_webapp and multithreading for concurrent requests

2002-10-23 Thread Andy Eastham
Eliot, Webapp does appear single threaded on win32. I'd go so far as to say it's unusable in a production environment on win32. I develop using it on my win 2k laptop and deploy on linux or Solaris. Webapp is forever hanging when I try to execute concurrent requests from the same browser on

RE: Warp connections

2002-10-01 Thread Andy Eastham
Title: Re: Warp connections Siggi, What this means is that if you map, for example, /myapp to Tomcat, Tomcat will serve all content under /myapp. You cannot get Apache to serve /myapp/my.jpg. Apache will still serve things that aren't under /myapp, so /index.html, /images/my.jpg etc

RE: Job Openings

2002-09-19 Thread Andy Eastham
Looks like a company that would employ Java professionals to me. Clearly synergy.com. is not a recruitment consultant. I'm sure there are plenty of people on this list at the moment that appreciate the fact that someone is recruiting people with core, serverside Java, JSP, XML and XSL. I agree

RE: Restart webapp after Exception

2002-09-08 Thread Andy Eastham
Paul, I'm afraid it looks like you have to write code that doesn't eat all the memory on the server ;-) Andy -Original Message- From: Paul Andreas Petershagen [mailto:[EMAIL PROTECTED]] Sent: 08 September 2002 22:18 To: [EMAIL PROTECTED] Subject: Restart webapp after Exception

RE: Best practice advice sought: Classes shared by 1 webapp

2002-09-06 Thread Andy Eastham
Jim, If you want the webapps to share the same static values in the same class, put them in common/classes. (this allows a webapps to affect the data in another webapp). If you want the webapps to be totally independent, put a separate copy in each webapp's individual classes directory. Or you

RE: load-on-startup order seems incorrect...

2002-09-05 Thread Andy Eastham
Jeff, Try 10 and 20 or 1 and 2. I know negative numbers don't necessarily start up before 1, maybe 0 doesn't either. Andy -Original Message- From: Jeff Wishnie [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 18:22 To: Tomcat Users List Subject: load-on-startup order seems

RE: Windows HowTo for TC 4.1.10 + Apache 2.0.40 + mod_jk2

2002-09-04 Thread Andy Eastham
Robert, This is excellent. I'm going to give it all another go later this week with the aid of your work. My only comment is that I'd replace: Set system environment variables for Java home. C:\java with Set system environment variables for Java home.

RE: Is Tomcat just an add-on?

2002-09-04 Thread Andy Eastham
Ben, It's both, depending on how you configure it. It's pretty efficient standalone, or you can integrate with a web server to serve static content if you've got high traffic levels. Andy -Original Message- From: Ben Austin [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 22:16

RE: Apache 2.0.40 + mod_jk + Tomcat 4.1.9 + Load Balancing

2002-09-03 Thread Andy Eastham
Pascal, On the grounds that this is probably the most FAQ on this list, I think it would be fantastic. Thanks in anticipation! Andy -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: 03 September 2002 15:29 To: [EMAIL PROTECTED] Subject: Apache 2.0.40 +

RE: I have connector problem while using tomcat 4+apach 1.3

2002-08-29 Thread Andy Eastham
Taehun, I had exactly this problem last week. Tomcat is fine with mod_webapp on windows 2000 and linux,but _binary_ file uploads fail on Solaris. It seems to be a bug in the Solaris version of mod_webapp (I used the one shipped with Solaris 9). I'm afraid I didn't fix the problem - I just

RE: How can I see log4j output on the console?

2002-08-27 Thread Andy Eastham
Michael, Here's an example config file that logs to a file and the console. Andy -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 27 August 2002 09:16 To: Tomcat Users List Subject: How can I see log4j output on the console? My log4j log messages go to a

RE: Run Tomcat as tomcat user

2002-08-16 Thread Andy Eastham
Urtzi, You need to grant access to the tomcat user. See the section in the GRANT command in the mysql manual (available online at the www.mysql.com site). By default, root can connect without a password, but other users need to be granted access. You'll need to execute something like: GRANT

RE: Suppression of directory listing in Tomcat

2002-07-31 Thread Andy Eastham
Nikolas, Go to www.moreservlets.com and look at the sample chapter on web.xml. It's an excellent resource and section 5.7 explains what you want. Cheers, Andy -Original Message- From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] Sent: 31 July 2002 11:25 To: [EMAIL PROTECTED]

RE: forwarding to a jsp using a servlet

2002-07-29 Thread Andy Eastham
Billy, Try this in your doGet / process method: (I put my jsps under WEB-INF so they are not servable directly). String url = FileUtil.makeJspUrl(/WEB_INF/jspDir/test.jsp); response.setContentType(text/html); ServletContext sc = getServletContext(); RequestDispatcher rd =

RE: forwarding to a jsp using a servlet

2002-07-29 Thread Andy Eastham
Billy, Sorry - I included my File Utility class by mistake. I hard coded the result in the message and still left the method call - doh. Try again: String url = /WEB_INF/jspDir/test.jsp; response.setContentType(text/html); ServletContext sc = setServletContext(); RequestDispatcher rd =

RE: newbie has mod_jk question

2002-07-18 Thread Andy Eastham
Jez, This would be great if it was correct and not completely out of date..;-) Andy -Original Message- From: Joseph Savard [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 14:33 To: Tomcat Users List Subject: Re: newbie has mod_jk question Google can be of great help to you...

RE: newbie has mod_jk question

2002-07-18 Thread Andy Eastham
system is not one of them. - Chris Torek -Original Message- From: Andy Eastham [SMTP:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:53 AM To: Tomcat Users List Subject:RE: newbie has mod_jk question Jez, This would be great if it was correct

RE: newbie - finding class files

2002-07-11 Thread Andy Eastham
Brian, Tomcat looks for your classes under Tomcatdir/webapps/yourapp/WEB-INF/classes and Tomcatdir/common/classes and looks for your jars in Tomcatdir/webapps/yourapp/WEB-INF/lib , Tomcatdir/common/lib (and Tomcatdir/server/lib but you shouldn't put your stuff in here) Andy -Original

RE: Need Ideas... big problem! (long)

2002-07-10 Thread Andy Eastham
Sorry, I haven't been listening to this thread but can't you just pass the context as a parameter to the method? Andy -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 17:27 To: [EMAIL PROTECTED] Subject: Re: Need Ideas... big problem!

RE: Feasibility question

2002-07-08 Thread Andy Eastham
Iain, I don't think session sharing is easy, but you can implement login using cookies, which will be shared if they come from the same server (or domain if they are domain cookies). Another alternative is to pass a session id in the URL, and store session information yourself in a server

RE: Feasibility question

2002-07-08 Thread Andy Eastham
Iain, By off the shelf sessions, I mean the ones you are already using when you don't need to share them across webapps (ie created by the servlet container by request.getSession(true)). Sorry for the confusion. Andy -Original Message- From: Iain Downie [mailto:[EMAIL PROTECTED]]

RE: tomcat won't load oracle driver

2002-06-25 Thread Andy Eastham
I think the problem ,ay be that 1.4 uses jdbc v3. The oracle drivers probably have require jdbc v2 hardcoded in them. I remember this being the case for a particular set of drivers, though I'm not absolutely sure it was Oracle. Are there any new ones from Oracle? Andy -Original

RE: Apache+Tomcat

2002-06-25 Thread Andy Eastham
Icaro, Is it complaining that you've got IfModule statements where you should have a virtual host section. Perhaps you can't use IfModule here.? I don't have any IfModule statements around the WebApp lines in my setup. Just try removing lines 992 and 995 and I think it will stop complaining.

RE: MOD_JK Problem ?

2002-06-24 Thread Andy Eastham
can tell) is really disappointing. To me, that seems like a big mistake. John Turner [EMAIL PROTECTED] -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 6:26 PM To: Tomcat Users List Subject: RE: MOD_JK Problem ? I think everyone who

RE: Native library cannot be loaded twice

2002-06-24 Thread Andy Eastham
Andreasm, By the way, the java library path is completely different from the system library path. I've got mine in /usr/j2sdk1.4.0/jre/lib/i386/client/myLibrary.so , which is a default library location for java (obviously you may have to amend the start of the path slightly for your

RE: MOD_JK Problem ?

2002-06-21 Thread Andy Eastham
I think everyone who uses Tomcat should back off using Apache2 until all the connectors and more so the documentation get beyond pre-alpha state. I'm a big fan of Apache and Tomcat, but I'm afraid the current state of the connectors SUCKS. I've held my tongue from writing this email for over a

RE: mappings not working with mod_webapp.so, Apache 1.3.23, Tomcat 4.0.3

2002-05-24 Thread Andy Eastham
Ian, Have you got addModule after loadModule in your httpd.conf file? I've got: # Tomcat / Catalina connector LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c then: # Tomcat connections ANE 20010813 WebAppConnection conn warp 127.0.0.1:8008 WebAppDeploy

RE: Internal JVM ZipClose exception (TC 4.0.1)

2002-05-21 Thread Andy Eastham
Yoav, Signal 10 is a bus error on the solaris box. Basically this a is an internal data communication error in the machine. I think these errors can be software related, as well as hardware related. First off, make sure you've got all the latest patches for your operating system. After that,

RE: Tomcat 4 problem?--Graphics randomly fail to load

2002-05-21 Thread Andy Eastham
Scott, If your server is running on Windows, I believe this is a common connector issue. It certainly happens to me with mod_webapp. It doesn't happen on the production Linux server though, so it's not an issue for me. Andy -Original Message- From: Scott Judd [mailto:[EMAIL

RE: HTTP Tunnelling problem?? Please help

2002-05-15 Thread Andy Eastham
Stuart, You're extending Thread - everything that is mapped to a Tomcat request must extend HttpServlet. Tomcat is trying to cast your TestTunnel class to HttpServlet, which is failing. Andy -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 11:56

RE: REPOST: Problems serving PDF to Netscape browsers

2002-05-14 Thread Andy Eastham
Jeff, As a last resort, you could write the pdf to a temporary directory accessible via apache, then send the browser a redirect to that file. That way, the actual PDF will be served by apache, not Tomcat. You'll obviously have to tidy up the generated PDFs periodically, although the temp file

RE: Problems serving PDF to Netscape browsers

2002-05-10 Thread Andy Eastham
- Original Message - From: Andy Eastham [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 4:20 PM Subject: RE: Problems serving PDF to Netscape browsers Jeff, Do you know that the correct mime type is being sent back to the browser

RE: Problems serving PDF to Netscape browsers

2002-05-09 Thread Andy Eastham
Jeff, Do you know that the correct mime type is being sent back to the browser? If there is no known mime type, I believe that IE makes guesses about what program to launch a file with based on its extension, but NS 4 doesn't seem to do this. If you haven't solved it yet, check the mime type

RE: Servlet init() callin twice on startup. PLease help.

2002-04-29 Thread Andy Eastham
Ivan, I had this problem. I found it was caused when you use Tomcat Standalone and Tomcat Apache (at least when using mod_webapp / warp). I don't need Tomcat Standalone, so I removed it from server.xml. It seemed that a separate class instance was being loaded for each (I tested 4.0.1 and

RE: How do I pass commands like -verify to the VM in NT Service mode?

2002-04-23 Thread Andy Eastham
Alexander, I don't run it as a service, but services are controlled under the registry key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services] You should be able to find the relevant bit underneath here, where the command line for starting up Tomcat will be evident. It will either be a

  1   2   >