Re: How to support IPv6 on Apache Tomcat Version 7.0.22

2012-09-11 Thread Aditi Sinha
Chris, Thanks for the info. I would start another email thread. Regards, Aditi On Mon, Sep 10, 2012 at 7:11 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aditi, On 9/10/12 3:19 AM, Aditi Sinha wrote: Wanted to know if

how to read files in file system

2012-09-11 Thread IBM partner Gestione Elaboratori
With jsp i can read files in the file system only if there are located under the directory webapps/application/file. If I read a file ,for example, in c:/filename Tomcats signals an error (se atthachment) How to read files located everywere in the file system? paoloc

Re: how to read files in file system

2012-09-11 Thread André Warnier
IBM partner Gestione Elaboratori wrote: With jsp i can read files in the file system only if there are located under the directory webapps/application/file. If I read a file ,for example, in c:/filename Tomcats signals an error (se atthachment) How to read files located everywere in the file

RE: how to read files in file system

2012-09-11 Thread Martin Gainty
//in ${catalina.base}/conf/catalina.policy //grant the containing jar (read and write) FilePermission to folder named 'filename' located off of root //if the jar (containing the class which will access filename folder) is tomcat-juli.jar grant codeBase

Re: how to read files in file system

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 3:11 AM, IBM partner Gestione Elaboratori wrote: With jsp i can read files in the file system only if there are located under the directory webapps/application/file. If I read a file ,for example, in c:/filename Tomcats signals an error (se atthachment) Again, there is

Re: Offline generation of effective web.xml

2012-09-11 Thread Mark Thomas
Violeta Georgieva violet...@apache.org wrote: Hi, I do know that if I provide logEffectiveWebXml=true in my context.xml then the effective web.xml will be logged in the log files during application start. Is there a way (library etc.) that I can use to generated effective web.xml offline i.e.

Re: Offline generation of effective web.xml

2012-09-11 Thread Violeta Georgieva
It would be very useful if I can provide this as part of the build infrastructure for example. If you can give me a hint from where to start I may try to provide a patch for 8.0.x? Wdyt? 2012/9/11 Mark Thomas ma...@apache.org Violeta Georgieva violet...@apache.org wrote: Hi, I do know

HTTP NIO connector not supporting IPv6

2012-09-11 Thread Aditi Sinha
Hi, We have a web server hosted on Apache Tomcat Version 7.0.22. Machine details: Windows 2008 server machine, 32-bit OS Java version: jdk1.6.0_25 Two HTTP connectors are defined in server.xml. 1. For non-SSL requests: Connector with protocol=HTTP/1.1 (HTTP BIO connector) 2.

Re: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 8:21 AM, Aditi Sinha wrote: Hi, We have a web server hosted on Apache Tomcat Version 7.0.22. Machine details: Windows 2008 server machine, 32-bit OS Java version: jdk1.6.0_25 Two HTTP connectors are defined in server.xml. Please include the full

Re: Offline generation of effective web.xml

2012-09-11 Thread Mark Thomas
Violeta Georgieva miles...@gmail.com wrote: It would be very useful if I can provide this as part of the build infrastructure for example. If you can give me a hint from where to start I may try to provide a patch for 8.0.x? Wdyt? There is going to need to be a lot of refactoring for this. I'm

Re: Clusterning tomcat app server for production use

2012-09-11 Thread Mark Thomas
Ashish Kulkarni ashish.kulkarn...@gmail.com wrote: Hi I was looking into clusterning 2 instances of tomcat with apache server for production use, i ran into this blog and was able to configure tomcat and apache and is working fine, Can you please go through this blog and let me know if this is

Re: Offline generation of effective web.xml

2012-09-11 Thread Konstantin Kolinko
2012/9/11 Violeta Georgieva miles...@gmail.com: It would be very useful if I can provide this as part of the build infrastructure for example. If you can give me a hint from where to start I may try to provide a patch for 8.0.x? Wdyt? 2012/9/11 Mark Thomas ma...@apache.org Violeta

RE: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Jeffrey Janner
Aditi - All connectors support both IPv4 and IPv6, including BIO, NIO, and native/APR. However, how you configure the connector will affect which protocol is supported. As far as I've been able to tell from empirical testing (see previous threads), if you leave off the address parameter, the

RE: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Jeffrey Janner
-Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Tuesday, September 11, 2012 8:57 AM To: 'Tomcat Users List' Subject: RE: HTTP NIO connector not supporting IPv6 Aditi - All connectors support both IPv4 and IPv6, including BIO, NIO, and

Re: Clusterning tomcat app server for production use

2012-09-11 Thread Ashish Kulkarni
HI Which one is better for clustering tomcat in production environment - mod_jk the classic Apache/Tomcat module - mod_proxy another Apache module On Tue, Sep 11, 2012 at 9:07 AM, Mark Thomas ma...@apache.org wrote: Ashish Kulkarni ashish.kulkarn...@gmail.com wrote: Hi I was

Re: Clusterning tomcat app server for production use

