: Is there a way to set a
timeout on a thread and kill it if it takes that amount of time?
The thread allocation is pretty similar to Apache/httpd.
The Apache server source code has a hard thread limit defined
in the source code. Does Tomcat?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972
. Is there a hard limit on the number of threads like in
Apache or does it allocate up to maxProcessors no matter
how large it may be?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating
Jerry:
I also have had to set up symbolic links, but this error is looking
for something in the build directory and there are no docs to tell
me what it is looking for.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your
/apache
ant native
I get this error:
file:/usr/local/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:232
: srcdir
/usr/local/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/jkant/java does
not exist!
Any ideas on why this does not work?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972
total bytes used in 892,512 total
instances.
I don't belive the StringBuffer is the cause of my problems.
Thanks,
Neil.
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months
why Tomcat would behave this way?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
Filip:
Thanks for the suggestion.
I have been profiling it and I don't see any references from our
code, but I will keep checking.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs
Hello:
Take a look at this page:
http://jakarta.apache.org/~fhanik
Neil.
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http
and
is not supported for production use.
The latest JDK seems to be working on RH9 on our servers.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less
Oreste:
I have been profiling the garbase collector in our app
and it does not seem to be taking a long time to run.
Do you think that could still be the problem?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your
?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
very long to run.
Does anyone have any insights to why this is taking so long?
Thanks,
Neil.
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http
Hat Linux (8 and 9)
Apache 2
Sun JDK 1.4.2
Tomcat 4.1.24
Do you have multiple servers or just one?
Are you using Session Replication?
If you would like to talk directly, feel free to contact me.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056
are seeing the same thing.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
Original message from Joe Zendle
Bern:
We are using clustering on Tomcat 4.
Actually, at the current time, we are working with Filip Hanik
to track down a performance problem with the clustering code.
Let me know what I can do to help you.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056
.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
Daniel:
I appreciate your suggestion, but that wont terminate the request.
It will just mean the user's session wont be aroung when they
make their next request.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your
Yoav:
Thank you for pointing me to it. I searched the archives
for about half an hour with no success. I must have been
typing in the wrong keywords.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can
buthave not found that message.
Can someone point me to it?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
.
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
Paul:
When I modify a class and put it in my webapp, I don't
get the changes loaded.
There is also usually a message in the catalina.out stating
that the class was reloaded.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info
Luke:
That is strange. Why would you not be able to untar it directly
in the tomcat directory?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less
4.1.27-hotfix-22096.tar.gz
I have my server.xml to reloadable=true for the app's context.
Any ideas?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months
Yoav:
Yes, my tar is gnu tar.
I used jar, not tar to extract the catalina jar file.
Is there an issue with that?
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less
a message:
HTML
BODY
This is compose.jsp
P
Session id is %= session.getId() %
P
/BODY
/HTML
Any ideas why this is occurring?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent
Hello:
HttpServletResponse.encodeURL() has to know if cookies are enabled
or not. Is there an API call to check that?
I looked thru the APIs and found nothing. Searching the web and
mailing list was also fruitless.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056
to replicate the problem on a test machine and it did not
have the same problem.
I can repeat it as many times as I would like on the groupList form, but
it does not occur anywhere else.
Has anyone see this?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
away sessions
due to load?
Is there a way to profile/control this behavior?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! = http
Hello:
I have a question:
Does Tomcat get rid of sessions when it run out of memory?
We are seeing sessions disappear on our app and are trying
to find an explanation for it?
What does Tomcat do when it begins to run out of memory?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972
:
tomcat41.home=/usr/local/jakarta-tomcat-4.1.27
apache2.home=/usr/local/apache
ln -s /usr/java/j2sdk1.4.2/include/linux/jni_md.h
/usr/java/j2sdk1.4.2/include/jni_md.h
ln -s /usr/local/apache/lib/libapr-0.so /usr/local/apache/lib/libapr.so
ant native
Any ideas?
Thanks,
Neil
--
Neil
to be working ok.
Does anyone know what this is and what causes it?
Thanks,
Neil
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
Hello:
How do I enable the jkstatus page? I have not seen any docs on it.
Thanks,
Neil
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
-Original Message-
From: Allen
Raynir:
That worked!
Thanks,
Neil
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 31
Hello:
With some help from people on this list, I was able to get
the jkstatus page working for the jk2 connector.
Unfortunately, it contains a lot of information that I am
not sure how to interpret.
Are the any docs detailing the contents of the page?
Thanks,
Neil
--
Neil Aggarwal
chmod 400 server.key
cd ..
mkdir ssl.key
mv ssl.ca-0.1/server.key ssl.key
mkdir ssl.crt
mv ssl.ca-0.1/server.crt ssl.crt
Then, try starting apache with this command:
/usr/local/apache/bin/apachectl startssl
I hope this helps.
Neil.
--
Neil Aggarwal
JAMM Consulting
/parameter
parameter
namemaxIdle/name
value3/value
/parameter
/ResourceParams
/DefaultContext
Any ideas?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development
Hello:
Looking thru the online docs for tomcat, I see a doc describing
how to set-up tomcat 3 and IIS, but no such doc for tomcat 4.
Does one exist yet?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development
Joel:
In that case, I would argue that the design is mismatched to
the actual usage of web applications.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
Jan:
I am using repsonse.encodeURL, but it does not add the session id
when the hostname is different.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
David:
I tried that too. It did not work. I still get a new session.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
-Original Message-
From: David
from
http://www.JAMMConsulting.com/fscope/privatePage.jsp
Unforutnately, when we switch from http to https or vice versa, we lose
track of the session. Is there a way to keep the session is this
instance?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http
Adi:
I tried this, but the problem is that the session id is not encoded
into URLs that are not on the same hostname.
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
for the reloading of classes?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED
Jean-Luc:
That worked. Thanks!
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf
Micael:
I am looking for the name of the web application.
For example, if I look at http://dev.leads-unlimited.com/leads/index.jsp
The webapp name is leads.
It is the same name as the directory that contains the
JSP files.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972
Hello:
Is there a way to get the webapp name in a JSP page?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
--
To unsubscribe: mailto:[EMAIL PROTECTED
://dev.JAMMConsulting.com/sessionTest/index.jsp
But, when I try visiting
http://dev.leads-unlimited.com/sessionTest/index.jsp
I get an error.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites
, then I think
I would have a solution.
Any suggestions on how to do that?
I am using Tomcat 3.2.3 behind Apache.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
Craig:
It is the same webapp, not two different ones. We just
need to access it in two different ways, depending
on if we are using http or https.
There has to be a way to do this since it is the SAME
application.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056
to do with the servlet
mappings of apache.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED
.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases
Hello:
Has anyone seen this problem
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
Hello:
I am trying to set-up Tomcat 3.2.1 as a standalone servlet container
Hello:
Has anyone seen this problem
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
Hello:
I am trying to set-up multiple IP based virtual hosts in
Tomcat 4.0
)
Any other ideas?
Thanks,
Neil.
Danny Angus wrote:
Context path=
should be
Context path=/
for hits to the path root
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 5:17 PM
To: tomcat users list
Subject: [Fwd: Virtual
,
Neil.
Danny Angus wrote:
Context path=
should probably be
Context path=/
too
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 5:17 PM
To: tomcat users list
Subject: [Fwd: Multiple IP based virtual hosts in Tomcat 4
/Host
Then, I started tomcat. When I visit http://xxx.xxx.xxx.xxx,
I get the index.jsp file from the host1 directory as expected.
But when I visit http://yyy.yyy.yyy.yyy, I get this message:
HTTP Status 503 - This application is not currently
available
The requested service (This application is no
kerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:498)
Any ideas what is causing this?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Int
of
of that session attribute before showing the page.
For some reason, the member pages are coming up in a
different session and the user is taken to a page
that they are not logged it.
Is there a bug with the session tracking in Tomcat?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc
c.d/init.d/tomcat start
/etc/rc.d/init.d/tomcat stop
Work as I intend them to do so.
I just dont understand why this is not working. This makes
no sense to me. The startup command is working. I dont
understand why the stop command is not -- it uses the same
file.
Anybody have any ideas?
Than
Steve:
OK, I moved the export JAVE_HOME to the top-level outside the
case statement and I am still not getting a shutdown message.
Thanks
Neil.
You must set JAVA_HOME in all cases not just "startup"
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-
Peter:
Yes, I am seeing many shutdown messages. Just not one for tomcat.
Neil.
"Peter B. West" wrote:
Neil,
Are you seeing any output from other /etc/rc6.d/K* processes on reboot?
Peter
Neil Aggarwal wrote:
Hello:
I am running Tomcat 3.2.1 on RedHat Linu
I forgot to mention my environment:
RedHat 7 SMP
Tomcat 3.2.1
Apache 1.3.14
Thanks,
Neil.
Neil Aggarwal wrote:
Hello:
I tried to search the archive for this, but the search function is down.
Sometimes my application stops responding and I am getting this message
using apache 1.3.14, tomcat 3.2.1, on a redhat 7.0
dual-processor machine.
I am using the autogenerated mod_jk.conf-auto file.
Here is the line that I am using in my httpd.conf file:
include /usr/local/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto
Thanks,
Neil.
--
Neil Aggarwal
JAMM
Hello:
I hve a machine runnng an application that generates a piece
of content that I want to include in a JSP page.
According to the jsp include tag docs, I can only include
a local document using it.
Is there a way to include the result of a general URL?
Thanks,
Neil.
--
Neil
Charles:
I have created a set of installation notes on Apache, Java, and
Tomcat in our Reading Room. I was able to set-up Basic
authentication in Tomcat.
Take a look at http://www.JAMMConsulting.com and click
on the reading room button.
I hope this helps.
Neil.
--
Neil
The passwords need to be placed in the
/usr/local/jakarta-tomcat-3.2.1/conf/tomcat-users.xml file:
user name="admin" password="[password]" roles="admin" /
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custo
Hello:
I am trying to find a previous article on authentication
in Tomcat, but it looks like the Tomcat User Archive search function
is not responding.
Is it working for anyone else?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
the password.
Any guidance would really help.
Thanks,
Neil.
Yes. I use it along with a JDBCRealm. What problem are you having?
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
without it asking for a login.
Also, I dont understand how I can set-up the password.
Any guidance would really help.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
Hello:
Take a look at my install notes at:
http://www.jammconsulting.com/InstallNotes/InstallTomcat3_2.txt
It describes how I was able to get Apache 1.3.14 and Tomcat 3.2.1
installed on my server.
I hope this helps.
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http
this, I will send it out to this list so that others have
a simple procedure to follow if they need it.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
On Tue, 19 Dec 2000
there!
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
Installing apache 1.3.14 and tomcat 3.2 on a Linux system
This assumes that you already have the Blackdown java
for
Tomcat.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
Dave:
I temporarily put my document up at the following URL:
http://www.JAMMConsulting.com/InstallNotes/InstallTomcat3_2.txt
When I get a chance, I am going to create a section in the Reading Room
section of our web site to house this kind of stuff.
Thanks,
Neil.
--
Neil Aggarwal
for URLs that
point to Tomcat?
If not, does Tomcat have authentication capabilities?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
index.html files? If so, how do I configure it
to do so?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
sp
Which I know is there.
Also, If I try to load this URL
http://216.65.31.3/test.html
It loads the file /home/httpd/videosearch/test.html
which is what I wanted.
Any ideas?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custo
starts.
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
80 matches
Mail list logo