Re: Advice about Tomcat on x86_64 architecture..

2007-07-09 Thread prt
e static int CREATE_COUNT = 0; public TestThread() { CREATE_COUNT++; } public void run() { try { sleep(Integer.MAX_VALUE); } catch (InterruptedException e) {;} } } %> I get Maximum threads = 32684. prt wrote: > > Hi to all, >

Re: Advice about Tomcat on x86_64 architecture..

2007-07-09 Thread prt
mpile 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 qu

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 good

Re: JVM environment variable..

2007-04-01 Thread prt
b Server etc. > > When you 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, pr

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 environmen

Ok, I solved the problem...

2007-03-22 Thread prt
Hi to all again, I just changed the path attribute from path="/" to path="" in server.xml and is work, Now i can access to "test1" via this link "http://localhost/"; and JNDI work. Thank you all for your help. prt wrote: > > Hi to al

RE: Problem in MySQL JNDI Resource..

2007-03-22 Thread prt
and still is not work. But to access via this slink "http://localhist/test1"; is not my problem. I have to access via this link "http://localhost"; and i did it but the problem now is that my MySQL JNDI Resource is not work ??? Caldarale, Charles R wrote: > >>

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, In test1/WEB-INF/web.xml i define, DB Connection jdbc/mydb javax.sql.DataSource Container I start my Apache tomcat 5 on port 80 and everything work good in

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 an

Re: [OT] Servlet Filtering & performance..

2007-03-06 Thread prt
u. (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

Re: [OT] Servlet Filtering & performance..

2007-03-06 Thread prt
ur check would be based on your > check algorithm. (http://en.wikipedia.org/wiki/Big_O_notation) > > -Tim > > prt wrote: >> Hi to all again, >> >> I added filter object for all requests /*. >> In the Filter class i check the ServletPath >> (HttpServletR

Servlet Filtering & performance..

2007-03-06 Thread prt
Hi to all again, I added filter object for all requests /*. 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 ? Thank you. -- View this

Re: [OT] server.xml configuration..

2007-03-06 Thread prt
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, >> Where i

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 ac