Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Prasheel Vemulapalli
Thanks Bill, I am able to get the servlet metrics, but for getting connector metrics i replaced tomcat_jk.jar from TC 5.0. Even then I am not getting the connector metrics as i get in TC 5.0. I want to monitor the bytes sent and received through the connectors. In TC 5.0 I can get these metrics

JNDI (password?) problem between Tomcat 5.0.27 and Lotus Domino LDAP (Version 5.0.12)

2004-08-25 Thread Zsolt Koppany
Hi, we have a problem when we try to use the JNDI Realm from tomcat (5.0.27) to access Lotus Domino LDAP (Version 5.0.12) server. According the logs the user can be found but the binding is somehow not successful. We tried binding and comparison modes. Unfortunately we cannot use anonymous

Important

2004-08-25 Thread tomcat-user
-- Virus Warning Message (on uusnwa0p) -- Found virus WORM_NETSKY.Z in file Details.txt .exe (in Details.zip) The uncleanable

Re: approved bill

2004-08-25 Thread hgomez
See the file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread Allistair Crossley
OK, I have now done a TC5.0.27-JK2-IIS5 config about 5 times in the past 2 weeks on our developer machines so it does work ;) Here are my files: tomcat_home/conf/jk2.properties = only contains the following lines, the rest is commented out. The following lines

Problem with Tomcat 4.1.29 and german umlaut url-encoding

2004-08-25 Thread Thilo Krawietz
Hi folks, i actually face some strange phenomenon concerning tomcat and URL-encoding of german umlauts. As you may know, some browsers encode german umlauts for usage in the URL with %xx sequences for proper transportation. The problem i have now is, that i got a web application which allows

Problem with Tomcat 4.1

2004-08-25 Thread Jitesh Sinha
Hello, I am getting following exception during the startup of my local server which is Tomcat 4.1. Any idea why it will come and how to remove it? 2004-08-25 15:46:19 StandardManager[/manager] IOException while loading persisted sessions: java.io.EOFException java.io.EOFException at

Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Hi, can I disable GC thread in Tomcat. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Access JBoss from Tomcat

2004-08-25 Thread Darryl L. Pierce
I have a Tomcat server running on the perimeter of my network. I am trying to add some EJBs to the architecture to handle some authentication tasks for users. I need this work to be done within the network, so don't want to put JBoss on the perimeter. I want to access my JBoss server from my

RE: Tomcat JVM GC

2004-08-25 Thread Dale, Matt
You can't disable garbage collection or java won't run. Please rephrase your question. -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 12:08 To: Tomcat Users List Subject: Tomcat JVM GC Hi, can I disable GC thread in Tomcat.

RE: Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Its known that JVM schedular runs gc thread depending upon some concrete values, now I want to set such parameters, or my heap sizes so that the JVM schedular, ignores gc thread. We have 1.3G Ram on our server and our heap never goes beyond 400-450M, now the gc thread is a hurdle in our system ,

RE: Tomcat JVM GC

2004-08-25 Thread Dale, Matt
The garbage collection is variable depending on your JVM parameters. Here are a couple of links to help you understand a bit more about how the Garbage Collections work. http://java.sun.com/developer/technicalArticles/Programming/turbo/ http://java.sun.com/docs/hotspot/gc1.4.2/ I would also

RE: Tomcat JVM GC

2004-08-25 Thread Mats Henrikson
Its known that JVM schedular runs gc thread depending upon some concrete values, now I want to set such parameters, or my heap sizes so that the JVM schedular, ignores gc thread. We have 1.3G Ram on our server and our heap You are mistaken, you do not want it to ignore the gc thread, as you

JK2: Partition workers2.properties

2004-08-25 Thread Bjoern . Andersen
Hi, is it possible to partition the workers2.properties for the JK2? We got JK2 running as a ISAPI-Filter on IIS6. Now, the new structure of workers2.properties is better against workers.properties and uriworkermap.properties. But now, that we have loads of webs with many contexts each, which

RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread William L. Thomson Jr.
I will try your suggestions and get back to you. I noticed in a log is said worker= was deprecated uses group= instead? I set up an test env that is now doing the exact same thing as the production env. I do not have those lines in jk2.properties and really as far as Tomcat is concerned I see

RE: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Shapira, Yoav
Hola, Does Tomcat 4.1.30 provide any MBeans for monitoring the above metrics? No. Pure FUD. You need to specify the jsr77Names=true attribute to the ServerLifecyleListener to have TC 4 JMX register the servlets, but otherwise its much like TC 5. You might also need updated Connector jars

RE: Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Actually we have our own gc mechanism which has a proven record of doing things for our application, it never lets our application go out of memory, but it works at high level, now with this robust design we have only issues from JVM's original gc work. Our calculations have proven that if JVM's

Re: performance metrics of servlets in Tomcat 4.1.30.

2004-08-25 Thread Remy Maucherat
On Tue, 24 Aug 2004 23:23:06 -0400, Peter Lin [EMAIL PROTECTED] wrote: oh, I didn't realize the new 4.1.31 includes back port of the new status servlet in tc5. or am I mis-reading that? 4.1.31 doesn't include any backport of the status servlet. Personally, I wouldn't recommend using it, it

RE: Tomcat 5 JK2 IIS 5

2004-08-25 Thread William L. Thomson Jr.
On Wed, 2004-08-25 at 04:06, Allistair Crossley wrote: I notice the name of your redirector is not the name of how it is distributed by the way. This was my entire problem it looks like. Damn spelling. -- Sincerely, William L. Thomson Jr. Support Group Obsidian-Studios, Inc.

java and tomcat books

2004-08-25 Thread Didier McGillis
looking for some information on Tomcat administration and some Java programming books, what would people suggest. _ MSNĀ® Calendar keeps you organized and takes the effort out of scheduling get-togethers.

RE: Tomcat JVM GC

2004-08-25 Thread Dale, Matt
You should still look at the articles that I posted my reply. If you really want to use your own garbage collection then you will have to first fix the size of the certain areas within the heap. There is no way to turn off the jvm's own garbage collection, when it cannot allocate space for an

tomcat catalina.out size limit config

2004-08-25 Thread Eyup TEKIN
hi is there any option for clearing or backing up catalina.out when it reaches a fixed size ? yours sincerely - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: java and tomcat books

2004-08-25 Thread Allistair Crossley
Professional Tomcat 5 by Wrox Publishing (www.wrox.com) I got it last night and it's really good. Allistair Crossley -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 14:27 To: [EMAIL PROTECTED] Subject: java and tomcat books looking for

RE: tomcat catalina.out size limit config

