Re: Tomcat Issue with HPUX

2007-08-10 Thread Leon Rosenberg
you not counting the threads which are used by jvm and tomcat itself, and those are more than 5. Try with max threads = 25 and check whether this works at all on your machine. regards Leon On 8/10/07, pkt [EMAIL PROTECTED] wrote: HI All I and running tomcat on HPUX machine. The problem is

Re: Tomcat Issue with HPUX

2007-08-10 Thread pkt
i tried to do that but still the thread count goes beyond 45-50. so i guess with some more load it will go beyond 65. And yes the figure is total of jvm and tomcat. But is there any way to restrict this to not exceed 65. Leon Rosenberg-3 wrote: you not counting the threads which are used by

Error in access_log when launching an application GUI

2007-08-10 Thread Dean Lonsdale
Hi all I am trying to launch the ArcIMS ADmin Utility GUI (GIS Application) and receiving the following error in the access_log [info] jk_handler::mod_jk.c (2254): No body with status=404 for worker=ajp13 MY mod_jk file looks as follows. Any help much appreciated loadmodule jk_module

Re: 6.0.13 MySQL DBCP Example

2007-08-10 Thread David Smith
To make use a GlobalNamingResources .. /GlobalNamingResources, you'll have to put a ResourceLink element in your webapp's context.xml file. See the end of http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html for more information. --David G M wrote: Thanks! It worked

Re: Define tomcat ports

2007-08-10 Thread Markus Schönhaber
Milanez, Marcus schrieb: We need have two tomcat instances (different versions, 5.0.xx and 6.0.xx) running in the same server. We need it because we have some web applications deployed in Tomcat 5 which don't start in Tomcat 6. We won't have enough time to migrate all the applications to

Re: Define tomcat ports

2007-08-10 Thread Gregor Schneider
afaik port 1 - 1024 are so-called privileged ports (at least in unix / linux) which require superuser-right (root). since it's not the best idea running tomcat as root, you'll be fine choosing any port above 1024. also, you should make sure not to choose a port that's already been taken. in

RE: Using MSAccess database for container authentication

