Policy files

2013-04-23 Thread Christian Beikov
Hello there! I am using tomcat as an embedded container for a while now, it is really amazing, but now I got stuck on a topic. I am implementing a testsuite for automatic testing of uploaded solutions by students. The deployment works like a charm, I also found your StuckThreadDetectionValve v

Question regarding tomcat upgrade from 7.0.23. to 7.0.37

2013-04-23 Thread Madhu Purohit
Hi We have recently upgraded tomcat fom 7.0.23 to 7.037 and also Java from 1.6.0_21 to 1.7.0_15. When we run the load runner testcases we get the following error “content was blocked because it was not signed by a valid certificate” But other normal browser testing goes through. Do we need to i

Configuring IIS to use the JK ISAPI redirector plugin when URL paths are different

2013-04-23 Thread Beavers, Melinda K (Kay)
We have installed the IIS-Tomcat redirector (isapi_redirect.dll) on an IIS 6 server so that http://iis.company.com/website/myfile.jsp will correctly redirect according to our 'isapi_redirect.properties', 'workers.properties', and 'uriworkermap.properties ' and serve the JSP page from http://t

RE: tomcat reload problem

2013-04-23 Thread Caldarale, Charles R
> From: naouguh_tomcat [mailto:908245...@qq.com] > Subject: tomcat reload problem > When I reload one application in tomcat html manager console in tomcat > 1.6.0_33 No such Tomcat version exists; it appears you're referring to the JVM level. > "SEVERE: The web application [/service-internal]

RE: Question on servlet determination

