Re: BackupManager vs DeltaManager

2010-11-02 Thread Pid
On 01/11/2010 14:44, Ossi wrote: On Fri, Oct 29, 2010 at 1:51 PM, Pid p...@pidster.com wrote: On 29/10/2010 11:17, Ossi wrote: Hi! Should BackupManager work well with any number of nodes? Yes. And with large clusters it should work even better than DeltaManager? Yes. *Should*. We

Re: Tomcat Maven and Axis 1.5.1 problem

2010-11-02 Thread srd.pl
For now I solved the problem adding the Snapshot files: dependency groupIdorg.apache.axis2.wso2/groupId artifactIdaxis2/artifactId version1.6.0.wso2v1-SNAPSHOT/version /dependency But this also required adding some repositories. I don't like this

Connector Setting Problem in tomcat 6.0.29

2010-11-02 Thread rujin raj
I am using tomcat 6.0.29 64 bit and java 64 1.6.0 64 bit edition.I configured the http connector minSpareThreads and MaxSpareThreads. While starting the tomcat it is giving the error as follows. 2 Nov, 2010 4:55:24 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based

Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread dB .
I am trying to help someone with a Tomcat 5.5 implementation of waffle (waffle.codeplex.com). It has authenticator valve that works well with tc6. I declare a valve inside the web app: Context.xml ?xml version='1.0' encoding='utf-8'? Context Valve

Re: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
2010/11/2 dB. dbl...@dblock.org: I am trying to help someone with a Tomcat 5.5 implementation of waffle (waffle.codeplex.com). It has authenticator valve that works well with tc6. I declare a valve inside the web app: Context.xml ?xml version='1.0' encoding='utf-8'? Context  Valve

RE: Connector Setting Problem in tomcat 6.0.29

2010-11-02 Thread Richard G Curry
The following link points to something similar to what you have here, perhaps it can guide you to a solution: http://mail-archives.apache.org/mod_mbox/tomcat-users/200705.mbox/%3c4656d0d8.4010...@pidster.com%3e

RE: Connector Setting Problem in tomcat 6.0.29

2010-11-02 Thread Caldarale, Charles R
From: rujin raj [mailto:rujin...@gmail.com] Subject: Connector Setting Problem in tomcat 6.0.29 I am using tomcat 6.0.29 64 bit and java 64 1.6.0 64 bit edition.I configured the http connector minSpareThreads and MaxSpareThreads. There are no such settings for the Connector element; read

RE: ISAPI Redirector Work-Flow

2010-11-02 Thread Richard G Curry
Another question, in particular about this: It's not a redirect. The request data is converted to the AJP13 binary protocol which is received by an AJP connector in Tomcat. How is the request data passed? It is a Remore Procedure Call, an IP port connection, or something else?

RE: ISAPI Redirector Work-Flow

2010-11-02 Thread Caldarale, Charles R
From: Richard G Curry [mailto:rgcu...@jcpenney.com] Subject: RE: ISAPI Redirector Work-Flow How is the request data passed? It is a Remore Procedure Call, an IP port connection, or something else? AJP is analogous to HTTP, in that it passes requests and responses over a TCP/IP connection,

Protecting static resources in IIS

2010-11-02 Thread Siva prakash I V
Hi, Though I know that this forum is not for IIS related questions, It will be great if someone can help me out with the following problem. I need to protect the end user's access (thru a url) to the static resources like images directory in IIS but still allowing my app jsps in Tomcat ROOT.

RE: Protecting static resources in IIS

2010-11-02 Thread Rob Gregory
While this is not a forum nor is the mailing list about IIS a quick suggestion and one we implement is to place a blank (or custom) index.html file into every directory within the site. This will then be served up when requests for resources are received. Hope that helps Rob -Original

Re: Protecting static resources in IIS

2010-11-02 Thread Siva prakash I V
Firstly, Thanks for the info. I've done what you've said. Consider my directory structure as below in IIS. IISROOT/images/TestDir/A.gif IISROOT/images/TestDir/index.html (newly introduced one) If I hit the following url, it shows the index.html https://hostname/images/TestDir/

Re: Java update from Apple broke Tomcat

2010-11-02 Thread Stephen Caine
Rob, We use Tomcat 6.0.28 on Mac OS X 10.6.4 with the latest Java update and it seems to start up just fine. Stephen Caine Soft Breeze Systems, LLC On Nov 1, 2010, at 1:55 PM, Rob Tanner wrote: Hi, While I run production on Linux servers, I do my development on my iMac. Last week, I ran

RE: ISAPI Redirector Work-Flow

2010-11-02 Thread Richard G Curry
That is what I thought and I thank you for your confirmation of this. I appreciate your time and support. ___ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»

