I should think it's likely, indeed desirable, that both requests are being
handled by the same servlet, but I don't see how we could consider
request-related headers to be global servlet variables.
(And if there's any synchronising to do it surely belongs within the Tomcat
code, since I can't see
Hi,
When I finished the configuration of Apache http
2.0.4, Tomcat 4.1.12 LE and mod_jk2-2.0.4, I got the
information:
org.apache.jk.server.JkMain start
APR not loaded, disabling jni components:
java.io.IOException: no jkjni in java.library.path
org.apache.jk.server.JkMain start
Jk running ID=0
I changed the port number in server.xml from 8080 to 80 so now I can browse
www.ccc.com
...next question, how can I take my TOMCAT/webapps/mysite home and change it to the
/opt/mysite directory?
Thanks,
Peter
[EMAIL PROTECTED] (Peter) wrote:
I'm connectd and http://www.ccc.com:8080 gets me
Hi all
I implemented a servlet that implements ContainerServlet interface
from catalina.jar. I did this because I want to be able to loop through
all HttpSession objects in a server...
but for some strange reason I can't understand, when I start tomcat
now I get a InvocationTargetException,
I've reproduced this problem with tomcat 3.2 and every version of 4.1 up
to 4.1.12
I haven't gone any further than all headers being identical and the
query string. I thought maybe tomcat was just passing in the same
reference, but the toString() value of the HttpServletRequest object are
Because the catalina classes cannot be accessed directly by your
classloader. This is a security feature.
Otherwise - anyone could write servlet in a webapp and loop through
everyone else's session.
If you *really* want to do this:
1 - Look at the manager app because it does access the
On Sun, 15 Dec 2002, Tomcat User wrote:
Date: Sun, 15 Dec 2002 23:18:13 -0700
From: Tomcat User [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Two inhibiting problems in developement with tomcat 4
Lukas Österreicher
Can you post an example servlet (or the real code) that can reproduce
this? (No offense but ...) I really think there ios something with your
code.
-Tim
Chris Bick wrote:
I've reproduced this problem with tomcat 3.2 and every version of 4.1 up
to 4.1.12
I haven't gone any further than all
Hi,
The invoker servlet mapping is disabled by default in 4.1.12. Comment
it back in $CATALINA_HOME/conf/web.xml. This change was made for
security purposes. You can find more details in the list archives and
the release notes.
Yoav Shapira
Millennium ChemInformatics
-Original
Hi,
Is tomcat 4.1.16 stable enough for production, or should I install 4.1.12 or some
other version?
thanx
-reynir
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
If CATALINA_HOME isn't /opt/tomcat or something similar, you can't by
default. I guess you could enable symlinks (search the archives for
allowLinking) and do it that way.
Someone else may have a better solution.
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
try the RequestDumperValve and see what it shows for each request coming in.
You will have to restart tomcat.
Engine
Valve className=org.apache.catalina.valves.RequestDumperValve/
...
/Engine
This will run before your servlet and will dump everything in the request.
Charlie
-Original
No offense taken. I still can't believe that this problem may exist.
If you can find a problem with my code, that would be much easy then
getting a fix into tomcat.
Thanks,
-cb
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.net.*;
/**
Can you set up multiple JDBC realms in tomcat 4x or are you stuck with just the one?
Also, say that you had no control over configuring server.xml ( say, you had web-app
space with an ISP ) is there any way you could configure a web-application wide realm
without having to play around with
Is TrafficCop.java thread safe?
If not - that is your problem. Both requests are using the same
trafficCop instance.
-Tim
Chris Bick wrote:
No offense taken. I still can't believe that this problem may exist.
If you can find a problem with my code, that would be much easy then
getting a fix
Nice to know...
thanks a lot, but I should set which tag in server.xml? Context?
On Mon, 2002-12-16 at 15:19, Tim Funk wrote:
Because the catalina classes cannot be accessed directly by your
classloader. This is a security feature.
Otherwise - anyone could write servlet in a webapp and
You have a global servlet variable 'trafficCop'. If two requests come in at
the same time, they will be sharing this variable. The code is not thread
safe.
Move your trafficCop instance variable - make it a local variable of the
doGet method, and invoke the constructor inside the doGet method.
It is an attribute of Context. (The manager app and admin app have
this attribute set) I suggest being very careful since this can open
massive security holes (on your server) depending on your intentions.
-Tim
Felipe Schnack wrote:
Nice to know...
thanks a lot, but I should set which tag
I have a JSP that has a form that I want processed by a servlet. The
servlet then places the results in the page context and redirects back
to the JSP.
Everything works fine on the first go, but the second time through the
path in the client's browser is no longer valid.
Initially, the path
The security holes it opens are related to what programmers can do or
related to end users of the application? Can you give me examples?
You kinda worried me now :-)
On Mon, 2002-12-16 at 15:44, Tim Funk wrote:
It is an attribute of Context. (The manager app and admin app have
this
Hi,
If you wait a couple of days, you may get a stable 4.1.17 ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 12:25 PM
To: Tomcat Users List
Subject: Is tomcat 4.1.16 stable enough for
I'm trying to do something that propably somebody did before (or, at
least needed to).
Currently I'm using tomcat 4.1.16 with Struts 1.0.1 and Velocity Tools
for my applications. I configured a BASIC authentication realm, with
digested passwords.
How can I intercept the process after
For Mac OS X You need to set java home as follows.
export JAVA_HOME=/usr
Let me know if you still face problems I am running
tomcat on OS X.
Regards,
Joe
--- Robert Leach [EMAIL PROTECTED] wrote:
Thanks. I'm now facing another problem. Here's
what happens now:
Why does that effect the HttpServletRequest object? If you look at the
code it evaluates the header and query string values before I access the
trafficcop object. I will give it a try.
-cb
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002
Hello,
I want to thanks the help for the other problem and ask
another thing.
It is about invalidating a session.
While I was using the FORM to log into the apps I was able
to invalidate my session, but now I am using the BASIC and
it is not working.
I read in some places that it may be a
First, i would like to say thanks for all the people that help in this user list.
Thanks Michael for your help on e-mail: session timeout.
Well, i have more one question... :-)
How can i compare the performance of tomcat with another containers jsp?
For example tomcat and resin, tomcat and Blazix,
If you want the path in the browser's address bar to change, I think you
have to use a redirect rather than a forward. (I've read that even then
it's not guaranteed to work (since it's browser-dependent), but it's working
fine for me. There's the disadvantage of an additional network round-trip
Download something like Jakarta JMeter, write a test case that mimic normal
usage of your application, and run it against each server.
-Original Message-
From: Lindomar [mailto:[EMAIL PROTECTED]]
Sent: 16 December, 2002 10:01 AM
To: Tomcat Users List
Subject: performance
First, i would
But the same trafficCop instance is being used at the same time for 2
differnt requests.
The trafficCop object has a method called add() which (seems to) acts
on instance variables inside of the trafficCop object. This makes the
trafficCop object not thread safe.
-Tim
Chris Bick wrote:
If you are writing a sniffer on SessionObjects - make sure you protect it.
Or if your Session sniffer is inside of a webapp which other programs
may introduce code - they have the ability to bypass other security
protections tomcat has.
In a nutshell - I don't have specifics - it personally
Hi all,
I have a B2B app that needs optionally the client
authentication because not always the client has a certificate, but
unfortunately Tomcat apparently doesn't have this option like apache.
For this reason I still have apache as my web server and Tomcat as
Ok
Thanx
-r
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: 16. desember 2002 17:47
To: Tomcat Users List
Subject: RE: Is tomcat 4.1.16 stable enough for production ?
Hi,
If you wait a couple of days, you may get a stable 4.1.17 ;)
Yoav Shapira
Can it work on Win2k? Thanks,
--- Luc Santeramo [EMAIL PROTECTED]
wrote:
Hi,
there is a way to limit memory use by tomcat
just specify it in your CATALINA_OPTS env var
here is mine
CATALINA_OPTS=-server -Xmx220m -Xms220m
-Dfile.encoding=UTF-8
these are jvm parameter I think
Xmx is the
TrafficCop is thread safe because add() is synchronized. Regardless if
trafficcop is thread safe or not the values that I get from
HttpServletRequest should not be the same. If I were to take TrafficCop
out of the servlet, I would get the same results in my servlet. I guess
what I am saying is
The -X VM options will work with Sun VM's, your mileage may vary when used
with others. You can read all about it here:
http://java.sun.com/docs/hotspot/VMOptions.html
Jeremy
-Original Message-
From: Ming Zhao [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 10:19 AM
To:
On 16 Dec 2002, Felipe Schnack wrote:
Date: 16 Dec 2002 15:43:09 -0200
From: Felipe Schnack [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: ContainerServlet interface
The security holes it opens are related to what
That's the way I understand it.
I guess TrafficCop could be doing something screwy, but I'm not sure what.
(We note that the header-read code in the servlet (which presumably uses
some kind of collection-lookup) could be running at the same time as
TrafficCop is doing something, because a lock
Thanks for the advice, I didn't know you could redirect. The javadoc on
the RequestDispatcher only lists the forward and include methods. I'll
try that.
The initial call to the servlet is actually being made by the client
browser via a form response.
[EMAIL PROTECTED] 12/16/02 12:00PM
If
Hi,
Whether it's a bug or not, it's definitely a strange thing going on, and at
this point in time I suspect the mod_jk.so is the problem. I hope I can get
a little verification.
I have a Location Apache directive inside a SSL-enabled virtualhost, and
if I go to a *directory* under that location
Hello:
I am using IntelliJ IDE for my J2EE applications. I am also using Tomcat
4.0. When in my IntelliJ IDE specify my location of my Tomcat Class files,
and then try to RUN my TOMCAT from within IntelliJ IDE I get following ERROR
- wonder why?
Let us apply Occam's Razor here. You probably haven't heard of it so I will
repeat it here and show the application to your situation. Quite simply, it
says that when you have two competing theories to explain something, the
simplest theory is usually the correct one.
So, let's apply this:
I assume you mean the Gnome Services GUI
Try using chkconfig. Man chkconfig explains what's required, but
basically you will need to create a startup script (called for instance
'tomcat4') in /etc/rc.c/init.d/ that has the right headers copy
another one and edit it is a good plan.
Then use
I think that you'll find apache users workers2.properties in the same
conf dir as the httpd.conf, whereas tomcat4 uses the jk2.properties,
which on my RH7.3 install was in /etc/tomcat4
ie You don't tell apache where jk2.properties is it uses
workers2.properties
Original Message
On
Thanks George, problem solved. Couldn't have done it with out you.
-cb
-Original Message-
From: Sexton, George [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 2:44 PM
To: Tomcat Users List
Subject: RE: Simultaneous request from same IP
Let us apply Occam's Razor here. You
Turner, John wrote:
You need JkMounts for every URL you intend to send to Tomcat. Most people
use the default wildcards:
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
I'm getting the static content from examples, so obviously all of /examples/ is mounted.
And I added extra JkMount directives
TrafficCop is thread safe because add() is
synchronized. Regardless if trafficcop is
No, this is false.
The add() method is syncronized, and therefore thread safe. But that is
not where the problem lies.
TrafficCop may be thread safe, but access to it is not.
Two objects are updating a
Ben, I'm not sure but I believe that I've seen mention that you can forward to a page
that is not accessible to the outside. That
is, put the Login.jsp page within WEB-INF of your web app and it will not be available
to the outside world but you can forward to
it from inside the web app.
I
Not sure I understand your last two statements.
Could you elaborate a bit more?
Thanks,
-cb
-Original Message-
From: Larry Meadors [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:42 PM
To: [EMAIL PROTECTED]
Subject: RE: Simultaneous request from same IP
TrafficCop is
Hello:
I am using IntelliJ IDE for my J2EE applications. I am also using Tomcat
4.0. When in my IntelliJ IDE specify my location of my Tomcat Class files,
and then try to RUN my TOMCAT from within IntelliJ IDE I get following ERROR
- wonder why?
More specifically, he may be looking for:
request.getUserPrincipal().getName(), which returns the actual user name.
I believe that request.getRemoteUser() only returns the username if the
user is authenticated using BASIC authentication.
Gary
--
Gary Gwin
Cafesoft
http://www.cafesoft.com
I have Tomcat 4.0.4 attached via mod_jk to Apache 2.0.43 running on W2K with
Java 1.3.0. If I try to start a JWS application via Apache I get a error
bad mime type (text/plain). However, if I bypass Apache by specifying port
8080 in my .jnlp files codebase, it starts just fine.
Im not sure if
More specifically, he may be looking for:
request.getUserPrincipal().getName(), which returns the
actual user name.
I believe that request.getRemoteUser() only returns the
username if the
user is authenticated using BASIC authentication.
Actually not true, although I don't say I
Hello Kurt,
I can see why you might want to do this to create your own sort of
mini-container running outside another running Tomcat's JVM, but It
appears that you are running this within a currently running Tomcat
container. Why do you need to do this? To be honest, I know how to
deal with
Will this run before or after profiles.conf, starting tomcat needs the JAVA_HOME,
CATALINA_HOME etc info...
Peter
Andrew Pealing [EMAIL PROTECTED] wrote:
I assume you mean the Gnome Services GUI
Try using chkconfig. Man chkconfig explains what's required, but
basically you will need to
Hi there. Almost ready to deploy my app to test in real world. I'm using
apache + tomcat (using mod_jk). My app name is wxyz, and I have purchased
the domain name i want it to be under. I want to call www.mydomain.com and
get my app's index. instead of typing the www.mydomain.com/wxyz.
How
name the starting page of your app index.jsp ?
On Mon, 16 Dec 2002 15:28:39 -0600, Alexander Wallace wrote:
Hi there. Almost ready to deploy my app to test in real world. I'm
using
apache + tomcat (using mod_jk). My app name is wxyz, and I have
purchased
the domain name i want it to be under. I
Hello. I have some classes that are started by a servlet when tomcat starts,
their main method has a timer to execute some stuff periodically. When i shut
tomcat down, the classes remain running. How can i make them shut down with
tomcat?
The reason they stay up is probabbly the same for
I have an index.jsp, and it works if i call www.mydomain.com/myapp, but i want
to just call www.mydomain.com... I don't even knwo how to reffer to whay i
need, it may be virtual domain?
On Monday 16 December 2002 15:33, J. Norment wrote:
name the starting page of your app index.jsp ?
On Mon,
This would be done by Apache (though it could possibly be done by
Tomcat; I use Apache). You can do it one of two ways:
1) Use mod_rewrite to rewrite /index.html to /path-to-context-name.
Not sure on the mechanics of this. Try the Apache list for pointers, or
any number of tutotials on
Well, if you were just running tomcat, I'd say put your app in
webapps/ROOT, but I'm not sure how to configure mod_jk to redirect all
stuff from the server root to tomcat. If you are directing everything to
tomcat, just bag apache altogether!
David
On 12/16/2002 4:28 PM, Alexander Wallace
Two requests are coming into your servlet. A SINGLE servlet object
handles BOTH requests. That single object has a SINGLE child object
(trafficCop) that gets updated once for each request. That child object
is shared by both requests - it is not unique for each request unles you
make it a method
I changed the catalina.sh to source /etc/profile to set those. From what
I have heard, this is not uncommon...
Larry
[EMAIL PROTECTED] 12/16/02 14:26 PM
Will this run before or after profiles.conf, starting tomcat needs the
JAVA_HOME, CATALINA_HOME etc info...
--
To unsubscribe, e-mail:
Hi,
Hello. I have some classes that are started by a servlet when tomcat
starts, their main method has a timer to execute some stuff
periodically. When I shut tomcat down, the classes remain running. How
can i make them shut down with tomcat?
One possible way would be to implement a
Try this:
http://localhost/mydir/test%20with%20spaces.jsp?one=1two=2
Literal spaces are not legal in URLs (as Cees pointed out) but they can
be encoded as %20 and that should be decoded correctly by Tomcat.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor /
You just need a new traffic cop object created at the beginning of doGet();
TrafficCop tc = new TrafficCop();
That way you are not talking to the same tc object when you say tc.add();
Ken A.
Chris Bick wrote:
Not sure I understand your last two statements.
Could you elaborate a bit more?
Alright, thats fine. Instead can I define a global Datasource name rather
than restrict it to the one web application?
Regards,
Anthony
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 16, 2002 2:26 PM
Michael,
Principal returns the object implementing the Principal interface, where
request.getRemoteUser is a CGI compatibility call. I know there have
been instances when getRemoteUser did not work as expected for me (I
thought it was with BASIC authentication but that must not be the case).
Thankyou very much, option 2 is probably what i'll use.
On Monday 16 December 2002 15:42, Ben Ricker wrote:
This would be done by Apache (though it could possibly be done by
Tomcat; I use Apache). You can do it one of two ways:
1) Use mod_rewrite to rewrite /index.html to
I'm redirecting everything to tomcat, but part of my app requires ssl, and
although tomcat can handle ssl, when i tryed it, all objects in my session
that was started not using ssl, were not accessible once swithced to ssl. I
don't know if this is the right behavior or if there is a way around
Hello,
I read that it is possible to disable cookies.
Could someone provide a server.xml or web.xml
where cookies are disabled ?
The information I get out of the tomcat-docs didn't worked.
Thx
berger
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
I having looking for a very simple howto
on how to get on RH 7.2
Tomcat 4.1.12
Apache 1.3
Mod_jk or mod_jk2
working together possibly using the /examples that
are included with tomcat as a test bed.
I am confused on how to configure tomcat.
I see Coyote/AJP13 and ajp13 in the server.xml
Cookies are disabled in your browser, not in Tomcat :-) Look under
preferences or options menu (based on your browser)
-- Jeanfrancois
Albrecht Berger wrote:
Hello,
I read that it is possible to disable cookies.
Could someone provide a server.xml or web.xml
where cookies are disabled ?
The
That's probably the case if you were using cookies to track sessions.
The cookie spec mentions that the port is also part of the scope of a
cookie, so when you went from www.foo.com:80 to www.foo.com:443 you
changed the scope of the original cookie and thus created a new
session on the server
Thankyou, i'll see into that. I did writhe the classes so i can change them.
About the logging, well, i did post a message here, i don't thing i found out
what i was hoping (using System.out.println(), if the classes are not
servlets, the log goes to catalina and not my app).
Anyways, i can
Cookies are disabled in your browser, not in Tomcat :-) Look under
preferences or options menu (based on your browser)
That is one of the few things I'm able to :)
There is the capability to do this in tomcat, too.
I do want the tomcat to prevent creating session cookies.
Thx
berger
--
According to the Tomcat 4.1.12 release notes there is a javac memory leak.
I've searched the bug watch database at sun and have searched the web as
well but am having trouble finding the latest info on this. Has it been
fixed? If so, what version of the JDK? I'm using 1.4.0_01 and my productin
At 01:42 PM 12/16/2002, you wrote:
The fact that the add() method is syncronized has no impact on this -
only one request is updating at a time. However, later when you ask for
the value that was updated, you only get the second value because there
is only one trafficCop object to get updated
That sounds very interesting, i have to see how that works, becouse i don't
use apache for anything else. I just need to figure out how to change the
domain of the cookies...
Thanks a lot!
On Monday 16 December 2002 16:14, James Higginbotham wrote:
That's probably the case if you were using
On Mon, 16 Dec 2002, Denise Mangano wrote:
Milt,
Thanks for responding. At first, there was no httpd service listed.
I honestly haven't a clue exactly what was going on, but I gave up
at one point and shut the server down, let it sit, and booted up
when I came in this morning, and now
I'm sure you could use some feature of asp to execute a batch file on your
machine. I don't know the specifics but I have read about it during my ASP
scripting. Ask at www.vbforums.com or www.devarticles.com or
www.developerfusion.com
Batch
Script just needs two lines.
net stop Tomcat Service
I don't know where you can get more information about this but have you
considered using jikes instead of javac? I don't know of any issues with
jikes and its s much faster than javac :-)
Jeremy
-Original Message-
From: Dan Payne [mailto:[EMAIL PROTECTED]]
Sent: Monday, December
From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]]
That said, there's nothing inherently wrong with what he's doing and I
think it took quick to blame what he's seeing on this arrangement. To
make
a conclusive argument, I think we'd have to see the TrafficCop
object's
code.
To make a
Greetings,
this is my first posting in the Tomcat-User mailing list, after a couple
of months of read-only. At work we just began working with Tomcat, after I
proposed it as our new platform / application-server for our web
applications. I managed to wrote some basic applications (JDBC
I installed 4.1.16 on a new server (with NT/2K start-as-service option)
and did some tweaking (enabled SSL, uncommented servlet invoker,
etc...).
While I was tweaking I stopped the service because was easier to
start/stop via the batch files for quick debugging).
When I finished debugging,
On Sat, 14 Dec 2002, Craig R. McClanahan wrote:
On Fri, 13 Dec 2002, Garrett Smith wrote:
Date: Fri, 13 Dec 2002 18:04:42 -0800 (PST)
From: Garrett Smith [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject:
That's usually a configuration error.
See what the Tomcat logs tell you.
/mde/
just my two cents . . . .
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: mailto:[EMAIL
Attached is the one I used on RH7.3
(I didn't write this it came as part of the rpm I used)
However, if you look, it does an 'su - ${TOMCAT_USER}' to start tomcat,
so environment is OK.
Original Message
On 17/12/2002, 10:23:45, [EMAIL PROTECTED] wrote regarding Re: Linux
tomcat startup:
Does anyone know how I can confirm that I am actually using jikes? I have
entered all the configuration required, but sometimes when I get errors
compiling, the output refers to javac still.
It also seems like tomcat slowly takes more and more memory.
Brandon
-Original Message-
From:
I don't think you can get any simpler than this:
http://www.johnturner.com/howto
The version numbers are irrelevant...the procedures are the same.
Newer versions of Tomcat use one connector class to handle multiple
protocols. That class is called CoyoteConnector and it talks JK, JK2, and
HTTP
Check the last error message: wc_get_worker_for_name ajp13. Your
workers.properties file has a worker called test1 but the worker being
sought is ajp13.
If your JkMount commands look like this:
JkMount /*.jsp ajp13
Then change the worker name in workers.properties to ajp13, not test1.
John
A user is an entity with a user name. That's all you know about them unless
you have more info stored locally. A Principal is an object that contains a
name as a minimum, but also contains other data that varies depending on
what type of security system is used.
From the docs:
getRemoteUser()
Ok I have tomcat all installed and serving up web pages nicely. I am able to
access everything ok so far. The problem: I have installed J2SDK and tomcat
both and set the appropriate environmental variables (I believe). I am able
to compile java classes that contain standard java imports (i.e.
But that doesn't say how to set the workers file
Patrick GIRY wrote:
You can found any information on the jk2.properties on
the
http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html
when you have installed your tomcat.
--- [EMAIL PROTECTED] a écrit : Where is the
jk2.properties file
one question?
your tomcat does run more than a day, so i assume that he is a production
system.
memory leak in javac is only affected, if you compile a jsp page.
so?
how many times, you change your jsp pages?
if you don't change them, and memory usage increase.
it is possible a memory leak in
Thanks Torsten,
I'll try those settings. I was using the web.xml settings for tomcat 4.0.x
because it was the only documentation I could find. We have thousands of
jsp pages that are getting compiled as they are accessed. We just upgraded
to tomcat 4.1.17 from 3.2.4 so we have to recompile all
BTW, this all worked fine with Apache 1.3. Also note that any dir handled by
mod_jk NOT under the Location works fine. Smells like a bug.
I'd like to get a developer (mod_jk.c) involved, but I was hoping this list
would give me a little verification first.
Thanks,
-Dan
-Original
Is there any documentation that explains virtual hosting using IIS and
tomcat
Hari
Hi,
When we ran a stress test on our application, it hang Tomcat service. We found an INFO
message in stderr a message below
INFO: All threads are busy, waiting. Please increase maxThreads or check the servlet
status200 200
I have tried to increase the maxProcessors in \conf\server.xml from
So do I need to add an environmental variable to let my compiler find these?
Or do I just need to move the .jar files to the right location? How do I
know which .jar files are the correct ones to use (as I mentioned, there are
a number of them that seem to have what I'm looking for)?
You can
Adding a line like the one you suggest doesn't seem to work... People at
apache's irc said it should be something like:
Redirect / http://www.domain.com/context
But that only seems to create infinite redirects since it redirects to the
same domain name.
The docs say that redirect takes a URI
101 - 200 of 232 matches
Mail list logo