2012-09-11 Thread Daniel Mikusa
On Sep 11, 2012, at 10:11 AM, Ashish Kulkarni wrote: HI Which one is better for clustering tomcat in production environment - mod_jk the classic Apache/Tomcat module - mod_proxy another Apache module I this explains the choice well.

Re: Clusterning tomcat app server for production use

2012-09-11 Thread Mark Thomas
On 11/09/2012 15:11, Ashish Kulkarni wrote: HI Which one is better for clustering tomcat in production environment - mod_jk the classic Apache/Tomcat module - mod_proxy another Apache module It depends. Again, please read: http://www.catb.org/esr/faqs/smart-questions.html Mark

tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-11 Thread Gert van Spijker
Hi, If this is not the correct list to ask about the Tomcat Maven plugins then I apologize in advance. I have been googiling for better places, but to no avail. I have a Maven Web application project and am trying to deploy to a local Tomcat 7 server on http://localhost:8080. I can access this

Re: tomcat 7.0.27 HTTP Status 404 - /manager/status

2012-09-11 Thread Pid *
On 10 Sep 2012, at 07:53, Ch. Fawad Nazir fa...@biome.io wrote: Yes Tomcat run with Root. That's not usually a good thing. How are you starting Tomcat? p I made a copy of tomcat-users.xml to tomcat-users.xml-old before make any changes to original file. Did some changes in tomcat-users.xml

Site down?

2012-09-11 Thread Pierre Goupil
Good evening, It looks like Tomcat's site is down! Regards, Pierre -- Le bonheur n'est pas une destination, mais une façon de voyager. Papa d'une petite Lou-Ann depuis le 30 juin.

Re: Site down?

2012-09-11 Thread Anjib Mulepati
Its up and running http://tomcat.apache.org/ On 9/11/2012 1:41 PM, Pierre Goupil wrote: Good evening, It looks like Tomcat's site is down! Regards, Pierre - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Site down?

2012-09-11 Thread Mark Thomas
On 11/09/2012 18:41, Pierre Goupil wrote: Good evening, It looks like Tomcat's site is down! This sort of message to the mailing list is usually not helpful. 1. The Tomcat developers don't have access to the server that hosts the website. So they can't fix it. 2. The several thousand

Re: Site down?

2012-09-11 Thread Pierre Goupil
OK, my apologies. On Tue, Sep 11, 2012 at 7:57 PM, Mark Thomas ma...@apache.org wrote: On 11/09/2012 18:41, Pierre Goupil wrote: Good evening, It looks like Tomcat's site is down! This sort of message to the mailing list is usually not helpful. 1. The Tomcat developers don't have

Re: tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-11 Thread Olivier Lamy
Hi, Some issues has been fixed regarding that. Is there any logs on server side. Did you try a recent snapshot or build yourself ? 2012/9/11 Gert van Spijker g...@ab-graph.com: Hi, If this is not the correct list to ask about the Tomcat Maven plugins then I apologize in advance. I have been

Re: tomcat7-maven-plugin 2.0-SNAPSHOT:deploy ignores server configuration

2012-09-11 Thread Gert van Spijker
On 11/09/12 20:34, Olivier Lamy wrote: Hi, Some issues has been fixed regarding that. Is there any logs on server side. Did you try a recent snapshot or build yourself ? No, I didn't. But I googled a bit more and found this:

RE: IIS 7.5 + AJP Connector

2012-09-11 Thread Alex Samad - Yieldbroker
okay.. worked it out. Seems like I had the application pool set to no .net framework... and integrated pipeline NOT classic. But it seem if you don't set a .net it uses the old IIS6 ISAPI reg settings ! So now I have set .net framework to 4 , even though the plugin doesn't use it (I presume)

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-11 Thread Kiran Badi
On 9/8/2012 4:09 PM, Konstantin Kolinko wrote: Regarding the aliases feature: single path - multiple file paths: No multiple different non-intersecting paths - multiple file paths: Yes As far as I remember, an example of using multiple aliases is present in documentation. Thanks Konstantin,

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-11 Thread Konstantin Kolinko
2012/9/12 Kiran Badi ki...@poonam.org: On 9/8/2012 4:09 PM, Konstantin Kolinko wrote: Regarding the aliases feature: single path - multiple file paths: No multiple different non-intersecting paths - multiple file paths: Yes As far as I remember, an example of using multiple aliases is

Re: HTTP NIO connector not supporting IPv6

2012-09-11 Thread Aditi Sinha
Thanks Dan, Jeff. There are no errors in catalina.log file. The connector tags are defined as below in server.xml. This configuration does not support IPv6. Connector port=8080 protocol=*HTTP/1.1* connectionTimeout=2 redirectPort=8443 / Connector port=8443 protocol=*

Tomcat JNDI custom resource factory questions

2012-09-11 Thread Kirill Ilyukhin
Hi! I am using Tomcat 7.0.29 with a custom JNDI resource factory (http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#Adding_Custom_Resource_Factories). The factory creates a connection to data server which then can be shared between servlets. Two questions regarding the resource