RE: Using Tomcat Without a Webserver

2002-02-12 Thread Tom Drake
Apache also adds load balancing (via mod_jk). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Woon Sent: Monday, February 11, 2002 5:11 PM To: [EMAIL PROTECTED] Subject: Using Tomcat Without a Webserver Hi all. I know it's standard practice to

Re: Multi-user problem

2002-02-06 Thread Tom Drake
See my comments below. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 06, 2002 3:23 PM Subject: Multi-user problem ... snip ... | Apache 1.3 is a service on Windows 2000 running Tomcat 4 on the same server, with SQL server 2000 SP1 on the

Re: RMI remote Method which returns File object.

2002-02-06 Thread Tom Drake
Sucharitha: A File object represents a files name (and location). It does not represent or store the contents of a file. Therefore, using RMI to pass a File object around doesn't make much sense. It is likely that a File object that points to a valid file on the client is completely invalid on

Re: DistributedManager

2002-02-03 Thread Tom Drake
Yes. It does not achieve the desired effect, in that updates are not persisted across the cluster, only newly created sessions. I'm working on a replacement that solves the problem of distributed session management, thus providing fail-over capability for a properly configured tc cluster. Tom

Re: How Session-Replication works when clustering Apache/Tomcat

2002-01-30 Thread Tom Drake
Alexander: Currently, Tomcat 4 doesn't really do session replication. However, I've been working on a clustering / distributed session management solution that should work beautifully in the the scenario you describe below. The way it works is that all tomcats in the cluster are given the same

Re: About persistent

2002-01-23 Thread Tom Drake
) after some time period. This would help limit the number of threads in your server. The cost of this solution is in making/breaking multiple TCP connections for each request, but the advantage is that you gain control over what resources the server is using. Good Luck Tom Drake - Original

Re: IOException, that reset by peer thing.

2002-01-15 Thread Tom Drake
That message means the the 'other' end of the connection was closed. This could happen if you press the 'stop' button on your browser. - Original Message - From: Mike Curwen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 15, 2002 7:21 AM Subject: IOException, that reset

Re: Periodically Refresh Application Bean?

