2002
!-- hhmts end --
/body
/html
-- In SampleClass.java
package ca.stratuscom.TestWebapp;
public class SampleClass {}
/test-case
-Original Message-
From: David Oxley [mailto:[EMAIL PROTECTED]]
Sent: July 23, 2002 05:36
To: 'Tomcat Users List'
Subject: RE: RMI and TC4.x
Here's a script to install tomcat with apache2. You'll need to modify it
quite a bit for your particular box.
http://www.daveoxley.co.uk/scripts/new-tomcat.sh
Dave.
-Original Message-
From: Brian Orledge [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2002 14:16
To: [EMAIL PROTECTED]
I need to do some bandwidth calculations for our web app that take into
account the browsers cache. So, I think I need some sort of TCP/IP sniffer.
Does anyone know of a decent one I can use for this purpose?
Dave
I remember hearing that there was a bug with Windows XP that caused problems
with TC and Apache. Does anyone have any info on this?
Dave
From a servlet how can you detect what should be output from the type of
client that sent the request. i.e. If a WAP phone accesses a servlet then it
outputs WML or if a Web Browser accesses the same servlet then HTML is
output
Thanks.
Dave
to a difference
between tc 3.x and 4.x in the way they handle spaces in JNDI/RMI server
URLs. Did you try using tomcat 4.x to connect to an RMI server that
doesn't have a space in its URL?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: David Oxley [mailto:[EMAIL PROTECTED
Has anyone got RMI working from within TC4.x. I had no problems under TC3.x,
but just can't get it working under TC4.x.
I have had a bug report outstanding for quite some time on this, but I was
hoping that someone on the user list may have already got this working.
As far as I know mod_jk should still be used for 4.1.x, not mod_jk2. When
people talk of Coyote JK2, they mean the Java side which is enabled by
default when you download TC4.1.x.
Dave
-Original Message-
From: Paul landolt [mailto:[EMAIL PROTECTED]]
Sent: 16 July 2002 15:13
To:
In Tomcat 4 a Host node allows name based virtual hosting. How should this
be set up to handle port based virtual hosting.
i.e. should this work:
Host name=www.host.co.uk:80 debug=0
appBase=/var/sites/webapps/www.host.co.uk:80 unpackWARs=false
autoDeploy=true
This is a bug with jdk1.3. Upgrade to jdk1.3.1
Dave
-Original Message-
From: Marciu Liviu [mailto:[EMAIL PROTECTED]]
Sent: 02 October 2001 23:23
To: [EMAIL PROTECTED]
Subject: Toncat as service on Win2K
Hello tomcat-users,
I have registred Tomcat3.2.3 as a service on Win2K, under
The new jk_nt_service.exe (TC3.3) already has this facility build in. You
might need to get it from CVS because I can't remember if it is in beta2.
Also if you look in bugzilla there is a Service Manager (like the SQLServer
one) that I have contributed. Just download and build (You'll need to
Are there any pools that are for JDK1.1?
Hi all,
This isn't an urgent problem as I can manually change mod_jk.conf.
I am trying to get TC3.3 to auto configure itself (startup.bat -jkconf), but
it configures mod_jk.conf for serving static content from TC3.3. I read that
it was supposed to pick this up from web.xml. So:
1. Either my
using different settings, by having multiple copies of the
isapi_redirector with different names. Each virtual host
would use the appropriately named copy. Not elegant, but
I'm not sure there is a better way.
Cheers,
Larry
-Original Message-
From: David Oxley [mailto:[EMAIL PROTECTED
Hi all,
I need to set up IIS with each virtual host routing to a different worker in
Tomcat. Each virtual host has the same web application under it and
therefore must all be the same context.
i.e. Under Apache I set up the following:
NameVirtualHost 128.100.2.23
VirtualHost 128.100.2.23
Try changing the user that the Tomcat service is running under.
Dave
[EMAIL PROTECTED]
-Original Message-
From: Michelle Buckley [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2001 13:08
To: [EMAIL PROTECTED]
Subject: nt service + nt service
hi guys and gals
I have a slight problem
|[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
|extension_uri=/jakarta/isapi_redirect.dll
You should probably remove the space after the .dll in your registry. That's
what would cause the +.
-Original Message-
From: Christopher Biow [mailto:[EMAIL
I am trying to set a cookie that can be picked up from a different server to
the one setting it. They both belong to the same domain (daves.domain.com
and daves2.domain.com).
The first server sets the cookie and redirects to the second server where
the cookie is read.
On IE5.5 and above the
Isn't the .so file only for unix. You need mod_webapp.dll
Dave
-Original Message-
From: Shawn Evans [mailto:[EMAIL PROTECTED]]
Sent: 17 August 2001 15:12
To: [EMAIL PROTECTED]
Subject: mod_webapp -- NT4, Tomcat 4.0.7, Apache 1.3.20, JDK 1.3.1
I read Installing mod_webapp and using
I have been load testing our servlet and under high load requests start to
take a long time (30secs ish). When a request takes this long a browser
resubmits the request automatically. Is there a status I can send to the
browser to say that the server is actually doing something and therefore
stop
the same in Tomcat. I know how to
configure a thread pool, but not queue size!
Un saludo,
Alex.
David Oxley wrote:
I have been load testing our servlet and under high load requests start to
take a long time (30secs ish). When a request takes this long a browser
resubmits the request
what it must send next, the browser
resends the response.
Is this the case? What browser is it? Mine (Netscape Communicator 4.7)
does not.
Un saludo,
Alex.
David Oxley wrote:
This isn't the problem. Tomcat is calling my servlet, but because the
machine is so busy it is taking a long time
You aren't using the Microsoft VM are you?
-Original Message-
From: Paul Kofon [mailto:[EMAIL PROTECTED]]
Sent: 26 March 2001 15:37
To: [EMAIL PROTECTED]
Subject: RE: JDBC + Tomcat NT Service
Hi Randy,
Thanks! I'm sorry I failed to mention that I had put the jar files in the
lib
You need to set JkMount to point at your load balanced worker (i.e. JkMount
/*.jsp lb) and in your workers.properties use the following as an example:
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
worker.Xajp13.port=8013
What are the available products that can help me stress test my application
and which is the best. It needs to be able to run requests either serially
or in parallel (i.e. Acurrately simulating multiple users using a multiple
HTML frame servlet application).
Dave
[EMAIL PROTECTED]
Is there a proxy in between the server and browser. I have a vague memory
your supposed to use "no-store" instead of "no-cache". Someone please
correct me if this is false.
Dave.
[EMAIL PROTECTED]
-Original Message-
From: Roby Gamboa [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2001 16:47
A couple of things I would like to see in a book (and seems to have never
been covered before):
1. How to structure large servlet applications (Data model).
2. Scalable/fail safe servlet applications.
i.e. Our application is accessing a database of up to 100Gb and we cache all
of our data in
I am about to install our software onto a RedHat 7.0 box. I have tried
before to install Sun's JRE onto RedHat and failed. I have a couple of
questions:
1. What is the best JVM to use? (Stability more important than performance)
2. Are there detailed instructions on doing the install anywhere?
I tried posting this question on Sunday, but got no response so here it is
again:
I am using Flash to make a https request to a servlet. Flash seems to send
the request and it gets to the servlet, but it hangs when reading/getting
the response. It works fine when getting a text file containing
Hi all,
I know that the HttpSession is only valid on the virtual host it was created
on. This is more of a security question. We currently have our own session
class that gets stored in an HttpSession 1:1 ratio. So we've coded a request
that allows us to GetSessionID on the original host and
, usually their IP is locked
out for a certain amount of time or a session field is set that doesn't
allow them in as long as that same session is valid.
Randy
-Original Message-
From: David Oxley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 8:08 AM
To: '[EMAIL
Right.
1. First of all You can write a java applet that uses java1.1 i.e. the VM
included with netscape and IE so the user doesn't have to download anything.
And you can still use 1.3 on the server. You don't need to install another
vm on the server.
2. Can you please stop flaming each other.
d jsp
HttpSession session = req.getSession(false);
Cookie[] cks = req.getCookies();
Cookie ck = findCookieByNamePath(cks, "QUICK_RETRIEVE",
"/myredirect.jsp");
MyParams params = (MyParams)session.getAttribute(ck.getValue());
-Original Message-
From
When sending a HttpServletResponse resp.sendRedirect how can I specify
parameters without having them appear on the URL in the browser address bar?
Thanks.
Dave.
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I know this isn't a Tomcat question, but any help would be appreciated.
I remember seeing a post back in the days of Tomcat 3.1 about starting java
apps as an nt service, but I haven't been able to locate the posting. I have
a small java app that I need to run as a service. I would rather
I'm trying to use java.awt.* on RS6000 without a gui running. I've read
about Xvfb in the archives but there is no info on this with the RS6000 as I
can only find info for Digital Unix and Solaris?
Dave.
[EMAIL PROTECTED]
-
To
EAPI.
"Pour la plupart des hommes, se corriger consiste changer de dfauts."
-- Voltaire
-Original Message-----
From: David Oxley [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 2:51 PM
To: '[EMAIL PROTECTED]'
Subject: RE: where can I find tomcat 3.2.2
When a 3.2.2 releas
In your command prompt. cd into %TOMCAT_HOME%\bin and type 'tomcat run'.
This will tell you the error because it starts it in the same window. But
the error is probably that java 1.1 doesn't have a tools.jar, it has a
classes.zip. Add that to your classpath.
Dave.
[EMAIL PROTECTED]
Ant1.2 has a War file tool from your ant build script that is really useful.
Also the war file is only a jar so once you've created the directory
structure jar it and rename it to .war and that works fine.
Dave
[EMAIL PROTECTED]
-Original Message-
From: Algarve, Leila [mailto:[EMAIL
I'm going to Australia for a month so I would appreciate being removed from
the list and I'll resubscribe when I get back.
Dave.
[EMAIL PROTECTED]
We have written a servlet that is being used in a virtual host setup. I need
to retrieve the virtual host that the servlet has been setup up to work
against. I can retrieve the server name but not the virtual host name. Also
I would like to retrieve the context.
We are using Apache 1.3.14
Are there any issues with running batch files that call external programs
when Tomcat is set up as an NT service.
I have a problem that when using the startup.bat my COBOL routine gets
kicked off fine, but when Tomcat is a service the COBOL returns an error
code and never executes. I have a
...But that requires a code change so won't help you much!!
-Original Message-
From: Samuel Yuen [mailto:[EMAIL PROTECTED]]
Sent: 09 November 2000 14:21
To: [EMAIL PROTECTED]
Subject: Re: How many sessions are open?
Hi,
as you must seen, there was some discussion about how to detect
Does anyone know why the init method is being called twice. I'm using
tomcat3.2b6 with IIS5 on W2K linked with isapi_redirect.dll. I have also
seen this with 3.1 with apache 1.3.12 on Solaris 7 linked with mod_jserv.so.
I can code around this so that the second time through it doesn't call my
What we do (and we would prefer a better solution) is copy it under
WEB-INF\classes directory. It would need to be in the .jar file if you were
to put it in the WEB-INF\lib directory.
Dave
[EMAIL PROTECTED]
-Original Message-
From: Gary Raley [mailto:[EMAIL PROTECTED]]
Sent: 07 November
integers are loaded before higher
integers. If no value is specified, or if the value specified is not a
positive integer, the container is free to load it at any time in the
startup sequence. --
!ELEMENT load-on-startup (#PCDATA)
Jin
-Original Message-
From: David Oxley [mailto:[EMAIL
Try the tomcat-dev mailing list. Someone will probably take it off your
hands.
-Original Message-
From: Jean-Rene Rouet [mailto:[EMAIL PROTECTED]]
Sent: 25 October 2000 08:28
To: [EMAIL PROTECTED]
Subject: Mod_jk and MacOSX
Hi
I made modifications on 2 files of the distribution
47 matches
Mail list logo