Re: Advice about Tomcat on x86_64 architecture..

2007-07-10 Thread prt
TestThread() { CREATE_COUNT++; } public void run() { try { sleep(Integer.MAX_VALUE); } catch (InterruptedException e) {;} } } % I get Maximum threads = 32684. prt wrote: Hi to all, I have Dell PE 2950 with two Intel xeon dual core

Advice about Tomcat on x86_64 architecture..

2007-07-09 Thread prt
Hi to all, I have Dell PE 2950 with tow Intel xeon dual core 5130 processors. I use this server to run website. I have three tomcat work in balance in mod_jk, and one Apache in front on port 80. The JVM and the tomcat that i have on the server are 32 bit architecture. My question is, Is it

Re: Advice about Tomcat on x86_64 architecture..

2007-07-09 Thread prt
on 32 bit and then transfer class files to the server ? Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prt, Please do not post more than once. We forgive spelling and grammar mistakes. There is no reason to re-post your question with trivial changes. prt

JVM environment variable..

2007-04-01 Thread prt
Hi to all, I want to set the JVM(1.5) to use timezone Asia/Jerusalem. I try to to set any windows environment variables, JAVA_OPTS to -Duser.timezone=Asia/Jerusalem (Not work) so i try TZ to -Duser.timezone=Asia/Jerusalem (Not work) (Maybe i have to restart windows after changing any environment

Re: JVM environment variable..

2007-04-01 Thread prt
first installed JDK or JRE , did it not ask what TimeZone yo want to set? There's already a thread for setting TimeZone on Tomcat: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg145602.html -Rashmi On 4/1/07, prt [EMAIL PROTECTED] wrote: In my servlet i set the timezone

RE: Problem in MySQL JNDI Resource..

2007-03-22 Thread prt
JNDI Resource is not work ??? Caldarale, Charles R wrote: From: prt [mailto:[EMAIL PROTECTED] Subject: Problem in MySQL JNDI Resource.. Host name=localhost appBase=webapps ... Context path=/test1 debug=0 reloadable=true The Context element should not be placed in server.xml

Ok, I solved the problem...

2007-03-22 Thread prt
. Thank you all for your help. prt wrote: Hi to all, I have in webapps web application name test1. In server.xml i define Resource for MySQL db, Host name=localhost appBase=webapps ... Context path=/test1 docBase=test1 debug=0 reloadable=true crossContext=true Resource name=jdbc/mydb

Problem in MySQL JNDI Resource..

2007-03-21 Thread prt
Hi to all, I have in webapps web application name test1. In server.xml i define Resource for MySQL db, Host name=localhost appBase=webapps ... Context path=/test1 debug=0 reloadable=true crossContext=true Resource name=jdbc/mydb auth=Container type=javax.sql.DataSource

Re: [OT] server.xml configuration..

2007-03-06 Thread prt
: You can move your jsp files which you would like to secure to WEB-INF/, and use dispatched way to access ... then you can define few error files like 404, 503 or your own error.jspwhich can be handled by your java class wish this helps On 3/6/07, prt [EMAIL PROTECTED] wrote: Hi to all

Servlet Filtering performance..

2007-03-06 Thread prt
Hi to all again, I added filter object for all requests url-pattern/*/url-pattern. In the Filter class i check the ServletPath (HttpServletRequest.getServletPath()) and i check if is equals to alist of allowd paths. it is work just perfect. But i think that is damage the performance, is it ?

Re: [OT] Servlet Filtering performance..

2007-03-06 Thread prt
check algorithm. (http://en.wikipedia.org/wiki/Big_O_notation) -Tim prt wrote: Hi to all again, I added filter object for all requests url-pattern/*/url-pattern. In the Filter class i check the ServletPath (HttpServletRequest.getServletPath()) and i check if is equals to alist of allowd

Re: [OT] Servlet Filtering performance..

2007-03-06 Thread prt
? Thank you. (it take hourse to post amessage, my english is not good, sory) Tim Funk wrote: You won't even notice this code being run. -Tim prt wrote: Hi, My list is small only 5 URLS, I save it in (String[]), that load in the Filter init method by init parameter in the web.xml

Re: [OT] Servlet Filtering performance..

2007-03-06 Thread prt
I dont want to handle the display process, just to map it from the filter to D:\storeg\data\uf... But thank you for your solution. Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 prt, prt wrote: I have another problem, You should post a separate message

server.xml configuration..

2007-03-05 Thread prt
Hi to all, Where i have to config and what, to prevent direct access to my jsp files ? For example, I have project name test. If i whant to show product data the link is, http://localhost/test?do=showProductData. This link run the index.jsp that is in text, and in index.jsp there is include to