2002-01-12 Thread Tom Drake
Luck Tom Drake - Original Message - From: Rick Roberts [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, January 12, 2002 12:52 PM Subject: Periodically Refresh Application Bean? | I have an application that has a bean with application scope. | I would like to run

Re: Problems using same port for several services (even with different IP / hostname)

2002-01-10 Thread Tom Drake
://jakarta.apache.org/tomcat/tomcat-3.3-doc/in-process-howto.html Tom Drake - Original Message - From: chris brown [EMAIL PROTECTED] To: tomcat-user [EMAIL PROTECTED] Sent: Thursday, January 10, 2002 6:51 AM Subject: Problems using same port for several services (even with different IP / hostname

Re: Problems using same port for several services (even with different IP / hostname)

2002-01-10 Thread Tom Drake
know the difference between that and domain-name-based | virtual hosting. | | Thank you anyway for taking the time to reply. But unfortunately, the | problem still remains. Any other ideas ? | | Thanks, | -Chris | | - Original Message - | From: Tom Drake [EMAIL PROTECTED] | To: Tomcat

Re: tom4 session and loadbalancing / Distributed Session Management

2002-01-09 Thread Tom Drake
: tom4 session and loadbalancing / Distributed Session Management | Hi Tom, | | anything new about this theme? | | Best, Michael | | -Ursprüngliche Nachricht- | Von: Tom Drake [mailto:[EMAIL PROTECTED]] | Gesendet: Sonntag, 16. Dezember 2001 17:02 | An: Tomcat Users List | Cc: Tomcat Dev

Re: Error using Tomcat 4.01 and Oraclie 8i 8.1.6 when using manager/reload

2002-01-09 Thread Tom Drake
- Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 8:47 AM Subject: Re: Error using Tomcat 4.01 and Oraclie 8i 8.1.6 when using manager/reload | | An easier choice for Oracle users is to use the

Re: help is needed -- question on page redirect

2002-01-09 Thread Tom Drake
to the caller. If the headers have already been sent, then the protocol prevents you from redirecting. Good Luck Tom Drake - Original Message - From: Xin Li [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 1:25 PM Subject: help is needed

Re: Tomcat Performance

2002-01-09 Thread Tom Drake
: Wednesday, January 09, 2002 5:40 PM Subject: Re: Tomcat Performance | Tom Drake and myself are working on a real cluster solution for tomcat, | but | we haven't released code so far, it will rather take some months before it | could be recommended to use it. | | That is cool. What will be used to store

Re: Problem with file URL

2002-01-07 Thread Tom Drake
Jim: Your file url is not valid for any filesystem of which i'm aware, unless you happen to have a directory under root called intranet.xxx.com:8080. file:// url's should be followed by a filesystem pathname to an actual file. Regards, Tom Drake - Original Message - From: Jim Dempsey

Re: Problem with file URL

2002-01-07 Thread Tom Drake
not contact a web-server for this. If you want to retrieve a 'file' from a web server, you must provide a URL that starts with 'http://' (or https://). Hope this is helpful. Tom Drake. - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED

Re: Problem with file URL

2002-01-07 Thread Tom Drake
. Regards, Tom Drake - Original Message - From: Pae Choi [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Tom Drake [EMAIL PROTECTED] Sent: Monday, January 07, 2002 11:18 AM Subject: Re: Problem with file URL | Hmm.. the communication between the browser(client) and | the file

Re: dynamic content not mapping correctly

2002-01-07 Thread Tom Drake
Try href=MyServlet/style.css (drop the leading slash) - Original Message - From: Etienne Deleflie [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, January 07, 2002 4:08 PM Subject: dynamic content not mapping correctly | Hello list, | | I just want to describe

Re: dynamic content not mapping correctly

2002-01-07 Thread Tom Drake
this is not the most ideal solution. It is the one that will be guaranteed to work with all servlet containers, however. Good luck, Tom Drake. - Original Message - From: Etienne Deleflie [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, January 07, 2002 4:27 PM Subject: Re

Re: Programmatic login with Tomcat 4.0.1

2002-01-04 Thread Tom Drake
' to your web site. The tunnel gui will display all request and response data. All that's left is to write code that sends the same data that your browser did, and that knows how to deal with the responses coming from tomcat. Regards, Tom Drake - Original Message - From: Sergei Batiuk

Re: Tomcat, the JRE, and a CD-ROM

2002-01-03 Thread Tom Drake
Paul: Tomcat only needs tools.jar (from jdk) for compiling JSP's. If you pre-compile your JSP's (using JSPC), you can deploy them as servlets (with servlet mappings in web.xml). Your run-time will then be able to run everything with only the JRE. Tom Drake - Original Message - From

Re: Tomcat, threads and garbagecleaner: A question

2002-01-02 Thread Tom Drake
webapp, setting break points in appropriate places. Good luck Tom Drake - Original Message - From: Duarte Loreto [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 01, 2002 5:45 PM Subject: Tomcat, threads and garbagecleaner: A question |Hello! | | I have a JSP page

Re: problem with multiple application on Tomcat

2002-01-02 Thread Tom Drake
in the tomcat documentation. Good Luck. Tom Drake - Original Message - From: puneet sachar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Tom Drake [EMAIL PROTECTED] Sent: Tuesday, January 01, 2002 11:53 AM Subject: problem with multiple application on Tomcat | i got your answers

Re: How to rebuild Catalina ?

2001-12-21 Thread Tom Drake
You are missing jmx. Read BUILDING.txt. It tells you what you need and where to get it. You may have to grab some of the 'optional' libraries as well. Tom Drake - Original Message - From: Diego Novati [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 21

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-18 Thread Tom Drake
- From: Hemant Singh [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Tom Drake [EMAIL PROTECTED] Sent: Monday, December 17, 2001 7:55 PM Subject: Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing | Hi Tom | | in my application i want two servers(tomcat 3.2.3) residing

Re: What's the word on a Servlet/JSP including itself in recursion?

2001-12-18 Thread Tom Drake
thinking about how to build up the nested data structure you need, then feed this nested data structure to your JSP, which simply needs to format it as HTML. Tom Drake - Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-18 Thread Tom Drake
This might be more helpful. http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html Tom - Original Message - From: Hemant Singh [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Tom Drake [EMAIL PROTECTED] Sent: Monday, December 17, 2001 7:55 PM Subject: Re

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-17 Thread Tom Drake
When my work is done, Session Affinity will not be required in order to acheive load balancing. However, we should still want to use session affinity in our load balancing solution(s) for the simple reason that it will perform better. However, the session affinity between Apache and Tomcat 3

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Tom Drake
, and not the order in which they're received. Tom Drake - Original Message - From: Christopher K. St. John [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 17, 2001 4:33 PM Subject: Re: Ordering of parameters in HTTPRequest Object | Craig R. McClanahan wrote

Re: tom4 session and loadbalancing / Distributed Session Management

2001-12-16 Thread Tom Drake
session management feature is nearing completion. I'm creating pretty comprehensive JUnit tests along with this code, so my confidence level will be high that this feature really does work when I hand it off. Tom Drake P.S. I'm cross-posting to the dev list because I think that the developers

Re: mutipart/x-mixed-replace and HttpURLConnection

2001-11-29 Thread Tom Drake
to deal with break apart the individual mime documents. There are some classes that will help you with this in javax.mail.* and javax.mail.internet.*; I think you'll find this in the Java mail api (which you can download from sun). I hope this helps. Tom Drake - Original Message - From

Re: Create JSP file or a Servlet file for web browser.

2001-11-26 Thread Tom Drake
add taglibs to the mix, then you can do some very powerful things with some fairly simple HTML / XML. Regards, Tom Drake - Original Message - From: renyu teng [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 26, 2001 6:09 PM Subject: Create JSP file

Re: Precompile JSP

2001-11-15 Thread Tom Drake
Try bin/jspc.bat or jspc.sh - Original Message - From: KL OOI [EMAIL PROTECTED] To: TOMCAT-USER [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 11:25 PM Subject: Precompile JSP Hi all, Do anyone here know how to compile all the JSP pages before I roll out for production??

Re: Apache-Soap and Tomcat 3.3

2001-11-15 Thread Tom Drake
| this restriction is beyond me. The Tomcat path is only for the running of | the server, why you need to add classes to it, to run my application is just | plain wrong. | | Dave | | | | -Original Message- | From: Tom Drake [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, November 13, 2001 4:25 PM | To: Tomcat

Re: Precompile JSP

2001-11-15 Thread Tom Drake
Tom: I'm not aware of any such option. I have always just lived with this recompiled all JSP's. You could create an Ant Task for this. It could be a very nice addition Ant's optional taskdefs. Tom Drake - Original Message - From: Tom Parker [EMAIL PROTECTED] To: Tomcat Users List

Re: Precompile JSP

2001-11-15 Thread Tom Drake
| To: Tomcat Users List; Tom Drake | Subject: RE: Precompile JSP | | | Try bin/jspc.bat or jspc.sh | | I would like to compile my jsp's as a test before I deploy it and | see if it | works. I spend quite a lot of time changing stuff, deploying, loading in a | web browser and seeing jsp compiliation

Re: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Tom Drake
You're @ is likely the problem. You must url-encoude the redirect address. - Original Message - From: Carl Boudreau [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 7:32 AM Subject: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

Re: cannot execute binary file

2001-11-14 Thread Tom Drake
I think that this may have to do with the security policy not allowing you to load classes or jars from 'other' directories. Look in conf/catalina.policy or conf/tomcat.policy (depending on the version of tomcat you are using). You will probably need to add an entry that looks like this: grant

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tom Drake
This has nothing to do with tomcat. It is standard unix behavior. When a user logs out, all processes created by that user are killed. Unix provides simple way to around this feature. Simply type the following command: nohup tomcat.sh run In this case all 'console output produced by

Re: Request Dispatcher

2001-11-14 Thread Tom Drake
JSP provides an easier way to do what you are attempting. However, the 'hot' include mechanism, is very much like a function call. the output from the included jsp/servlet simply appears in the middle of your output stream. It does not replace the entire page. If you need a completely different

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tom Drake
- Original Message - From: Nikola Milutinovic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 11:07 AM Subject: Re: STARTUP.SH DOESN'T WORKS FINE | Tom Drake wrote: | | This has nothing to do with tomcat. It is standard unix behavior

Re: resp.sendRedirect(./Join2?Email_Address= + EmailAddress);

2001-11-14 Thread Tom Drake
exception. Tom - Original Message - From: Carl Boudreau [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; 'Tom Drake' [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 9:54 AM Subject: RE: resp.sendRedirect(./Join2?Email_Address= + EmailAddress); | Well Tom, | | I have changed

Re: Logout with basic autorization

2001-11-14 Thread Tom Drake
I think your servlet or jsp can simply call session.invalidate(). - Original Message - From: kevin ritter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 4:41 PM Subject: Re: Logout with basic autorization | Can anyone one verify if this is really the case,

Re: non-serializable objects in sessions

2001-11-13 Thread Tom Drake
Glad to help - Original Message - From: Marko Asplund [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 3:40 AM Subject: Re: non-serializable objects in sessions | | thanks for pointing out the database resource consumption problem! | | i'll

Re: upgrade b6 to 4.0.1

2001-11-13 Thread Tom Drake
Did you copy your .tld and web.xml files as well? - Original Message - From: Brian K. Buckley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 9:46 AM Subject: upgrade b6 to 4.0.1 | Hello, I have a webapp with custom taglibs that was running fine with | Tomcat4

Re: Apache-Soap and Tomcat 3.3

2001-11-13 Thread Tom Drake
David: Another solution is to simply deploy the apache web-application into the same context as your own. This means that you have to merge web.xml files, but it's otherwise pretty straightforward. This means that only your web-application will be able to respond to SOAP requests, however.

Re: proxy server time outs

2001-11-13 Thread Tom Drake
Depending on the proxy server, there may be a configurable time-out. Your web-application should spit back the HTTP header and the beginning of your HTML document before you start the query. Make sure to flush the output stream. If this is not enough, and you are producing an HTML response, you

Re: cannot execute binary file

2001-11-13 Thread Tom Drake
You should not have to unzip your classes12.zip file. This file is, for all intents and purposes, a jar file. Looking at your error message, I'm willing to bet that the problem is in your security.policy file that tomcat is using. Most likely, it is not allowing you to load classes that are in

Re: non-serializable objects in sessions

2001-11-12 Thread Tom Drake
where productid 'abc123' order by productid'). Good Luck Tom Drake - Original Message - From: Marko Asplund [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 12, 2001 10:49 AM Subject: Re: non-serializable objects in sessions | On Sun, 11 Nov 2001

Re: Bringing up tomcat, reliably.

2001-11-11 Thread Tom Drake
When I wrote a servlet for TC3.2.3, before Connection conn=bla..., I had Class.forName(org.postgresql.driver); As far as the location of postgresql.jar, I had it in JDK_HOME/lib and in TOMCAT_HOME/lib at least (maybe in WEB-INF/lib as well - I can't remember) Thanks. I have