Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Michele Mase'
With the tomcat locally installed all works fine; the issue occurs from a linux box (rhel6.x in my situation) with tomcat 7.0.29 as the server machine and a client. Both are in lan without filtering elements. Since I'm (as now) unable to determine the root cause of the issue (the worst thing is tha

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-30 Thread Albert Kam
Hi, I have been developing with tomcat7:run happily for some months now. But then i am currently expanding the development where different domains would provide different behaviour for the same webapp (imagine multitenancy and ACLs based on the domain or the server name) To make this work in the

Re: Problems upgrading to Tomcat 7

2012-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro, On 7/30/12 5:48 PM, Alejandro Mehring wrote: > I'm migrating to Tomcat 7 a web system that used to run on Tomcat > 4... Been there (though I went through 5.5 and 6.0 to get there in a relatively short amount of time). > So far, I've been

Re: Pointing tomcat to a different timezone

2012-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Krishna, On 7/30/12 3:20 PM, Krishna Chaitanya wrote: > This issue is fixed. Thanks everyone :-) Would you like to contribute back to the community (especially the archives) ad tell us what you did to solve your "issue"? - -chris -BEGIN PGP SIGN

Re: Best practice for redeployments

2012-07-30 Thread Hassan Schroeder
On Mon, Jul 30, 2012 at 2:57 PM, wrote: > Currently, each night we wipe out the wars and then redeploy them with > fresh copies ... ?! > What's the general consensus for the best practice for this? Uh, "don't" ? > Are nightly tomcat restarts even needed ... I have legacy apps that run for

Best practice for redeployments

2012-07-30 Thread llowder
All, I have 70-80 apps that are spread out across 3 different clusters (based on usage, availability needs etc) Currently, each night we wipe out the wars and then redeploy them with fresh copies from the end points of our promotion paths (one for test and one for prod). What's the general cons

Problems upgrading to Tomcat 7

2012-07-30 Thread Alejandro Mehring
Hi all!! I'm migrating to Tomcat 7 a web system that used to run on Tomcat 4... So far, I've been able to sort out all of the issues I've faced, but I'm stuck at one point. When a page loads in Tomcat 4, it goes and fetches the stylesheet from the server with a link of the form But on Tomcat 7

Re: Form Authentication question

2012-07-30 Thread Kris Easter
On Mon, 2012-07-30 at 14:36 -0600, Mark Thomas wrote: > On 30/07/2012 21:24, Kris Easter wrote: > > > ... > > > > If the user sits too long on the login page the session times out, even > > if their credentials were authenticated successfully, and sends them > > back to the login page where they

Re: Form Authentication question