2004-08-25 Thread Dale, Matt
Nope but you should look at what is going into it and try to redirect it to a more controllable place -Original Message- From: Eyup TEKIN [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 14:46 To: [EMAIL PROTECTED] Subject: tomcat catalina.out size limit config hi is there any option

connection Pool and realms : how to avoid redundances

2004-08-25 Thread Philippe Mathieu
Hi, I am using Tomcat 5.0.xx under Linux Debian with Postgresql 7.xx For me a correct war is a war where you don't have to touch to any pages to deploy the application. I think everybody is according to this. In my application, i'm using the Tomcat connection Pool with a JDBC connector and a Realm

Re: java and tomcat books

2004-08-25 Thread Mike Fowler
Hi Didier, Personally I quite like Tomcat: The Definitive Guide from O'Reilly (http://www.oreilly.com/catalog/tomcat/index.html), it covers version 4 but it's still quite relevant for version 5. As for Java books I'd recommend Java How To Program by Deitel Deitel

Re: connection Pool and realms : how to avoid redundances

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 03:40:58PM +0200, Philippe Mathieu wrote: : For me a correct war is a war where you don't have to touch to any pages to : deploy the application. I think everybody is according to this. So far, so good. : - the database/user/password must be defined in the context

RE: Tomcat JVM GC

2004-08-25 Thread Shakeel Ahmad
Ok, thanks let me work around on your ideas, and let you know in couple of days, I really appreciate your prompt replies. -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 6:31 PM To: Tomcat Users List Subject: RE: Tomcat JVM GC You should

RE: tomcat catalina.out size limit config

2004-08-25 Thread Shapira, Yoav
Hola, Or alternatively use an external utility like logrotate. (Google for it if you're not familiar). Yoav Shapira Millennium Research Informatics -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 9:39 AM To: Tomcat Users List Subject: RE:

Re: java and tomcat books

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 01:26:39PM +, Didier McGillis wrote: : looking for some information on Tomcat administration and some Java : programming books, what would people suggest. No need for a Tomcat book. I've found the docs and list quite useful. (If you can't learn from your own

RE: java and tomcat books

2004-08-25 Thread Didier McGillis
If the Tomcat version I am on is 4.x will that still help? From: Allistair Crossley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: java and tomcat books Date: Wed, 25 Aug 2004 14:38:43 +0100 Professional Tomcat 5 by Wrox

Tomcat Virtual Host

2004-08-25 Thread sergio ulloa
Hello Guys, I'm trying to create a new virtual host. but when I test it I get cannot find server. If you know how to do it, please help me. I have spend around two days. Thanks Serg

RE: java and tomcat books

2004-08-25 Thread Allistair Crossley
Not really, I think TC 5 changed a whole lot from 4. Go with the O'Reilly one. Allistair Crossley New Media Group, QAS Ltd Telephone: 020 7819 5343 -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 25 August 2004 14:59 To: [EMAIL PROTECTED] Subject: RE: java

Change location logs

2004-08-25 Thread Alessandra Santos
Hi, How to change directory location logs tomcat? I liked change location the catalina.out and localhost_admin_log.txt for other directory Thanks Alessandra Santos Fortaleza-CE-Brazil - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Change location logs

2004-08-25 Thread Shapira, Yoav
Hi, See the Logger configuration reference. It's pretty easy and self-explanatory ;) You just modify the directory attribute value. Yoav Shapira Millennium Research Informatics -Original Message- From: Alessandra Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 10:12

Re: Best practice for generating URL's

2004-08-25 Thread Antony Paul
My scenario is Apache running at 192.168.4.10 Tomcat running on 192.168.4.60 In JSP how I have to create URL a href=admin/index.jspHome/a is enough OR a href=192.168.4.10/admin/index.jspHome/a OR a href=192.168.4.60/admin/index.jspHome/a I will use some custom tag to generate the server portion.

Re: Change location logs

2004-08-25 Thread sergio ulloa
Go to Tomcat Web Server Administration Tool. Select the Logger for catalina.out and change the property DIRECTORY. The same thing for localhost_admin_log.txt. Select Host (localhost) Context (/admin) Logger and change the property DIRECTORY. Serg - Original Message - From:

RE: Best practice for generating URL's

2004-08-25 Thread Shapira, Yoav
Hi, Use relative URLs whenever possible, e.g. ../admin or ../someapp/admin or just admin/index.jsp (if the admin virtual directory is on the same level as the current page with the links. In the long-term, servers move, addresses can change, new servers come around, etc, and so absolute links

Path Problem when Porting Hibernate/Struts App from Tomcat 4 to 5

2004-08-25 Thread Emmerich, Martin
Hello, I'm trying to bring an struts and hibernate based application that runs sucessfully with tomcat 4 to tomcat 5. Shortly after start (with an fresh deployment) it throws the exception Time: 11:36:25 Priority: ERROR Thread: main NDC: null Category: net.sf.hibernate.cfg.Configuration

Re: change mod_jk2.conf without restarting Apache

2004-08-25 Thread Greg Ward
On 23 August 2004, Richard Dyson said: I'm working on a web application (platform details - SuSE 8.2, Apache 2.0.50, mod_jk2 as the connector between Tomcat and Apache). My intention is to make changes to mod_jk2.conf (add/remove LocationMatch blocks), and have Apache pick them up

HTTP/1.0 vs HTTP/1.1?

2004-08-25 Thread Robert Brown
Ok, In my server.xml file I have multiple hosts defined and for the most part they work correctly. http://certipost.devlounge.be:8080/ WORKS http://smb.devlounge.be:8080/ DOES NOT Error 400 bad-request They both are in the server.xml as: Host appBase=/home/dlounge/public_html/certipost

Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Sean Finkel
Hello, First a brief background on the setup: We are running Apache 1.3.31 utilizing mod_jk (not jk2). We are running two instances of Tomcat. Previously, both were version 4. Currently, we have one shared instance running the latest 5.x release (just compiled yesterday). We have one customer

Re: Path Problem when Porting Hibernate/Struts App from Tomcat 4 to 5

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 05:13:17PM +0200, Emmerich, Martin wrote: : I'm trying to bring an struts and hibernate based application that runs sucessfully with tomcat 4 to tomcat 5. :[snip] : Time: 11:36:25 Priority: ERROR Thread: main NDC: null : Category: net.sf.hibernate.cfg.Configuration :

[Fwd: Re: Custom authorization]

2004-08-25 Thread John Villar
I'm using a filter for the same thing, and i can tell you something it is blazingly fast, flexible, standard and, in most cases, portable (Filters are part of the Servlet spec.). So, your best option for your custom authorization/authentication would be the filters. besides my

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 12:07:29PM -0400, Sean Finkel wrote: : With that said, we just moved to a new server (Dual Xeon, RHEL 3.0) and : now the problem we are having is the customer who has this private : instance has jsp pages that hang. But, it does not hang all the time. : What's weird, is

Re: HTTP/1.0 vs HTTP/1.1?

2004-08-25 Thread QM
On Wed, Aug 25, 2004 at 05:31:41PM +0200, Robert Brown wrote: : http://certipost.devlounge.be:8080/ WORKS : http://smb.devlounge.be:8080/ DOES NOT Error 400 bad-request What happens if you comment out the first vhost (certipost)? Does smb work then? : Let me guess I have to download the tomcat

tomcat / java performance consultant required

2004-08-25 Thread pete
Hi, We have an app running on Tomcat. I would like to see if there are and people / consultants that are proficient in performance tuning the app for x users. We are running on Dual Intel Xeon 3GHz HTs, 8GIG RAM, running RedHat ES3. I want to find out the optimum heap sizes Tomcat server thread

Errors Page Personalize

2004-08-25 Thread Alessandra Santos
How to show personalize pages jsp for errors generate tomcat errors? Thanks Alessandra Santos Fortaleza-CE-Brazil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Sean Finkel
What kernel was running on the old box? Better put, what is different between the two machines? 7.3 on the old system. 9.0 on an intermediary system, with only the private instance installed (which never hung). I recall RHEL 3.0 comes with an NPTL-based 2.4, which will require setting

Re: Errors Page Personalize

2004-08-25 Thread Robert F. Hall
Howdy, Your question is pretty vague, but here's something that might be of use. You can add error-page/ elements to your web.xml. For example, to display a custom page for a 400 error code: error-page error-code400/error-code location/error400.jsp/location /error-page Robert Alessandra

Re: Tomcat deployment issue

2004-08-25 Thread Wade Chandler
David Chang wrote: Hi, I'm new to tomcat and trying to figure out how to deploy a WAR file without deleting all the contents of the old application. That is, I want to overwrite the files with my new archive but not delete any other files that were already there. The reason I want to do this is

tomcat4 - 3 of 4 sites work, 4th gives only 404

2004-08-25 Thread Techs
I have tomcat setup and working fine for 3 sites, but the 4th only shows the apache-tomcat 404 page for every jsp page. I have compared the server.xml setup for all 4 sites and they are identical, except for the path, which is correct. I have even tried re ordering the host definitions within

RE: java.security.AccessControlException: access denied

2004-08-25 Thread Shilpa Nalgonda
i was able to get this fixed by replacing the permission java.io.FilePermission C:\\Program Files\\Apache Group\\Tomcat 4.1\\certs\\-, read; with permission java.io.FilePermission ALL FILES, read; -Original Message- From: Benjamin Armintor [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Setting up Mobius DDRINT V2.x with TOMCAT: who has a working configuration?

2004-08-25 Thread Hensley, Doug
I would like to get in touch with other users of TOMCAT who have configured Mobius's Document Direct for the Internet V2.1 to function as a thin client for the MVS Mobius regions. Thanks in advance for any contact. Feel free to contact me direct as I am on this list in the digest mode and

RE: Request parameters in catalina.out

2004-08-25 Thread Benjamin Armintor
I wouldn't say mis-configured. When I changed from a similar configuration to a logger for all the jk stuff (e.g. log4j.category.org.apache.jk=WARN,filer), the request dumps went away. I think the issue was that the commons logging wrapper for a non-existent logger had a level of 0, which

client authentification to my web service

2004-08-25 Thread Daniel Snchez Gmez
I'am using Tomcat 5.0 + Axis 1.1 How can I configure my Tomcat 5.0 to request client authentification. My server.xml is: Connector className=org.apache.coyote.tomcat5.CoyoteConnector port=8443 minProcessors=5 maxProcessors=75 enableLookups=true

Re: Tomcat deployment issue

2004-08-25 Thread David Chang
Great suggestion. I'll try to create a new context to put the data in. DC - Original Message - From: QM [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 7:30 PM Subject: Re: Tomcat deployment issue : I'm new to tomcat and trying to figure out

RE: Request parameters in catalina.out

2004-08-25 Thread Mike Curwen
Thanks Benjamin! There was no debug info proceeding the dump, but by changing my log4j config to: log4j.category.org.apache.jk=WARN, filer log4j.additivity.org.apache.jk=false , it has shut off the request dumping. -Original Message- From: Benjamin Armintor [mailto:[EMAIL

Re: Access JBoss from Tomcat

2004-08-25 Thread Robert F. Hall
Howdy, You could access your JBoss hosted EJBs as web services. It's been awhile since I did it, but as I recall it was pretty straight forward to present an EJB as a web service using JBoss/Axis. You won't need to secure your web services since the host is on your internal network and can be

RE: Access JBoss from Tomcat

2004-08-25 Thread Filip Hanik \(lists\)
just access the EJBs the same way its been done since the spec started. Lookup the EJB through JNDI, then invoke its method. Filip -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 5:50 PM To: Tomcat Users List Subject: Re: Access JBoss

RE: Tomcat causes Apache to hang. Any ideas?

2004-08-25 Thread Brad McEvoy
I had a similar problem on RH EL just a couple of weeks ago. Might not be the same as yours, though, because in my case apache wasnt hung, just tomcat. but that might just be a difference in versions, so i'll share it anyway. Here's what i did.. I used kill -QUIT on the tomcat process after it

Re: Access JBoss from Tomcat

2004-08-25 Thread Robert F. Hall
What, you don't like web services ;-) Robert Filip Hanik (lists) wrote: just access the EJBs the same way its been done since the spec started. Lookup the EJB through JNDI, then invoke its method. Filip -Original Message- From: Robert F. Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Michel Durlin est absent(e)

2004-08-25 Thread Michel . Durlin
Je serai absent(e) du 23/08/2004 au 13/09/2004. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems deploying an example application

2004-08-25 Thread Davide Bruzzone
Greetings all... I'm trying to deploy OJB's example servlet to test end-to-end connectivity between the browser and the database via OJB. I successfully built ojb-servlet.war (BTW, I'm using OJB 1.0 RC 7) but am having trouble running it on Tomcat 5.0.27... I've configured Tomcat as follows: -

Document

2004-08-25 Thread mmanders
-- Virus Warning Message (on uusnwa0p) -- Found virus WORM_NETSKY.Z in file Important.txt .exe (in Important.zip) The uncleanable