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
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
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
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
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
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
.
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
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
:
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
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 ?
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
?
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
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
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
14 matches
Mail list logo