Re: Tomcat 6 and tomcat native

2007-09-07 Thread Pid
Alec Bickerton wrote: > I've been looking at tomcat 6 and have seen a notification that my > tc-native was out of date. > > 07.09.2007 13:06:05 org.apache.catalina.core.AprLifecycleListener init > INFO: An older version 1.1.9 of the Apache Tomcat Native library is > installed, while Tomcat recomme

Re: tomcat usertransation

2007-09-07 Thread Mark Thomas
http://tomcat.apache.org/faq/tomcatuser.html#why - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat not starting

2007-09-07 Thread Matt
On Friday 07 September 2007 15:10, Nadon, Luc wrote: > The specified module could not be found What did you specify in your server.xml and web.xml as jdni driver? And did you include this driver in your classpath? -- Matt - To

RE: Tomcat not starting

2007-09-07 Thread Caldarale, Charles R
> From: Nadon, Luc [mailto:[EMAIL PROTECTED] > Subject: Tomcat not starting > > Windows 2000 sp4 > JRE 1.6_02 > Tomcat won't start. First, download the .zip version of Tomcat for whatever level you're using. It contains startup and shutdown scripts that make debugging initialization problems m

RE: Tomcat not starting

2007-09-07 Thread Nadon, Luc
copying the file worked. Sincerely, Luc Nadon Information Technology Analyst ITS-Niagara, Fort Erie Section Phone: (905) 994-6887 email: [EMAIL PROTECTED] The rights and freedoms of one should not jeopardize that of another. -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED]

Re: Tomcat not starting

2007-09-07 Thread Len Popp
The error happens because it can't find a DLL, most commonly msvcr71.dll. Try copying that file from Java's bin directory to Tomcat's bin directory. More info here: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 -- Len On 9/7/07, Nadon, Luc <[EMAIL PROTECTED]> wrote: > I just installed

Re: tomcat usertransation

2007-09-07 Thread Gerard Biemolt
sorry if i'm acting offending, but i just wanted it to be on the agenda a second time, it's not that there's a lot of information on this subject and i'm on a extremely tight schedule. anyway, i will not post this message again. best regards On 07/09/2007, Mark Thomas <[EMAIL PROTECTED]> wrote: >

Re: Tomcat not starting

2007-09-07 Thread Matt
On Friday 07 September 2007 15:29, you wrote: > I just installed tomcat and nothing is configured. > I have no apps yet therefore I don't have a web.xml for any specific apps > In the server.xml file the jndi portion is empty. > I have no problem reading docs I just don't know where to begin. > > S

RE: Tomcat not starting

