Make sure that:
1. In your httpd.conf file, you have:
JkMount /bookstore/* ajp13
2. I presume this context is installed under $TOMCAT_HOME/webapps directory?
If so, no further updates should be required to the server.xml and
workers.properties files
3. Your workers.properties file is pretty
What's the URL you type in the browser to access your servlet? If it is
http://yourserver/APPL1/yourservlet then you need to have:
JkMount /APPL1/* ajp13
in your httpd.conf
cheers,
Tony
-Original Message-
From: Sophie [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 15, 2001 4:08
Mariano,
404 usually means the request never quite made it to Tomcat at all, and is
usually a JkMount-related error.
- What is the error in your Apache access log? What URL is getting logged?
- If you deploy a servlet context under $TOMCAT_HOME/webapps directory (e.g.
in a subdirectory
Greetings!
Environment: Tomcat 3.2, Apache 1.3.20, mod_jk, Solaris 2.8
Is there anyway to tell in my servlet which Tomcat worker is the servlet
running in? I have setup a few Tomcat workers on a Solaris box (Ports
9001-9004), and JkMounted the loadbalancer worker for my servlet which
allocates
with the following:
JkMount /thh/* ajp13
- Tony
-Original Message-
From: minfrin [mailto:minfrin]On Behalf Of Graham Leggett
Sent: Friday, September 14, 2001 9:53 AM
To: [EMAIL PROTECTED]
Subject: Re: mod_jk / tomcat webserver 404 weirdness
Tony Vinayak wrote:
Doesn't look like the request made
O you need to tell us lot more than that Gauri!
- What error do you get?
- What versions of Apache, Tomcat, OS?
- What mod_jk config settings in httpd.conf?
- What's in your workers.properties (in case you've modified the defaults)
- In your server.xml?
- In your web.xml?
Questions, questions!
I presume you are able to ping the IP addr from the other computer. If you
can access Tomcat locally (localhost:8080), you should most certainly be
able to access it remotely (e.g. http://192.163.1.100:8080). If not already,
don't forget to suffix the IP addr with the port # (8080)
IF the above
Interesting,y, if I don't have the inet config line at all in my
server.xml, I can access the running Tomcat both locally and remotely
without any server.xml config change!
- Tony
-Original Message-
From: Peter Davison [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 10:31
/* external_1
Jan
On Thu, 13 Sep 2001, Tony Vinayak wrote:
Folks,
I've got a couple of quick newbie questions:
Environment: Apache 1.3.20 on Solaris 8; Tomcat 3.2 (using mod_jk); Apache
and Tomcat running on the same box.
If I configure and run multiple Tomcat
Greetings,
Am using Tomcat 3.2 with mod_jk and Apache 1.3.20
In my servlet, doing request.getServerPort() tells me the port on which
Apache is listening (e.g. 80). How can I get to the Port on which Tomcat
connector (ajp13) is listening (e.g. 8007) ??
regards,
Tony
in the
org.apache.tomcat.service.whatever... You could probably make them write
something to some static bean where you can get it, but again... This is
for gurus to tell us, since I would be rediscovering the wheel going through
the Tomcat source...
Jan
On Thu, 13 Sep 2001, Tony Vinayak wrote:
Greetings,
Am using Tomcat
Are you using telnet to do the GET? If so, try something like:
telnet localhost 8080
GET /index.vxml HTTP/1.0
Press ENTER
- Tony
-Original Message-
From: Judith NATAF [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 1:28 PM
To: [EMAIL PROTECTED]
Subject: error 404 with a
-Original Message-
From: Jan Labanowski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 2:07 PM
To: Tony Vinayak
Cc: Jan Labanowski; [EMAIL PROTECTED]
Subject: RE: Getting Tomcat's Port# in Servlet (using mod_jk)
I am not sure how your workers are done, but usually each worker gets
Environment: Tomcat 3.2
Apache 1.3.20
mod_jk
Solaris 2.8
Am trying to define and use a new Tomcat worker, but getting the 500 error.
In the workers.properties file, I defined:
worker.list=TonyWorker
worker.TonyWorker.port=8006
worker.TonyWorker.host=localhost
worker.TonyWorker.type=ajp13
In
Environment: Tomcat 3.2
Apache 1.3.20
mod_jk
Solaris 2.8
Am trying to define and use a new Tomcat worker, but getting the 500 error.
In the workers.properties file, I defined:
worker.list=TonyWorker
worker.TonyWorker.port=8006
worker.TonyWorker.host=localhost
worker.TonyWorker.type=ajp13
In
In your servlet's doGet processing, you will need to have a line of code
like:
resp.setContentType(text/plain);
Of course, for your mp3 file, it won't be text/plain, but a different
mime-type (audio/mpeg or whatever)
- Tony
-Original Message-
From: Tim O'Neil [mailto:[EMAIL PROTECTED]]
Folks,
I've got a couple of quick newbie questions:
Environment: Apache 1.3.20 on Solaris 8; Tomcat 3.2 (using mod_jk); Apache
and Tomcat running on the same box.
If I configure and run multiple Tomcat workers on the same machine
(listening on different ports of course), and let's say they are
You're right; BEA can do what Tomcat does, and more (EJBs).
Having said that, if hosting servlets/JSPs is all you want to do, then
Tomcat is a perfect (and lot less expensive!) solution, rather than having
to buy a WebLogic license. If EJBs is your cup of tea, then you want to go
the BEA route.
Folks,
Being a newbie to the Tomcat world, I'm trying to get my arms around the
features that are available in Tomcat for debugging my web apps (servlets,
JSPs).
Besides enabling logging in server.xml file, what else can I do that can
help me in debugging my web apps ? I'm spoilt with
Obvious question: do you have addmodule/loadmodule lines corresponding to
the apachemodulejserv.dll in your conf file? You don't need it if running
Tomcat.
cheers,
Tony
-Original Message-
From: Huaxin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:37 PM
To: [EMAIL
20 matches
Mail list logo