RE: Protecting static resources in IIS

2010-11-02 Thread Rob Gregory
Hi Siva, The only way I know of protecting an 'actual' request for a specific resource is to remove the resource from the web server. I Can't see why you would want to stop access to something when it is actually requested otherwise what would be the point of deploying it (if nothing can access

Re: Protecting static resources in IIS

2010-11-02 Thread Siva prakash I V
Hi Rob, My app contains a sequence of images like for eg. A/11.gif, A/12.gif, A/19.gif, B/21.gif... etc. These images are used to identify a valid user of my app. As these images are easily guessable, it may be easy for anyone to download all possible images and may lead to phishing attack.

Re: Protecting static resources in IIS

2010-11-02 Thread Mikolaj Rydzewski
On Tue, 2 Nov 2010 21:18:02 +0530, Siva prakash I V sivaprakash...@gmail.com wrote: My app contains a sequence of images like for eg. A/11.gif, A/12.gif, A/19.gif, B/21.gif... etc. These images are used to identify a valid user of my app. As these images are easily guessable, it may be

RE: Protecting static resources in IIS

2010-11-02 Thread Rob Gregory
Are you trying to implement some form of Capatcha to stop automated attacks against a logon screen or something similar? If so there is a nice opensource one @ http://jcaptcha.sourceforge.net/ and an alternative from Google http://www.captcha.net/ which support audio (but requires an internet

Re: Protecting static resources in IIS

2010-11-02 Thread Pid *
On 2 Nov 2010, at 15:48, Siva prakash I V sivaprakash...@gmail.com wrote: Hi Rob, My app contains a sequence of images like for eg. A/11.gif, A/12.gif, A/19.gif, B/21.gif... etc. These images are used to identify a valid user of my app. As these images are easily guessable, it may be

Re: Java update from Apple broke Tomcat

2010-11-02 Thread Rob Tanner
Rick, Yep, extraneous jar files that didn't belong there. Don't know why it worked before the upgrade and not after, but the problem was easy enough to fix once it was identified. Everything works now. -- Rob On 11/1/10 3:48 PM, Richard G Curry rgcu...@jcpenney.com wrote: Did you check

RE: Protecting static resources in IIS

2010-11-02 Thread Richard G Curry
What if you put your images into a sub-directory of your app directory -- something like images -- and set the access rights on that directory to be only accessible by the SYSTEM account. ___

RE: Protecting static resources in IIS

2010-11-02 Thread Rob Gregory
Would that then result in having to run Tomcat/Apache/IIS as root/system rather than a restricted user? -Original Message- From: Richard G Curry [mailto:rgcu...@jcpenney.com] Sent: 02 November 2010 17:43 To: Tomcat Users List Subject: RE: Protecting static resources in IIS What

RE: Protecting static resources in IIS

2010-11-02 Thread Richard G Curry
Yes. ___ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» ___ Rick Curry Common Services - Software

RE: Protecting static resources in IIS

2010-11-02 Thread Caldarale, Charles R
From: Richard G Curry [mailto:rgcu...@jcpenney.com] Subject: RE: Protecting static resources in IIS From: Rob Gregory [mailto:rob.greg...@ibsolutions.com] Subject: RE: Protecting static resources in IIS Would that then result in having to run Tomcat/Apache/IIS as root/system rather

RE: Protecting static resources in IIS

2010-11-02 Thread Richard G Curry
How so? What am I missing? ___ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤» ___ Rick Curry Common

RE: Protecting static resources in IIS

2010-11-02 Thread Caldarale, Charles R
From: Richard G Curry [mailto:rgcu...@jcpenney.com] Subject: RE: Protecting static resources in IIS From: Rob Gregory [mailto:rob.greg...@ibsolutions.com] Subject: RE: Protecting static resources in IIS Would that then result in having to run Tomcat/Apache/IIS as root/system

Release COM Objects

2010-11-02 Thread Leo Donahue - PLANDEVX
http://j-integra.intrinsyc.com/support/com/doc/gc/index.html #4 com.linar.jintegra.Cleaner.releaseAll(); Can Tomcat call this method prior to shutting down as a windows service? If so where would I configure this? JSF 1.2 (Sun RI) mojarra-1.2 Tomcat running as a windows service Using

Re: Release COM Objects

2010-11-02 Thread Tim Funk
Ideally - you would do this as a servlet filter and configured as part of the webapp. So when the filter is destroyed - it unregisters the object. -Tim On 11/2/2010 2:53 PM, Leo Donahue - PLANDEVX wrote: http://j-integra.intrinsyc.com/support/com/doc/gc/index.html #4

RE: Protecting static resources in IIS

