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
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
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
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
-
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 '
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
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
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
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
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
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
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
- 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
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
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]&
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
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
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
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
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
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
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
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
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
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
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]>
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
--- 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
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
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
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
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
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
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
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
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
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
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??
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
#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
- 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
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
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
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
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
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
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
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
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
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 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
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]>
> 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
53 matches
Mail list logo