RE: Comet and thread binding

2010-01-07 Thread tbee
Bob Hall wrote: Have you considered using ThreadLocal? Yes. But the problem with comet is that it may switch threads mid request; a request can be suspended, the thread freed up, and after a while the request is resumed, but by probably a different thread. So I cannot bind the request to

RE: Comet and thread binding

2010-01-07 Thread Bob Hall
--- On Thu, 1/7/10 at 12:02 AM, tbee t...@tbee.org wrote: Yes. But the problem with comet is that it may switch threads mid request; a request can be suspended, the thread freed up, and after a while the request is resumed, but by probably a different thread. So I cannot bind the

RE: Comet and thread binding

2010-01-07 Thread tbee
Bob Hall wrote: I don't have much Comet experience but given that it can pause and resume processing of a given request, would it be possible to bind your execution context to that 'request' and re-bind it to the 'new' Thread when request processing resumes? That would be my question

Re: Load balancing questions

2010-01-07 Thread assan alhamoud
The application is not compatible with Jboss 5 ,so I could not make the upgrade. And I don't have the source. On Wed, Jan 6, 2010 at 10:09 PM, Bob Hall rfha...@yahoo.com wrote: --- On Wed, 1/6/10 at 7:54 AM, assan alhamoud hamoudas...@gmail.com wrote: any suggestion ? Upgrade to a

High Load examples?