2010-11-02 Thread Richard G Curry
Good point -- one I did not consider as in my realm of reference I am in a secured zone -- no outside access. Makes a big difference. ___ «¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»

RE: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread dB .
Thanks for your help. I should have done this (logging) in the first place, sorry. The filter is invoked properly. The new problem is that the headers aren't added (or sent to the client). The code looks like this: response.addHeader(WWW-Authenticate, Negotiate);

Re: Release COM Objects

2010-11-02 Thread Len Popp
I would use a ServletContextListener. It gets notified when the webapp is initialized and destroyed. -- Len On Tue, Nov 2, 2010 at 14:53, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: http://j-integra.intrinsyc.com/support/com/doc/gc/index.html #4

RE: Release COM Objects

2010-11-02 Thread Leo Donahue - PLANDEVX
-Original Message- From: Len Popp [mailto:len.p...@gmail.com] Subject: Re: Release COM Objects I would use a ServletContextListener. It gets notified when the webapp is initialized and destroyed. -- Len Filter vs ServletContextListener. When does Tomcat tell me in the logs that I might

RE: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread dB .
After some more code-reading I found the problem. Looking at the implementation of response.sendError in TC5, it's clear that it dumps whatever headers you added prior to the call. Changing this to setStatus fixed the problem. I assume this means that Tomcat doesn't get a chance to render it's

Re: Release COM Objects

2010-11-02 Thread Pid
On 02/11/2010 22:05, Len Popp wrote: I would use a ServletContextListener. It gets notified when the webapp is initialized and destroyed. +1 init happens before servlets shutdown, destroy happens after. p -- Len On Tue, Nov 2, 2010 at 14:53, Leo Donahue - PLANDEVX

Re: Release COM Objects

2010-11-02 Thread Pid
On 02/11/2010 22:23, Leo Donahue - PLANDEVX wrote: -Original Message- From: Len Popp [mailto:len.p...@gmail.com] Subject: Re: Release COM Objects I would use a ServletContextListener. It gets notified when the webapp is initialized and destroyed. -- Len Filter vs

Re: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
2010/11/3 dB. dbl...@dblock.org: After some more code-reading I found the problem. Looking at the implementation of response.sendError in TC5, it's clear that it dumps whatever headers you added prior to the call. Changing this to setStatus fixed the problem. I assume this means that Tomcat

How to stop tomcat to be run more than two times.

2010-11-02 Thread Bill Wang
Hi all, I have installed apache-tomcat-6.0.29 on my solaris box, then i start the tomcat services succsfully. But my question is, when the tomcat services is running, I try to start it again, the script (startup.sh) don't stop me, and start the second tomcat services. So how can I let tomcat to

Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-02 Thread Vikram Vaswani
Hello I am new to Tomcat and request help with the following problem on Tomcat/Windows. My Tomcat installation is at C:\program files\Tomcat I have created an application as per the instructions in the Tomcat Application Developer's Guide and am able to build and deploy it using Ant. When

web.xml cant load because of listener

2010-11-02 Thread Will Sumekar
Hi When I put these lines: listener listener-class org.springframework.web.context.ContextLoaderListener /listener-class /listener my appln can't load at all. When I go to http://localhost:8080/app it's not loaded. But when I remove those lines it loads correctly. I've put

RE: Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-02 Thread Caldarale, Charles R
From: Vikram Vaswani [mailto:vikram.melonf...@gmail.com] Subject: Deploying Tomcat app with Ant to non-webapps location (Windows) When deployed, the application ends up at C:\program files\Tomcat\lcs (lcs is the application name). Not an appropriate spot, so it's good that you want to move

Tomcat shuts down with exception within few seconds?

2010-11-02 Thread Karthik Nanjangude
Hi Tomcat shuts down with exception within few seconds? SPEC Sun JDK 1.5 TOMCAT 6.0.29 [ Startup port 8090 / Shut down Port 8.91 ] O/s $ uname -a Linux instaroamd 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux $ lsb_release -a LSB Version:1.3 Distributor

Dispatching request from Servlet to Portlet

2010-11-02 Thread sachin_nabble
Hi, I am new to servlets portlets and I need to set Session timeout at Application level, in portlet somehow i am unable to set session time for Application,( Portlet level session available in Portlet thr RenderRequest object) so i am planning to set Application level Session timeout by

Re: Tomcat shuts down with exception within few seconds?

2010-11-02 Thread jie tang
From the exception stack. Maybe you should use the command ping localhost to see whether your host can resolve the host-name localhost. 2010/11/3 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com Hi Tomcat shuts down with exception within few seconds? SPEC Sun JDK 1.5 TOMCAT 6.0.29