Hi,
I am using Tomcat 7.0.42 and Tomcat jdbc pool. Once the pool is created
with the default configuration, I obtained few connections from this pool.
But after certain amount of time, dataSource.getSize() shows the size as 0!
Is this the expected behavior? Please help me understand what is happe
Hi,
I am using Tomcat 7.0.42 and Tomcat jdbc pool. Once the pool is created
with the default configuration, I obtained few connections from this pool.
But after certain amount of time,
*dataSource.getSize*() shows the size as 0! Is this the expected
behavior? Please help me understand what is hap
2013/11/6 Crystal Maramba :
> Tomcat version: 7.0.42
> Operating System: Server 2008 x64 (Standard)
> Question:
> I have two Tomcat File Directories:
> 1) Windows service installer location: \Program Files\Apache Software
> Foundation\Tomcat 7.0
> 2) Base distribution location: \Program Files\Apa
I am using GUI version of tomcat and heap memory has been configured to
500M min and 1000M max. So memory size is not an issue. GC is being
performed normally. Took a heap dump on 60% memory. Analyzing it in Eclipse
MAT showed the following leak suspect.
One instance of *"java.util.Vector"* loaded
On Wed, Nov 6, 2013 at 9:42 PM, Konstantin Kolinko
wrote:
> There are too many goodies with mailing lists. The forums are lacking much.
+1
I am quite active in forum.primefaces.org, and I get email alerts to my @
hotmail.com account and have to go to the primefaces forum and read/reply,
but it
On 11/6/2013 3:18 PM, Jay Vee wrote:
> I subscribed to this email list using the digest format; How do I freaking
> reply now?
>
> I see a reply to a previous response, to construct a reply I have to
> cut-copy-paste into another message. It's not easy.
>
> Can you people install forum software al
Martin Gainty wrote:
>How did Mattias Jiderhamn's library help?
It resolved one of the memory leaks, which allowed me to progress on to the
next leak :-(
Dale
2013/11/7 Christopher Schultz :
> On 11/6/13, 4:18 PM, Jay Vee wrote:
>> I subscribed to this email list using the digest format; How do I
>> freaking reply now?
>>
>> I see a reply to a previous response, to construct a reply I have
>> to cut-copy-paste into another message. It's not easy.
>
> Su
Springs over-use of CGLib for Interfaces is a memory consumer
Retask CGLib Proxy to JDKProxy to create your Impl classes for @Before advised
methods
proxyTargetClass: false
Similarly using JavaAssist with Hibernate reduced memory footprint over CGLib
significantly
http://docs.spring.io/spri
> From: Dale Ogilvie [mailto:dale_ogil...@trimble.com]
> Subject: Fix your web application so it can cleanly un-deploy and re-deploy -
> how?
> As I recall undisposed thread locals were a common theme.
Have you enabled this Listener?
http://tomcat.apache.org/tomcat-7.0-doc/config/listeners.htm
>From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov]
>Subject: RE: Baked-in context paths
>
>
>I'm not convinced relative links are bad, nor that one should not try to use
>them because they are easy to get wrong.
>
From the spec: http://www.ietf.org/rfc/rfc1808.txt
"In situations wh
Chris made the following good suggestion in another thread:
"Can I make a suggestion? Fix your web application so it can cleanly un-deploy
and re-deploy and then simply do a hot deployment?"
I've been down this track with our own Spring web apps and found it to be quite
a deep rabbit hole where
>-Original Message-
>From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov]
>Subject: RE: Baked-in context paths
>
>
>B�KK
>KKCB��[��X��ܚX�KK[XZ[
>
>�\�\��][��X��ܚX�P�X�]
>�\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ
Nick, thanks for your quick response.
Unfortunately, specifying javax.websocket.server.ServerEndpointConfig.
Configurator is still not enough. This is what I have tried so far:
@ServerEndpoint(value = "/wsendpoint", configurator =
WsEndpointConfigurator.class)
public class WsEndpoint {
@Injec
I wasn't trying to "play games," I was trying to route HTTP requests. Again,
this is something I have done, without incident, for many years. It's possible
I've just been lucky, but it's also possible this isn't as big of a deal as you
seem to think.
I often employ common header content as you
>-Original Message-
>From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>Subject: Re: Baked-in context paths
>
>I'm arguing from a welf-contained web-app standpoint ... in order to get into
>trouble with relative links.
Right.
And I thought the OP was asking whether relative
Nestor,
Chris,
On 6.11.2013 22:50, Christopher Schultz wrote:
java.security.KeyStoreException: TrustedCertEntry not supported.
Entry for alias root not imported. Do you want to quit the import
process? [no]:
How can i solve this issue?
What kind of stuff can be found in your .keystore source?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Milo,
On 11/6/13, 1:48 PM, Milo Hyson wrote:
> On Nov 5, 2013, at 10:49 AM, Christopher Schultz
> wrote:
>
>> Any time dynamic content is generated, there exists a great deal
>> of risk that relative URLs will make page links fail (that is,
>> you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nestor,
On 11/6/13, 4:26 PM, Nestor Waldyd wrote:
> I am trying to generate a PFX in order to make public a site via
> Forefront TMG. When generating the pfx, the following was
> prompted:
>
> C:\Program Files\Java\jdk1.7.0_25\bin>keytool -importk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jay,
On 11/6/13, 4:18 PM, Jay Vee wrote:
> I subscribed to this email list using the digest format; How do I
> freaking reply now?
>
> I see a reply to a previous response, to construct a reply I have
> to cut-copy-paste into another message. It's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jay,
On 11/6/13, 4:27 PM, Jay Vee wrote:
> Threaded messaging key:
>>> indicates my original post
>> indicates a reply
> NO > indicates my reply to the reply.
>
>>> On Nov 5, 2013, at 6:36 PM, Jay Vee wrote:
>
>>> I need to bounce tomcat (run a s
Hello,
I am trying to generate a PFX in order to make public a site via Forefront TMG.
When generating the pfx, the following was prompted:
C:\Program Files\Java\jdk1.7.0_25\bin>keytool -importkeystore -srckeystore
C:\securitySitam\.keystore -destkeystore C:\securitySitam\sitam.pfx
-srcstorety
Threaded messaging key:
>> indicates my original post
> indicates a reply
NO > indicates my reply to the reply.
>>On Nov 5, 2013, at 6:36 PM, Jay Vee wrote:
>> I need to bounce tomcat (run a stop, startup script) but from a remote
>> machine.
>>
>> SSH will not work.
>>
>> Tomcat runs as
I subscribed to this email list using the digest format; How do I freaking
reply now?
I see a reply to a previous response, to construct a reply I have to
cut-copy-paste into another message. It's not easy.
Can you people install forum software already and get rid of the freaking
email list? che
Crystal,
If your only worried about the startup.bat script, don't.
The Windows service doesn't use it anyway.
What you want to do is make any changes you made in the script in the
"Start->Apache Tomcat 7.0->Configure Tomcat" GUI interface, if needed.
If you made changes to the server.xml, etc. you
Only to the startup.bat script.
The point is to merge and then purge the first installation.
Because the windows service installer did not include the .bat scripts . The
.bat scripts may become useful in the future.
The original install was just using the core files without windows service
inst
> -Original Message-
> From: Bob DeRemer [mailto:bob.dere...@thingworx.com]
> Sent: Wednesday, November 06, 2013 1:41 PM
> To: Tomcat Users List
> Subject: Tomcat 7.0.48 JSR-356 Server (appears ??) to be closing websockets
> under heavy load with REASON (1006) "network name is no longer a
to hammer home what Jordan is saying:
sh/cmd/bat files are usually based on environment variables e.g.
CATALINA_BASE to the exact location of the specific TOMCAT Instance you are
running
CATALINA_HOME to the exact location of the folder where TOMCAT was installed
assuming you have set unique s
If they are the same tomcat version, just different installation types,
you can merge the install directories; I do that routinely to get the
scripts from the .zip installations into my service installations.
On 11/6/2013 1:29 PM, Crystal Maramba wrote:
I will as soon as I combine the bin fo
So basically you're saying it's not that relative links are bad per se, it's
just that in some cases they can be tricky to get right?
- Milo Hyson
Chief Scientist
CyberLife Labs, Inc.
On Nov 5, 2013, at 10:49 AM, Christopher Schultz
wrote:
> Any time dynamic
> content is generated, there exis
BACKGROUND:
We've been load testing our websocket implementation running behind EC2 ELB.
The ELB is using 4 LARGE EC2 instances we have running Tomcat with our
websocket implementation. We have each Tomcat configured with the following
settings:
NOTES about our ELB configuration:
*
Have you made changes that you want to keep? In my experience the
installer script and exe's are fairly well removed from the other files
in the bin folder.
Unless you've made specific changes to files that you want to keep, I
don't see the point of what you're doing. If you *have* made change
I will as soon as I combine the bin folders.
The service installer does not include the scripts which is what I need from
the first install.
Would you know if there will be any issues with the rest of the folders?
-Original Message-
From: Jordan Michaels [mailto:jor...@viviotech.net]
From my experience, no; there should not be an issue with that. Why not
just get rid of the first install if you're not going to use it? Keep
your system clean and less confusing.
Warm Regards,
Jordan Michaels
On 11/06/2013 09:34 AM, Crystal Maramba wrote:
Tomcat version: 7.0.42
Operating Sys
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Wednesday, November 06, 2013 1:06 PM
> To: Tomcat Users List
> Subject: Re: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool
> configurable?
>
> On 06/11/2013 18:01, Bob DeRemer wrote:
> >
> >
> >> -Or
On 06/11/2013 18:01, Bob DeRemer wrote:
>
>
>> -Original Message- From: Mark Thomas
>> [mailto:ma...@apache.org] Sent: Wednesday, November 06, 2013 12:46
>> PM To: Tomcat Users List Subject: Re: Is the Tomcat JSR-356
>> WebSocketClient-AsyncIO threadpool configurable?
>>
>> On 06/11/2013
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Wednesday, November 06, 2013 12:46 PM
> To: Tomcat Users List
> Subject: Re: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool
> configurable?
>
> On 06/11/2013 17:07, Bob DeRemer wrote:
> > As part of load
On 06/11/2013 17:07, Bob DeRemer wrote:
> As part of loading testing our JSR-356 websocket implementation
> (running in Tomcat 7.0.48), we've created a subset of Tomcat jars to
> use as our "client" jsr-356 jars.
>
> Q1: are there any plans to create a client jsr-356 jar - similar to
> the Tyrus R
I pulled down the latest code in trunk today, built it and noticed a problem
with an application where I had the context's "reloadable" attribute set to
"true". To make sure it wasn't something with my app, I tried replicating the
issue with the examples application (I just set reloadable to tr
Tomcat version: 7.0.42
Operating System: Server 2008 x64 (Standard)
Question:
I have two Tomcat File Directories:
1) Windows service installer location: \Program Files\Apache Software
Foundation\Tomcat 7.0
2) Base distribution location: \Program Files\Apache\Tomcat 7.0 (this did not
include the
As part of loading testing our JSR-356 websocket implementation (running in
Tomcat 7.0.48), we've created a subset of Tomcat jars to use as our "client"
jsr-356 jars.
Q1: are there any plans to create a client jsr-356 jar - similar to the Tyrus
RI?
Secondly, during this load testing, we have e
Thanks to all, and once again, my apologies for my grumpiness.
--
James H. H. Lampert
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Muhammad,
On 11/6/13, 1:43 AM, Muhammad Ali Orakzai wrote:
> -XX:MaxPermSize=100m
You don't have any other heap-sizing parameters. Perhaps you simply
need more memory? It used to be that the default heap sizes were very
small (sometimes like 64MiB)
On Nov 6, 2013, at 7:55 AM, Marko Sanković wrote:
> Hi,
>
> For the last couple of hours I've been trying to inject a simple object
> into the class that is @ServerEndpoint annotated.
>
> As stated: Tomcat implements the Java WebSocket 1.0 API defined by JSR-356.
>
> I'm using Guice as depende
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Dan,
On 11/6/13, 9:16 AM, Daniel Mikusa wrote:
> On Nov 5, 2013, at 6:36 PM, Jay Vee wrote:
>
>> I need to bounce tomcat (run a stop, startup script) but from a
>> remote machine.
>>
>> SSH will not work.
>>
>> Tomcat runs as 'tomcat_user' and t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Agareppe,
On 11/6/13, 8:02 AM, Agareppe wrote:
> I create an extension of the tomcat PersistenceManager. It writes
> every session change into the database
What's wrong with the existing PersistenceManager + JDBCStore?
- -chris
-BEGIN PGP SIGN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Leo,
On 11/5/13, 4:35 PM, Leo Donahue - OETX wrote:
>> -Original Message- From: Leo Donahue - OETX
>> [mailto:leodona...@mail.maricopa.gov] Subject: RE: Baked-in
>> context paths
>>
>
> I will concede there are issues even in this example.
Greetings,
I have various applications deployed to a mix of Apache Tomcat 7.x and
8.x. I'd like to try out the SPDY protocol for some of these
applications. I see that there has been some semblance of SPDY support
in Tomcat, but I can not find any documentation at all..
Would someone speak up if
On Nov 6, 2013, at 1:43 AM, Muhammad Ali Orakzai wrote:
> Hi,
>
> I am using the following environment
>
> Windows Server 2003 32 bit
> Apache Tomcat 7.0.27
Upgrade :)
You're 20 versions out-of-date.
> Netbeans IDE 7.2
> Metro 2.0
>
> We have created a SOAP based web service which is callin
On Nov 5, 2013, at 6:36 PM, Jay Vee wrote:
> I need to bounce tomcat (run a stop, startup script) but from a remote
> machine.
>
> SSH will not work.
>
> Tomcat runs as 'tomcat_user' and this user is not a ssh user so we cannot
> ssh into a box using this user.
>
> We have to ssh into the box
On Wed, Nov 6, 2013 at 1:43 AM, Muhammad Ali Orakzai wrote:
>
> I am using the following environment
>
> Windows Server 2003 32 bit
>
How much RAM? Also, did you configure your virtual memory (or paging file)
settings?
> Apache Tomcat 7.0.27
>
Others on the list will/may recommend you to upgra
Hi,
For the last couple of hours I've been trying to inject a simple object
into the class that is @ServerEndpoint annotated.
As stated: Tomcat implements the Java WebSocket 1.0 API defined by JSR-356.
I'm using Guice as dependency injection framework and Tomcat 7.0.47.
This is how my websocket
I create an extension of the tomcat PersistenceManager.
It writes every session change into the database
Of course that the request performance is not the same.
But for the ppl that is looking for this could be useful,
Is not that much code
I haven't shared it in git, but if you are still look
53 matches
Mail list logo