RE: Tomcat shuts down with exception within few seconds?

2010-11-02 Thread Karthik Nanjangude
Hi >> TOMCAT 6.0.29 [ Startup port 8090 / Shut down Port 8091 ] $ ping localhost ping: unknown host localhost Any alternatives With regards Karthik -Original Message- From: jie tang [mailto:crybird2...@gmail.com] Sent: Wednesday, November 03, 2010 11:26 AM To: Tomcat Users List

How I can upgrade tomcat ship with JBoss

2010-11-02 Thread wwtfu
Hi all, Does anyone know how I can upgrade the Tomcat ship with JBoss? My current version of Tomcat is 5.5.9 and need to upgrade to at least 5.5.28 to resolve the vulnerability issue. Appreciate all your advise. Thanks, FU

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 > Hi > > Tomcat shuts down with exception within few seconds? > > > > SPEC > Sun JDK 1.5 > TOMCAT 6.0.29 [ Startup port 8090

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 usin

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 I

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 mo

web.xml cant load because of

2010-11-02 Thread Will Sumekar
Hi When I put these lines: org.springframework.web.context.ContextLoaderListener 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 the necessary lib containing org.springframework.

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 deploy

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

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

2010-11-02 Thread Konstantin Kolinko
2010/11/3 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

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 > > > Filte

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 > wrote: >

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 c

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

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 wrote: > http://j-integra.intrinsyc.com/support/com/doc/gc/index.html > > #4 com.linar.jintegra.Cleaner.releaseAll(); > > Can Tomcat c

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: 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: 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 com.linar.jintegra.Cleane

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 CATAL

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 > >

RE: Protecting static resources in IIS

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

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

RE: Protecting static resources in IIS

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

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 > >

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: 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" wrote: > Did you check you classpath? > >

Re: Protecting static resources in IIS

2010-11-02 Thread Pid *
On 2 Nov 2010, at 15:48, Siva prakash I V 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 easy for anyone to d

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 conn

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 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 easy for anyone to down

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. H

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 it

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: 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 r

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. /images/TestDir/A.gif /images/TestDir/index.html (newly introduced one) If I hit the following url, it shows the index.html https:///images/TestDir/

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 Mess

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. Th

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 connecti

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: 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 element; read the doc

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: Tomcat 5.5: how doesone configure an authenticator valve?

2010-11-02 Thread Konstantin Kolinko
2010/11/2 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 > > > >   principalFormat="fqn" roleFormat="both" /> >   > > Note, that

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 Web.xml Waffle Security Constraint Protected Area /* DELET

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 Apache

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: org.apache.axis2.wso2 axis2 1.6.0.wso2v1-SNAPSHOT But this also required adding some repositories. I don't like this solution but I think it will have to do for now... Ron McNulty-2 wrote:

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 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