Hello - Is there a way (programmatically or otherwise) to find the number of threads
being used by Tomcat while it's running ? This will be some number between
minProcessors and maxProcessors.
kill -3 on the JVM and getting the number of threads from the thread dump is not an
option.
Th
Jon,
I have found commons-logging.jar in two directories:
/WEB-INF/lib/commons-logging.jar
server/lib/commons-logging.jar
struts.jar is also in /WEB-INF/lib
Any ideas?
Zsolt
On Thu, 2003-08-07 at 12:49, Jon Wingfield wrote:
> Looks like Struts has a dependency on Commons Logging which is usin
Thks for your response !
But I have now another pb .
javadoc for org.apache.catalina.realm.RealmBase.Digest() says :
... Digest password using the algorithm especificied and convert the
result to a corresponding hex string ...
So how to convert my base64(MD5()) digest to the correct hex String
Mark,
On compiling the _jsp.java files - yes I had to use . And then because
works recursively on whatever directory you
point it at ( now that every file is in the same package ), I had to move the
contents of each dir to a tempdir, compile the
tempdir, move classfiles back. Full ( and long
Hi,
I'm running Tomcat 4.04. I can't see any mention of this in the docs:
is it possible to Include another file inside the server.xml file? I'd
like to have the virtual host definitions kept in a seperate file..
Could anybody confirm whether this is possible or not?
Many thanks,
--
Alan Ford *
I am running Jbuilder 7, JBoss 3.0.2. When I touch a jsp I get the
following exception when trying to run it
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
javax.servlet.ServletException: sun/tools/javac/Main
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java
Hi
I detect a stange comportement of my tomcat when using an external security
provider
I want to use openpgp in my web application with cryptix provider
In a 'load-on-startup' servlet i add security provider like this :
java.security.Security.addProvider(new cryptix.jce.provider.CryptixCrypto
I am having lots of problems integrating apache 1.3 with tomcat 4.1.24
using mod_jk. Apache works and I can access tomcat via the standalone
service but not through the tomcat-apache service. I get the following
error in error_log:
[Tue Aug 5 12:41:18 2003] [error] (25)Inappropriate ioctl for d
Yup, and when nothing is happening, the # of active connections should
be 0. If it isn't you aren't releasing connections properly.
> -Original Message-
> From: Barclay A. Dunn [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 08, 2003 4:19 PM
> To: Tomcat Users List
> Subject: RE: Help!
Juraj
Look for TOMCAT_HOME/server/lib/catalina-ant.jar and copy it to your ANT_HOME/lib
directory.
Then you need to define the targets, and add some tasks like this :
ÔÚ 2003-08-09 13:14:00 ÄúдµÀ£º
>Hi all,of you ? Could you tell me ? Thanks~~
>
> I have installed RH9 and it contains apache2.0.40. Then I installed
>tomcat4.1.27 by binary. After that I want to integrate them to work
>together by using jk2. What is the easy way to integrate them? Any
>doc
ÔÚ 2003-08-08 23:50:00 ÄúдµÀ£º
>We are running a fairly large ecommerce site consisting of 3 apacheof you ? Could you
>tell me ? Thanks~~
>2.0.48 servers being balanced between using UltraMonkey/ldirector and 2
>tomcat servers with AJP1.3. Everything is Linux except the back end
>which is a fai
I am running Tomcat 4.1.24 in standalone mode using https with no problems.
How do you have the non-SSL and SSL Connectors defined in your server.xml?
Also, where do your key/cert files live (i.e. within the Tomcat directory
structure somewhere)?
Thanks,
Scott Stewart
[Manager, Software Developm
Ok, thank you.
> -Ursprungliche Nachricht-
> Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 6. August 2003 21:46
> An: Tomcat Users List
> Betreff: RE: Tracking active sessions
>
>
>
> Howdy,
>
> >Yes, I think it does matter if the sessions are still open. Because,
Alternatively, having a zero-length index.html file in your directory,
together with a should also work.
"Shapira, Yoav" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Howdy,
>Today I changed it to:
>
>
> MainView
> /index.html
>
>
Hi,
I'm trying to display custom error pages. My https context is BASIC
protected,
and now the site is automatically redirecting to the error page before
asking for authentification...
I put this lines in web.xml
401
error/401.jsp
I m using tomcat 4.1.27 standalone on linux.
I need yo
Howdy,
>Factory? What is a factory? What does it look like?
It's a class implementing the GoF Factory pattern.
>I thought what I had below WAS a factory? is having DataSource there
not
>good enough?
No.
>What's below is exactly what my Tomcat book has!!
Your book could be out of date or i
Ah, o.k. I had misunderstood what that attribute was for in the Ant
Manual. I will try it and verify if the packaging comes out right.
If I understand correctly, I will still need to walk the directories
with the forEach task to get them compiled to classes, is this correct?
thanks again for th
Thanks everyone - I got it set correctly
thanks
-Original Message-
From: Atristain, Bobbie J.
Sent: Tuesday, August 05, 2003 2:33 PM
To: [EMAIL PROTECTED]
Subject: RE: RE: Java and tomcat issues
Okay this happens
bash-2.05b# export $PATH=$JAVA_HOME/bin
-bash: export:
`/usr/local/sbin
Well, jsp files are not meant to be inside a WEB-INF directory. Try putting those
outside
of it. You may use some dir structure like this:
root_dir/
jsp/
WEB-INF/
lib/
tags/
classes/
Try putting your jsp files in the jsp dir. Hope it works. :)
Susanne Munker <[E
Ok, I just wanted to be sure everyone knew that. ;)
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2003 9:15 AM
> To: Tomcat Users List
> Subject: RE: large objects in sessions
>
>
>
> Howdy,
>
> >And how does this approach save memo
If you have Tomcat on port 80, what do you need the connector for?
John
vikas jain wrote:
I followed the instructions to set up IIS with tomcat.
The virtual redirector is showing green arrow pointing up but the
servlets are not working.
in the log I am getting following errors:
[Thu Aug 07 09:
I should have been more clear. If you have tags without body content, call
release() at the end of doStartTag(). If you have tags with body content,
call release() at the end of doAfterBody(). This has worked rather well for
me. Perhaps implement TryCatchFinally would be a little cleaner.
Mike
If you use Resin/J:Rockit/NewISys 2100, you can do at least 4,000
cocurent users w/ sub second response time. (test your app w/ free
DiselTest - part of Jasic and linked on basicPortal.com, other links
there to)
NewIsys is a 1U.
A 19" rack can hold 40. You need 3-4 racks.
He.net charges $400 per
Just be EXTREMELY careful; such servlets/jsps tend to open up security
holes, if not properly coded, which allow users of said servlet/jsp to
get to other files elsewhere on your hard disk (a password file, config
files, etc).
Make sure you limit the scope of what jsp sources can be viewed, and
do
Eventually, you'll need to have your DNS server recognize the names. But to
get started, you can just edit your system's host file and make
"fr.localhost" etc. aliases for localhost.
"Julien Martin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,
In order to internationalize a
This forum is meant for helping each other in Tomcat related problems, not
for advertising your products. Please remove the advertisement footer from
your mail, this will help in keeping the mail short as well.
Bye,
Gautam
-Original Message-
From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
Se
Bill,
many thanks: that worked perfectly.
Graham
> MSIE has a bad habit of ignoring Content-Type, so I don't know that this
> will work. However, what you want is:
>
>
> (of course, change the charset if you aren't using iso-latin-1).
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EM
My favorite Base64 library is org.apache.catalina.util.Base64 ;)
-Tim
Bill Barker wrote:
I agree with Nikola. Firstly, even if you could access Catalina internals,
you are calling the wrong method. You would need to call getDigest(String
userName, String Pass). From the RealmBase code, you prob
Hello folks, how do i could do this in right way?
I would suggest comparing this resource:
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html
to the resource you used, and note any differences, if any.
John
vikas jain wrote:
The isapi.log file doesn't have any log. it's empty. In the tomcat log
files, it doesn't have any error message
I did that. But here is the problem with that. My pages are under a
folder called "secure" so then the URL was
http://localhost:8080/holocron/secure/holocron/servlet/AddReference ha.
Thanks for the quick response though.
Gregg
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECT
__
Join Freeserve http://www.freeserve.com/time/
Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered
ISP and Best Consumer Application.
---
Hi again,
Sorry to be a pain. But we are continuing to have Tomcat crash on us
whenever we try to access Jsp pages. It would appear that there is a problem
with the HotSpot JVMcan anyone help or possibly point me in the right
direction. I've searched the Sun Java site and essentially they have
Hi, Mark.
Keep your head up. I just let you know that I started with 1 transaction
per 4 sec and now we could do per 0.5 sec. As to scalability, I could make
it reaching max resource per box. I started with 500 users and now on same
wintel box I could go above 2500 users, which I could prove tha
NormW wrote:
Good evening Christian.
Have you set the jvmRoute parameter in each Tomcat, and the TomcatID (aka
route) for each JK worker?
Norm
Thanks,
I set jvmRoute in server.xml Engine section and now it works.
Best regards,
Christian
I agree with Nikola. Firstly, even if you could access Catalina internals,
you are calling the wrong method. You would need to call getDigest(String
userName, String Pass). From the RealmBase code, you probably want
something like:
<%
MessageDigest md = MessageDigest.getInstance("MD5");
Strin
Hey Gautham,
It is not under my control. The mail server adds it to all mails.
-Original Message-
From: "Aggarwal, Gautam (IE03)" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Date: Thu, 7 Aug 2003 11:06:19 +0530
Subject: RE: off-topic, need help in scrolling
> This forum
Hi Yoav,
> You have the two calls in the Runtime class (totalMemory() and
> freeMemory()), and that's pretty much it. This of course reflects only
> the heap. So you can have a background thread that checks freeMemory()
> every so often and if the free percentage falls below a certain
> configur
1. What ever happened to the 'catalina out log'?
2. this is the error I am getting upon starting Tomcat(catalina).
Aug 6, 2003 10:27:07 AM org.apache.commons.nodeler.Registry loadRegistry
INFO: Loading registry information
Aug 6, 2003 10:27:07 AM org.apache.commons.nodeler.Registry getRegistr
Does anyone know where I can find an rpm of the jdk 1.2 kit?
Thanks,
Bobbie
Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
41 matches
Mail list logo