s, Inc.
406 728-0893 ext. 2107
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David Crooke, Chief Technology Officer
Convio Inc. - the online partner for nonprofits
11921 N Mop
before the current tomcat clustering code
was available is illustrated at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: David Crooke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 2:13
ession cookies and URL rewriting can get messy.
3. As above, but install everything as one big webapp and do the
dispatching internally within the application code, using a custom
classloader to simulate zones
This seems to be the most flexible and portable, but also strikes me as
a fair a
Ob.Note: This is a JVM and Linux question, not a Tomcat question - there
are more suitable lists.
Briefly, use the JVM parameters -ms and -mx to control the initial and
maximum Java heap size. A busy JVM will take a total OS-level memory
footprint (as shown by RSS in /usr/bin/top) of about 50-7
Unix processes don't in general start new windows unless designed to -
you can do "xterm -e &" if you want to have stdout /
stderr in another window, but most people prefer to background
appservers and capture output to a log file.
Ian Verga wrote:
>Has anyone used Tomcat on linux environmen
The built in webserver in a Java appserver is really only suitable for testing
with - if you are serving more than a few thousand pages per day, or doing
anything remotely serious for production use, or your server is on the internet,
you should use a "real" webserver in front of Tomcat, and Apach
This is a well known bug in AWT / Swing. An alternative to changing the Java library
is to use something to sink that errant X11 connection -
we use Xvnc for this purpose. Check back post by me on this list or jserv-user for
details.
http://www.uk.research.att.com/vnc/
Krishna Kishore Thotakur
The semicolon approach is what most of the "proper" commercial appservers run
(Dynamo, Websphere, etc.) and is superior in many ways - since this is not a
significant part of the URL per the HTTP standard, the browser will ignore it as
part of the servlet name. This allows you to "pre-rewrite" bas
It's perfectly easy to write code which runs as a process to read a continuous
pipe, or to write it to be invoked fresh every time. No special knowledge is
needed in either case (the former in Perl boils down to "while ()")
I think you'll get better advice if you post more details about what you'
Apache is a much better solution for virtual hosts than IIS
Brian Murray wrote:
>
> >Can someone send me an example of how to configure Tomcat to work with
> >virtual hosts?
>
> Hi Mr. Lebowitz. I've been after the same thing. Unfortunately the score sits at
>Requests 2,
> Responses 0. If y
anand wrote:
> Can you suggest me some website where I can find some information/code
> for sending mail from java using SMTP.
http://java.sun.com/ - there is a standard API called javax.mail
It handles MIME and all that clever stuff; however it takes a bit of code: on
Unix, it may well be easi
Assuming you just want to "hide" the servlet, mod_rewrite may be what you're
looking for, but it could require a bit of work to maintain the facade in the
JSP.
A popular but inelegant option is to make index.html a static HTML file which
throws up a frame, thus obfuscating the URL from the browse
We are using a strategy where the information in the Java VM (session and
site-wide) is a read cache of what is in a relational database; any update is
persisted immediately, and there is a cache invalidation mechanism between
appservers. Since like most web apps we have a high read to write ratio
Attach your own object to the HttpSession, and put a destructor on it - use this
to detect the session has finished. Don't rely on doing complex stuff like I/O
in a destructor, instead pass the list of files to delete into a queue handled
by a background thread.
I think it would be worth the investment of someone's time to make this work -
there are a number of questions which come up at least once a week. I will
volunteer help in whatever limited capacity I can.
My two favourite FAQs, being a Linux person:
Q. Why won't Java / JServ / Tomcat run on Re
This is how Linux shows kernel threads; nothing to be alarmed about. There
is only one process.
"Brendon M. Maragia" wrote:
Dear
Readers,
I
finally!!! Got Jakarta Tomcat vhosting with
Cocoon and it was so so beautiful and sweet,
I jumped around the room screaming in joy.Don't
try an tell
x and all the virtual hosts...
The FAQ-O-Matic answer is to put in a redirect. That works fine, just
seems
less elegant.
Any ideas?
Hunter
--
David Crooke, Chief Technology Officer
Convio Inc. - the online partner for nonprofits
4801 Plaza on the Lake, Suite 1500, Austin TX 78746
Tel: (512) 652 2600 - Fax: (512) 652 2699
SingleThreadModel{
private PrintWriter out;
private OracleConnectionCacheImpl pool;
private Connection conn;
private Statement stmt;
..etc...
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
D
Horses for courses..
Win98 is designed to run games and Microsoft Office; it's not a webserver
platform. Yes, it's possible to build a Unix-like development environment, but
it will take work. Most Unix-esque open source stuff can be made to run on some
versions of Windows, but it can take wo
Any cookie belongs to a particular server (domain name) - the most general that
a domain spec is allowed to be is *.foo.com i.e. with a specified TLD and second
level domain. The path can be anything, i.e. as general as "/" The browser will
send back all cookies which match, most specific first.
The way we have dealt with this (servlets, not EJB) is to add a path extension
to our URL's, c.f.
http://www.mysite.org/zone/servletname/123456789?foo=bar&bash=wibble
This path extension (the 9 digit pseudo-random number) is picked up by our
common platform code, and maps back to an entry in a h
The glibc that RH7 shipped with was beta and very broken - you need to apply their
patch set. Red Hat rushed their 7.0 release, breaking their
convention (major version = new Linux kernel) and a lot of stuff besides. Most of the
new stuff in it is GUI related, and as such you may be
better stick
RH7 shipped with a broken Glibc, have you patched it?
[EMAIL PROTECTED] wrote:
Hi,
Hi, how's life back over that side of the pond? (I'm from Edinburgh myself)
I am looking to use Apache and Tomcat in my company's production web
site.
Before I can convince management that this is a good idea I need some
information so I am confident. If anyone c
Do you have the jserv_shm file configured? This is a block of shared memory that
the apache httpd processes use to communicate about the state of the Java VM's.
When the request comes in from the browser, it will have the cookie / URL
rewriting session id which will tell it which VM to send the r
Irma Tröger wrote:
> Hi,
>
> we are currently planning a setup for a new application and decided to use
> Apache as Web Server and Tomcat as JSP/Servlet Engine.
>
> This is -so far- a pretty common way I guess. We now think about the
> environment to build up, because it has to be an application
Caution: If you do this by using a redirect and relying on the referrer header
passed by the browser, you aren't really creating security.
What you want to do is set a flag in the Java session on the server side, and
have all subsequent JSP's / servlets check it.
Paul Kofon wrote:
> HI,
> I'm s
David Crooke wrote:
> Use an encoded URL for the ACTION parameter of the FORM tag.
Side note - with JServ this works for POSTed forms, but wouldn't work with forms
using the GET method, since JServ used a querystring argument for its rewriting
>
>
> David Wall wrote:
>
&
Use an encoded URL for the ACTION parameter of the FORM tag.
David Wall wrote:
> > The most likely explanation is that you are using instance variables in
> > your servlets, instead of local variables, to represent the information
> > for a particular request. These variables are shared across
For any serious application, you should use Apache in front of Tomcat, and it has
this capability built in.
Alec Bau wrote:
> On Solaris 2.7 we need Tomcat process to use port 80 but to run under id other
> than root. Is there a trick or conf option to do this, i.e. grab port 80 under
> root and
We are running Apache 1.3.14 on FreeBSD 4.0, back ending on JServ 1.1b3 on the Sun
1.2.2 JVM on Linux 2.2.12 (RH 6.1) - multiple appservers, multiple VM's per, etc.
I can tell you that this configuration is stable and resilient under large loads; we
have tested it to destruction, and it degrades
Well, it's easier just to use the servlet session tracking - you can ensure the
session carries from your insecure to SSL server by using the same DNS name for
both.
As to using a DB, this is unnecessary if you use the same Tomcat instance(s)
for both - just build the cart as a Java data structur
etContextPath()
+ "ReallyATest");
Thanks,
Paolo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
--
David Crooke, Chief Technology Officer
Convio Inc. - the online partner for non
Did you try compiling it into Apache statically instead of as a DSO (not even
sure if this is possible, I never tried)?
Hiendl Elke wrote:
> Hey, you are absolutely right!
> I did the whole stuff on LINUX several times and it works great. Regrettably
> this setup was chosen against my advice. N
Hiendl Elke wrote:
> Hi everybody,
>
> I have a really weird problem:
> my setup is Solaris8 /Intel
> Apache 1.3.14
> mod_ssl 2.7.1 with openssl 0.9.6
> JDK1.3
> Tomcat 3.2.1
>
Solaris on
Interesting - we are currently running Sun's 1.2.2 VM and evaluating IBM 1.3 -
performance is pretty good, and so far no issues with the VM (Linux though, not
Windows).
Are you using a single VM with native threads, or just green? Conventional
wisdom use to be that green threads was the way to go
Sounds like a case for JavaScript, or possibly an applet. Pushing to the
server and back is kinda clonky.
If you just want them to create a file and save to disk, why not have
them crank up a local text editor?
"Burgess, Jay" wrote:
I believe one solution is to POST the form data from the
text
SSL is entirely orthogonal to Tomcat - just put the tomcat directives in
your SSL virtual host and use https URLs - look at
http://www.modssl.org/ for SSL info
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
(offtopic) I have answered this half a dozen times already - can someone please,
please fix the AutoFAQ, and the broken link to it at http://java.apache.org/faq
RH7 ships with a buggy glibc, download and install the patch
Rick Yu wrote:
> Hi,
>I've used jdk1.2.2 and tomcat on redhat6.2 bef
mod_rewrite is your friend - it's a steep learning curve but worth it
Milt Epstein wrote:
> On Thu, 1 Mar 2001, Jason Novotny wrote:
>
> > I would like to be able to access a servlet with the URL
> > http://localhost:8080/demo
> >
> > However, it only works if I go to
> > http://localhost:8080/d
netstat is a useful tool for tracing this - I'll bet you'll see a whole
batch of connections stacking up on your internal port between Apache
and Tomcat
Are you doing a close() on the PrintWriters going out from the
appserver? If not, the JVM may be too slow at closing them behind you.
Zsolt Kop
RedirectMatch 301 (.*)\.asp$ $1.jsp
Carlos wrote:
> i have my pages from asp to jsp
> the problem is that there are users that asks asp pages.
> there is any way for make this:
> if my browser asks a *.asp page forward (show) the index.jsp page?
> how?
> thanks
> Carlos
>
> -
42 matches
Mail list logo