Re: OSGi in Tomcat

2013-07-24 Thread Violeta Georgieva
2013/7/23 Leonardo Torres wrote: Thank´s for reply. Just one more question, If I want to use tomcat inside of OSGi environment, how can I do that ? Check Gemini Web documentation: http://www.eclipse.org/gemini/web/documentation/ http://wiki.eclipse.org/Gemini/Web Regards Violeta

RE: OSGi in Tomcat

2013-07-24 Thread Martin Gainty
asking your release manager to build an OSGI artifact with eclipse may be a bit of a stretch if this is a live production-ready system then you will most likely be building at command-line with either ant or maven the trickiest part is interfacing to BND start and BND stop which can be

Re: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 7/23/13 5:51 PM, Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, July 22, 2013 5:45 PM To: Tomcat Users List Subject: Re:[OT] Enable session persistence

RE: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-24 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, July 24, 2013 9:57 AM To: Tomcat Users List Subject: Re: [OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN PGP SIGNED MESSAGE- Hash:

RE: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-24 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, July 24, 2013 9:57 AM To: Tomcat Users List Subject: Re: [OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN PGP SIGNED MESSAGE- Hash:

Confusion about session replication

2013-07-24 Thread Tomcat Random
Setup: - Two physical servers each running Tomcat 7.0.42 - Brocade load balancer in front The load balancer is set to source IP persistence for 5 minutes. This time can be changed of course. The thing I don't understand is 5 minutes or 5 hours - at then end that time limit the user can be sent

Re: JSVC - two processes running as root

2013-07-24 Thread Rainer Jung
On 18.07.2013 21:27, Shridev Makim wrote: Hello, We are trying to run tomcat7 as a daemon using JSVC in SunOS environment. The compiled jsvc executable is owned by root. We have modified daemon.sh that bundles with tomcat7 for our environment to run our tomcat instance. When we execute this

Re: JSVC - two processes running as root

2013-07-24 Thread Rainer Jung
On 24.07.2013 17:34, Rainer Jung wrote: On 18.07.2013 21:27, Shridev Makim wrote: Hello, We are trying to run tomcat7 as a daemon using JSVC in SunOS environment. The compiled jsvc executable is owned by root. We have modified daemon.sh that bundles with tomcat7 for our environment to run our

RE: JMX monitoring of tomcat service

2013-07-24 Thread honyk
On 2013-07-23 honyk wrote: On 2013-07-23 Cédric Couralet wrote: 2013/7/23 honyk j.tosov...@email.cz: Dear All, I run tomcat as service on Windows Server 2008 R2. I am not able to monitor it locally yet (discussed in another thread) so in the meantime I am trying to establish

context problem

2013-07-24 Thread Edward W. Rouse
I have a web app that worked in version 5.5, not working in version 7.0. The Context.xml is: Context Resources className=com.comsquared.idw.catalina.ext.IDWMFileDirContext / Loader loaderClass=com.comsquared.idw.catalina.ext.IDWMClassLoader/ Resource

RE: context problem

2013-07-24 Thread Caldarale, Charles R
From: Edward W. Rouse [mailto:ero...@comsquared.com] Subject: context problem IDWMClassLoader extends WebappClassLoader. I have been reading to docs to try and figure out how to get both the normal webapp base directories and the outside the base directories to be found. I suspect you

RE: Tomcat failure without apparent reason (PermGen?)

2013-07-24 Thread honyk
On 2013-07-23 Christopher Schultz wrote: On 7/22/13 3:11 PM, honyk wrote: I am reusing my recent thread of not related subject with some updates... On 2013-06-28 Christopher Schultz wrote: On 6/27/13 5:17 PM, honyk wrote: On 2013-06-27 Christopher Schultz wrote: On 6/27/13 4:31 PM,

RE: Local VisualVM connection to Tomcat

2013-07-24 Thread honyk
On 2013-06-28 Christopher Schultz wrote: On 6/27/13 5:17 PM, honyk wrote: On 2013-06-27 Christopher Schultz wrote: On 6/27/13 4:31 PM, honyk wrote: I am constantly encountering PermGen errors despite quite high PermGen limit (even 512m) and many options set - approx once a week under

OT: How to use JSP outside of tomcat

2013-07-24 Thread Aryeh Friedman
I have a number of documents that are very template like and ideal for JSP that are 1) not intended for the web and 2) need to be automatically batch processed (the output stored in output files). How do I call the JSP processor from them command line? (it takes tomcat too long to see updated

Re: OT: How to use JSP outside of tomcat

2013-07-24 Thread Michael-O
Am 2013-07-24 19:22, schrieb Aryeh Friedman: I have a number of documents that are very template like and ideal for JSP that are 1) not intended for the web and 2) need to be automatically batch processed (the output stored in output files). How do I call the JSP processor from them command

RE: context problem

2013-07-24 Thread Edward W. Rouse
Thanks for the response, let’s work backwards. 3 – yes 2 – looked at and not applicable in this case 1 – The custom classLoader is set fine and it works, except it doesn’t loader the classes from the webapp base dir, only the outside base dir. Also, if I leave out the custom classLoader by

Re: OSGi in Tomcat

2013-07-24 Thread Leonardo Torres
Thank´s for reply. With Gemini, can I use the tomcat websocket implementation? On Wed, Jul 24, 2013 at 8:09 AM, Martin Gainty mgai...@hotmail.com wrote: asking your release manager to build an OSGI artifact with eclipse may be a bit of a stretch if this is a live production-ready system then

RE: OT: How to use JSP outside of tomcat

2013-07-24 Thread Martin Gainty
Documentation hasnt caught up with functionality so its catch as catch can but this should get you to what you need pom.xml project modelVersion4.0.0/modelVersion groupIdfu/groupId artifactIdbar/artifactId plugins plugin groupIdorg.codehaus.mojo.jspc/groupId

Re: Confusion about session replication

2013-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 To whom it may concern, (Might we know your real name? The above introduction feels so impersonal...) On 7/24/13 11:13 AM, Tomcat Random wrote: Setup: - Two physical servers each running Tomcat 7.0.42 - Brocade load balancer in front The load

Re: OSGi in Tomcat

2013-07-24 Thread Niki Dokovski
On Wed, Jul 24, 2013 at 9:07 PM, Leonardo Torres leonardotorr...@gmail.comwrote: Thank´s for reply. With Gemini, can I use the tomcat websocket implementation? You can use proprietary org.apache.catalina.websocket implementation. That however is not compatible with JSR 356 APIs. On Wed,

RE: context problem

2013-07-24 Thread Edward W. Rouse
I had tried that before but thought I'd try again. Not working and I'm not sure why. The external files are actual additional war files that act as modifiers to add items to menus as well as other things. There are class files, jar files in their WEB-INF/lib dirs , html, jsp, etc... And there

Re: Confusion about session replication

2013-07-24 Thread Tomcat Random
Thanks Chris - Sorry for the unintended anonymity. My name's Alec. So set the LB stickiness to the same session-timeoutn/session-timeout number as in web.xml. Assuming that the lb is updating the last-touch time for every request mentioning the session Could you explain this a little further.

Session replication advice

2013-07-24 Thread Tomcat Random
I have two physical servers running Tomcat 7.0.42, each running the same webapp. I'm interested in some advice with session replication. I'm not concerned with fail-over, or high-availability. I just want to be able to have sessions maintained when the user is routed to a different server by the

Re: Confusion about session replication

2013-07-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, On 7/24/13 4:38 PM, Tomcat Random wrote: So set the LB stickiness to the same session-timeoutn/session-timeout number as in web.xml. That's what I'd do, if... Assuming that the lb is updating the last-touch time for every request

Re: OSGi in Tomcat

2013-07-24 Thread Leonardo Torres
Thank´s. In my case, It´s not a problem the incompatibility. :) Sorry for my question, but in this case, I create a class that inherits from WebSocketServlet and use HttpService to register it? On Wed, Jul 24, 2013 at 3:38 PM, Niki Dokovski nick...@gmail.com wrote: On Wed, Jul 24, 2013 at

Re: OSGi in Tomcat

2013-07-24 Thread Violeta Georgieva
2013/7/25 Leonardo Torres wrote: Thank´s. In my case, It´s not a problem the incompatibility. :) Sorry for my question, but in this case, I create a class that inherits from WebSocketServlet and use HttpService to register it? You create a class that inherits WebSocketServlet and pack it as