Re: Configuring Tomcat 6 to

2013-11-06 Thread Agareppe
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

@ServerEndpoint Guice

2013-11-06 Thread Marko Sanković
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

Re: Web Service Client Response when Old Gen is 100%

2013-11-06 Thread Howard W. Smith, Jr.
On Wed, Nov 6, 2013 at 1:43 AM, Muhammad Ali Orakzai m.orak...@gmail.comwrote: 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

Re: how to bounce tomcat remote?

2013-11-06 Thread Daniel Mikusa
On Nov 5, 2013, at 6:36 PM, Jay Vee jvsr...@gmail.com 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

Re: Web Service Client Response when Old Gen is 100%

2013-11-06 Thread Daniel Mikusa
On Nov 6, 2013, at 1:43 AM, Muhammad Ali Orakzai m.orak...@gmail.com 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

Tomcat SPDY

2013-11-06 Thread jieryn
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

Re: Baked-in context paths

2013-11-06 Thread Christopher Schultz
-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. Such as

Re: Configuring Tomcat 6 to

2013-11-06 Thread Christopher Schultz
-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

Re: how to bounce tomcat remote?

2013-11-06 Thread Christopher Schultz
-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 jvsr...@gmail.com 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'

Re: @ServerEndpoint Guice

2013-11-06 Thread Nick Williams
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 dependency

Re: Web Service Client Response when Old Gen is 100%

2013-11-06 Thread Christopher Schultz
-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)

Re: WARs getting re-extracted in DST change?!?

2013-11-06 Thread James H. H. Lampert
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

Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Bob DeRemer
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

Bin Folders

2013-11-06 Thread 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\Apache\Tomcat 7.0 (this did not include the

Re: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Mark Thomas
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 RI? No.

RE: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Bob DeRemer
-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 loading

Re: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Mark Thomas
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 17:07, Bob

RE: Is the Tomcat JSR-356 WebSocketClient-AsyncIO threadpool configurable?

2013-11-06 Thread Bob DeRemer
-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: -Original

Re: Bin Folders

2013-11-06 Thread Jordan Michaels
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

RE: Bin Folders

2013-11-06 Thread Crystal Maramba
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

Re: Bin Folders

2013-11-06 Thread Jordan Michaels
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

Tomcat 7.0.48 JSR-356 Server (appears ??) to be closing websockets under heavy load with REASON (1006) network name is no longer available

2013-11-06 Thread Bob DeRemer
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: Connector port=80

Re: Baked-in context paths

2013-11-06 Thread Milo Hyson
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 ch...@christopherschultz.net wrote: Any time dynamic

Re: Bin Folders

2013-11-06 Thread David kerber
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

RE: Bin Folders

2013-11-06 Thread Martin Gainty
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

RE: Tomcat 7.0.48 JSR-356 Server (appears ??) to be closing websockets under heavy load with REASON (1006) network name is no longer available

2013-11-06 Thread Bob DeRemer
-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

RE: Bin Folders

2013-11-06 Thread Crystal Maramba
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

RE: Bin Folders

2013-11-06 Thread Jeffrey Janner
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

how to reply

2013-11-06 Thread Jay Vee
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?

how to bounce tomcat remote?

2013-11-06 Thread Jay Vee
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 jvsr...@gmail.com wrote: I need to bounce tomcat (run a stop, startup script) but from a remote machine. SSH will not work. Tomcat runs as

PFX generation using keytool

2013-11-06 Thread Nestor Waldyd
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\binkeytool -importkeystore -srckeystore C:\securitySitam\.keystore -destkeystore C:\securitySitam\sitam.pfx

Re: how to bounce tomcat remote?

2013-11-06 Thread Christopher Schultz
-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 jvsr...@gmail.com wrote: I need to bounce tomcat (run a

Re: how to reply

2013-11-06 Thread Christopher Schultz
-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 not

Re: PFX generation using keytool

2013-11-06 Thread Christopher Schultz
-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\binkeytool

Re: Baked-in context paths

2013-11-06 Thread Christopher Schultz
-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 ch...@christopherschultz.net wrote: Any time dynamic content is generated, there exists a great deal of risk that relative URLs will make page links

Re: PFX generation using keytool

2013-11-06 Thread Ognjen Blagojevic
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

RE: Baked-in context paths

2013-11-06 Thread Leo Donahue - OETX
-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 URLS

Re: Baked-in context paths

2013-11-06 Thread Milo Hyson
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

Re: @ServerEndpoint Guice

2013-11-06 Thread Marko Sanković
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 { @Inject

[OT] RE: Baked-in context paths

2013-11-06 Thread Leo Donahue - OETX
-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[ �

Fix your web application so it can cleanly un-deploy and re-deploy - how?

2013-11-06 Thread Dale Ogilvie
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

RE: Baked-in context paths

2013-11-06 Thread Leo Donahue - OETX
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 where the

RE: Fix your web application so it can cleanly un-deploy and re-deploy - how?

2013-11-06 Thread Caldarale, Charles R
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?

RE: Fix your web application so it can cleanly un-deploy and re-deploy - how?

2013-11-06 Thread Martin Gainty
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

RE: Fix your web application so it can cleanly un-deploy and re-deploy - how?

2013-11-06 Thread Dale Ogilvie
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

Re: how to reply

2013-11-06 Thread Konstantin Kolinko
2013/11/7 Christopher Schultz ch...@christopherschultz.net: 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.

Re: how to reply

2013-11-06 Thread Terence M. Bandoian
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 already

Re: how to reply

2013-11-06 Thread Howard W. Smith, Jr.
On Wed, Nov 6, 2013 at 9:42 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 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

Re: Web Service Client Response when Old Gen is 100%

2013-11-06 Thread Muhammad Ali Orakzai
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

Re: Bin Folders

2013-11-06 Thread Konstantin Kolinko
2013/11/6 Crystal Maramba cmara...@acumenllc.com: 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:

Reg: Connection pool stats

2013-11-06 Thread Anu Prab
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

Reg: Connection pool stats

2013-11-06 Thread Anu Prab
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