Hello Youssef
My understanding was that Tomcat 6 uses a data source factory to
create the data source, and uses Jakarta Commons DBCP to supply a data
source factory and implement connection pooling.
My configuration of the javax.sql.DataSource mimics:
http://tomcat.apache.org/tomcat-6.0-doc
people were suffering from this exception in hibernate forums, it was
suggested to switch from DBCP to c3po.
Note also that the config you provided is not using any pooling at all.
Datasources are not pooled by default.
On Sat, Jun 21, 2008 at 8:18 AM, Thomas Haines <
[EMAIL PROTECTED]> wrote:
>
Hello
I am experiencing a reproducible problem with connection pooling in
Tomcat, although I suspect it is not a Tomcat issue per se.
I am running:
mysql server 5.0.58
tomcat 6.0.16
mysql connector 5.1.6
java version 1.5.0_13
all on CentOS 5
The following error occurs when there has been no
"Mathias P.W Nilsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Don't know how to get rid of this
>
Don't take so long to generate the page that your users get bored and move
on to utube ;)?
Seriously, the error is that the user has moved on to a different page (e.g.
cli
correction gain ! WAS not WSAD.
On Sat, Jun 21, 2008 at 1:58 AM, Youssef Mohammed <
[EMAIL PROTECTED]> wrote:
>
> > no way ! well at least in our apps a major bank in the
>> > region. we have done extensive tests and we got 10% - 20%
>> > performance gain.
>>
>> Since you're dealing with bankin
> > no way ! well at least in our apps a major bank in the
> > region. we have done extensive tests and we got 10% - 20%
> > performance gain.
>
> Since you're dealing with banking information, I suspect much of your
> traffic is via SSL. Turn on the APR connector in Tomcat with OpenSSL and
> try
> From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
> Subject: Re: How to turn off Etag headers?
>
> no way ! well at least in our apps a major bank in the
> region. we have done extensive tests and we got 10% - 20%
> performance gain.
Since you're dealing with banking information, I suspect much
corrected
On Sat, Jun 21, 2008 at 1:44 AM, Youssef Mohammed <
[EMAIL PROTECTED]> wrote:
> On Sat, Jun 21, 2008 at 1:29 AM, Caldarale, Charles R <
> [EMAIL PROTECTED]> wrote:
>
>> > From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
>> > Subject: Re: How to turn off Etag headers?
>> >
>> > Although
On Sat, Jun 21, 2008 at 1:29 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
> > Subject: Re: How to turn off Etag headers?
> >
> > Although I don't really see a point on not having apache in a real
> > deployment.
>
> Because adding httpd
> From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
> Subject: Re: How to turn off Etag headers?
>
> Although I don't really see a point on not having apache in a real
> deployment.
Because adding httpd makes things slower. Read the recent threads about
performance comparisons.
- Chuck
THIS C
On Sat, Jun 21, 2008 at 1:12 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
> > Subject: Re: How to turn off Etag headers?
> >
> > if you are running behind apache ..
>
> Did you read the original message?
>
Sorry I missed that. So doing
> From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
> Subject: Re: How to turn off Etag headers?
>
> if you are running behind apache ..
Did you read the original message?
> > No other apps run on the server, for example, there
> > is no Apache httpd running.
- Chuck
THIS COMMUNICATION MAY CON
if you are running behind apache .. you can turn that off using the
mod_headers ... you can unset any headers then.
On Fri, Jun 20, 2008 at 8:37 PM, Dave Girardin <[EMAIL PROTECTED]> wrote:
> Group,
>
> I'm a Unix admin working on a Solaris 8 server running Tomcat 6.0.16. No
> other apps run on t
any static file in your WAR can be accessed thru a URL
eg. the file.png in the root directory in you site.war can be accessed
thru http://localhost:8080/site/file.png
On Fri, Jun 20, 2008 at 7:49 PM, Vinay Chilakamarri <
[EMAIL PROTECTED]> wrote:
> Hi,
> >
> > I want to send a response(whi
> From: Johannes Schmidt [mailto:[EMAIL PROTECTED]
> Subject: Re: Getting Tomcat 6 to compile JSP with Java 1.6
>
> Again, apologies for the time wasting (believe me, I really am sorry
> that I wasted so much time -- I've been up all night -- it's almost 6
> am here now).
No apologies necessary.
2008/6/21 Caldarale, Charles R <[EMAIL PROTECTED]>:
>> From: Johannes Schmidt [mailto:[EMAIL PROTECTED]
>> Subject: Getting Tomcat 6 to compile JSP with Java 1.6
>>
>> I have just spent 4+ hours trying to get Tomcat 6(.0.14) to compile my
>> JSPs with Java 1.6. I have googled, found some things an
> From: Johannes Schmidt [mailto:[EMAIL PROTECTED]
> Subject: Getting Tomcat 6 to compile JSP with Java 1.6
>
> I have just spent 4+ hours trying to get Tomcat 6(.0.14) to compile my
> JSPs with Java 1.6. I have googled, found some things and tried, but
> have had no luck getting it to work.
I th
Turns out the multiple / in the context path wasn't a problem. However, its
not capturing the System.out and System.err associated with the webapps.
An empty file is created, but the System. stuff keeps going to
Catalina.out. And i've set the swallowOutput attribute to true, so that
functionality
Hello,
I have just spent 4+ hours trying to get Tomcat 6(.0.14) to compile my
JSPs with Java 1.6. I have googled, found some things and tried, but
have had no luck getting it to work.
I found a page with instructions on getting Tomcat 5.5 running with
Java 1.5 (a page linked to from several post
> From: Dave Girardin [mailto:[EMAIL PROTECTED]
> Subject: How to turn off Etag headers?
>
> Impact: Among the file attributes included in the header
> is the file inode number that is returned to a client.
Although paranoia is often helpful when analyzing security risks, I think your
assessment
André Warnier wrote:
To attempt a summary of the discussions so far, it sems that there are
two distinct groups : Tomcat developers, and Tomcat users,
There might be two lists but I don't think it is quite that simple. The
standard ASF definitions can be found here
http://www.apache.org/foundat
Group,
I'm a Unix admin working on a Solaris 8 server running Tomcat 6.0.16. No
other apps run on the server, for example, there is no Apache httpd running.
I have been tasked with turning off Etag headers. Our security folks have
supposedly identified this security vulnerability, note that is say
Hi,
>
> I want to send a response(which is basically a file on the disk) to a
> specific URL pattern. While I know that we could do this using directives in
> Apache HTTPD, I am not sure how to do this on Tomcat. I could see that we
> can map Servlets to a URL pattern. Is there a way that we can ma
> From: Olivier Fourel [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5 hanging & locked thread
>
> i thought the locked keyword was indicating a
> lockedk thread as in tle lines below
In order to do an Object.wait() call, the thread must first synchronize on
(lock) the object of interest, so
> From: Olivier Fourel [mailto:[EMAIL PROTECTED]
> I have no other lock description in my thread dump.
But you may still have stuck threads, for example waiting on database
connections. Not all sources of waiting threads require a lock.
- Peter
-
>
>
> The threads you extracted look perfectly normal - they're in the thread
> pool, waiting for requests to show up. You need to be looking at the other
> threads that may be stuck or looping somewhere else. If you have database
> connections, make sure those are functional and not all consumed
Cris,
Thanks a lot for the information. I will download the softwares and play
around.
Great tips are always welcome as well as great explanation..
Thanks a lot,
Best Regards,
Bruno
On Fri, Jun 20, 2008 at 12:04 PM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno,
Bruno Vilardo wrote:
| If it was Linux or Unix, or could use the command split to split the
file in
| small pieces so that you can read.
'split' is a GNU utility (part of coreutils) which is not specific to
GNU/Linux. There are windows versio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
| http://host:8000/theApp vs http://host:8080/theApp or whatever ports
| he uses? :-)
Oh, right. Duh!
Yeah... I think he's kinda screwed.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: U
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Emerson,
emerson cargnin wrote:
| I saw that in the server.xml web.xml validation is disabled. And with
| the comment:
|
| Note: XML Schema validation will not work with Xerces 2.2
|
| The thing is, I can't see any xerces library inside tomcat. I hav
If it was Linux or Unix, or could use the command split to split the file in
small pieces so that you can read.
Not so sure on windows env.
Just my 2 cents...
On Fri, Jun 20, 2008 at 10:55 AM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Zaher Srour [mailto:[EMAIL PROTECTED]
>
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Logging contexts with multiple / in path attribute
>
> Does this really capture use of System.out and System.err? Cool! I
> didn't know that!
Isn't that just a result of setting swallowOutput to "true" for the ?
- Chuck
THIS
On Fri, Jun 20, 2008 at 4:16 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Zsolt,
>
> Zsolt Koppany wrote:
> | Our customer has two tomcats because one instance is the production
> version
> | of our application and the second one is a test
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
I know you've posted before, but could you remind us of your TC version?
Jonathan Mast wrote:
|
|
| Specifically, how do I reference this webapp in the logging.properties
| file? For contexts with just a single slash in their path:
|
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kuman,
Kumar Gaurav Srivastava wrote:
| i have my realm configuration in server.xml, every thing is fine i can
| login. but when i try to login the next morning it gives error
|
| SEVERE: Exception performing authentication
| javax.naming.NoInitialCo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zsolt,
Zsolt Koppany wrote:
| Our customer has two tomcats because one instance is the production
version
| of our application and the second one is a test instance of the new
version
| of the same application. Because of that the context-pathes are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lyallex,
Lyallex wrote:
| The problem comes when a superuser wants to remove a role from a user
| and that user may be logged in.
| What I need to be able to do is to view all the currently active
| sessions and log the relevant user out (by invalida
> From: Zaher Srour [mailto:[EMAIL PROTECTED]
> Subject: Re: very large catalina logfile...
>
> Am running a Java (5.0 update 6) web application on a MS
> server 2003 SE SP2.
Try this:
http://www.hhdsoftware.com/Products/home/hex-editor-free.html
I haven't tried it with anything as big as 23 GB,
Hi, Now I read the whole message :)
I tried to open the file with UltraEdit32 and Notepad++ 4.8.5 ..
The first gives am error, the other crashed.
Zaher
On Fri, Jun 20, 2008 at 3:33 PM, Zaher Srour <
[EMAIL PROTECTED]> wrote:
> Am running a Java (5.0 update 6) web application on a MS server 2003
Am running a Java (5.0 update 6) web application on a MS server 2003 SE SP2.
Thanks for you both for the quick reply.
Zaher
On Fri, Jun 20, 2008 at 3:03 PM, Youssef Mohammed <
[EMAIL PROTECTED]> wrote:
> Zaher pasha ..
> try this http://www.unicon.net/node/604
>
>
> On Fri, Jun 20, 2008 at 3:48
Bill,
The VPN and the ssh tunnels encrypt the traffic between the servers but anybody
with enough access can listen on the interface and intercept the traffic. For
example "ngrep -d tun0" would revile all the communications over Open VPN.
The encryption of the direct communications between the w
> From: Youssef Mohammed [mailto:[EMAIL PROTECTED]
> Subject: Re: very large catalina logfile...
>
> Zaher pasha ..
> try this http://www.unicon.net/node/604
The OP stated he was using 5.5.17, so providing configuration for the defunct
5.0 element isn't going to help.
OP: what platform are you
Junaid Arshad wrote:
Thanks!
I got this working. I guess the apxs2 that I installed using apt-get was
for apache2.2. This solved the problem but I am getting errors as:
/Invalid command 'logsJkLogFile', perhaps mis-spelled or defined by a
module not included in the server configuration/
Zaher pasha ..
try this http://www.unicon.net/node/604
On Fri, Jun 20, 2008 at 3:48 PM, Zaher Srour <
[EMAIL PROTECTED]> wrote:
> Hi all,
> Am new to Tomcat, have the following problem:
> The size of the *catalina.-mm-dd.log* file became so large that the
> server free space (23 GB) was fill
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:111)
It is in a spring classes filter , make sure your web app is configured
correctly to use spring/jsf/jpa.
you can also just comment that filter out from your web.xml. but you
Hi,
Try using a subdomain DNS eg myservice.mydomain.com that will resolve
internally to http://192.168.0.54 (behind router) and externally to
http://99.153.32.456(direct internet connection). The DNS Server should do
the rest - basically forward all requests from behind the router to the
given s
> From: Olivier Fourel [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5 hanging & locked thread
>
> I have a tomcat 5.5 server hanging in production mode.
> It seems we have threads that are never released and stay
> locked as shown in the extract below.
The threads you extracted look perfectly nor
Hi all,
Am new to Tomcat, have the following problem:
The size of the *catalina.-mm-dd.log* file became so large that the
server free space (23 GB) was filled with it
As you can see, a file of this size can't be opened to check the logged
info.
I couldn't find information about limiting cat
Don't know how to get rid of this
:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:619)
Caused by: jav
Junaid Arshad wrote:
Yes, that was true...:-) and I did corect it to make the two (apache and
tomcat) run but when I tried to access the location specfied by
"JkMount" i.e. a webpage etc. it was a 503 error: Service Temporarily
Unavailable
I checked both tomcat and apache WS, and, they were
Yes, that was true...:-) and I did corect it to make the two (apache and
tomcat) run but when I tried to access the location specfied by
"JkMount" i.e. a webpage etc. it was a 503 error: Service Temporarily
Unavailable
I checked both tomcat and apache WS, and, they were running good...
do y
Junaid Arshad wrote:
This solved the problem but I am getting errors as:
/Invalid command 'logsJkLogFile', perhaps mis-spelled or defined by a
module not included in the server configuration/
See
http://tomcat.apache.org/connectors-doc/reference/apache.html
for the list of known configurati
and in your common.xml file you can import as many config files are you
want. and here you can specify a class path resources
eg.
On Fri, Jun 20, 2008 at 2:24 PM, Youssef Mohammed <
[EMAIL PROTECTED]> wrote:
> you have to add this instead
> /WEB-INF
you have to add this instead
/WEB-INF/classes/common.xml
On Fri, Jun 20, 2008 at 1:38 PM, DCVer <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have strange problem. I am building standard web application (with
> Maven).
> The structure of the output WAR is as follows:
>
> WAR
> | - - META-I
Thanks!
I got this working. I guess the apxs2 that I installed using apt-get was
for apache2.2. This solved the problem but I am getting errors as:
/Invalid command 'logsJkLogFile', perhaps mis-spelled or defined by a
module not included in the server configuration/
I guess there is a prob
Hi all,
I have strange problem. I am building standard web application (with Maven).
The structure of the output WAR is as follows:
WAR
| - - META-INF
| | - - ...
|
| - - WEB-INF
| - - classes
| | - - compiled_classes
| | - - all_necessary_files (e.g. common.
hello everyone,
is anybody know why the oracle lib should be placed into the 'common/endorsed'
folder to be seen by BIRT ?
i put them into 'common/lib' and i had an sql error ...
thanks
fred
-
To start a new topic, e-mail: user
Junaid Arshad wrote:
Rainer Jung wrote:
Junaid Arshad wrote:
Hi All,
I've been trying to setup mod_jk1.2.15 with Apache2.0.63 and tomcat
5.5.23. After some hassle I was able to build mod_jk.so and did
modify the httpd.conf to say the location of the ".so" and
worksers.properties but when I
Rainer Jung wrote:
Hi Junaid,
Junaid Arshad wrote:
Hi All,
I've been trying to setup mod_jk1.2.15 with Apache2.0.63 and tomcat
5.5.23. After some hassle I was able to build mod_jk.so and did
modify the httpd.conf to say the location of the ".so" and
worksers.properties but when I tried to
Caldarale, Charles R wrote:
From: Pid [mailto:[EMAIL PROTECTED]
Subject: Re: JSESSIONID doesn't contain the port
The problem is that the TC1 sets a value of JSESSIONID that does not
exist in TC2.
Go back and reread the original post. There's only one instance of Tomcat, but there
are two el
Hi Junaid,
Junaid Arshad wrote:
Hi All,
I've been trying to setup mod_jk1.2.15 with Apache2.0.63 and tomcat
5.5.23. After some hassle I was able to build mod_jk.so and did modify
the httpd.conf to say the location of the ".so" and worksers.properties
but when I tried to start apache it faile
ok, it that case all you need are just two virtual hosts.
Leon
On Fri, Jun 20, 2008 at 8:56 AM, Zsolt Koppany <[EMAIL PROTECTED]> wrote:
> Thank you everybody making comments to my original post.
>
> Our customer has two tomcats because one instance is the production version
> of our application
Hello,
I have a tomcat 5.5 server hanging in production mode.
It seems we have threads that are never released and stay locked as shown in
the extract below.
I'm looking for help about tools or methods to identify what locks our
threads.
Our application log is ok, we tried to set it in trace mo
Hi All,
I've been trying to setup mod_jk1.2.15 with Apache2.0.63 and tomcat
5.5.23. After some hassle I was able to build mod_jk.so and did modify
the httpd.conf to say the location of the ".so" and worksers.properties
but when I tried to start apache it failed with the following error:
eipv
64 matches
Mail list logo