Re: WebApp access to a LAN share

2011-10-16 Thread André Warnier
Léa Massiot wrote: Hello, Thank you for reading my post. Here is my problem: - I have two machines S and M on the same LAN. - S is a Debian machine running a Tomcat server. - And I have a WebApp W deployed on this Tomcat server. - M is a Windows machine which hosts some files for W. - S and M

Re: Tomcat 7 won't run as Windows service

2011-10-16 Thread Pid
On 15/10/2011 22:46, David Rush wrote: No, I did not uninstall the old service. I'd like to be able to keep multiple Tomcat instances going at once. Normally I do keep multiple instances, each installed as a service (on different ports with different service names), but they've always been

Re: Session across Realm and Servlet

2011-10-16 Thread Pid
On 16/10/2011 05:57, sailendra karthik wrote: On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra karthik wrote: I need to maintain a session object between Realm and Servlet. I have written a CustomRealm

Re: WebApp access to a LAN share

2011-10-16 Thread Brian Burch
On 15/10/11 23:27, Caldarale, Charles R wrote: From: Brian Burch [mailto:br...@pingtoo.com] Subject: Re: WebApp access to a LAN share Well, for a start a webapp is not normally allowed to access files outside its own container... Unless you've configured Tomcat to use a security manager,

Re: Session across Realm and Servlet

2011-10-16 Thread sailendra karthik
On Sun, Oct 16, 2011 at 2:25 PM, Pid p...@pidster.com wrote: On 16/10/2011 05:57, sailendra karthik wrote: On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra karthik wrote: I need to maintain a session

Re: Session across Realm and Servlet

2011-10-16 Thread Pid
On 16/10/2011 12:01, sailendra karthik wrote: On Sun, Oct 16, 2011 at 2:25 PM, Pid p...@pidster.com wrote: On 16/10/2011 05:57, sailendra karthik wrote: On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra

Re: WebApp access to a LAN share

2011-10-16 Thread Stefan Mayr
Am 16.10.2011 10:31, schrieb André Warnier: Léa Massiot wrote: Hello, Thank you for reading my post. Here is my problem: - I have two machines S and M on the same LAN. - S is a Debian machine running a Tomcat server. - And I have a WebApp W deployed on this Tomcat server. - M is a Windows

Re: Session across Realm and Servlet

2011-10-16 Thread Chema
In my Custom Realm Implementation iam autheticating some user and allowing him to access my webapps(servlets or filters) (my application) This authentication session i need it to be reused in my webapp(to avoid another authentication) if it is an authorized session. So for this purpose

Re: WebApp access to a LAN share

2011-10-16 Thread Léa Massiot
Hello everyone and thank you very much for your fast answers. @Brian and @Chuck I did configure the WebApp context.xml file to let my WebApp access files elsewhere on my hard disk (S hard disk for now). You are helpful. Thank you. @p Yeah... well, in the end, I'll have to put everything on the

Re: filters on j_security_check

2011-10-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chema, On 10/15/2011 4:18 PM, Chema wrote: This is one of the reasons I switched to SecurityFilter: there is a FlexibleRealmInterface that passes-in the HttpServletRequest that was used to attempt authentication. That allows you to get nice

Re: filters on j_security_check

2011-10-16 Thread Chema
Frankly, if you're using Spring Security, I'd stick with it. I myself am thinking of making the switch. Yes, I tried it and like it , but I need Single Sign On support and the solutions what Spring Security offers are complicated to implement by me

RE: Classloaders in catalina.properties

2011-10-16 Thread spring
Because, while the functionality remains, it's no longer the default. See: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Ah ok, thx. But why is this no longer documented? - To unsubscribe, e-mail:

Re: Classloaders in catalina.properties

2011-10-16 Thread Mark Thomas
On 16/10/2011 20:11, spr...@gmx.eu wrote: Because, while the functionality remains, it's no longer the default. See: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Ah ok, thx. But why is this no longer documented? Generally, using the shared class loader is a bad idea

Re: Session across Realm and Servlet

2011-10-16 Thread sailendra karthik
On Sun, Oct 16, 2011 at 5:16 PM, Chema demablo...@gmail.com wrote: In my Custom Realm Implementation iam autheticating some user and allowing him to access my webapps(servlets or filters) (my application) This authentication session i need it to be reused in my webapp(to avoid

Service not starting due to java.lang.NoSuchMethodError

2011-10-16 Thread Ricardo Martin
Hi there I have a Centos 5.7 server with JRE 1.6.0u27, tomcat 6.0.33 postgresql 9.1. Every time I start the tomcat service it fails with the following message in the log: java.lang.NoSuchMethodError: org.apache.naming.NamingContextBindingsEnumeration.init(Ljava/util/Iterato

RE: Service not starting due to java.lang.NoSuchMethodError

2011-10-16 Thread Caldarale, Charles R
From: Ricardo Martin [mailto:rmar...@chamsyspr.com] Subject: Service not starting due to java.lang.NoSuchMethodError I have a Centos 5.7 server with JRE 1.6.0u27, tomcat 6.0.33 postgresql 9.1. How was Tomcat installed? Is it a real Tomcat downloaded ftom tomcat.apache.org, or a 3rd-party

RE: Service not starting due to java.lang.NoSuchMethodError

2011-10-16 Thread Ricardo Martin
Thanks Charles. It was actually a real Tomcat version downloaded from tomcat.apache.org. The only detail I forgot to mention (not sure if it's important), is that this Centos 5.7 is installed in a virtual space using VMware Player.   Ricardo -Original Message- From: Caldarale, Charles R

Re: appbase directory deleted partically

2011-10-16 Thread Osamu Ochiai
Thanks. I mean that the directories other than WEB-INF directory were deleted. Thanks again. Osamu Ochiai From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Date: 2011/10/16 01:15 Subject:Re: appbase directory deleted partically On 14/10/2011 04:07,

Re: Configuration for both protected and public URLs in a web application

2011-10-16 Thread Yogesh Shankarappa
On Sat, Oct 15, 2011 at 11:49 AM, Brian Burch br...@pingtoo.com wrote: On 15/10/11 14:47, Yogesh Shankarappa wrote: Thanks for your response. I tried your suggestion, unfortunately it did not work. There must be a solution for this as most web applications have both public and protected

Re: appbase directory deleted partically

2011-10-16 Thread Konstantin Kolinko
2011/10/17 Osamu Ochiai ooch...@jp.ibm.com: Thanks. I mean that the directories other than WEB-INF directory  were deleted. Thanks again. Osamu Ochiai Do not top-post. Look at Context attributes such as antiJARLocking Unixes allow to delete files that are still open for

Re: Service not starting due to java.lang.NoSuchMethodError

2011-10-16 Thread Konstantin Kolinko
2011/10/17 Ricardo Martin rmar...@chamsyspr.com: Thanks Charles. It was actually a real Tomcat version downloaded from tomcat.apache.org. The only detail I forgot to mention (not sure if it's important), is that this Centos 5.7 is installed in a virtual space using VMware Player. Ricardo