2009/12/23 Mike Power :
> This is not useful information I have read this.
>
> It does not answer my specific question.
> Is it or is it no wrong for a read request via
> java.lang.System.getProperties to trigger an access request for both read
> and write permissions?
>
>
> Konstantin Kolinko wro
Hi Johan
Two JSESSIONID values does look odd. I've seen problems like this when
another server running a Java J2EE servlet container incorrectly had its
JSESSIONID cookie scope set to the whole domain, rather than scoped to the
server and application. In my case it was a SAP web server, and th
This is not useful information I have read this.
It does not answer my specific question.
Is it or is it no wrong for a read request via
java.lang.System.getProperties to trigger an access request for both
read and write permissions?
Konstantin Kolinko wrote:
2009/12/23 Mike Power :
2009/12/23 Mike Power :
> I am not sure if I am reading the stack trace right. I have a war that
> is trying to read its configuration from the system.properties.
>
> It seems that tomcat6 is apply read write checks on calls to
> java.lang.System.getProperties. Am I observing the details correctl
I am not sure if I am reading the stack trace right. I have a war that
is trying to read its configuration from the system.properties.
It seems that tomcat6 is apply read write checks on calls to
java.lang.System.getProperties. Am I observing the details correctly?
That seems to be the wrong pe
[SpotVogue.com]Nice Wedding Dresses On sale, Stunning Selection Of Styles
SpotVogue.com provides the best [url=http://www.spotvogue.com]china
products[/url] online and [url=http://www.spotvogue.com]china
wholesale[/url] service. Now the [url=http://www.spotvogue.com]china
products[/url] offered
We run two tomcats on the same Windows Server 2008 box. They have their
server.xml tweaked so that they use unique ports. Here's a diff:
$ diff server.xml /cygdrive/c/Program\ Files/Apache\ Software\
Foundation/Tomcat\ 6.0/conf/server.xml
22c22
<
---
>
67c67
<
---
>re
Bruce wrote:
Juha,
The problem is fixed. My customer's site has been up for 24 hours with
no problems.
The problem became apparent when I went to the JVM line in
localhost:8080/manager/status. That was showing .5 MB free memory.
I went to the configure Tomcat. I clicked on the Java tab. Se
Hello,
Indeed that was it!
I moved the flash into another folder that is not protected, and now it
works.
Thanks you!
Bye
vpapado wrote:
>
> Hello,
>
> I have a problem authenticating my users with j_security_check
> interworking with a flash on my login.jsp page.
>
> Here is how things go
Juha,
The problem is fixed. My customer's site has been up for 24 hours with
no problems.
The problem became apparent when I went to the JVM line in
localhost:8080/manager/status. That was showing .5 MB free memory.
I went to the configure Tomcat. I clicked on the Java tab. Set the
"Initia
Is there any other hardware/software between tomcat and the checking
box? Load balancer, app firewall ?
On 12/22/09, DOrlov wrote:
>
>
>
> anthonyvierra wrote:
>>
>> Has the issue come from a single server? Or do you have a second
>> machine producing the same result?
>>
>>
>
> I have another pro
anthonyvierra wrote:
>
> Has the issue come from a single server? Or do you have a second
> machine producing the same result?
>
>
I have another production box with different code, but same TomCat
configuration. And time to time I have the same issues.
TomCat server side code on another bo
Has the issue come from a single server? Or do you have a second
machine producing the same result?
On 12/21/09, DOrlov wrote:
>
> Hello.
> I have TomCat server on production and have from 80 up to 400 requests per
> second.
>
> In server.xml I have next connector description:
>
>
On 22/12/2009 12:55, Rainer Jung wrote:
On 22.12.2009 13:26, DOrlov wrote:
Rainer Jung-3 wrote:
You can add "%D" to the pattern for the omcat access log, which will
output the response time in milliseconds how Tomcat determined it.
Already done for most cases values are 0,1,2 ms
Max valu
On 22.12.2009 13:26, DOrlov wrote:
Rainer Jung-3 wrote:
You can add "%D" to the pattern for the omcat access log, which will
output the response time in milliseconds how Tomcat determined it.
Already done for most cases values are 0,1,2 ms
Max value which I ever find in the log ~ 20 ms
Rainer Jung-3 wrote:
>
>
>
> You can add "%D" to the pattern for the omcat access log, which will
> output the response time in milliseconds how Tomcat determined it.
>
> Already done for most cases values are 0,1,2 ms
> Max value which I ever find in the log ~ 20 ms
>
>
--
View this m
On 22.12.2009 13:13, DOrlov wrote:
Pid Ster wrote:
Looks OK.
When you say the response takes 5s, how are you measuring this?
Is it sustained, or is it occasional?
Is the server heavily loaded at the time - and again how are you
measuring that?
What else could be happening? E.g. sending
Pid Ster wrote:
>
>
> Looks OK.
>
> When you say the response takes 5s, how are you measuring this?
>
> Is it sustained, or is it occasional?
>
> Is the server heavily loaded at the time - and again how are you
> measuring that?
>
> What else could be happening? E.g. sending mail from ap
On 22.12.2009 12:58, Pid wrote:
On 22/12/2009 11:34, DOrlov wrote:
Pid Ster wrote:
Any chance you can upgrade to the most recent Tomcat?
How much total physical RAM do you have?
Examine the heap "jmap -heap", and post the results.
I have 8Gb RAM on the machine.
PS Old Generation
4
On 22/12/2009 11:34, DOrlov wrote:
Pid Ster wrote:
Any chance you can upgrade to the most recent Tomcat?
How much total physical RAM do you have?
Examine the heap "jmap -heap", and post the results.
I have 8Gb RAM on the machine.
PS Old Generation
47.376815763383185% used
PS Pe
Pid Ster wrote:
>
> Any chance you can upgrade to the most recent Tomcat?
>
> How much total physical RAM do you have?
>
> Examine the heap "jmap -heap ", and post the results.
>
>
>
I have 8Gb RAM on the machine.
Jmap heap:
JVM version is 14.3-b01
using thread-local object allocation.
On 22/12/2009 10:18, DOrlov wrote:
Pid Ster wrote:
What about the exact versions of your OS, JVM and Tomcat?
Is your OS a 64bit one?
Correct, I use 64bit machine.
JVM:
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
OS:
I here add some info from Firebug which may be significant.
'GET localhost:8080/wap-app/start.action':
CookieJSESSIONID=9726CDF4A527E3D98451140AB69EFA2C;
JSESSIONID=BEED739340DDD4370C85A9D12917692A
'GET localhost:8080/webdav/images/.../1px.gif':
CookieJSESSIONID=BEED739340DDD4370C85A9D12917
The issue now boils down to the following a bit strange thing. Any idea why
this happens ?
- request.getSession() returns an incorrect null on Linux, but on Windows
it's OK - under the following circumstances:
When using Firebug on Firefox I noted that a corporate common .css
references a 1-pixe
Pid Ster wrote:
>
> What about the exact versions of your OS, JVM and Tomcat?
> Is your OS a 64bit one?
>
Correct, I use 64bit machine.
JVM:
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
OS:
[root@ ~]# uname -mrsn
Linux 2
Leon Rosenberg-3 wrote:
>
>
> Hello,
>
> I have a lot of high performance sites (2000 requests per second and
> more) under my 'umbrella' but have never
> encountered any performance problems because of the gc logging (yet).
>
> btw add
> -Xloggc: logfilename
> to move gc logs into separate
On 22/12/2009 09:13, Peter Chen wrote:
Hi,
In a JSP file, there is a sentence like this:
ServletContext sc = this.getServletContext().getContext("/File");
if(sc == null){
Logger.warn(msg,"Can't get the context of /File.");
return;
}
What's the mean of this sentence?
Ask the author o
On Tue, Dec 22, 2009 at 9:10 AM, DOrlov wrote:
>
>
>
> Leon Rosenberg-3 wrote:
>>
>> Hello,
>>
>> you should switch on GC logs and check whether the delays happen at
>> the Full GC Time.
>> You should also start with Xms = Xmx -> both 6144 (why exactly 6144? :-)
>> ).
>>
>> -verbose:gc
>> -XX:+Pri
Peter Chen wrote:
Hi,
In a JSP file, there is a sentence like this:
ServletContext sc = this.getServletContext().getContext("/File");
if(sc == null){
Logger.warn(msg,"Can't get the context of /File.");
return;
}
What's the mean of this sentence?
Now, I run this application in Tomc
Thanks Ingo, Chris,
Out of curiosity, I had tried the fake Application or fake docBases root
approach mentioned by Ingo. It worked for me on Tomcat 5.5.17 and Windows XP.
My fakeApp.xml (context.xml) was :
I copied this into the directory:
TOMCAT_DIR/conf/Catalina/localhost
C:\\temp\\fake
On 22/12/2009 08:58, Vishwa. K wrote:
> thanks Mark,
>But I was wondering why Tomcat did not remove the complete directory
> itself.(softlink target directory). It removed only the nested files in it
> during undeployment of the application.
No idea. Permissions maybe? If that isn't it you'd
On 21/12/2009 21:50, vpapado wrote:
Hello,
I have a problem authenticating my users with j_security_check interworking
with a flash on my login.jsp page.
Here is how things go:
I use j_security_check method to authenticate my users.
As a result, I have assigned a login.jsp page where I have a
On 22/12/2009 05:48, DOrlov wrote:
Zacheusz Siedlecki-2 wrote:
This could be problem with memmory and GC. Please show your jvm
memmory settings.
Regards,
Zacheusz
Thank you for reply, I use next memory and GC settings:
-Xms1024m -Xmx6144m -XX:MaxPermSize=512m
Hi,
In a JSP file, there is a sentence like this:
ServletContext sc = this.getServletContext().getContext("/File");
if(sc == null){
Logger.warn(msg,"Can't get the context of /File.");
return;
}
What's the mean of this sentence?
Now, I run this application in Tomcat5.5, and find the l
I've successfully enabled the apr native on linux CentOS 32 bit following
some simple steps:
Install apr and openssl dev required files
yum install openssl-devel apr-devel
Install jdk, tomcat and set JAVA_HOME; accordlin to my conf JAVA_HOME is
/usr/java/latest and tomcat is in /home/tomcat/tomca
thanks Mark,
But I was wondering why Tomcat did not remove the complete directory
itself.(softlink target directory). It removed only the nested files in it
during undeployment of the application.
- Vishwa
--- On Fri, 12/18/09, Mark Thomas wrote:
> From: Mark Thomas
> Subject: Re: Tomca
Tomcat1 wrote:
hi,
i have Tomcat 6.0.20. i config server.xml to work with SSL. the problem is
that Tomcat shutdown after randomaly period of time and doesnt restart
again.
Hi.
It is not very clear what your problem is. You have to be a bit more
specific in your explanation.
Also tell us on w
Leon Rosenberg-3 wrote:
>
> Hello,
>
> you should switch on GC logs and check whether the delays happen at
> the Full GC Time.
> You should also start with Xms = Xmx -> both 6144 (why exactly 6144? :-)
> ).
>
> -verbose:gc
> -XX:+PrintGCTimeStamps
> -XX:+PrintGCDetails
>
Thank you for comme
Hello,
you should switch on GC logs and check whether the delays happen at
the Full GC Time.
You should also start with Xms = Xmx -> both 6144 (why exactly 6144? :-) ).
-verbose:gc
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
regards
Leon
On Tue, Dec 22, 2009 at 6:48 AM, DOrlov wrote:
>
>
>
> Za
39 matches
Mail list logo