2010-01-07 Thread Alexander Skwar
Hello. Right now, we're using Bea WebLogic as our application server. We'd like to change to Tomcat 6. Now the creator of the application being run on the App Server said, that Tomcat works very well under low usage / low load situations. But if there are many (unsure about the definition of

Re: High Load examples?

2010-01-07 Thread Peter Crowther
2010/1/7 Alexander Skwar alexanders.mailinglists+nos...@gmail.com: Right now, we're using Bea WebLogic as our application server. We'd like to change to Tomcat 6. Now the creator of the application being run on the App Server said, that Tomcat works very well under low usage / low load

Re: High Load examples?

2010-01-07 Thread Mark Thomas
On 07/01/2010 11:24, Alexander Skwar wrote: Hello. Right now, we're using Bea WebLogic as our application server. We'd like to change to Tomcat 6. Now the creator of the application being run on the App Server said, that Tomcat works very well under low usage / low load situations. But if

add port number to rul after login or logout

2010-01-07 Thread pionier
Hi, I dont know where to ask or exacly what is source of this problem but... I deployed my grails + acegi application on tomcat6 i bought a domain and point it to ip of my serwer in apatch i placed connfiguration VirtualHost *:80 ServerName example.com Include

Re: add port number to rul after login or logout

2010-01-07 Thread Mark Thomas
On 07/01/2010 12:47, pionier wrote: Hi, I dont know where to ask or exacly what is source of this problem but... I deployed my grails + acegi application on tomcat6 i bought a domain and point it to ip of my serwer in apatch i placed connfiguration VirtualHost *:80 ServerName

Re: add port number to rul after login or logout

2010-01-07 Thread pionier
markt-2 wrote: Try adding: ProxyPassReverse / http://www.example.com:8080/ Mark Thx it helped!! :* :] -- View this message in context: http://old.nabble.com/add-port-number-to-rul-after-login-or-logout-tp27059426p27059649.html Sent from the Tomcat - User mailing list archive at

java shutdown hook and classpath

2010-01-07 Thread David Wood
Hi and Happy New Year! I have a library that uses JDBC and is being used within a my web app. The library and JDBC driver jars are in the web app's WEB-INF/lib directory. The library installs a Java shutdown hook, which ultimately uses the JDBC driver to do some clean ups in the database.

Re: java shutdown hook and classpath

2010-01-07 Thread Ziggy
Usually when i get these kind of problems i try and put the jar files in the tomcat common/lib folder to rule out class loader issues. Try and put the libraries there as all jar files in that folder will be picked up. On Thu, Jan 7, 2010 at 1:16 PM, David Wood daw...@us.ibm.com wrote: Hi and

RE: connect tomcat and apache by mod_jk2

2010-01-07 Thread Caldarale, Charles R
From: WILLIAMer [mailto:william.tz...@echannelopen.com.tw] Subject: connect tomcat and apache by mod_jk2 I have connect tomcat and apache by mod_jk2 That was a mistake. mod_jk2 has been deprecated for many years. Please try again with supported versions of Tomcat, httpd, and mod_jk. Note

RE: Load balancing questions

2010-01-07 Thread Caldarale, Charles R
From: assan alhamoud [mailto:hamoudas...@gmail.com] Subject: Re: Load balancing questions The application is not compatible with Jboss 5 That's difficult to believe. We haven't found anything from JBoss 4.x that didn't work with 5.x. Have you tried it? - Chuck THIS COMMUNICATION MAY

How to change effective user id on Windows

2010-01-07 Thread Amit Agarwal
Tomat on Linux starts as root to bind to port 80, and then switches effective user id to nobody. Windows does not appear to have concept of changing effective user. Tomcat service runs as a local system on Windows. Need to change the user for Tomcat after binding to port 80. How can this be

Re: Load balancing questions

2010-01-07 Thread assan alhamoud
we are using jboss-3.2.5 On Thu, Jan 7, 2010 at 5:05 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: assan alhamoud [mailto:hamoudas...@gmail.com] Subject: Re: Load balancing questions The application is not compatible with Jboss 5 That's difficult to believe. We

Re: How to change effective user id on Windows

2010-01-07 Thread Peter Crowther
2010/1/7 Amit Agarwal ami@gmail.com: Tomat on Linux starts as root to bind to port 80, and then switches effective user id to nobody. Windows does not appear to have concept of changing effective user. Tomcat service runs as a local system on Windows. Need to change the user for Tomcat

RE: java shutdown hook and classpath

2010-01-07 Thread Caldarale, Charles R
From: David Wood [mailto:daw...@us.ibm.com] Subject: java shutdown hook and classpath The library installs a Java shutdown hook, which ultimately uses the JDBC driver to do some clean ups in the database. If you have access to the library source, you might want to consider replacing the

Re: How to change effective user id on Windows

2010-01-07 Thread Ziggy
Look at http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.htmland see the --user parameter under command line parameters. -- D On Thu, Jan 7, 2010 at 2:07 PM, Amit Agarwal ami@gmail.com wrote: Tomat on Linux starts as root to bind to port 80, and then switches effective user

RE: Load balancing questions

2010-01-07 Thread Caldarale, Charles R
From: assan alhamoud [mailto:hamoudas...@gmail.com] Subject: Re: Load balancing questions we are using jboss-3.2.5 That's 5.5 years old; you should try to keep up a bit more often than that. Regardless, have you tried moving to Jboss 5.x? - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Load balancing questions

2010-01-07 Thread assan alhamoud
Not yet , I am going to test although the company that made the product says it is not possible . Is there any link that help me in this upgrade ? On Thu, Jan 7, 2010 at 5:18 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: assan alhamoud [mailto:hamoudas...@gmail.com]

RE: How to change effective user id on Windows

2010-01-07 Thread Looijmans, Mike
The current configuration is correct in terms of security - the 'SYSTEM' user is a limited account that has no access to the desktop nor shared network resources. Be warned that running a service under other credentials than the system user is likely to lead to a less secure configuration,

RE: Load balancing questions

2010-01-07 Thread Caldarale, Charles R
From: assan alhamoud [mailto:hamoudas...@gmail.com] Subject: Re: Load balancing questions Is there any link that help me in this upgrade ? I'd look at jboss.org and browse the community support area. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: How to change effective user id on Windows

2010-01-07 Thread Peter Crowther
2010/1/7 Looijmans, Mike mike.looijm...@oce.com: The current configuration is correct in terms of security - the 'SYSTEM' user is a limited account that has no access to the desktop nor shared network resources. Sorry to pick you up on this one, Mike, but I think you're thinking of

Cross Context Session Creation-

2010-01-07 Thread Arnab Ghosh
Hello Friends, I am using a cross context mode in my web application. Suppose there are 3 web conext A , B, C. They will access another web application D through cross context forwarding. Now I want to know while forwarding a request from A to D , whether session will go from A to D or a new

fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Joshua_Korn-Heilner
Hello, I realize this might be a stupid question but I'm just an intern and have almost no idea what I'm doing and could really use any help. I am following the directions given on the apache website on how to download and compile the tomcat native using MS Visual Studio on a windows. I have

How to prevent Tomcat 5.5 from undeploying applications

2010-01-07 Thread Jean-Claude_Carriere
We have a Tomcat 5.5.17 with a approot.xml file in conf\Catalina\localhost just pointing to a shared disk location ?xml version=1.0 encoding=UTF-8? Context docBase=G:/ibi/apps /Context If for any reason/technical problem this disk is temporarily not available Tomcat undeploy the

Re: How to prevent Tomcat 5.5 from undeploying applications

2010-01-07 Thread Peter Crowther
2010/1/7 jean-claude_carri...@ibi.com: We have a Tomcat 5.5.17 with a approot.xml file in conf\Catalina\localhost just pointing to a shared disk location [...] How can we prevent this from happening, because whenever the disk is back online, someone has to manually copy back the context root

Re: How to prevent Tomcat 5.5 from undeploying applications

2010-01-07 Thread Mark Thomas
On 07/01/2010 16:49, jean-claude_carri...@ibi.com wrote: How can we prevent this from happening, because whenever the disk is back online, someone has to manually copy back the context root into the location. Turn off autoDeploy Mark

RE: Cross Context Session Creation-

2010-01-07 Thread Caldarale, Charles R
From: Arnab Ghosh [mailto:gh...@glenwoodsystems.com] Subject: Cross Context Session Creation- Now I want to know while forwarding a request from A to D , whether session will go from A to D or a new session will be created under D. To quote from 7.3 of the servlet spec (which you should

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Caldarale, Charles R
From: joshua_korn-heil...@ibi.com [mailto:joshua_korn-heil...@ibi.com] Subject: fatal error LNK1181: cannot open input file 'libeay32.lib' Am I looking in the wrong place or am I just doing it wrong? Any help would be greatly appreciated. Do you need to rebuild the tcnative DLL? If not,

Re: ArrayIndexOutOfBoundsException

2010-01-07 Thread geoffrey
Hi everyone. Sorry it took some time but here it is. It actually looks like changing the variables to method variables fixed the problem. It has been running for 3 days now without any problems. Thanks everyone. Best Regards Geoffrey Phone Norway: +47 45 86 53 83 Fileflow Technologies AS

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Joshua_Korn-Heilner
It won't let me open it in MS Visual, it says the file cannot be open with the selected editor. Please choose another editor. Or am I supposed to open it with something else? Thanks Josh -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday,

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Caldarale, Charles R
From: joshua_korn-heil...@ibi.com [mailto:joshua_korn-heil...@ibi.com] Subject: RE: fatal error LNK1181: cannot open input file 'libeay32.lib' It won't let me open it in MS Visual, it says the file cannot be open with the selected editor. They're binaries, not source. Just place the

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Joshua_Korn-Heilner
Oh I'm sorry for not being more specific in my original post, I'm looking for the source code for Tomcat that I can compile and then make changes to, that is the point of the native and all those instructions right, to get a working version of the Tomcat source? Thanks Josh -Original

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Caldarale, Charles R
From: joshua_korn-heil...@ibi.com [mailto:joshua_korn-heil...@ibi.com] Subject: RE: fatal error LNK1181: cannot open input file 'libeay32.lib' Oh I'm sorry for not being more specific in my original post, I'm looking for the source code for Tomcat that I can compile and then make changes

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Joshua_Korn-Heilner
I think I am though, I'm sorry I'm not very descriptive but all I know is that I'm looking for something called tomcat6w.exe and from what I understand it's supposed to be in c code, or at least that's what I was told. Thanks Josh -Original Message- From: Caldarale, Charles R

Re: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread David kerber
joshua_korn-heil...@ibi.com wrote: I think I am though, I'm sorry I'm not very descriptive but all I know is that I'm looking for something called tomcat6w.exe and from what I understand it's supposed to be in c code, or at least that's what I was told. Tomcat6w monitoring app for tomcat on

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Joshua_Korn-Heilner
Where could I find the source code that calls it then? Thanks Josh -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, January 07, 2010 2:43 PM To: Tomcat Users List Subject: Re: fatal error LNK1181: cannot open input file 'libeay32.lib'

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Caldarale, Charles R
From: joshua_korn-heil...@ibi.com [mailto:joshua_korn-heil...@ibi.com] Subject: RE: fatal error LNK1181: cannot open input file 'libeay32.lib' all I know is that I'm looking for something called tomcat6w.exe and from what I understand it's supposed to be in c code Yes, that is C code, but

RE: fatal error LNK1181: cannot open input file 'libeay32.lib'

2010-01-07 Thread Joshua_Korn-Heilner
Thank you so much you have been a big help! Thanks Josh -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, January 07, 2010 2:46 PM To: Tomcat Users List Subject: RE: fatal error LNK1181: cannot open input file 'libeay32.lib' From:

Re: High Load examples?

2010-01-07 Thread Leon Rosenberg
of course there can't be a high-load thread without me, so here are my 2 cents: 2 cents I'm working in high-performance high-portal environment since 2004, and i must say that starting with tomcat 5 i've never experienced any performance problems caused by tomcat itself. The number of concurrent

Running two tomcat servers on same system?

2010-01-07 Thread Dean Chester
Hi, I am wondering if it would be possible to have two tomcat servers running on the same system this is because some features of my software have to be on the internal network and there is a set directory that is accessible to the outside world. And my idea is to split the application in to two.

Re: Running two tomcat servers on same system?

2010-01-07 Thread John Tangney
Dean, On Jan 7, 2010, at 1:47 PM, Dean Chester wrote: I am wondering if it would be possible to have two tomcat servers running on the same system Yeah, we do this all the time. All you gave to do is to make sure that all the ports listed in your server.xml are unique. Also is it

RE: Running two tomcat servers on same system?

2010-01-07 Thread Caldarale, Charles R
From: John Tangney [mailto:jo...@industriallogic.com] Subject: Re: Running two tomcat servers on same system? Also is it possible to share shutdown ports of tomcat servers? I am not sure. It's easy enough to give it a try. No, it is not possible. However if you're running on Windows,

Re: Running two tomcat servers on same system?

2010-01-07 Thread Dean Chester
What is usage like on the server running two application servers. Please bare in mind my admin/private application might get 10 users a month. While the public stuff we hope more frequent. Dean On Thu, Jan 7, 2010 at 9:51 PM, John Tangney jo...@industriallogic.comwrote: Dean, On Jan 7, 2010,

RE: Running two tomcat servers on same system?

2010-01-07 Thread Caldarale, Charles R
From: Dean Chester [mailto:dean.g.ches...@googlemail.com] Subject: Re: Running two tomcat servers on same system? What is usage like on the server running two application servers. That's determined entirely by the webapps you're using. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: High Load examples?

2010-01-07 Thread Pierre Goupil
+1 As usual it depends highly how well your app is written and where your bottleneck is. On a project, our very poorly-written Tomcat app was failing at ~50 concurrent users. BUT it was always because of the Oracle DB being starved on its 4 cores - 8GB of RAM machine. :-( On another project,

Re: How to JSF 2.0 (Mojarra-2.0.2) with Facelets on Tomcat?

2010-01-07 Thread Zacheusz Siedlecki
It's not a problem exactly with Mojarra. It's a conflict between new EL JARs (el-api-1.1.jar, el-impl-1.1.jar) and Tomcat's el jars (el-impl.jar in Tomcat 6 and commons-el.jar in 5.5). The problem is that Tomcat's jars are required by Jasper and I need JSP implementation as well. When I add EL

Re: How to prevent Tomcat 5.5 from undeploying applications

2010-01-07 Thread Konstantin Kolinko
2010/1/7 Mark Thomas ma...@apache.org: On 07/01/2010 16:49, jean-claude_carri...@ibi.com wrote: How can we prevent this from happening, because whenever the disk is back online, someone has to manually copy back the context root into the location. Turn off autoDeploy Documentation:

Re: Running two tomcat servers on same system?

2010-01-07 Thread Konstantin Kolinko
2010/1/8 Dean Chester dean.g.ches...@googlemail.com: Hi, I am wondering if it would be possible to have two tomcat servers running on the same system Yes, it is possible. See Multiple Tomcat Instances in file RUNNING.txt that comes with a Tomcat distributive. The next 6.0.x version will

Re: Cross Context Session Creation-

2010-01-07 Thread Arnab Ghosh
Dear Friends, *To quote from 7.3 of the servlet spec (which you should read): HttpSession objects must be scoped at the application (or servlet context) level. The underlying mechanism, such as the cookie used to establish the session, can be the same for different contexts, but the object

Incompatabilities?

2010-01-07 Thread Alexander Skwar
Good Morning! Thanks a lot for all the answers you provided yesterday in my other thread, asking about scalability of Tomcat. Appreciate it! Besides the load issue, they claim, that a different app of theirs doesn't work with Tomcat, but it's supposed to work with WebLogic and jBoss. Am I right

Re: How to change effective user id on Windows

2010-01-07 Thread Amit Agarwal
HOw do we start TOmcat programatically using Bootstrap.start() API if we need to pass the user ? On Thu, Jan 7, 2010 at 8:30 PM, Peter Crowther peter.crowt...@melandra.comwrote: 2010/1/7 Looijmans, Mike mike.looijm...@oce.com: The current configuration is correct in terms of security - the