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_test 2)

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 ma...@apache.org wrote: On 21/04/2013 13:57, Jakub 1983 wrote: Mark, sorry I didn't reply so long,

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

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

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 ma...@apache.org wrote: On 23/04/2013 15:11, Praveen Peddi wrote:

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

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

RE: resource-ref 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: resource-ref 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 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

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: 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 ppe...@kivasystems.com 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

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)

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 version

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 posted. I

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 a...@ice-sa.com wrote: Well, I did not want Jakub to remain influenced by

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 role rolename=manager-jmx/ into users.xml ? add role rolename=manager-gui/ and try with web page, what is the error ? have you tried with bare Realm className=org.apache.catalina.realm.UserDatabaseRealm

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 jjaku...@gmail.com 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 role

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

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: 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 mapping. In

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

Re: Question on servlet determination

2013-04-23 Thread Neven Cvetkovic
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] web-app security-constraint web-resource-collection web-resource-nameEverything/web-resource-name url-pattern*.jsp/url-pattern url-pattern*.html/url-pattern

Re: Tomcat 7.0.33 manager - 403 Access Denied

2013-04-23 Thread Konstantin Kolinko
2013/4/23 Shanti Suresh sha...@umich.edu: 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

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

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   url-pattern/Servlet1/url-pattern   url-pattern/Servlet2/url-pattern What happens if you try this instead: url-pattern/Servlet1/*/url-pattern

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]

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

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