2012-07-30 Thread Mark Thomas
On 30/07/2012 21:24, Kris Easter wrote: > > I'm looking at the org.apache.catalina.authenticator.FormAuthenticator > class from the 7.0.29 src. This portion of the authenticate method > starting around line 301 is where I'm having a little problem: > > > if (log.isDebugEnabled()) { > log.debu

Form Authentication question

2012-07-30 Thread Kris Easter
I'm looking at the org.apache.catalina.authenticator.FormAuthenticator class from the 7.0.29 src. This portion of the authenticate method starting around line 301 is where I'm having a little problem: if (log.isDebugEnabled()) { log.debug("Authentication of '" + username + "' was successful")

Re: Pointing tomcat to a different timezone

2012-07-30 Thread Krishna Chaitanya
This issue is fixed. Thanks everyone :-) Krishna Kurnala. On Jul 30, 2012, at 11:34 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Konstantin, > > On 7/29/12 9:21 PM, Konstantin Kolinko wrote: When you are saying that it is "still in UTC", what data

Re: configuring tomcat to use nio

2012-07-30 Thread Elias Kopsiaftis
thank you again On Mon, Jul 30, 2012 at 2:33 PM, Mark Thomas wrote: > On 30/07/2012 19:26, Elias Kopsiaftis wrote: > > thank you for your quick response. i actually found that document and > > shouldve specified that. what i really meant was, what is the name of the > > file you modify? > > htt

Re: Pointing tomcat to a different timezone

2012-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/29/12 9:21 PM, Konstantin Kolinko wrote: >>> When you are saying that it is "still in UTC", what data are >>> you looking at? >>> > > You have not answered the above question. It might be that the > date you are looking at explicitl

Re: configuring tomcat to use nio

2012-07-30 Thread Mark Thomas
On 30/07/2012 19:26, Elias Kopsiaftis wrote: > thank you for your quick response. i actually found that document and > shouldve specified that. what i really meant was, what is the name of the > file you modify? http://tomcat.apache.org/tomcat-7.0-doc/config/index.html Mark

Re: configuring tomcat to use nio

2012-07-30 Thread Elias Kopsiaftis
thank you for your quick response. i actually found that document and shouldve specified that. what i really meant was, what is the name of the file you modify? On Mon, Jul 30, 2012 at 2:15 PM, Mark Thomas wrote: > On 30/07/2012 18:45, Elias Kopsiaftis wrote: > > My friend told me that my comet

Re: configuring tomcat to use nio

2012-07-30 Thread Mark Thomas
On 30/07/2012 18:45, Elias Kopsiaftis wrote: > My friend told me that my comet implementation wasnt working because i need > to configure tomcat to use nio rather than standard java io. what happens > is when i try to connect to the comet servlet from my client, im getting a > reponse that says get

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-30 Thread Tim Watts
On Mon, 2012-07-30 at 09:26 -0700, James Lampert wrote: > I have just wiped the Tomcat installation on the V5R4 box in question, > and done a clean install of 7.0.25. > > No change in its behavior. > > I tried a modified version of our standard Tomcat-launch CL program, > that adds a CATALINA_O

Re: tomcat maven plugin + [default] overlay

2012-07-30 Thread Olivier Lamy
2012/7/26 Albert Kam : > Hello, > > I am having a situation where i couldnt tomcat7:run with overlay in eclipse. > In the eclipse indigo, i am using the maven plugin, and have imported > two maven modules, > the childwebapp which depends on the parentwebapp, which is just like > a skeleton, with it

Re: tomcat maven plugin + configuring virtual host for the embedded tomcat ?

2012-07-30 Thread Olivier Lamy
Hi, Not possible currently. What is your use case ? those goals are for dev purpose. 2012/7/27 Albert Kam : > I am currently using the snapshot version of tomcat maven plugin. > And i am using tomcat7:run and tomcat7:run-war-only (for webapps with > overlay) actively. > > And the time has come for

configuring tomcat to use nio

2012-07-30 Thread Elias Kopsiaftis
My friend told me that my comet implementation wasnt working because i need to configure tomcat to use nio rather than standard java io. what happens is when i try to connect to the comet servlet from my client, im getting a reponse that says get request is not supported even though im using a post

Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

2012-07-30 Thread James Lampert
I have just wiped the Tomcat installation on the V5R4 box in question, and done a clean install of 7.0.25. No change in its behavior. I tried a modified version of our standard Tomcat-launch CL program, that adds a CATALINA_OPTS environment variable, with a value of "-verbose:class" (excerpt

RE: Speeding up RMI calls

2012-07-30 Thread Andrew Kujtan
> -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: Monday, July 30, 2012 10:36 AM > To: Tomcat Users List > Subject: RE: Speeding up RMI calls > > > Good Morning Andrew > > a directory with spaces has dogged me in the past (I specify > C:\PROGRA~1 to get th

RE: Speeding up RMI calls

2012-07-30 Thread Martin Gainty
Good Morning Andrew a directory with spaces has dogged me in the past (I specify C:\PROGRA~1 to get the 8.3 folder-name) glad to hear the "uber.jar" worked for you Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

RE: Speeding up RMI calls

2012-07-30 Thread Andrew Kujtan
> -Original Message- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: Saturday, July 28, 2012 10:02 AM > To: Tomcat Users List > Subject: RE: Speeding up RMI calls > > > Andrew > > It *sounds* like you are battling a network latency problem > Can you identify the target RMI ser

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Jose María Zaragoza
2012/7/30 Michele Mase' : > IE 6.x on my test pc, but also IE8 with other pcs. > Acrobat is 9.x, 9.5.1 version, a lot of clients have this version, an > upgrade is not possible for now. > I've reviewed the apache access log (when the doc is served by a web server > apache connected with ajp with th

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread André Warnier
Konstantin Kolinko wrote: ... So why a ranged request comes? A feature of Acrobat 9? I wonder what range headers are in it. If talking about IE browsers and Windows workstations, installing the "Fiddler2" plugin or similar would allow to see exactly which headers are being sent by the browse

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Konstantin Kolinko
2012/7/30 Michele Mase' : > IE 6.x on my test pc, but also IE8 with other pcs. > Acrobat is 9.x, 9.5.1 version, a lot of clients have this version, an > upgrade is not possible for now. > I've reviewed the apache access log (when the doc is served by a web server > apache connected with ajp with th

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Michele Mase'
IE 6.x on my test pc, but also IE8 with other pcs. Acrobat is 9.x, 9.5.1 version, a lot of clients have this version, an upgrade is not possible for now. I've reviewed the apache access log (when the doc is served by a web server apache connected with ajp with the tomcat), the only thing I see is a

Re: PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Konstantin Kolinko
2012/7/30 Michele Mase' : > I've the following problem: the server is running tomcat 7.0.27 (but also > with 7.0.28 and 7.0.29) and from the client (ie + acrobat 9) when opening > some pdf docs I receive an error complaining about a network error: > > "A network error occured while accessing this d

PDF Download problem tomcat >= 7.0.27

2012-07-30 Thread Michele Mase'
I've the following problem: the server is running tomcat 7.0.27 (but also with 7.0.28 and 7.0.29) and from the client (ie + acrobat 9) when opening some pdf docs I receive an error complaining about a network error: "A network error occured while accessing this document on interntet. Would you lik