And you should tell the vendor of the COTS search engine that they're
not following the HTTP spec:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
The order in which header fields with differing field names are
received is not significant.
dwh
Tim Funk wrote:
Nope.
-Tim
Sean
When you find it please tell the rest of us! It's unclear to me which
of the lists is a general-user list... they seem to be very specific.
Thanks,
dwh
Sternbergh, Cornell wrote:
Hi
First, my apologies for being off-topic.
I've been searching eclipse.org for list/forum/group/whatever, for
Maybe I'm just being really dense, but why might you want to do this?
Wouldn't it make more sense to use one of the other
(non-webapp-specific) containers?
dwh
Chris Collins wrote:
Hi, guys,
I am trying to use tomcat as a container for my program which is not a
web-application.
Also keep in mind that Apache isn't the *only* thing you can put in
front of Tomcat. grin
While we do have Apache in the mix (for some legacy apps), we also run
Squid [1] in reverse-proxy mode in front of *that* to (a) reduce
response time on cachable content and (b) remove some of the load
A google search on tomcat http trace came up with a slew of pages
about this...
Did you try that?
dwh
Sankaranarayanan (Ganesh) Ganapathy wrote:
Hi All,
It was brought to my attention that tomcat by default runs httpd trace
and that it is a potential security hole. I don't understand what
Why does Sun need to do it? Anyone could do it. Seems like it could be
a candidate for Jakarta Commons... or is it too trivial?
http://jakarta.apache.org/commons/
dwh
Yansheng Lin wrote:
As I said, this is a faq. There is already tutorials on Sun's Website. But the
way it works now is
...a great reputation for being small, fast, and easy to configure
And here I thought you were talking about Jetty...
grin
dwh
p.s. I haven't actually used Jetty, but have have heard good things
about it and have been meaning to.
Josh Rehman wrote:
Has anyone compared Tomcat 5 and Resin?
See http://java.sun.com/docs/hotspot/gc1.4.2/index.html#2.2.
Measurement|outline
dwh
Derek Mahar wrote:
Would someone please decipher the following line in
$CATALINA_HOME/logs/catalina.out?
[GC 28827K-22937K(64896K), 0.0062130 secs]
I used IBM alphaworks' jinsight
(http://www.alphaworks.ibm.com/tech/jinsight) several years ago to do
some profiling of a Tomcat-hosted application.
YMMV.
dwh
Allistair Crossley wrote:
Hi Guys,
I hope you dont mind me asking if there are any free/opensource profilers out there that are
I would also get a thread dump from the JVM.
dwh
Arthur Veinstein wrote:
Hi Noam,
Sounds like you have some problem with the DB connection.
Can you provide the server.xml configuration ?
-
To unsubscribe, e-mail: [EMAIL
From the error, looks like it's still trying to connect to an smtp
server at localhost. Did you restart Tomcat after changing mail.smtp.host?
dwh
David Diskin wrote:
I've just set up Tomcat 4.1.18 on my Windows XP Home PC. I
installed it as a service. I have no problem connecting to the
What happens when the examples do not work? Do you get an error
message? What is it?
dwh
eduardofcomelo wrote:
I have installed the Tomcat but the examples aren't
working very well.
Example the numberguess do not work.
All the examples are out of work !
--
To unsubscribe, e-mail:
Run it under a JPDA debugger and use something like
- Xrunjdwp:transport=dt_shmem,server=y,suspend=y
so that the JVM stops and waits for debugger commands right away. Then
you could get to the right point in your code, and with any decent
debugger look at the thread dump without needing to send
Can you run the same code outside of a servlet context? If so then it sounds like
classpath
problems. If not, can you re-install DB2? Sounds like your installation might be bad
or you might be
missing some components.
dwh
[EMAIL PROTECTED] wrote:
(Thu Aug 01 15:52:50 2002) pid= 2192
Not clear what your response to my first question was: does db2 connectivity work from
code
that is executed *outside* of a servlet context, that is, from the command line? I
would make
sure that works first.
dwh
[EMAIL PROTECTED] wrote:
Hello Denis
Thanks for your suggestions...
I
Then it is most likely a classpath problem. You need to make sure the db2 jars are on
the
classpath for Tomcat. Looks like you're on NT or Win2K, not sure which version of
Tomcat...
I think your best bet is to modify tomcat.bat and just add all the db2 jars to the
classpath
there.
I'm not a networking guru, (and this is sort of OT for Tomcat) but I'm not
convinced by M.Schwartz's response that this is due solely to DNS name
resolution. I don't think that would account for such a big difference in
time--once the name was resolved to the IP address, behavior should be the
Sounds premature to blame Tomcat (or that version) for this. I can think of a lot of
questions I would want to have answered before I assumed it was a problem specific to
3.3:
- does this happen when you run against Tomcat standalone, or only when running
through Apache? mod_jk can be a
I agree with Chris' recommendations for testing automation.
For profiling, I've had best luck with the IBM alphaworks jinsight:
http://www.alphaworks.ibm.com/tech/jinsight. Not quite as easy to use as
commercial products, but a good bargain for the money...
dwh
Chris Bailey wrote:
Check
This is a Linux question, not Tomcat-specific. Try google and search on linux
startup scripts. Looks like Linux (which I don't know) is like Solaris (which I
sorta know) in that you probably want to link your Tomcat
startup scripts into /etc/rc3.d with the right names.
You don't want cron
Without digging in too deeply, is it possible your problem is the cloning of the
'meet' Hashtable in connectUser?
Remember that cloning a Hashtable (and other Collection/Dictionary objects) is a
shallow clone. Only the table itself is cloned, not the objects pointed to by
the table.
I'm not
Alan Scott wrote:
Not to ask a dumb question.
It's only a dumb in that, as far as I can tell, you haven't bothered to
try and find any of this information first.
How do I integrate both these products on NT? I assume there are some
settings I need to apply to one or the other. Is there a
Gary Fix wrote:
Now my question is, once I have loaded a Tomcat servlet, is there a way to
unload it to get an updated version loaded, without having to shutdown the
entire Tomcat?
Yes, see the documentation for server.xml:
Daren Desjardins wrote:
We are running our webapp on Tomcat 3.2.2 and have been experiencing a
Signal 11 Stack Overflow error occasionaly. It occured on two machines
[...]
Server Specs:
- JVM Params:
-server -XX:NewSize=128m -XX:MaxNewSize=512m -Xms512m -Xmx1792m
Ralph Einfeldt wrote:
Sounds like a deadlock on the database.
To verify that have a look at the server manager
to see if there are locks.
I agree with Ralph, that the problem is probably in your SQL access.
Do *both* processes hang (e.g. Tomcat the scheduled job) or only
Tomcat?
I would
David Frankson wrote:
Only Tomcat hangs, the other program continues on. I thought a database
deadlock only happens when both threads are trying to write and holding a
lock on each other's data? The external java process is read-only.
Hmm. That's why I asked. Sounds like maybe the db
Simon McClenahan wrote:
From what I understand it is possible to run the Tomcat servlet
implementation without running a web server like Apache httpd. I am
writing an application that receives SOAP messages via HTTP, and I would
like to use the servlet API, but not run anything as
Ai Zhang wrote:
I follow your suggestion, here is the error I get. Do you have any idea about this
error?
D:\Web\Tomcat\jakarta-tomcat-3.3\bintomcat run
Exception in thread main java.lang.NoClassDefFoundError: org/apache/tomcat/sta
rtup/Main
Try setting your default to
Ron Nicoletti Jr. wrote:
I've completed my installation of jakarta-tomcat-3.2.3 on windows 2000
running IIS, and ISA Server.
The positives ...
Tomcat starts and creates log files
IIS is showing a green up arrow on isapi_redirect.dll
The Negatives ...
When I run a test on the link
Andrej Rosenheinrich wrote:
Hello,
i have a servlet, getting an BufferedImage, that shall be displayed in
my webpage. for doing this I use the following code:
ServletOutputStream sos = response.getOutputStream();
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
Joao Carlos wrote:
I simply want to migrate to tomcat using this kind of configuration.
Many servlets have links to others servlets (written in code) using
/servlets/any_servlet, so that's impossible to me to create a context and
access the servlets using /context/servlet
Is there
Abhijat Thakur wrote:
I need to run multiple instances of Tomcat on Apache. As mentioned in
documentation i have the two server.xml files specifying two different
ports. Tomcat starts fine with the two server.xml files.
I might be wrong when it comes to changes in Apache configuration that
[EMAIL PROTECTED] wrote:
I know this question is a bit general. but I am very interested in which
Sun Hotspot jvm options you are using to start up tomcat.
(like -server -Xincgc ...)
And what impact they had/have on performance.
I am trying to tune garbage collection and
alex reuter wrote:
Hello Everyone,
I have a general question about tomcat's cajones.
Er... I think you mean cojones. A cajon is a kind of percussion instrument.
But we know what you mean grin...
Okay, back on topic.
Sukhwinder Singh wrote:
Hello,
I have downloaded tomcat version 3.2.3 source code and compiled it on my
windows 95 machine with Sun JDk 1.3.1. I also had to download JSSE because
there was no option to compile without ssl support. ...
Is there any option to compile tomcat without ssl
Well, if someone has a logo, someone could set up a store at www.cafepress.com and
sell lots of stuff
with Tomcat on it. Either no profit (sure, cafepress gets some) or I suppose some
small money back to
Apache. Does the Apache Foundation have a policy on this?
Anyway, see
Fine, be a technology bigot grin.
There's a couple of other web sites that offer similar services. I just happen
to know about cafepress.
dwh
James, Stuart wrote:
.aspx, sound's like a Mickey mouse website.
Yup, just set up a new context in server.xml:
Context path=/mysandbox
docBase=C:/Sandbox/development
/Context
Which can then be accessed with the url http://localhost:8080/mysandbox (using
the standalone http connector). Note the use of forward slashes, not
Uh... none?
Seriously, I do all my servlet development in Netbeans and test deploy on
Tomcat.
Since we're not in serious deployment yet I don't bother with packaging classes
up into jars and all that.
On my Win2k box, my servlet environment is set up thusly (extraneous stuff
omitted):
A couple of sites are listed at
http://directory.google.com/Top/Computers/Programming/Languages/Java/Server-Side/Servlets/Hosting/Free/
(although at least one is a free-for-2-months only...)
dwh
From: Sheila Ratnam [EMAIL PROTECTED]
Hi all,
Is there a free-hosting site where I can put
It does appear that you have everything set up properly.
I'm unable to duplicate the behavior you're seeing, but the environment
I have to test it is Solaris, Apache 1.3.19, Tomcat 3.2.1.
I wonder if it's a bug just with directory listing? Can you get to
servlets or JSP pages via the rewrite
1) Read the FAQ: http://jakarta.apache.org/site/faqs.html
2) Where you will discover:
http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/12/topic_id/43/question_id/230
dwh
Rajesh wrote:
Hi,
How to load the servlet when
For Tomcat 3.2.x, just modify your tomcat.bat file to set up the
classpath as you need it. I assume something similar can be done for TC4.
dwh
Ju Yan Jery Qin wrote:
Hi all,
I have read this topics but it still can not resolve my problem. Your
suggestion is to copy application related
Ditto. Development is on Win 2000, deployment on Solaris. No issues.
dwh
Jim Urban wrote:
We do all our application (servlets only) development on Win (NT) and have
deployed to Win 2K, Solaris and AIX. We have used Oracle, MS-SQL and MySQL
for databases. We have had no problems with this
Hmm. Works fine for us (Tomcat 3.2.x, Apache 1.3.19, Solaris, jdk 1.3.1).
Given that you're tried the ordering of the AddModule lines (don't know
if LoadModule needs to be in order too--wouldn't think so) and you have
the PT flag, I guess I would recommend turning mod_rewrite logging up to
You're 'locked in' to the structure you describe only if you use the
default webapp context. Instead, create your own context(s).
Create a new context in $TOMCAT_HOME/conf/server.xml:
Context path=/Appname
docBase=/usr/appname
...other attributes
It's a known bug. See
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=208.
dwh
-Original Message-
From: Mark Diggory [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 5:06 PM
To: [EMAIL PROTECTED]
Subject: Fwd: REMOTE_HOST not showing up in Tomcat3.2
Hello,
Is there
$10K? Geez, I'm in the wrong business...
Someone may have a better way to check the Tomcat version, but for my
version at least (3.2.1) the quickest way seems to be to look in the
docs/readme file under the Tomcat home directory. Right at the top it
says the version.
None of the startup
Back to what I said earlier... since you found the Tomcat home
directory, look in the doc subdirectory for the readme file. That has
the Tomcat version in it. Or at least mine does...
Barnabas Yohannes wrote:
Rob,
Obviously, you and I need to learn a little more before we can open our own
Marc Saegesser wrote:
You can always use telnet to open up a
connection to the server and do a GET / command. The HTTP response will
contain the Tomcat version number.
[...]
Feel free to send me $10,000 anytime you like.
I agree. I think Marc gets the $10K. :-) Telnetting in is the most
What exactly do you mean by 'startup'?
If you're using ajp, you must start Apache and Tomcat together, because
of the persistent connections. That is, if you shut down Tomcat, you
have to shut down Apache also, and vice-versa. This is documented...
Or do you mean to say that when you start
You're right, it looks like that's only true for ajp13 and only with
Tomcats prior to 3.3. See
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s10,
4th item.
dwh
Dmitri Colebatch wrote:
is this true? where is it documented - I've never had to restart apache
when
I would definitely upgrade your JVM to the most current version (I'm at
1.3.1-b24, but that's on Solaris and Win2k).
I had segment violation crashes related to networking in earlier Java 2
versions, although I don't know that they were exactly this problem. I
don't know much about Linux but
We found that we had to do 2 things:
1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite,
which meant moving the loading of mod_jk from mod_jk.conf to Apache's
httpd.conf, and we listed it in the LoadModule and AddModule lists
*before* mod_rewrite. That ensured that
Chill out, Pier. I suspect the initial poster was not a native English
speaker, so the lack of politeness was accidental, I think...
That being said, I agree that there's a huge number of people who post
to this list (and many other lists, unfortunately) who seem to turn to
NGs and mailing
Uh... the solution is the 2 items in my response (load mod_jk before
mod_rewrite, put [PT] on RewriteRules).
dwh
Loïc Lefèvre wrote:
Indeed, phew I finally found someone with the same hemm...problem ;)
Did you find a solution?
Did you try to patch Tomcat? ;)
Tomcat-apache.conf is not used when you're using the jk connectors. Use
mod_jk.conf instead (if mod_jk.conf is not there, look for
mod_jk.conf-auto as a starting point).
dwh
Mike Givens wrote:
How do I get the tomcat-apache.conf file to load the mod_jk module
instead of the mod_jserv
Yuval wrote:
How can I run servlet on my web server on different path than
/examples/servlets/
I tried to define:
Context path=/ docBase=C:/InetPub/wwwroot crossContext=false debug=0
reloadable=true
/Context
and its not working.
In what way is it not working? What are you
See http://jakarta.apache.org/site/mail2.html for links to archives.
Note that I find this one the easiest to use: http://marc.theaimsgroup.com/ ,
poor color choices notwithstanding.
dwh
Curtis Dougherty wrote:
I'm looking for the discussion archives - particularly TOMCAT 4 b6 topics...
Perhaps this is a better question for tomcat-dev, but in mod_jk.c
there's a comment that says:
/*
* If you are not using SSL, comment out the following
* line. It will make apache run faster.
*/
#define ADD_SSL_INFO
I can find no reference to ADD_SSL_INFO to any other Tomcat or Apache
"O'Daniel, Chris" wrote:
I need some UNIX environment variables to be available to my servlets.
Using JServ I can add the following lines to the the jserv.properties file:
[...]
I need to provide the same environment to my servlets running in Tomcat.
Does anyone have any suggestions?
Gee... where do I start?
Does the username this is running under have the proper access to the file
and to the direcory it's in? What OS is this? What's the result of
f.canRead() or f.canWrite()? What about results of those calls for the
parent directory? What does f.delete() return (does it
I'm getting horrendously bad response time from tomcat.apache.org today
and am trying to download some packages--the downloads keep failing.
None of the tomcat files appear to be part of the regular Apache
mirrors.
Are there any mirrors out there that have the (current) Tomcat files,
Denis Haskin wrote:
I'm getting horrendously bad response time from tomcat.apache.org today
and am trying to download some packages--the downloads keep failing.
Whoops... that should have been "jakarta.apache.org"... FW
Henry DU wrote:
I removed the servlet from the directory and removed the servlet mapping
from web.xml file, however the servlet was still alive. What is the problem?
Restart tomcat.
-
To unsubscribe, e-mail: [EMAIL
Sudhir wrote:
Why request.getPathInfo() is giving null . Is there any settings to be done
to get the pathInfo
Well, it's probably returning null because the URI for the request doesn't
include any path info. See the servlet spec, pages 28 29 (section 5.4,
"Request Path Elements").
dwh
66 matches
Mail list logo