2013-04-23 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: Question on servlet determination >   /Servlet1 >   /Servlet2 What happens if you try this instead: /Servlet1/* /Servlet2/* - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIE

tomcat reload problem

2013-04-23 Thread naouguh_tomcat
Hi All, When I reload one application in tomcat html manager console in tomcat 1.6.0_33,there is a SERVE error occur , "SEVERE: The web application [/service-internal] appears to have started a thread named [MaintThread] but has failed to stop it. This is very likely to create a memory leak." I

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Konstantin Kolinko
2013/4/23 Shanti Suresh : > All, > > I am wondering what I'm doing wrong - the Manager application is denying me > access. > Here are the details: > > Tomcat version: > 7.0.33 > JDK version: > java version "1.7.0_09" > Java(TM) SE Runtime Environment (build 1.7.0_09-b05) > Java HotSpot(TM)

Re: Question on servlet determination

2013-04-23 Thread Neven Cvetkovic
> > > > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > > > > > > > > Everything > > *.jsp > > *.html > > *.js > > /Servlet1 > > /Servlet2 > > > Jeffrey, why don't you just use "catch all" url pattern?

RE: Question on servlet determination

2013-04-23 Thread Propes, Barry L
Is that right? I didn't realize that. I was about to ask if you had any reference "/" before any of the welcome files. Although I'm not sure the XML file would even allow that would it? I don't think I've tried it. Maybe it would. -Original Message- From: Jeffrey Janner [mailto:jeffrey.

RE: Question on servlet determination

2013-04-23 Thread Jeffrey Janner
> -Original Message- > From: Propes, Barry L [mailto:barry.l.pro...@citi.com] > Sent: Tuesday, April 23, 2013 4:34 PM > To: 'Tomcat Users List' > Subject: RE: Question on servlet determination > > I'm tempted to say no. > > Because you might be adding a "/" in front of your servlet mappin

RE: Question on servlet determination

2013-04-23 Thread Propes, Barry L
I'm tempted to say no. Because you might be adding a "/" in front of your servlet mapping. In other words, changing the path of the folder slightly, with a different relative path. From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Tuesday, April 23

RE: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Propes, Barry L
I'm not sure if it's applicable here, but I'll let you know my prior experience with this kind of thing on Tomcat 6.0.xx. I've had to stop the manager app, clear out the work folder and I think maybe even delete the manager.xml file out of the conf\Catalina\localhost dir because it wasn't getti

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Shanti Suresh
Hi Jakub, Thank you for the suggestions. Appreciate the thoughts. On Tue, Apr 23, 2013 at 3:33 PM, Jakub 1983 wrote: > try to comment out RemoteAddrValve, > and check if the error still exists > Yes, I had tried that. It didn't work. > have you added into users.xml ? > add and try with we

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Jakub 1983
try to comment out RemoteAddrValve, and check if the error still exists have you added into users.xml ? add and try with web page, what is the error ? have you tried with bare - without sha ? for me, starting with pure downloaded latest tomcat 7, following configuration enables html

Re: two responses from one request - how is it possible ?

2013-04-23 Thread Shanti Suresh
André Please kindly share the half-page that you have written up so far. Actually, would you please finish it up and then post? Thanks :-) -Shanti On Tue, Apr 23, 2013 at 11:53 AM, André Warnier wrote: > > >> Well, I did not want Jakub to remain influenced by that very bad

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Shanti Suresh
Hi Leo, On Tue, Apr 23, 2013 at 1:56 PM, Leo Donahue - RDSA IT < leodona...@mail.maricopa.gov> wrote: > > > Is that password really the SHA value of something? > > If your password was: password1, then you would store the SHA value of > "password1" in your tomcat-users.xml > > > Not the entry I

RE: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Leo Donahue - RDSA IT
>-Original Message- >From: Shanti Suresh [mailto:sha...@umich.edu] >Subject: Tomcat 7.0.33 manager - 403 Access Denied > >All, > >I am wondering what I'm doing wrong - the Manager application is denying me >access. >Here are the details: > >Tomcat version: > 7.0.33 >JDK version: > java ve

Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Shanti Suresh
All, I am wondering what I'm doing wrong - the Manager application is denying me access. Here are the details: Tomcat version: 7.0.33 JDK version: java version "1.7.0_09" Java(TM) SE Runtime Environment (build 1.7.0_09-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode) Op

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
Sorry I meant "nio" connector not bio connector. Outlook auto-correct is not smart enough :) On 4/23/13 Apr 23, 12:08 PM, "Praveen Peddi" wrote: >I am not sure if this is the same issue I am having but apparently I am >also using atmosphere for web sockets and make it work in embedded tomcat. >

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
I am not sure if this is the same issue I am having but apparently I am also using atmosphere for web sockets and make it work in embedded tomcat. I looked at the tomcat unit tests for bio connector and the tests are not doing anything special. They set the address to localhost. I tried the below

Re: two responses from one request - how is it possible ?

2013-04-23 Thread André Warnier
Jeffrey Janner wrote: -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, April 22, 2013 4:40 PM To: Tomcat Users List Subject: Re: two responses from one request - how is it possible ? Jeffrey Janner wrote: ... In actuality, he should have stopped the first s

RE: in web.xml

2013-04-23 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Thursday, April 18, 2013 5:01 PM > To: Tomcat Users List > Subject: Re: in web.xml > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jakub, > > On 4/17/13 9:22 PM, Jakub 1983 wrote: >

RE: two responses from one request - how is it possible ?

2013-04-23 Thread Jeffrey Janner
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Monday, April 22, 2013 4:40 PM > To: Tomcat Users List > Subject: Re: two responses from one request - how is it possible ? > > Jeffrey Janner wrote: > ... > > > > > In actuality, he should have stopped the first

RE: two responses from one request - how is it possible ?

2013-04-23 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Monday, April 22, 2013 4:31 PM > To: Tomcat Users List > Subject: Re: two responses from one request - how is it possible ? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jeffrey, >

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Tribon Cheng
Just like this issue: http://atmosphere-framework.2306103.n4.nabble.com/WebSocket-not-working-on-Tomcat-7-With-NIO-connector-was-WebSocket-not-working-on-Tomcat-7-td4652351.html On Tue, Apr 23, 2013 at 10:16 PM, Mark Thomas wrote: > On 23/04/2013 15:11, Praveen Peddi wrote: > > Hi all, I am tr

Re: Setting Nio connector in embedded tomcat7

2013-04-23 Thread Mark Thomas
On 23/04/2013 15:11, Praveen Peddi wrote: > Hi all, I am trying to set Nio connector in tomcat7 so I can use > WebSocket support. I did the following (as simple as it can get) but > it doesn't seem to work. When I do this I can't connect to the > server. For example I have a GET REST request that s

Setting Nio connector in embedded tomcat7

2013-04-23 Thread Praveen Peddi
Hi all, I am trying to set Nio connector in tomcat7 so I can use WebSocket support. I did the following (as simple as it can get) but it doesn't seem to work. When I do this I can't connect to the server. For example I have a GET REST request that should work but I get connection refused. Same w

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-23 Thread Jakub 1983
Mark, thx for investigation, apart from users@tomcat.apache.org I have also sent previous post with attachments to ma...@apache.org regards Jakub On Tue, Apr 23, 2013 at 1:04 PM, Mark Thomas wrote: > On 21/04/2013 13:57, Jakub 1983 wrote: > > Mark, > > sorry I didn't reply so long, but my prev

Re: conf/Catalina/localhost/myWebApp.xml context file disappears

2013-04-23 Thread Mark Thomas
On 21/04/2013 13:57, Jakub 1983 wrote: > Mark, > sorry I didn't reply so long, but my previous tomcat was messed with > tests and many attempts, now I did everything from start with clean > tomcat installation and confirm context xml disappears. > > steps to reproduce > > 1) make dir C:\tomcat_t