2007-08-10 Thread Propes, Barry L
you did give it a DSN of some sort? Do you have the correct driver or MDAC update? -Original Message- From: remmons [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 10:40 AM To: users@tomcat.apache.org Subject: Using MSAccess database for container authentication I am trying to

Re: Using MSAccess database for container authentication

2007-08-10 Thread Daniel Stephens
didn't imply there was a need for additional jars. Just trying to make clear he needed the one the one with that class. . Also didn't mean to complicate it, just trying to help figure out where the issue was going. On 8/10/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED

Re: Using MSAccess database for container authentication

2007-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel Stephens wrote: Also, make sure that whatever jar file has this sun.jdbc.odbc.JdbcOdbcDriver class, is located in your tomcat common/lib. This is a standard class that comes with the Sun JRE. There is no need for any additional

RES: Define tomcat ports

2007-08-10 Thread Milanez, Marcus
Thanks Gregor! -Mensagem original- De: Gregor Schneider [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 10 de agosto de 2007 11:49 Para: Tomcat Users List Assunto: Re: Define tomcat ports afaik port 1 - 1024 are so-called privileged ports (at least in unix / linux) which require

RES: Define tomcat ports

2007-08-10 Thread Milanez, Marcus
Thank you Markus! I'll take a careful look at server.xml file! -Mensagem original- De: Markus Schönhaber [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 10 de agosto de 2007 11:55 Para: users@tomcat.apache.org Assunto: Re: Define tomcat ports Milanez, Marcus schrieb: We need have

URL Decoding Question

2007-08-10 Thread Thoku Hansen
Hi, Does Tomcat decode a URL-encoded request before evaluating it against servlet url-patterns? I have a form whose submit action URL includes the jsessionid like this: form action=Example.action;jsessionid=196273839CE41F0BFBA445F63D3880EB method=post When the form is submitted, the

Re: Using MSAccess database for container authentication

2007-08-10 Thread Daniel Stephens
Also, make sure that whatever jar file has this sun.jdbc.odbc.JdbcOdbcDriver class, is located in your tomcat common/lib. As well as having a binding in your context.xml or web.xml like below. And have the datasource configured in the server.xml or equivalent(I think 5.5 sets up the Datasources a

RE: Tomcat Issue with HPUX

2007-08-10 Thread Nelson, Tracy M.
| From: pkt [mailto:[EMAIL PROTECTED] | Sent: Friday, 10 August, 2007 00:38 | | One option is that to increase the max thread per process limit of HP to | high value, but administrators are not very convinced with this idea | | Any pointers on this issue. Have your admins check out the Java

Using MSAccess database for container authentication

2007-08-10 Thread remmons
I am trying to use an MSAccess database for container authentication in Tomcat 5.5.23. When I start Tomcat, I get this message in the catalina.-MM-DD.log: Aug 10, 2007 10:50:30 AM org.apache.catalina.realm.JDBCRealm start SEVERE: Exception opening database connection java.sql.SQLException:

Re: Define tomcat ports

2007-08-10 Thread Markus Schönhaber
Markus Schönhaber schrieb: Especially: if you want to run two Tomcat instances, you'll have to make sure that all ports one instance listens to are different from all ports the other (or any other application on the machine) listens to. To phrase that more exactly: you can have to

Re: Tomcat Restarting

2007-08-10 Thread David Delbecq
En l'instant précis du 10/08/07 15:45, [EMAIL PROTECTED] s'exprimait en ces termes: Hi everybody, I would like to know what really happen when tomcat is restarted. This is because I need to know the risks of restarting during production time. I mean, if, for example, a servlet is running

Define tomcat ports

2007-08-10 Thread Milanez, Marcus
Hi, We need have two tomcat instances (different versions, 5.0.xx and 6.0.xx) running in the same server. We need it because we have some web applications deployed in Tomcat 5 which don't start in Tomcat 6. We won't have enough time to migrate all the applications to adhere some Tomcat 6 issues,

memory leaks (Tomcat 5.5.20 and JDK 1.6)

2007-08-10 Thread suchitha koneru
Hello Tomcat Users , Our web application uses Tomcat 5.5.20 with Java 1.6. The application's front end is designed in Flex and back end is web servcies deployed on axis. The application id running out of memory in about 2 days. We are optimizing the code and fixing

Re: Tomcat and path with pound sign (#) - ClassNotFoundException

2007-08-10 Thread Len Popp
I'm not sure the topic is ready to be nailed shut just yet... The problem is due to the way Tomcat converts pathnames to URLs when it uses URLClassLoader. Tomcat calls the method File.toURL and that fails when there's a # in the pathname. But the Javadoc for File.toURL suggests a workaround:

Re: Using MSAccess database for container authentication

2007-08-10 Thread remmons
Christopher Schultz-2 wrote: This is a standard class that comes with the Sun JRE. There is no need for any additional JAR files. I would advise the OP to check online for how to connect Java to Access in general before adding Tomcat into the mix. Using MS Access requires you to setup

Tomcat Restarting

2007-08-10 Thread gerocoma-forophp
Hi everybody, I would like to know what really happen when tomcat is restarted. This is because I need to know the risks of restarting during production time. I mean, if, for example, a servlet is running and at that moment I restart, does tomcat will wait until the jvm finishes and give the

Re: Self-Signed Certificate for Tomcat JVM and CAS

2007-08-10 Thread Lisa Tan
I don't know if this is a right list to ask this question. I tried to configure shibboleth which uses Tomcat with CAS authentication. I received an error: Unable to validate ProxyTicketValidator I did google search on this topic and understood the reason causing this problem is Tomcat JVM

Re: Log file analyser for Access Log Valve output

2007-08-10 Thread David Smith
... or you could also look for web log analyzers on the web. If you used the Apache Httpd compatible access log format, any analyzer built to work on Apache Httpd should theoretically work on the Tomcat access log. --David Lyallex wrote: Looks interesting. Thanks On 8/10/07, David Smith

Re: Log file analyser for Access Log Valve output

2007-08-10 Thread David Smith
As I understand it access log valve outputs a compatible format to Apache Httpd so Webalizer should be able to analyze and provide reports. --David Lyallex wrote: Hi Tomcat 5.5.23 Java 1.5.0_10 First let me say thanks to the users on this list that have answered my (no doubt

Re: Tomcat Issue with HPUX

2007-08-10 Thread Rainer Jung
David Delbecq wrote: En l'instant précis du 10/08/07 10:34, Rainer Jung s'exprimait en ces termes: The question about Tomcat serving no more requests, once you reached the OS thread limit: if a new request comes in, the listening thread serves the request and a new thread is taken out of the

Re: Tomcat Issue with HPUX

2007-08-10 Thread David Delbecq
En l'instant précis du 10/08/07 10:34, Rainer Jung s'exprimait en ces termes: The question about Tomcat serving no more requests, once you reached the OS thread limit: if a new request comes in, the listening thread serves the request and a new thread is taken out of the pool to do the next

RE: Using MSAccess database for container authentication

2007-08-10 Thread Propes, Barry L
are you sure you have the right type driver for JDBC thru the web? In your standalone Java app connecting to MS Access, is that thru the web? It's not is it? maybe you should attempt to download another one. http://developers.sun.com/product/jdbc/drivers -Original Message- From:

Re: Error in access_log when launching an application GUI

2007-08-10 Thread Rainer Jung
Which platform? Which version of mod_jk? Content of workers.properties? In case you use version 1.2.24: this has been withdrawn soon after release, because it had a bug related to the message you cite. But since that version was only available for very few days, I doubt that's the reason. You

Re: Tomcat Issue with HPUX

2007-08-10 Thread Rainer Jung
I would agree, that 65 is a very low thread limit for a J2EE web container, at least if it will get serious load. Java Enterprise gets its performance out of concurrency. Your observation, that you actually run out of threads already proves you, that you will need more than 65 threads. So I

Regarding OLE

2007-08-10 Thread Girish Havaldar
Hello, is it possible to invoke equation editor of MS Word from text area, so that what ever mathematical equation edited can directly be updated in to the text area. Regards Girish S.Havaldar

Re: Tomcat Issue with HPUX

2007-08-10 Thread David Delbecq
Just for information, we run tomcat on HP-UX with no special tomcat limitation on max thread. We also use a NIS (aka Yellow pages) based JNDI authentification. We sun the sun provided NIS context for jndi. This tool is known by us to create something around 200+ temporary threads to get it's

Re: memory leaks (Tomcat 5.5.20 and JDK 1.6)

2007-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suchitha, suchitha koneru wrote: The application id running out of memory in about 2 days. We are optimizing the code and fixing memory leaks . is there a way to find out if Tomcat 5.5.20 has any inherent memory leaks. Many people are using

Converting workers2.properties file to workers.properties

2007-08-10 Thread Dean Lonsdale
All We are moving from JK2 to JK and would like some information/help on how to convert a workers2.properties file (JK2) to workers.properties (JK) any help greatly appreciated..apols but this question comes from an Apache novice.. Regards / Cordialement / Mit freundlichen Grüßen -- Dean

java.net.BindException: Address already in use

2007-08-10 Thread Susan Richards
First, I just want to say that I sure appreciate all the help I am getting on this list and I don't deserve to even associate with highly intelligent beings such as yourselves. We shutdown and restart our tomcat 5.5.23 server nightly. Initially, a maintenance page for system backup gets

RE: java.net.BindException: Address already in use

2007-08-10 Thread Propes, Barry L
that's ok -- I'm on here! : ) -Original Message- From: Susan Richards [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 3:28 PM To: users@tomcat.apache.org Subject: java.net.BindException: Address already in use First, I just want to say that I sure appreciate all the help I am

RE: java.net.BindException: Address already in use

2007-08-10 Thread Propes, Barry L
are you using TC at port 80 or port 8080? Can you switch it to 8080 in your xml file? -Original Message- From: Susan Richards [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 3:28 PM To: users@tomcat.apache.org Subject: java.net.BindException: Address already in use First, I

RE: java.net.BindException: Address already in use

2007-08-10 Thread Susan Richards
It's at port 80 443. We don't have any iptables setup to reroute users from 80 to 8080. I asked our unix guy and he didn't want to do it. Propes, Barry L [EMAIL PROTECTED] 8/10/2007 3:35 PM are you using TC at port 80 or port 8080? Can you switch it to 8080 in your xml file?

Re: java.net.BindException: Address already in use

2007-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Susan, Susan Richards wrote: First, I just want to say that I sure appreciate all the help I am getting on this list and I don't deserve to even associate with highly intelligent beings such as yourselves. Seriously, don't say that. :( We

[ANN] Apache Tomcat JK 1.2.25 Web Server Connector released

2007-08-10 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.25 of the Apache Tomcat Connectors. It contains connectors, which allow a web server such as Apache HTTPD, Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web application server. This

Re: java.net.BindException: Address already in use

2007-08-10 Thread Susan Richards
Just out of curiosity, why do you bounce Tomcat every night? We backup our database that the web application interfaces with. We stop our listener after we bounce it and put a maintenance page out. Our application gives a 'System Error Detected' to the user if we don't do things in the right

Re: Log file analyser for Access Log Valve output

2007-08-10 Thread Lyallex
Looks interesting. Thanks On 8/10/07, David Smith [EMAIL PROTECTED] wrote: As I understand it access log valve outputs a compatible format to Apache Httpd so Webalizer should be able to analyze and provide reports. --David Lyallex wrote: Hi Tomcat 5.5.23 Java 1.5.0_10 First let

Re: memory leaks (Tomcat 5.5.20 and JDK 1.6)

2007-08-10 Thread suchitha koneru
Thank you so Chris , I missed the part which talks about jira's memory leak issue. Will try to increase the heap memory and detect more memory leaks. On 8/10/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Suchitha, suchitha koneru wrote:

Re: Self-Signed Certificate for Tomcat JVM and CAS

2007-08-10 Thread Bill Barker
Lisa Tan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I don't know if this is a right list to ask this question. I tried to configure shibboleth which uses Tomcat with CAS authentication. I received an error: Unable to validate ProxyTicketValidator I did google search on this

Re: URL Decoding Question

2007-08-10 Thread Bill Barker
Thoku Hansen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Does Tomcat decode a URL-encoded request before evaluating it against servlet url-patterns? I have a form whose submit action URL includes the jsessionid like this: form