Dear Tomcat,
I meet a problem when config a web project which using the form based
security in clustering.
When I set session affinity = true in my front http server, the security
check was done in single node, there is no problem with that.
But if I set affinity = false, the requests from the se
Hi Friends,
I tried to upgrade my tomcat server from 5.x to 6.x, when i started the
server am getting the following error.
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)
My tomcat version: apache-to
HelloI am using an application which is using Tomcat. My application
takes sometime to perform an operation ( more than a hour), in the mean time
I just display a progress message in the browser. However after sometime (
after about 50-55 minutes), the server throws an error saying " Internal
S
> From: WILLIAMer [mailto:william.tz...@echannelopen.com.tw]
> Subject: Re: tomcat & url rewrite
>
> The error like the path is mapping incorrectly.
What do you have in WEB-INF/web.xml for your webapp?
> I set my application to be ROOT.
How?
> Why i say http://myDomain/item_pd12/34.html let me
But it seems not relate to my problem here, as I tried both ways. I also try
to close the response writer in addition to closing the event. Is that
necessary?
Another question is that why the TIMEOUT error keeps coming every few
seconds? Is it something intrinsic with the XMLHttpObject or ActiveXOb
Hi, Christopher Schultz-2
Let me say sorry for i didnt description the error.
The error like the path is mapping incorrectly.
So the image or css are not display because of the path not find.
A part of my application structure like under
/tomcat/webapps/myApp/images
I am convinced somewhere in code, these connections are never returned
to the pool (closed from the app's point of view) and that's why you
have this problem . It's out of the pool's control what happens to the
connection while it's out on loan. Unfortunately I've never had the
chance to look int
Yes i have validation query specified. In developement we are having the same
environment and settings there it is working fine without any issues.
But in testing environment we are having this issue. Cannot figure it out why
throught log files. One more exception we can find in log file is that
Sorry about that, I didn't catch that last e-mail.
I will do some testing to see if my observations agree with yours.
Thanks!
RDP
--- On Wed, 9/16/09, Caldarale, Charles R wrote:
> From: Caldarale, Charles R
> Subject: RE: Change redirect to SSL behavior?
> To: "Tomcat Users List"
> Date: We
I think we will add the roles to AD and use AD to do the authorization as well.
Because of the naming convention applied in the agency, we need to map the role
defined in AD to the security-role defined in the web application. What is the
best approach? I am thinking about using
securit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 9/14/2009 3:33 PM, André Warnier wrote:
> John Chen wrote:
>> Apache front-end will do the authentication, does tomcat still use
>> tomcat-users.xml for the authorization part?
>
> I am not quite sure.
I'm not sure which is the important pa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chetouani,
On 9/15/2009 6:38 PM, Chetouani wrote:
> Thanks for your answer.
>
> At the moment I don't have the stack trace but it something like
>
> # com.mysql.jdbc.CommunicationsException: Communications link failure due to
> underlying exceptio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
William,
On 9/15/2009 9:45 PM, WILLIAMer wrote:
> There is no error with url rewrite.
> For item "pd1234",
> The url would be http://myDomain/item_pd1234.html and its fine.
Ok.
> For item "pd12/34"
> The url would be http://myDomain/item_pd12/34.htm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alberto,
Please post to the list, rather than writing to me directly.
On 9/16/2009 1:19 PM, atroi...@infomedica.it wrote:
> i' am lookng for a way to resume Tomcat timed-out sessions after a re-logon.
>
> So i found this interesting thread where you
> From: Roger David Powers [mailto:prog...@yahoo.com]
> Subject: Re: Change redirect to SSL behavior?
>
> Second try: any input?
You already got the answer, which you appear to be ignoring.
http://marc.info/?t=12520055853&r=1&w=2
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
Second try: any input?
A workaround would seem to be to not configure the ssl
connector till it is needed, but doing that requires
a restart of tomcat (right?) which is too disruptive
in my environment.
--- On Thu, 9/3/09, Roger David Powers wrote:
> From: Roger David Powers
> Subject: Change
The 'manager' web app status page gives the number of
threads in use by connector.
Try hitting http://a.b.c.d/manager/status to bring up
this page.
I've also used JMX and jconsole to monitor such things.
I used chapter 16 of "Professional Apache Tomcat 6" as
a reference of how to use JMX with T
> From: Gaurav Lohiya [mailto:gloh...@gmail.com]
> Subject: Re: Re : How do I get hold of Tomcat JDBC pool lib
>
> What is c3p0?
http://lmgtfy.com/?q=c3po+dbcp
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended r
What is c3p0?
On Wed, Sep 16, 2009 at 11:20 AM, Chetouani wrote:
> What about c3p0 ?
>
> --- En date de : Mer 16.9.09, Gaurav Lohiya a écrit :
>
> De: Gaurav Lohiya
> Objet: How do I get hold of Tomcat JDBC pool lib
> À: users@tomcat.apache.org
> Date: Mercredi 16 Septembre 2009, 17h18
>
> Hi,
Hi Filip,
Did log files attached help?
Thanks,
Sumedh
On Mon, Sep 14, 2009 at 2:38 PM, Sumedh Sakdeo wrote:
> Hi Filip,
> Please find the logs in attached file.
>
> Thanks in advance,
> Sumedh
>
>
>
> On Wed, Sep 9, 2009 at 9:22 AM, Filip Hanik - Dev Lists <
> devli...@hanik.com> wrote:
>
>> wh
On 09/14/2009 03:42 AM, Davy NESTOR wrote:
It didn't work.
I used the sessionExample.jsp page from the tomcat exemple directory.
does it use serializable attributes?
I go to http://serv-1/sessionExample.jsp and
http://serv-2/sessionExample.jsp to check if my session if the same.
Is it the g
On 09/13/2009 06:51 PM, Hacking Bear wrote:
On ERROR with subtype other than DISCONNECT, I just ignore it, i.e. no call
to event.close() nor trying to close the streams.
an error means you should always close, or you can leave a thread
spinning call error over and over again, you can't hold on
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> what good does it do to set this value?
Unless I've got extremely predictable behavior from my webapps that never
varies with time, load, phase of the moon, or whatever, I wou
Just to make the picture complete, it can also be done with Apache +
mod_auth_kerb + mod_jk. It does require some steps and the most tricky one is
getting a proper Kerberos Service key from MS ADS. We've done it, so it is not
really a big deal. However, people tend to state that TC is as good at
>> I stated before, I don't think the MaxNewSize option is available
>> anymore. You should be using NewRatio instead.
>MaxNewSize is still functional in 1.6; haven't looked in 1.7.
Chuck, what good does it do to set this value?
Is it any better than setting NewRatio?
***
I have similar problem.
However since I use JSF all my links and references are defined in
faces-config.xml file.
${pageContext.request.contextPath} is not very clean solution since one
definitely do not want this statements across all JSPs, Servlets, config
files, etc.
For example in Oracle Ap
That's why I said he could look into it.
Didn't say it was the best, just if he could.
It works great for me, but I've got better control over the apps then
most folks, probably.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, September 1
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> It appeared each app loaded its own version of the library
> into PermGen
That is correct, since each webapp has its own classloader.
> I stated before, I don't think the MaxN
Yes I defined the test query as well but it didn't fix the pb
The issue was fixed with the maxConnectionAge parameter
The exception was :
# com.mysql.jdbc.CommunicationsException: Communications link failure due to
underlying exception:
#
# ** BEGIN NESTED EXCEPTION **
#
# java.net.SocketEx
OK, thanks for clearing that up. Wish Sun was as clear.
That does explain why I had issues with 32-bit Windows. (not my 1st OS
choice)
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, September 16, 2009 10:06 AM
To: Tomcat Users List
Sub
Yep, keep monitoring them. Watch the size of PermGen over time. It will
grow as new methods and classes are called.
I was kinda specifically referring to my own situation ("too may
classes"), where I had the same app loaded into multiple instances each
with their own copies of the dependant 3rd-p
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> Here's another Sun doc that specifically states that PermGen is an area
> of the Heap.
Paper != code. PermGen is logically part of the overall heap, but its size is
not inclu
Do you have the validation query specified. I believe putting in the
validation query should solve the problem.
On Wed, Sep 16, 2009 at 11:17 AM, Chetouani wrote:
> Hi,
>
> I had a similar problem.
> I was using tomcat and mysql and configured a connection pool using dbcp.
> The problem was that
What about c3p0 ?
--- En date de : Mer 16.9.09, Gaurav Lohiya a écrit :
De: Gaurav Lohiya
Objet: How do I get hold of Tomcat JDBC pool lib
À: users@tomcat.apache.org
Date: Mercredi 16 Septembre 2009, 17h18
Hi,
I recently heard about the new Tomcat JDBC library, an alternative for the
DBCP lib
Hi,
I recently heard about the new Tomcat JDBC library, an alternative for the
DBCP lib. We see concurrency issues with the DBCP lib and are desperately
looking for a lib which can work in a highly concurrent application.
Had some questions about this lib...
1. Can this library be used with Tomca
Hi,
I had a similar problem.
I was using tomcat and mysql and configured a connection pool using dbcp.
The problem was that after some hours the application starts to throw an
exception.
The exception was : communication link failure
The reason is that mysql is destroying the connectionz after s
> From: Bruce Wayne [mailto:chur...@gmail.com]
> Subject: Re: java.lang.OutOfMemoryError: PermGen space
>
> What's "too many classes" ?
More than will fit in PermGen.
> Heap usage is around 1GB.
You need to be more specific; post the sizes for each portion of the heap,
including PermGen. Also
Here's another Sun doc that specifically states that PermGen is an area
of the Heap.
http://java.sun.com/j2se/reference/whitepapers/memorymanagement_whitepap
er.pdf
Scroll down to page 17.
But for my own assurance, I'll crank up JConsole on one of my known
configurations and check for myself.
Jeff
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> See my other posts, I did re-read the tuning guide and it specifically
> states PermGen is part of Heap.
The total heap (NewGen + OldGen + PermGen) is allocated in one contiguo
See my other posts, I did re-read the tuning guide and it specifically
states PermGen is part of Heap.
-Original Message-
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Sent: Wednesday, September 16, 2009 9:34 AM
To: Tomcat Users List
Subject: RE: java.lang.OutOfMemoryError: Pe
What's "too many classes" ? I have JConsole running, and I see that across
my 8 apps on one server, 14,000 classes are loaded. Heap usage is around
1GB.With the settings below, I am not seeing PermGen errors as of yet,
although it's too early to tell, I will have to let the app run for 24
hours.
JA
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> Something else Bruce can look into is if his apps are using common jar
> files that can be loaded into Shared space.
That's almost always a bad idea, since it usually makes rel
Turned out to be the load-balancer in front of the server farm...thanks
for helping out.
On Wed, Sep 16, 2009 at 10:11 AM, Michael Ludwig wrote:
> Bruce Wayne schrieb:
>
>> Users keep getting logged out of our Java apps within a minute or two
>> for no apparent reason.
>>
>
> All of your app
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> I couldn't tell from the post if the Architecture line meant hardware,
> OS, or JVM.
A little experimentation will show that the value is dependent on the mode of
the JVM, des
Charles -
Of course, a quick review of the doc I provided, proved me wrong on the
Heap/PermGen issue.
I admit not having re-read the memory tuning guide in a while (maybe
since 1.4 days).
Jeff
-Original Message-
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
Sent: Wednesday, Se
Charles -
My other post didn't make it back yet.
Now I'm getting confused, because the same doc I referenced below, which
treats Heap and PermGen separately in Appendix B, says this in Chapter
3:
"The detail message PermGen space indicates that the permanent
generation is full. The permanent genera
Chuck -
I couldn't tell from the post if the Architecture line meant hardware,
OS, or JVM. And I'm under the impression from multiple re-reads of the
Java tuning docs that ALL generations are drawn from the heap, including
PermGen.
Yes, using Jconsole or better is what he needs to do.
Bruce-
Here
Caldarale, Charles R wrote:
>> From: Phani Raj Kumar [mailto:bphanirajku...@gmail.com]
>> Subject: ThreadPool logFull issue
>>
>> org.apache.tomcat.util.threads.ThreadPool logFull
>>
>> SEVERE: All threads (150) are currently busy, waiting.
>
> Take a thread dump and find out what the threads are
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com]
> Subject: RE: java.lang.OutOfMemoryError: PermGen space
>
> You don't say if the JVM is 32-bit or 64-bit
Actually, he did:
> Architecture: amd64
> JVM Version:1.6.0_16-b01
> JVM Vendor: Sun Microsystems Inc.
The architecture
Bruce Wayne schrieb:
Users keep getting logged out of our Java apps within a minute or two
for no apparent reason.
All of your apps? How many? All different? Do they share some
configuration?
The reason for this is likely to be found in your applications, not in
the OS or the JVM.
I have tri
Users keep getting logged out of our Java apps within a minute or two for no
apparent reason.Below are my settings, any help would be appreciated.
I am running Red Hat Linux 2.6.18-164.el5 #1 SMP x86_64 x86_64 x86_64
GNU/Linux with Tomcat 6 as seen below:
# /opt/tomcat/bin/version.sh
Using CATALI
Bruce -
You don't say if the JVM is 32-bit or 64-bit, but assuming the latter:
1) By splitting the Heap in half between NewGen and PermGen, you are
leaving no room for OldGen, and I'm sure java is going to want to set
aside some space for OldGen. So you are probably getting the error
because there
On Wed, Sep 16, 2009 at 3:11 AM, Tobias Crefeld wrote:
> Am Tue, 15 Sep 2009 15:00:39 -0500
> schrieb sharda k :
>
> >- User ids are being stored in LDAP
> >- User credentials(password) are being stored in Active Directory
> > (AD).
> >- User roles are gain being stored in LDAP
>
> An
You've closed a connection too early somewhere?
-Original Message-
From: Sharath Babu S S S [mailto:sharath.b...@solix.com]
Sent: Wednesday, September 16, 2009 4:52 AM
To: users@tomcat.apache.org
Subject: Connection Closed Issue
Hi all,
we are using Tomcat server 5.5.20. Database is 9
> From: Phani Raj Kumar [mailto:bphanirajku...@gmail.com]
> Subject: ThreadPool logFull issue
>
> org.apache.tomcat.util.threads.ThreadPool logFull
>
> SEVERE: All threads (150) are currently busy, waiting.
Take a thread dump and find out what the threads are doing. (The "logFull"
notation is
> From: Bruce Wayne [mailto:chur...@gmail.com]
> Subject: java.lang.OutOfMemoryError: PermGen space
>
> I keep getting the following error:
> java.lang.OutOfMemoryError: PermGen space
1) Use JConsole or equivalent to verify that you are actually using 1G of
PermGen.
2) Turn on -verbose:class ju
Hi Friends,
I have found an exception(
org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (150) are currently busy, waiting. Increase maxThreads
(150) ) in my Tomcat server in last weekend. Ideall no body was using the
application that time and this error came up. Could you p
what pidster said was correct about deploying webapps
if you absolutely need to retain the picture images then
you can set the permissions for only user root have access to image.img1
cacls WEB-INF /P root:F
unix
chown root /tomcat/webapps/webapp1/WEB-INF/image.img
HTH
Martin Gainty
__
Hi Pid,
Thanks for your reply and sorry for the delayed ack.
Basically we are creating a softlink to a directory (containing some sound
files quite large in size) inside the webapps/project/jsp which we don't want
to put directly under the application's project directory.
Is there any other se
Use a ServletContextListener
On Sep 16, 2009, at 12:28 AM, joea88 wrote:
I need to run some processes which access own server, so I need to
know when
the tomcat has fully started and ready to serve.
I tried Servlet and doesnt work. There must be some interface or class
notify when the serv
Hello,
I am running Red Hat Linux 2.6.18-164.el5 #1 SMP x86_64 x86_64 x86_64
GNU/Linux with Tomcat 6 as seen below:
# /opt/tomcat/bin/version.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.6.0_
On 15.09.2009 15:32, balakarthik.baska...@wipro.com wrote:
> Hi Rainer,
>
> The other possible configuration that I think probably we might be
> lacking/quite different is that we are loadbalancing the requests among
> 240 worker nodes each pointing to one app instance (all app instances
> availab
On 15.09.2009 14:50, balakarthik.baska...@wipro.com wrote:
> I tried with all the configuration that you defined and am still able to
> simulate the partial content when I make the code to sleep for a time
> greater than the time defined in the reply timeout.
Yes, that's expected when using a repl
well well...
I still get
Sep 16, 2009 12:58:15 PM org.apache.coyote.http11.Http11AprProtocol start
SEVERE: Error starting endpoint
java.lang.Exception: Socket bind failed: [22] Invalid argument
while the listener is really commented in server.xml (both CATALINA_HOME and
BASE to be sure) (So I do
On 15/09/2009 22:42, George Sexton wrote:
Asking the same question a different way will not yield a different result.
You're going to have to figure that out yourself.
@Sharda
If you need to do something more complex than configure an existing
Realm, ie implement your own JAASRealm, there is
joea88 wrote:
> I need to run some processes which access own server, so I need to know when
> the tomcat has fully started and ready to serve.
>
> I tried Servlet and doesnt work. There must be some interface or class
> notify when the server has started.
Take a look at the first few entries in
Hi all,
we are using Tomcat server 5.5.20. Database is 9.0.28.
After starting tomcat and using our application after sometime we are getting
the following error:
Can anyone suggest me, its really very urgent
Thread 78: SQLException While Purging the Selected Data From Source Table
java.sql.S
Am Tue, 15 Sep 2009 15:00:39 -0500
schrieb sharda k :
>- User ids are being stored in LDAP
>- User credentials(password) are being stored in Active Directory
> (AD).
>- User roles are gain being stored in LDAP
And how are ADS-credentials and LDAP'S "IDs" synchronized?
Why don't you p
68 matches
Mail list logo