On Tue, 17 Jul 2001, Lok Yek Soon wrote:
How can I make sure that Apache do not auto startup
when
Linux is booted up/rebooted?
man chkconfig
basically redhat starts things depedning on the whats in the
/etc/rc.d/init.d/rc.X directories - X being the runlevel.
2. How can I make Tomcat 3.2.1
What output do you get when you start tomcat, and in the logs?
cheers
dim
On Mon, 16 Jul 2001, Mike Sanders wrote:
Thanks for your help! The Tomcat build is 3.2 and no the server is not
responding to port 80 requests.
Thanks in advance,
Mike
- Original Message -
From: Cory
Set them up the same as if you were using Apache. Use the host wrapper
around your context. From memory there's a simple example of syntax in
the default server.xml.
cheers
dim
On Tue, 17 Jul 2001, Jerry QU wrote:
Hi All,
how to set virtual hosts for stand-alone Tomcat?
does it have
What do you m ean by change the IP address. Does the machine have
multiple IP addresses? You should be able to determine IP info on a
windows box using winipcfg - I think that's right for NT, can never
remember. Whatever IP address the box listens on tomcat will respond
to. Is this what you
On Thu, 12 Jul 2001 16:28, you wrote:
I thought the problem with threads was that you actually _cannot_ kill
them, even in Java. I find this stupid, and hope I'm wrong! But
apparently you can only ask the thread to interrupt and check for status
by using the thread.interrupt(), and
I'm not sure thats the problem. David if I read correctly you've got tomcat
running? Are you seeing anything in the mod-jk.log or tomcat.log? The first
step is to check that the request is getting to tomcat, and then to see where
tomcat is barfing. I would almost guess though that the
Hi,
On Thu, 12 Jul 2001 18:50, Endre Stølsvik wrote:
How would you stop this thread?
while(true);
something like this:
import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet
{
private
On Fri, 13 Jul 2001 01:27, Mihai Gheorghiu wrote:
I downloaded and installed the binary jakarta-tomcat-3.2.2.tar.gz and it
works.
Is it SSL capable?
no - to get ssl support you'll need to download source and rebuild it with
ssl. get the source and look at teh ssl-howto,
cheers
dim
where are the jars containing those packages? they should be in
$TOMCAT_HOME/lib or $WEB-INF/lib.
cheers
dim
On Fri, 13 Jul 2001 03:03, Gadde, Padma wrote:
Hi
i am working with XML and I have my JSPs in the tomcat (version 3.2.2) . I
am trying to import org.apache.xpath and import
Chuck,
post the relevant bits of your httpd.conf and server.xml and we'll have a
look.
cheers
dim
On Fri, 13 Jul 2001 03:05, Chuck Cochems wrote:
Chuck Cochems wrote:
I'm using mod_Jk with the latest apache and tomcat 3.2.2
Whenever I add a virtualhost, I can only reference the JSP by
Hi,
I'm not exactly sure what your problem is but may I suggest a different
architecture? Why dont you have the fileLoadedByUser put in a queue - and
in the init() start a worker thread that just processes the files one by one.
You could then accept someone's fax all the time. Get an email
Embedded in what? JBoss?
On Thu, 12 Jul 2001 05:49, you wrote:
Can anyone help me with EmbededTomcat. I have tried to implement it
according to the comments in the source code to no avail. I have scoured
the archives, but I di not find any solutions.
Your assistance would be appreciated.
Does it intentionally loop forever? If so, creating a new thread and having
that do the work (hence returning tomcat's thread to the server) should do
the trick.
cheers
dim
On Sat, 30 Jun 2001 07:28, you wrote:
Hi all,
I'm rolling out a successful Tomcat instalation in a shared
!!!
Phil
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: Phillip Gillis [EMAIL PROTECTED]
Cc: Phillip L. Gillis [EMAIL PROTECTED]
Sent: Tuesday, July 10, 2001 1:20 AM
Subject: Re: Newbie - 500 Error
ahh, no... here's your problem
Context path=/phil
Phil,
The way most ppl use tomcat (in production systems) is to have apache or IIS
server static content and only use tomcat for serving jsps and servlets. So
when you do get down the road of going live etc, I'd advise you _do_ use IIS
_as well_ as tomcat - each for what they're intended
the
correct paths. I removed the Context path entry. In the browser, I see
everything fine, but running the JSP . I still get my error.
My error is java.lang.ClassNotFoundException: Unable to load class
dates.JspCalendar
THANK YOU!!!
Phil
- Original Message -
From: Dmitri Colebatch
sorry - meant to keep this on the list for archives
-- Forwarded Message --
Subject: Re: Newbie - 500 Error
Date: Tue, 10 Jul 2001 16:20:03 +1000
From: Dmitri Colebatch [EMAIL PROTECTED]
To: Phillip Gillis [EMAIL PROTECTED]
Cc: Phillip L. Gillis [EMAIL PROTECTED]
ahh
the
discussion in general. thats a very valid point you make.
A digest version is already available for this list.
sorry - I didn't know. I should RTFM! (o:
cheers
dim
--jeff
From: Dmitri Colebatch [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Fri, 6 Jul 2001 16:03:14 +1000
request.getContextPath();
cheesr
dim
On Fri, 6 Jul 2001 13:27, you wrote:
Is there an API to get the contextPath for a servlet?
--
Thanks
Jacob
I think the big problem with splitting the list is that everyone is going to
be interested in their own little niche. I for instance learn nothing by
answering many questions that I answer, but I do learn things from reading
other answers. If the list was split, I would (potentially) have
On Fri, 6 Jul 2001 16:03, Parag S wrote:
Does Tomcat supports SSL
yes it does. download it - look in $TOMCAT_HOME/doc/tomcat-ssl-howto.html
If yes then which version supports it.
thats from 3.2
Please let me know immediatly
hmmm, its a mailing list - we'll answer your query when we
Hi,
On Thu, 5 Jul 2001 02:58, Suresh Manne wrote:
javax.servlet.ServletException: Cannot create bean of
class my_classes_folder.my_class_file
What does your bean look like? Firstly, I'm assuming it has package
my_classes_folder at the top of it. Secondly, the main reason I find those
On Wed, 4 Jul 2001 17:19, you wrote:
ApJServMount/context_path/myServlet
/context_path/servlet/theServlet
So I assume that if you request
http://myserver/context_path/servlet/myServlet it works too? This isn't
the point though - you're right, you shouldn't (and dont) have to do that.
On Wed, 4 Jul 2001 23:43, you wrote:
hi
I have Apache Web server and tomcat. Now, to create a webserver adapter,
do I need to download the mod_jserv seperately, ie other than the tomcat
download ? if so where can i get it from ?i'me using tomcat-3.2.1 on
HP-UX.
You should use mod_jk not
On Fri, 6 Jul 2001 01:15, Suresh Manne wrote:
Hi Dim,
I am sending you the erroe message I get,
(o: not very imformative is it? Sorry I'm out of ideas, but I would think
that its something simple and that perhaps if you took a few steps back and
then did it again the problem would
What happens if you look at them from another box? that is - is it a client
problem or a server problem?
On Tue, 3 Jul 2001 16:07, you wrote:
hi,
i get the blue screen of death everytime i access a servlet or jsp example
from the Tomcat examples with: http://localhost:8080/examples/jsp/*
You need to use the jdk not the jre. that class is in tools.jar and is part
of the JDK from sun... you'll need it to compile jsps (as they get compiled
into servlets).
cheers
dim
On Wed, 4 Jul 2001 05:35, Domzalski, Lynn wrote:
Hi.
I'm getting this error message and have tried my hardest
Hello again (o:
On Tue, 3 Jul 2001 19:44, Richard Richter wrote:
At last: Something out of this topic. Re: reference material - Dmitri
wrote something about look at mod_jk-howt and tomcat-apache-howto... so...
In these HTMLs (on the server - so called latest documentation or
something ;-))
Hi,
If you've downloaded tomcat, there are docs in $TOMCAT_HOME/docs. Have a
look at mod_jk-howt.html and also tomcat-apache-howto.html. Both in the docs
directory.
cheers
dim
On Tue, 3 Jul 2001 05:11, Brawner, Jerry J wrote:
Where could I find some instructions for the dummy to install
hi Francisco,
Use error-document in web.xml. Its covered in the Servlet 2.2 spec.
cheers
dim
On Tue, 3 Jul 2001 10:14, you wrote:
Anyone know if I can set tomcat to use a custom page for http errors, like
500, instead of it´s default???
please, help me, i´ve tried a lot of things and it
depending on how brave you're feeling the ejbdoclet project is one example of
such work (http://www.sourceforge.net/projects/ejbdoclet).
cheers
dim
On Mon, 2 Jul 2001 07:32, msew wrote:
Does anyone out there have a link to a good tutorial or even just example
files of how to easily extend
hey - this looks interesting.
On Mon, 2 Jul 2001 10:40, D. Jay Newman wrote:
I'm sorry, but I agree with Nick.
me too
could someone give me a nice example how to write a web.xml in which i
can use my generic servlet which uses my own protocol?
What sort of a protocol are you looking at?
On Mon, 2 Jul 2001 11:40, you wrote:
I'm glad you think so. I can use all the help I can get. :)
I think I'd be leading you astray if I left you thinking that there's much
chance I'd find time to actually do anything )o: much as I'd love to get my
feet wet, there's barely enough time in the
On Mon, 2 Jul 2001 11:59, D. Jay Newman wrote:
I have just gotten though enough of the Servlet 2.3 specs, and while a
servlet *must* implement the HTTP protocol, it can also implement other
protocols. So I would think that I'd just be helping to make Tomcat more
in sync with the standard.
On Mon, 2 Jul 2001 12:23, Frans Thamura wrote:
Basically, the question of syntax is
- Description
- Sample
Just it.
I think we need tomcat-user and tomcat-dev members
also.
To sign up for the tomcatbook mailing list, send an empty email to
[EMAIL PROTECTED] I've just signed up - will
.
jsp:setProperty name=myBean property=fieldOne VALUE= /
Thanks!
Mike
-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 11:36 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP / JavaBean problem
firstly - right list. unfortunately I dont have
I know a robots.txt in the root dir will stop spiders from doing this - not
sure if proxies are intelligent enough to reuse that, but it might be worth a
try.
cheers
dim
On Fri, 29 Jun 2001 04:44, you wrote:
Hi All,
Every day I get hundreds of hits on my JSP pages from proxy servers who
On Thu, 28 Jun 2001 19:15, you wrote:
OH SORRY... I didn't want to say that you gave advice with TWO servlet tags
- no YOU DIDN'T...
(o: no worries...
The fact that two are too much wasn't known to me - you
know, example of web.xml is the only thing I have to learn from. ;-)))
This was
I believe there is a project (yes there is, I thought I'd check before
sending this) called tomcatbook at sourceforge
(http://tomcatbook.sourceforge.net). Perhaps that would be a good place to
a) look for advanced answers, and b) suggest questions.
cheers
dim
On Fri, 29 Jun 2001 00:29, you
On Fri, 29 Jun 2001 14:08, you wrote:
and shows an error : java.net.bindexception: address already in use.
Tomcat starts up on 8080 out of the box. This means that you already have
something bound to 8080. Edit $TOMCAT_HOME/conf/server.xml and change 8080
to some other port.
btw - what's
firstly - right list. unfortunately I dont have a direct answer for you,
although do see what you're asking. what might help you though is something
like struts (http://jakarta.apache.org/struts). it handles the sorts of
issues that are (by the sounds of it) at the base of your problem
if you want to use redhat's system an easier way to do it would be to use
chkconfig which will do all this for you (once you have the
/etc/rc.d/init.d/tomcat and apache scripts).
cheers
dim
On Tue, 26 Jun 2001 17:27, Antoni Reus wrote:
Hi,
The scripts should be named apache ant tomcat and
Nick,
On Thu, 28 Jun 2001 06:53, Nick Stoianov wrote:
2. Virtual hosting for Tomcat is almost impossible - especially if you have
a load balancer in front of the web server.
I find the virtual hosts work fine with the exception of port based virtuals
(same ip/name different port). Where
On Wed, 27 Jun 2001 23:18, [EMAIL PROTECTED] wrote:
I fired up x window and was naive to believe
that I could just enter http://localhost:8080
in the location bar of netscape and be able to
see the tomcat homepage.
does http://127.0.0.1:8080 work? what you're doing sounds right.
cheers
dim
Richard,
sorry for the latency here... our connection is proving a right pain...
On Wed, 27 Jun 2001 01:19, Richard Richter wrote:
Here (you wrote similar advice Re: Servlet configuration to somebody
else) I looked to web.xml, which contains:
servlet
On Thu, 28 Jun 2001 10:10, Nick Stoianov wrote:
5th - I haven't met anybody in this mailing list who has a complex
installation of Tomcat with a lot of virtual hosts , different ports and
load balancers. So - who will help me in situation like this? No books , no
support, no help from the
I cant see what this has to do with Tomcat, but essentially what you're
asking for is RMI of a batch file. If you want to give me some details of
what it is you're trying to do I'm happy to try and help, but I'd suggest
taking it offline as it is not related to this list.
cheers
dim
On Thu,
Celson,
3 things:
1. inside the webapps/cpl directory create another called WEB-INF
(case-sensitive) and inside that put the web.xml.
2. also in the WEB-INF directory create a classes directory and put your
servlet in there.
3. in the web.xml you will need a servlet definition if you want
see the web site:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ssl-howto.html
dim.
On Mon, 25 Jun 2001 20:25, Lukas Sägesser wrote:
can anybody tell me if tomcat (standalone) supports SSL ?
tnx!!
l.sägesser
Not sure if anyone responded to this - our mailserver's been down (or more
accurately our ISP) for the last couple of days...
On Mon, 25 Jun 2001 19:28, Richard Richter wrote:
virtual host and your question is about server.xml (I have no experience
with that kind of virtual host).
Tomcat also
Where are your images located? sounds to me like they exist in
$TOMCAT_HOME/webapps/admin/images or something. They should be in
$HTDOCS/images (for apache). If you want it to work (with images) for both
apache and tomcat, put the images under apache (as you should) and have
tomcat mount a
I'm not sure if this has been solved or not, but I had problems getting the
virtual hosts to work in server.xml when the virtual host was based on port
and not name. Is this is what you're trying to do?
cheers
dim
On Fri, 22 Jun 2001 23:22, Richard Richter wrote:
Hello...
I'm using Apache
Not sure if this is going to be of _any_ assistance whatsoever, but anyway...
I've seen a situation where someone was using the java.net.URL package to
open a connection and request a page where the connection was opened but it
appears the buffer wasn't being flushed, and the request hence
What I've done is taken a copy of the mod_jk.conf-auto and extracted the
LoadModule etc (global info) from it into one file. I include this file
(using the Include directive) in the httpd.conf. I then insert into each
VirtualHost directive the JkMount directives. I'm not sure if its
directory, and then
Tomcat, according to it's
server.xml maps root files to c:\winnt )
All the best,
Eitan
-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 4:35 PM
To: [EMAIL PROTECTED]
Subject: Re: JSP mapping
Eitan,
Yep
try struts - jakarta.apache.org/struts I think
Reynir Hübner wrote:
hi everyone,
Does anyone know of implementation of a good ServletChaining API (for
tomcat) that´s available for download ?
I know Filters will be introduced into Tomcat 4 and I look forward to
working with those but
By multiple threads of activity do you mean the user has multiple windows
open? If so, perhaps in the user's session you could have a Map of business
logic beans instead of just one. And somehow have the client identify which
thread of activity the currenty action is part of, from there get
answer to your question: you need to compile it. servlet classes need to be
available to the application - compile them in to
$TOMCAT_HOME/webapps/myapp/WEB-INF/classes where myapp is the name of your
context. You will also need to change web.xml to define the servlet
(strictly speaking I
Doesn't tomcat need to set the Content-length HTTP header in the response
before sending anything? That would explain (to me at least) why flush
doesn't send it to the client. I'm guessing all it does is tick over the
content-length counter.
cheers
dim
On Wed, 20 Jun 2001 08:26, you wrote:
?
Cheers,
Russ
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Russ Freeman [EMAIL PROTECTED]
Sent: Tuesday, June 19, 2001 11:24 PM
Subject: Re: multithreaded beans, struts, doing it right...
By multiple threads of activity do you mean
(o: shit... I've just gone and re-invented the wheel..
On Wed, 20 Jun 2001 09:29, you wrote:
1) that there is some generic facility I can use to do this in tomcat
yes there is, kinda, but I dont know it will do what you need. If your
servlet implements SingleThreadedModel then tomcat will
Eitan,
Are you running standalone or with a web server? Assuming you're
running standalone, and that there's not much else you're using tomcat
for, all you need to do is remove the /MyJspDirectory from the
context path and it should work fine.
cheesr
dim
Eitan Ben Noach wrote:
HI,
I
/ /MyJspDirectory at the
tomact-apache.conf had been removed!
Trying the line:
ApJServMount /servlet /MyJspDirectory
has the same results
Eitan
-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 4:05 PM
To: [EMAIL PROTECTED
Eoin Woods wrote:
To use Xerces in our servlets, we had to add xerces.jar to the front of
the CLASSPATH in the tomcat.sh script.
Alternatively rename it to _xerces.jar and put it in the
$TOMCAT_HOME/lib directory. That way you wont have to change your
tomcat.sh
cheers
dim
Eoin.
Do the jsps work if you go to tomcat directly?
Vivek Bhaskaran wrote:
Hey guys.. I have been looking at the archives and trying to figure out this
problem for some time now - I was wondering of any one of you guys faced
the same problem and what the solution to this is :-
I have
/servlet work fine on the standalone service. The
interesting part is that the servlets work (servlets defined in my
web.xml). But the jsp's dont'.
Any ideas' ?
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 18, 2001 2:56 PM
Subject
You'll need to put the same virtual host in the server.xml as in your
httpd.conf.
cheers
dim
On Tue, 19 Jun 2001 10:24, you wrote:
Hi,
I'm having the following problem:
I am running Apache (on Linux) , tomcat and mod_jk
I have a virtual host and the entry for this virtual host in
I would have thought that if you change the DirectoryIndex instruction (I
think thats it) in the httpd.conf to use index.jsp first, and you have
mounted *.jsp to go to tomcat then it should work. haven't done it myself
though.
cheers
dim
On Tue, 19 Jun 2001 10:40, you wrote:
Hello,
I'm
Everything works fine as long as you dont reload a class right? I would
suggest that what you have is perfectly understandable. You create an
object and put it in the session, based on one set of bytecode. You
then replace the bytecode with new bytecode, and the JVM is trying to
access the
LeRoi,
localhost is merely an alias for the loopback device (127.0.0.1). find
out what the ipaddress of your machine is. I'm assuming you're on
windows, I think the command is ipconfig on win98, or winipcfg on nt.
you'll need to type this at the command prompt rather than clicking on
the
again fine as long as I don't recompile any
class
Any ideas?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dmitri
Colebatch
Sent: Sunday, June 17, 2001 3:13 AM
To: [EMAIL PROTECTED]
Subject: Re: session error after recompile a java classBUG
You can get around this by using something like ant that
only recompiles changed files
Can you point me to the direction where I can read more about ANT. Is it
difficult to
configure?
Thanks,
luba
- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL
are you able to request http://localhost/MyApp/jsp/myjsp.jsp?
On Thu, 1 Jun 2000 20:45, you wrote:
Hi
I am trying to configure Tomcat 3.2.1 with Apache 1.3.20 on Win NT sp 6
I have configure Tomcat successfully but when I try to connect it with
apache the problem starts.
When I
The problem here is with the test context, not the server itself. Have you
possibly removed some files from the %TOMCAT_HOME%\webapps\test directory?
If not, try removing the entire webapps\test directory and restarting.
What is happening is that when the test context is being initialized
You tried Jim's suggestion of removing the test.war as well as the test
directory. Maybe some background might help you: When tomcat starts
up, it looks in the directory %TOMCAT_HOME%\webapps and any directories
or war files it finds it will attempt to create a context for. THat is
what the
Nick Stoianov wrote:
Where does Tomcat gathers the information to create mod_jk.conf-auto?
server.xml and the structure of your webapps directory - basically what
contexts are created.
You dont have to use the autogenerated file. Take a copy of it, change
it as you like, and have your
Amos Shapira wrote:
The class files themself are just like any other library - under
Tomcat's lib or anywere in the standard JAva classpath.
a more appropriate place might be considered to be WEB-INF/lib - that
way they will not affect anything outside the context they are deployed
for.
cheers
put the class files in the $TOMCAT_HOME/lib, i just need to
alter the web.xml and put the taglibs in the
$TOMCAT_HOME/webapps/foobar/WEB-INF?
each webapps needs to have the taglib.tld in its WEB-INF directory?
peter choe
Dmitri Colebatch wrote:
Amos Shapira wrote:
The class files
email [EMAIL PROTECTED] from your email address.
On Fri, 15 Jun 2001 09:41, Jovie Castaneda wrote:
Where can I request for my unsubscription from this mailing list?
Thanks
Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1
root wrote:
I think tomcat is running, how do i test it?
if you've done the straight up install, look at http://localhost:8080 -
you should have a tomcat page.
cheers
dim
hey list,
I haven't been able to find anything in the archive that talks about
this, so I'm going to ask potentially a stupid question. I've got
apache/tomcat working nicely together, using mod_jk as documented.
Thing is, I want to have a dev area on the same domain, but listening on
8080.
Jim Michael wrote:
Yup.. There are about 120 files in the jar, and two of them are:
I18MultipartParser.class path:com\novell\webaccess\common
I18MultipartParser.properties path:com\novell\webaccess\common
your previous email tries to import a class
Correct me if I'm wrong. But you'd only need to synchronize if the method
used data that was shared between threads. If you have a method:
public static int getMonth(String date)
{
return dataFormatter.parse(date).get(Calendar.MONTH);
}
or something
try using apachectl configtest and see what output you get.
On Wed, 13 Jun 2001 01:21, you wrote:
I'm new in this mailing list so i'll ask a question probably others
asked before. I already searched internet to have a response but I
didn't.
1- I have a Slackware 7.1 with the original
201 - 284 of 284 matches
Mail list logo