Re: Tomcat takes 2 hours to start

2008-04-30 Thread jitesh sharma
hello, Tomcat logs when it starts : Apr 30, 2008 12:08:32 PM org.apache.catalina.core.AprLifecycleListen er lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in produ ction environments was not found on the java.library.path: /usr/jdk/instances/jd

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread karthikn
Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !--

deployment problem with multiple JAR FILE containg same utility classes

2008-04-30 Thread Philippe Couas
Hi, I use many Jar files containing servlets project. Some of theses Jar using same utility classe. If i modify my utillity class and adding method, this new method is not showing by tomcat if i don't locate it into fist alphabetic JAR File . Could i force tomcat to use only Jar file containg

Problem with policies

2008-04-30 Thread Roberto Riggio
Hi, I'm running tomcat 5.5.25 under ubuntu. However with the default setup i get the following exeception when a try to use my webapp: org.apache.jasper.JasperException: The absolute uri: http://struts.apache.org/tags-html cannot be resolved in either web.xml or the jar files deployed with

Re: deployment problem with multiple JAR FILE containg same utility classes

2008-04-30 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true.

Re: deployment problem with multiple JAR FILE containg same utility classes

2008-04-30 Thread Mark Thomas
Philippe Couas wrote: I use many Jar files containing servlets project. Some of theses Jar using same utility classe. If i modify my utillity class and adding method, this new method is not showing by tomcat if i don't locate it into fist alphabetic JAR File . Could i force tomcat to use only

Re: Problem with policies

2008-04-30 Thread David Smith
What makes you think its a problem with the security policy file? This looks more like it can't find the struts html taglib tld file. It's looking for the definition in your web.xml file or the tld file in the META-INF of one of your .jar files in WEB-INF/lib --David Roberto Riggio

Re: Problem with policies

2008-04-30 Thread Roberto Riggio
Because it works fine if I add the following block to to 50user.policy grant codeBase file:${catalina.base}/webapps/myapp/- { permission java.security.AllPermission; }; Am I missing something? R. - David Smith [EMAIL PROTECTED] wrote: What makes you think its a problem with the

Re: Delay between TCP handshake and POST (complete)

2008-04-30 Thread Tim Lavers
Dear all, Am still having this problem, so if anyone has any ideas, please let me know. Here is some more information. The client and Tomcat JVM complete the handshake. Then there are three netbios or nbstat lookups, each of which seems to time out after 1.5 seconds. This accounts for

Re: Problem with policies

2008-04-30 Thread Mark Thomas
Roberto Riggio wrote: Because it works fine if I add the following block to to 50user.policy grant codeBase file:${catalina.base}/webapps/myapp/- { permission java.security.AllPermission; }; Am I missing something? Use the debug options for the security manager and get the details of

Re: Tomcat takes 2 hours to start

2008-04-30 Thread Jim Cox
when i start the server in normal mode with command /opt/tomcat/in/catalina.sh run it starts in almost 2 hours. FWIW, your log excerpt shows a 2-minute delay, not a 2-hour delay as your originally reported. In any case, re your question on starting via truss, it should be as simple as

Re: Problem with policies

2008-04-30 Thread David Smith
I would have expected a SecurityException or AccessControlException in the stack you posted if the security manager were at fault. Did you post the whole thing or just a snippet? --David Roberto Riggio wrote: Because it works fine if I add the following block to to 50user.policy grant

Re: httpd SSL - Tomcat VS. Tomcat SSL standalone?

2008-04-30 Thread Larry Prikockis
Yuval Perlov wrote: Out tomcat servers are handling around 30K SSL hits every 5 minutes with very little effort (10% cpu average on a dual core machine, good response time). We tried to put in httpd in front thinking we can squeeze out better performance and memory consumption. The system just

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread karthikn
Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to

MaxThreads - max. users ?

2008-04-30 Thread Stephanie Wullbieter
Hello, on http://tomcat.apache.org/tomcat-5.5-doc/config/http.html is for parameter MaxThreads written: The maximum number of request processing threads to be created by this Connector, which therefore determines the maximum number of simultaneous requests that can be handled. If not

Re: MaxThreads - max. users ?

2008-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, Stephanie Wullbieter wrote: | Could You please tell me what exact a request is? | | Does it mean that when I have e.g. MaxThreads=20, 100 users can use | my webapp if only 20 of them at the same time request data from the | webapp and the

RE: MaxThreads - max. users ?

2008-04-30 Thread Caldarale, Charles R
From: Stephanie Wullbieter [mailto:[EMAIL PROTECTED] Subject: MaxThreads - max. users ? Could You please tell me what exact a request is? An HTTP GET, POST, etc., request from a client (usually a browser). Note that retrieval of a single web page may result in many separate requests from

Re: MaxThreads - max. users ?

2008-04-30 Thread Alan Chaney
Like most things in complex network apps there is no simple answer. MaxThreads refers to the number of simultaneous open HTTP network connections there can be. A connection is opened to enable the HTTP request response cycle (request from browser - server, response from server- browsers).

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread Landon Fabbricino
Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with

Re: Partial context reload

2008-04-30 Thread Nilesh Bansal
thanks. are there other app servers, other than tomcat, which may have similar functionality? thanks Nilesh On Tue, Apr 29, 2008 at 4:41 AM, Peter Crowther [EMAIL PROTECTED] wrote: From: Nilesh Bansal [mailto:[EMAIL PROTECTED] I have a question regarding context reloading in tomcat. Our

Re: hackers sending long URLs to probe site?

2008-04-30 Thread David Delbecq
DIGLLOYD INC a écrit : Christopher, Thank you. This is helpful. Sorry about the hijacked thread, I didn't think of that. Yes, I've double-checked that my site isn't generating the bad links. It's all static HTML and I've searched for any duplications, ../../ type things, etc. I don't

Re: FW: Memory leak using SSL Tomcat 6.0.16

2008-04-30 Thread Filip Hanik - Dev Lists
add the flag -XX:+HeapDumpOnOutOfMemoryError when you get an OOM, it will dump a .hprof file, zip it up, and make it available to us (dont attach it to an email :) I can help you analyse it Filip Shapovalenko Daniil wrote: Hello there! I'm using Tomcat 6.0.16 with an extremely simple

Re: hackers sending long URLs to probe site?

2008-04-30 Thread DIGLLOYD INC
It's certainly something nefarious...one of my paths contains diglloyd/free, and I see URLs containing 100 or 200 of that string repeated... On Apr 30, 2008, at 1:58 PM, David Delbecq wrote: DIGLLOYD INC a écrit : Christopher, Thank you. This is helpful. Sorry about the hijacked

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread karthikn
Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon