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 hoo

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 th

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 th

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
jects/threads that haven't been asked for (by an applet) 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

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 r

Re: Periodically Refresh Application Bean?

2002-01-12 Thread Tom Drake
versions. Good 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 ha

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

2002-01-10 Thread Tom Drake
I still need a solution. | | I'm well aware of the impossibility of using the same port on the same IP | address, and do 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. An

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

2002-01-10 Thread Tom Drake
ound here: http://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 po

Re: Tomcat Performance

2002-01-09 Thread Tom Drake
List" <[EMAIL PROTECTED]> Sent: 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

Re: help is needed -- question on page redirect

2002-01-09 Thread Tom Drake
HTTP header values be returned 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 P

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

Re: tom4 session and loadbalancing / Distributed Session Management

2002-01-09 Thread Tom Drake
cat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 09, 2002 12:04 AM Subject: AW: tom4 session and loadbalancing / Distributed Session Management | Hi Tom, | | anything new about this theme? | | Best, Michael | | > -Ursprüngliche Nachricht- | > Von: Tom Drake [ma

Re: dynamic content not mapping correctly

2002-01-07 Thread Tom Drake
ps 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]&

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

Re: Problem with file URL

2002-01-07 Thread Tom Drake
les as URL's. Hope this is helpful. 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 Subjec

Re: Problem with file URL

2002-01-07 Thread Tom Drake
er goes straight to your filesystem to get the file. It does 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

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 - Ori

Re: Programmatic login with Tomcat 4.0.1

2002-01-04 Thread Tom Drake
brower at it, and 'login' 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 - Ori

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

Re: problem with multiple application on Tomcat

2002-01-02 Thread Tom Drake
ll the details you need 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, 200

Re: Tomcat, threads and garbagecleaner: A question

2002-01-02 Thread Tom Drake
ou what threads are active at the time your servlet is run. - 'Debug' your webapp, setting break points in appropriate places. Good luck Tom Drake - Original Message - From: "Duarte Loreto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Janu

Re: problem with multiple application on Tomcat

2002-01-01 Thread Tom Drake
Puneet: The answer to your problem is simple. You can simply package and deploy each set of classes as a seperate web application with it's own context (e.g. a, b, and c). Under each context is a WEB-INF/lib directory that would hold the jar file that contains the correct versions of all the

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&qu

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]>

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

2001-12-18 Thread Tom Drake
d be better off 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

Re: Configuring Multiple Tomcat JVMs with Apache - Load Balancing

2001-12-18 Thread Tom Drake
--- 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: Configuring Multiple Tomcat JVMs with Apache - Load Balanc

Re: Ordering of parameters in HTTPRequest Object

2001-12-17 Thread Tom Drake
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 paramete

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 lock

Re: tom4 session and loadbalancing / Distributed Session Management

2001-12-16 Thread Tom Drake
Tomcat. In short, the distributed 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

Re: mutipart/x-mixed-replace and HttpURLConnection

2001-11-29 Thread Tom Drake
CTION-- Your application will will need 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. To

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

2001-11-26 Thread Tom Drake
From: "renyu teng" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Tom Drake" <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 7:55 PM Subject: Re: Create JSP file or a Servlet file for web browser. | | | Hi tom, | | thanks

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

2001-11-26 Thread Tom Drake
a code that can do the fancy stuff. When you 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 PR

Re: Precompile JSP

2001-11-15 Thread Tom Drake
EMAIL PROTECTED]] | > Sent: Thursday, November 15, 2001 8:54 PM | > 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

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 PROTEC

Re: Apache-Soap and Tomcat 3.3

2001-11-15 Thread Tom Drake
together. Why in the world the Soap people have allowed | 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:[EMA

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

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

2001-11-14 Thread Tom Drake
#x27;t know what would cause an illegal state exception. Tom - Original Message - From: "Carl Boudreau" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>; "'Tom Drake'" <[EMAIL PROTECTED]> Sent: Wednesday, Novem

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 nothin

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 r

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 tomc

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 c

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=" + EmailAdd

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 so

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: 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. I've

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 | To

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! |

Re: non-serializable objects in sessions

2001-11-12 Thread Tom Drake
I am too. I am too. Regards, Regards, Tom Tom - Original Message - From: "Ignacio J. Ortega" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Cc: "'Pier P. Fumagalli'" <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 1:28 PM Subject: RE: non-serializable objects in

Re: non-serializable objects in sessions

2001-11-12 Thread Tom Drake
displayed on the 1st page was 'abc123', the query for the second page might be 'select * from product where productid > 'abc123' order by productid'). Good Luck Tom Drake - Original Message - From: "Marko Asplund" <[EMAIL PROTECTED]>

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 postgre