2007-09-07 Thread Caldarale, Charles R
> From: Matt [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat not starting > > What did you specify in your server.xml and web.xml as jdni driver? > And did you include this driver in your classpath? That's completely irrelevant - this error occurs trying to start the service, not Tomcat itself.

RE: Tomcat 6 and tomcat native

2007-09-07 Thread Caldarale, Charles R
> From: Alec Bickerton [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6 and tomcat native > > I've been looking at tomcat 6 and have seen a notification that my > tc-native was out of date. > > The latest version on http://tomcat.apache.org/tomcat-5.5-doc/apr.html > is the version I'm using 1.1.9.

RE: Question about Session MGMT

2007-09-07 Thread Caldarale, Charles R
> From: ryoung5367 [mailto:[EMAIL PROTECTED] > Subject: Re: Question about Session MGMT > > I was just looking at how to turn off cookies in the > context.xml file it added this: > > > cookie > false > That's incorrect. The cookies attribute (it's not an XML element) should be spec

Re: random Listening port

2007-09-07 Thread Lionel Crine
So, you were right. Jmxremote is activated because of lambda probe. I'll check if I can set a permanent port in it. Thanks for the info. > Well, > > good point, I think jmx is activated. I'll check that and come back to > you. > I'm using sun JVM 5.0 on Linux. > > Lionel > > Caldarale, Charles

RE: Tomcat not starting

2007-09-07 Thread Nadon, Luc
I just installed tomcat and nothing is configured. I have no apps yet therefore I don't have a web.xml for any specific apps In the server.xml file the jndi portion is empty. I have no problem reading docs I just don't know where to begin. Sincerely, Luc Nadon Information Technology Analyst ITS

Tomcat 6 Installation Path

2007-09-07 Thread Stephen Caine
All, We are attempting to install Tomcat 6 on a OS X, but are running into a problem. Our installation path has a space in a file name. Using Tomcat 5, this works just fine, but with Tomcat 6, we receive the following error (from the log): java.lang.NoClassDefFoundError: 3/Tomcat_Qilan/

Tomcat not starting

2007-09-07 Thread Nadon, Luc
Windows 2000 sp4 JRE 1.6_02 Tomcat won't start. Any help Tried it on two seperate machines. Even uninstall and re-installed with boot up in between. Received the following error in the log file [2007-09-07 04:09:17] [174 javajni.c] [error] The specified module could not be found. [2007-09-07

Re: Tomcat 6 and tomcat native

2007-09-07 Thread Brian Millett
Alec Bickerton escribío: > I've been looking at tomcat 6 and have seen a notification that my > tc-native was out of date. > > 07.09.2007 13:06:05 org.apache.catalina.core.AprLifecycleListener init > INFO: An older version 1.1.9 of the Apache Tomcat Native library is > installed, while Tomcat reco

Re: "Connection closed by foreign host." Tomcat5 doesn't answer (Fedora Core 5, yum install)

2007-09-07 Thread David Iglesias Teixeira
Peter Crowther escribió: From: David Iglesias Teixeira [mailto:[EMAIL PROTECTED] After a port-scan in both machines, I can see that "test" is listening on port 8080, but "prod" is not On "prod": netstat -an | grep 8080 Is port 8080 listed? My guess is "yes" based on you being able to

Re: Tomcat memory issues

2007-09-07 Thread Morten
"Peter Warren" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Is it possible you're caching Request or Response objects somewhere > and not releasing them? I just did a bunch of memory profiling and > many of the classes you mention are the same classes I see when I open > an

Re: synchronous stop of tomcat

2007-09-07 Thread Derek Alexander
Have been looking at the source, although not documented (for TC5.5), it seems that it is possible to nest a Listener element (org.apache.catalina.LifecycleListener) under the Server element as http://tomcat.apache.org/tomcat-5.5-doc/config/context.html described here for nesting within Context e

RE: "Connection closed by foreign host." Tomcat5 doesn't answer (Fedora Core 5, yum install)

2007-09-07 Thread Peter Crowther
> From: David Iglesias Teixeira [mailto:[EMAIL PROTECTED] > After a port-scan in both machines, I can see that "test" is > listening on port 8080, but "prod" is not On "prod": netstat -an | grep 8080 Is port 8080 listed? My guess is "yes" based on you being able to telnet to it locally, in wh

Tomcat 6 and tomcat native

2007-09-07 Thread Alec Bickerton
I've been looking at tomcat 6 and have seen a notification that my tc-native was out of date. 07.09.2007 13:06:05 org.apache.catalina.core.AprLifecycleListener init INFO: An older version 1.1.9 of the Apache Tomcat Native library is installed, while Tomcat recommends version greater then 1.1.10

Using JBossTS in Tomcat

2007-09-07 Thread Gerard Biemolt
Hi, Does anyone know anything about using JBoss Transactions in Tomcat 5.5? I assumed that it is possible do so, but I'm not able to get anything related to transactions working. If anyone knows if it's possible or not, please let me know. Best regards and thanks in advance, Gerard

Re: Integration with Apache

2007-09-07 Thread Edd Dawson
Ahh, I realise now that JkMount is only available using mod_jk ... I really would like to keep mod_jk2, is there any way of configuring mod_jk2 as i described in my earlier posting? On 9/7/07, Edd Dawson <[EMAIL PROTECTED]> wrote: > > Thanks for the reply Chris. > > Should add that I'm coming at

Tomcat 5.5.23: Could not find jaas Java extension for this JVM

2007-09-07 Thread Marco
Hello, Does anyone know how I get rid of the next errormessages: /usr/bin/rebuild-jar-repository: error: Could not find jaas Java extension for this JVM /usr/bin/rebuild-jar-repository: error: Some detected jars were not found for this jvm This message appears when I try to startup

Re: Question about Session MGMT

2007-09-07 Thread ryoung5367
I was just looking at how to turn off cookies in the context.xml file it added this: cookie false Yet I am not seeing the URL rewritting... I was reading the tomcat doco, am I missing something. (Please pardon these newbie questions) Christopher Schultz-2 wrote: > > -BEGIN PG

RE: Tomcat 5.5.23: Could not find jaas Java extension for this JVM

2007-09-07 Thread Caldarale, Charles R
> From: Marco [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.23: Could not find jaas Java extension > for this JVM > > Does anyone know how I get rid of the next errormessages: > /usr/bin/rebuild-jar-repository: error: Could not find jaas > Java extension for this JVM > /usr/bin/rebuild-jar-

Re: [OT] context-param vs env-entry. Ready? Fight!

2007-09-07 Thread Brian Munroe
On 9/6/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > Finally Martin Fowler said "dependency injection", and nobody ever had > to worry about programs making any kind of sense ever again. And it was > Good (for hourly contractors!) > That's it, I'm going back to Perl CGI application develop

can war file be deleted?

2007-09-07 Thread Angelo Chen
Hi, I put a war file into webapps and it got unpacked and accessible from the browser. can I delete the war file after that? I notice if I delete it, the unpacked directory will disappear in while? A.C. -- View this message in context: http://www.nabble.com/can-war-file-be-deleted--tf4401751.h

Re: tomcat usertransation

2007-09-07 Thread David Smith
Disclaimer: I don't know any more about this than what's in the tomcat docs. Have you tried to specify the element in your webapp's context.xml (not the one in conf/context.xml or conf/server.xml)? Also, it appears the only valid attribute of the element is the factory attribute. I'm assum

RE: Question about Session MGMT

2007-09-07 Thread ryoung5367
Thanks very, much to all who replied. That works now. Rob Caldarale, Charles R wrote: > >> From: ryoung5367 [mailto:[EMAIL PROTECTED] >> Subject: Re: Question about Session MGMT >> >> I was just looking at how to turn off cookies in the >> context.xml file it added this: >> >> >> coo

Re: synchronous stop of tomcat

2007-09-07 Thread Derek Alexander
I was meaning that it appears you can add a listener directly to the Server element (AFAIU from the code anyway). ... > Not synchronous? Aren't notifications almost always synchronous? Yes, the notification would be synchronous but the call to stop is still asynchronous. Would get the

Re: can war file be deleted?

2007-09-07 Thread Mikolaj Rydzewski
Angelo Chen wrote: once you delete the war file, the program will not work any more, it seems to me the war file has to be kept there, but I notice those examples, it does not war files but still working, what's the definite rule here? If you deploy a webapp from the war file it has to be the

Re: Tomcat 5.5.23: cannot return to login page??

2007-09-07 Thread Pid
Christopher Schultz wrote: > Cun, > > shunhecun wrote: >> If a user is failed to login, he should be directed to the page specified in >> web.xml, i.e. /loginError.jsp. And the >> page /loginError.jsp is an unprotected resource. > > Right. You didn't say that the user failed to login. You said t

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, Eric B. wrote: > I've currently got an apache/tomcat installation using mod_jk to communicate > between the two. Everything works perfectly. The only issue I have is when > I am redeploying my application in tomcat, or decide to stop tomcat

Re: Garbage Collection and Class unloading

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, As always, thanks for correcting my misunderstandings of the JVM and GC. Caldarale, Charles R wrote: > All instances of java.lang.Class are allocated within the PermGen from > the get-go; there is no migration into or out of PermGen. (The te

Re: How to get Request from RequestFacade

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tremal, Tremal Naik wrote: > yes, I noticed it's quite hard. That's why I suspected that was not > the best way to proceed. The Valve solution works quite fine. I was > trying to switch to a Filter-based one since the license validation > code is quit

Re: can war file be deleted?

2007-09-07 Thread Mikolaj Rydzewski
Angelo Chen wrote: I put a war file into webapps and it got unpacked and accessible from the browser. can I delete the war file after that? I notice if I delete it, the unpacked directory will disappear in while? So? You still can delete this file ;-) -- Mikolaj Rydzewski <[EMAIL PROTECTED]>

Re: Legal Risk of Using Tomcat

2007-09-07 Thread jeff_loukas
Sounds like your legal department is worried that if the technology team screws up they will not have anyone to blame.  If you really want to have someone else do your set up and implementations then you need to find a consulting firm that was that type of clause in their contract.  (S

Re: synchronous stop of tomcat

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek, Derek Alexander wrote: > Have been looking at the source, although not documented (for TC5.5), it > seems that it is possible to nest a Listener element > (org.apache.catalina.LifecycleListener) under the Server element as > http://tomcat.apac

Re: Legal Risk of Using Tomcat

2007-09-07 Thread David Delbecq
This indemnification all depends on the contracts you have with your client and the supported hardware you need. Tomcat and apache fundation in particular do not give any warranty on this product. It's free but if you sell products based on it, you assumed needed responsability. Note that i wouldn'

Re: Integration with Apache

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edd, Edd Dawson wrote: > Should add that I'm coming at this not as the person who set it up, also > configuring this is not my area of expertise (if you hadn't noticed!). You'll do fine ;) > within the httpd.conf and workers2.properties there are no

How to manage Apache error msgs when Tomcat is down?

2007-09-07 Thread Eric B.
Hi, I don't know if this is the right forum to ask this, and if it isn't I appologize; would you be able to direct me to the right place to ask this? I've currently got an apache/tomcat installation using mod_jk to communicate between the two. Everything works perfectly. The only issue I have

Legal Risk of Using Tomcat

2007-09-07 Thread Irvine, Chuck R [EQ]
I hope no one thinks this thread is off topic There are many in the company I work for that would like to leverage open source software in general and and Tomcat in particular. However, our legal staff resists the idea because of perceived legal risks. I know that there are companies who provi

Overriding the Webapp Display Name

2007-09-07 Thread Shelley
Can the web-app displayName (from the web deployment descriptor) be overridden via any Tomcat configuration (ex: context.xml)?

Re: "Connection closed by foreign host." Tomcat5 doesn't answer (Fedora Core 5, yum install)

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, Peter Crowther wrote: >> From: David Iglesias Teixeira [mailto:[EMAIL PROTECTED] >> After a port-scan in both machines, I can see that "test" is >> listening on port 8080, but "prod" is not > > Is port 8080 listed? My guess is "yes" based on

Re: upload and download of images with Tomcat

2007-09-07 Thread PTS
I think it may be your choice of location that is causing you problems. Also would you not loose that content if you undeployed your app (depending on how it is deployed)? I do uploads and display the images without issue in my app. But my directory is outside the web app structure. WARNING th

Re: Tomcat 5.5.23: cannot return to login page??

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cun, shunhecun wrote: > If a user is failed to login, he should be directed to the page specified in > web.xml, i.e. /loginError.jsp. And the > page /loginError.jsp is an unprotected resource. Right. You didn't say that the user failed to login. You

Clustering in Tomcat

2007-09-07 Thread Murali V
Hi , I've installed the Tomcat version 5.5 on two windows server and this is for CA's Clarity v8 application project and CA's Clarity supports Tomcat 5.5. I would like to be know that , how do i configure the Tomcat clustring using this application on these two servers. I've alreday installed C

RE: Tomcat 5.5.23: Could not find jaas Java extension for this JVM

2007-09-07 Thread Marco
Dear Chuck, Sorry for the misunderstandings. I hope this clears things up: At First, tomcat was preinstalled as well as GNU JVM (fedora7 installation). Now I'm using the 'real one': (tomcat is reinstalled from tomcat.org) AND I installed a second VM: SUN JVM. 1st JVM: Tomcat gives the errormess

RE: Tomcat 5.5.23: Could not find jaas Java extension for this JVM

2007-09-07 Thread Caldarale, Charles R
> From: Marco [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 5.5.23: Could not find jaas Java > extension for this JVM > (tomcat is reinstalled from tomcat.org) I hope you mean tomcat.apache.org, since tomcat.org appears to be a French sailing organization, specializing in catamarans. > AND

RE: Garbage Collection and Class unloading

2007-09-07 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Garbage Collection and Class unloading > > I thought a lot of the talk on this list about PermGen was that it was > filling up and never being cleaned-up. Maybe that was just folks > legitimately keeping lots of data around for

Re: Legal Risk of Using Tomcat

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Irvine, Chuck R [EQ] wrote: > I hope no one thinks this thread is off topic Actually, this is totally on-topic, and I'd love to see what some others have to say. See my response below. > There are many in the company I work for that would

tomcat usertransation

2007-09-07 Thread Gerard Biemolt
Hi All, I'm currently trying to create a transaction between a standalone application and a web service. By starting a usertransaction in the standalone app and bridging it to/with the web service. However I'm unable to get use a transaction in the web service. I took these steps: - published a t

Re: Legal Risk of Using Tomcat

2007-09-07 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Irvine, Chuck R [EQ] wrote: I hope no one thinks this thread is off topic Actually, this is totally on-topic, and I'd love to see what some others have to say. See my response below. There are man

"Connection closed by foreign host." Tomcat5 doesn't answer (Fedora Core 5, yum install)

2007-09-07 Thread David Iglesias Teixeira
Hi all, I've been trying to setup a FC5 box with tomcat5. I followed a couple of tutorials around, and made it quite effortlessly with YUM in my test environment. When I tried to do the same in my production server, I can't seem to be able to make tomcat "listen" in the 8080 port. When conne

Re: How to get Request from RequestFacade

2007-09-07 Thread Tremal Naik
2007/9/7, Bill Barker <[EMAIL PROTECTED]>: > From his examples below, it looks like he wants access to the TC internals. yes, you're right > For the OP's original problem, for obvious security reasons TC makes it very > hard to access the internal TC objects behind the various Facades from a > we

Re: Tomcat 5.5.23: cannot return to login page??

2007-09-07 Thread shunhecun
Hi, If a user is failed to login, he should be directed to the page specified in web.xml, i.e. /loginError.jsp. And the page /loginError.jsp is an unprotected resource. If Tomcat does not kill the session for me in my case described in my first message, how can I do that? Thanks, Cun -- Vie

RE: Tomcat 5.5.23: Could not find jaas Java extension for this JVM

2007-09-07 Thread Marco
Dear Chuck, > Of coarse tomcat.apache.org... > Otherwise there was no problem --> I should have written: 'otherwise there wouldn't be a problem'. I hope I can get it work with your advise by now. Again, thanks for helping. Kind regards, Marco. -Oorspronkelijk bericht- Van: Caldarale, C

RE: Legal Risk of Using Tomcat

2007-09-07 Thread Irvine, Chuck R [EQ]
> My guess was different: that they were concerned about using > software > that might later be claimed to be covered by somebody else's patent, > like M$ has been threatening with Linux. If my guess is > correct, then I > seriously doubt there's anything to worry about there, because Tomcat

Upcoming Conferences in Europe

2007-09-07 Thread Andrew Hole
Do you know some confereces about Apache Tomcat, J2EE and associated technologies in Europe? Thanks a lot

Re: Load Balancing Tomcat 5.0.X, hardware or software?

2007-09-07 Thread Filip Hanik - Dev Lists
bajistaman wrote: Many Thanks for your comments, I have everything working now using a HW load balancer but the ssl is being managed by every node just because the guys from networks think that we need to upgrade the current HW Load Balancer to be able to support it and that is not going to happe

Re: can war file be deleted?

2007-09-07 Thread Angelo Chen
once you delete the war file, the program will not work any more, it seems to me the war file has to be kept there, but I notice those examples, it does not war files but still working, what's the definite rule here? Mikolaj Rydzewski-2 wrote: > > Angelo Chen wrote: >> I put a war file into we

Re: Tomcat memory issues

2007-09-07 Thread Peter Warren
> As far as I under stand I should NOT close the "stream" object as I didn't > open it. That's my understanding too. When I said I was keeping connections open, I meant I was opening connections from the client and not closing them. Since I'm using comet servlets, the server keeps the connection

Re: Integration with Apache

2007-09-07 Thread Edd Dawson
Thanks for the reply Chris. Should add that I'm coming at this not as the person who set it up, also configuring this is not my area of expertise (if you hadn't noticed!). within the httpd.conf and workers2.properties there are no references to JkMount, which i guess may be the issue, am i right

Re: Legal Risk of Using Tomcat

2007-09-07 Thread Filip Hanik - Dev Lists
Irvine, Chuck R [EQ] wrote: My guess was different: that they were concerned about using software that might later be claimed to be covered by somebody else's patent, like M$ has been threatening with Linux. If my guess is correct, then I seriously doubt there's anything to worry about ther

Re: Legal Risk of Using Tomcat

2007-09-07 Thread Len Popp
Do your lawyers have the same reluctance about proprietary software? If not, why not? There have been more patent lawsuits against users of proprietary software than against users of open-source software (from what I've seen in the press). -- Len On 9/7/07, Irvine, Chuck R [EQ] <[EMAIL PROTECTED]

Re: Legal Risk of Using Tomcat

2007-09-07 Thread Joshua Fielek
A good resource would be: http://www.opensolutionsalliance.org/ There are lots of knowledgeable people for the various licensing models. You'll have to register, but all it takes is an email address to do so. After that, check out Community->forums and ask away. Thanks, J For the most part,

upload and download of images with Tomcat

2007-09-07 Thread Wojtek Stańczuk
Hello, I try to upload images for futher download (as in a image gallery) to a folder under web application dir. Everything goes fine except one thing: the uploaded images are not seen in the application till next deployment of the application (Tomcat does not see the images). Is it possibl

RE: Closing Hibernate's SessionFactory when undeploying (or when is afilter destroyed)

2007-09-07 Thread Caldarale, Charles R
> From: wild_oscar [mailto:[EMAIL PROTECTED] > Subject: Closing Hibernate's SessionFactory when undeploying > (or when is afilter destroyed) > > How can I call this method right before tomcat undeploys the > application? Try implementing a ServletContextListener; see section 10 of the servlet

Re: How to manage Apache error msgs when Tomcat is down?

2007-09-07 Thread Eric B.
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Eric, > > Eric B. wrote: >> I've currently got an apache/tomcat installation using mod_jk to >> communicate >> between the two. Everything works perfectly. The

RE: Legal Risk of Using Tomcat

2007-09-07 Thread tomcat
At 01:19 PM 9/7/2007, you wrote: > My guess was different: that they were concerned about using > software > that might later be claimed to be covered by somebody else's patent, > like M$ has been threatening with Linux. If my guess is > correct, then I > seriously doubt there's anything to wo

Closing Hibernate's SessionFactory when undeploying (or when is a filter destroyed)

2007-09-07 Thread wild_oscar
I've implemented a struts 2 interceptor to create hibernate's SessionFactory and manage sessions. My session factory is wrapped in a static class: public static SessionFactory factory; static { try {

RE: Legal Risk of Using Tomcat

2007-09-07 Thread Irvine, Chuck R [EQ]
> -Original Message- > From: Len Popp [mailto:[EMAIL PROTECTED] > Sent: Friday, September 07, 2007 12:57 PM > To: Tomcat Users List > Subject: Re: Legal Risk of Using Tomcat > > > Do your lawyers have the same reluctance about proprietary > software? If not, why not? There have been m

Re: Legal Risk of Using Tomcat

2007-09-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: > If my guess is correct, then I > seriously doubt there's anything to worry about there, because Tomcat > has been written as open source from the beginning, and nobody has ever > claimed patent rights over it. Well, it st

RE: Overriding the Webapp Display Name

2007-09-07 Thread Caldarale, Charles R
> From: Shelley [mailto:[EMAIL PROTECTED] > Subject: Overriding the Webapp Display Name > > Can the web-app displayName (from the web deployment descriptor) be > overridden via any Tomcat configuration (ex: context.xml)? I made a cursory scan of the relevant Tomcat 6 code, and didn't find any me

Re: Legal Risk of Using Tomcat

2007-09-07 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: If my guess is correct, then I seriously doubt there's anything to worry about there, because Tomcat has been written as open source from the beginning, and nobody has ever claimed patent rig

Error Page problems

2007-09-07 Thread ryoung5367
I am trying to capture certain errors and display a friendly screen. I put the following in my web.xml 404 /error.html I noticed that I no longer get the standard Tomcat message on 404's, but I get a 404 error in the browser. I thought this was because maybe it could not find the

RE: Error Page problems

2007-09-07 Thread Caldarale, Charles R
> From: ryoung5367 [mailto:[EMAIL PROTECTED] > Subject: Error Page problems > > I noticed that I no longer get the standard Tomcat message on > 404's, but I get a 404 error in the browser. Are you using Internet Explorer? If so, it won't display short error pages for known errors. Try the sam

Concurrency with HttpSession

2007-09-07 Thread lightbulb432
I'm reading some book concurrency books that talk about potential thread safety issues with HttpSession. Specific cases follow: - When the web container passivates an HttpSession while a user's request modifies it - When the web container replicates an HttpSession while a user's request modifies

Re: Concurrency with HttpSession

2007-09-07 Thread Wade Chandler
Tomcat wraps HttpSession objects underlying maps using java.util.Collections.synchronizedMap. There was a previous issue in a version of Tomcat 5.0.x something in which this was changed, and it raised a stink, so it was fixed again. It had to be put back to use synchronized as the concurrency issue

Re: Concurrency with HttpSession

2007-09-07 Thread Wade Chandler
I suppose in a situation where a server did not handle concurrency for you in the lowest possible level the version of JSTL and EL and such things which it used could handle concurrency by wrapping such access, but this would then mean you could not access the session in regular coding practices be

Session Statistics command is broken in TC6?

2007-09-07 Thread Greg Johnson
I'm in the process of upgrading a server from TC5.5 to TC6. I've used the following command in the past to check on sessions: http://localhost/manager/sessions?path=/ This worked in 5.5. According to the docs for TC6, it should still work: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html

Re: Concurrency with HttpSession

2007-09-07 Thread Leon Rosenberg
On 9/7/07, lightbulb432 <[EMAIL PROTECTED]> wrote: > > I'm reading some book concurrency books that talk about potential thread > safety issues with HttpSession. Specific cases follow: > > - When the web container passivates an HttpSession while a user's request > modifies it strange use case. why

5.0-style logging in 6.0.

2007-09-07 Thread Scott Sauyet
I really liked the localhost_log from Tomcat 5.0 and before that contained all the log messages I cared about for the current run of Tomcat. It was very useful in development mode to have only the latest messages in there. Is there an easy way to configure 6.0 to log the same things to such a

Re: Concurrency with HttpSession

2007-09-07 Thread Wade Chandler
--- Leon Rosenberg <[EMAIL PROTECTED]> wrote: > On 9/7/07, lightbulb432 <[EMAIL PROTECTED]> > wrote: > > > > I'm reading some book concurrency books that talk > about potential thread > > safety issues with HttpSession. Specific cases > follow: > > > > - When the web container passivates an HttpSes

slow shutdown with jsvc

2007-09-07 Thread deppenfeld auchndeppenfeld
Hi all, I am using jsvc on solaris to run tomcat on port 80 using a non root user. Startup and running seems to be ok. I use the jsvc -stop -pidfile to initiate a shutdown. this command waits until the shutdown is complete. But in my case it lasts very long until jsvc is actually doing

Re: Concurrency with HttpSession

2007-09-07 Thread Bill Barker
"lightbulb432" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm reading some book concurrency books that talk about potential thread > safety issues with HttpSession. Specific cases follow: > > - When the web container passivates an HttpSession while a user's request > modifies

Re: tomcat usertransation

2007-09-07 Thread Filip Hanik - Dev Lists
Gerard Biemolt wrote: Hi All, I'm currently trying to create a transaction between a standalone application and a web service. By starting a usertransaction in the standalone app and bridging it to/with the web service. However I'm unable to get use a transaction in the web service. I took these