RE: Tomcat 7 to 8 Upgrade - Performance Degradation

2014-08-11 Thread Peter Rifel
From: Mark Thomas [ma...@apache.org]
Sent: Sunday, August 10, 2014 2:35 AM
To: Tomcat Users List
Subject: RE: Tomcat 7 to 8 Upgrade - Performance Degradation

On 8 August 2014 21:52:58 BST, Peter Rifel pri...@mixpo.com wrote:

Yes I can build from svn to test changes.

Great.

  Do you want me to file a BZ case?

On one hand it isn't necessary since I'll fix any issues I find whether there 
is a bz entry or not. On the other hand it might help folks with a similar 
issue so if you don't mind...

I have filed Bugzilla 56838 to track this issue.


Thanks for looking into this,

Not problem. Thanks for presenting this clearly with a simple test. It makes 
debugging much easier.

Cheers,

Mark


-Peter
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Configuring a 'JarScanner' excluding classpath scanning, the 'VirtualWebappLoader' doesn't get scanned

2014-08-11 Thread Luc
Hello,

First of all, thanks for your reply.

2014-08-11 0:24 GMT+02:00 Konstantin Kolinko knst.koli...@gmail.com:

 It says Java classes and resources.
 It does not say webapp resources.

 It is ClassLoader.getResource().  It is not ServletContext.getResource().


Ok, there is no reference to webapp resources nor to which kind of
resources are available using it.

 VirtualWebappLoader only adds the jars into Webapp's classpath
 They are not citizens of WEB-INF/lib.

But if that .jar's added using the loader are not citizens of
WEB-INF/lib, but they are in the classloading, IMHO I only see half of
the benefits of using this loader.

One of the main focuses of Tomcat is accessing webapp resources, but using
any of the methods in our hands, and one of the methods is using
ServletContext.

Thanks!
--
Lucas


access non-default webapp

2014-08-11 Thread Patcharee Thongtra

Hi,

I have two applications running in Tomcat 6. I made the first app as a 
default web app by placing it as ROOT.war in webapps/. How can I access 
the second app? Whenever I browse http://localhost:8080/the_second_app/ 
Tomcat thinks I will access /the_second_app part in the first app.


Patcharee

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: access non-default webapp

2014-08-11 Thread Daniel Mikusa
On Mon, Aug 11, 2014 at 8:00 AM, Patcharee Thongtra 
patcharee.thong...@uni.no wrote:

 Hi,

 I have two applications running in Tomcat 6.


What version specifically?


 I made the first app as a default web app by placing it as ROOT.war in
 webapps/. How can I access the second app? Whenever I browse
 http://localhost:8080/the_second_app/ Tomcat thinks I will access
 /the_second_app part in the first app.


Did the second one deploy successfully?  Sounds like it didn't.  Maybe try
just deploying the second app and see what happens.

Dan



 Patcharee

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: access non-default webapp

2014-08-11 Thread Ognjen Blagojevic

Patcharee,

On 11.8.2014 14:00, Patcharee Thongtra wrote:

I have two applications running in Tomcat 6. I made the first app as a
default web app by placing it as ROOT.war in webapps/. How can I access
the second app? Whenever I browse http://localhost:8080/the_second_app/
Tomcat thinks I will access /the_second_app part in the first app.


What makes you think that?

Did you preprely deployed context the_second_app? How do you know you did?

Did you try to access http://localhost:8080/the_second_app/? What happens?

-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: access non-default webapp

2014-08-11 Thread Patcharee Thongtra


Hi,

I use version 6.0.0.37. The second app was already deployed.

Patcharee

On 08/11/2014 02:17 PM, Daniel Mikusa wrote:

On Mon, Aug 11, 2014 at 8:00 AM, Patcharee Thongtra 
patcharee.thong...@uni.no wrote:


Hi,

I have two applications running in Tomcat 6.


What version specifically?



I made the first app as a default web app by placing it as ROOT.war in
webapps/. How can I access the second app? Whenever I browse
http://localhost:8080/the_second_app/ Tomcat thinks I will access
/the_second_app part in the first app.


Did the second one deploy successfully?  Sounds like it didn't.  Maybe try
just deploying the second app and see what happens.

Dan



Patcharee

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: access non-default webapp

2014-08-11 Thread Patcharee Thongtra

Hi,

Actually it is my fault. The second app could not start up because of 
some lib missing. Now it is up and I can access.


Thanks.
Patcharee

On 08/11/2014 02:21 PM, Ognjen Blagojevic wrote:

Patcharee,

On 11.8.2014 14:00, Patcharee Thongtra wrote:

I have two applications running in Tomcat 6. I made the first app as a
default web app by placing it as ROOT.war in webapps/. How can I access
the second app? Whenever I browse http://localhost:8080/the_second_app/
Tomcat thinks I will access /the_second_app part in the first app.


What makes you think that?

Did you preprely deployed context the_second_app? How do you know you 
did?


Did you try to access http://localhost:8080/the_second_app/? What 
happens?


-Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



un-subscribe

2014-08-11 Thread Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC, 54350


Regards,

Keith Pendergrass (CIV) MS/ MBA/ Network+
IT Specialist (APPSW) Software/Data Engineer
Space  Naval Warfare Systems Command-Atlantic
2251 Lakeshore Drive
New Orleans, La 70122
Work: (504) 697-5549
DSN: 647-5549
Fax: (504) 697-5628
keith.pendergr...@navy.mil




smime.p7s
Description: S/MIME cryptographic signature


un-subscribe

2014-08-11 Thread Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC, 54350


Regards,

Keith Pendergrass (CIV) MS/ MBA/ Network+
IT Specialist (APPSW) Software/Data Engineer
Space  Naval Warfare Systems Command-Atlantic
2251 Lakeshore Drive
New Orleans, La 70122
Work: (504) 697-5549
DSN: 647-5549
Fax: (504) 697-5628
keith.pendergr...@navy.mil




smime.p7s
Description: S/MIME cryptographic signature


Re: un-subscribe

2014-08-11 Thread Mark Thomas
On 11/08/2014 14:15, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:
 
 
 Regards,
 
 Keith Pendergrass (CIV) MS/ MBA/ Network+
 IT Specialist (APPSW) Software/Data Engineer
 Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax: (504) 697-5628
 keith.pendergr...@navy.mil

As you have already been told twice off list when you mailed the list
owner, you need to send you unsubscription request to the list you are
subscribed to, not some random other Tomcat list.

The complete list of mailing lists (including with unsubscription
addresses) is here:
http://tomcat.apache.org/lists.html

And, also for the third time, once you have sent your unsubscription
request to the correct address and if it still fails, send a copy of
that failure to the list owners.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: un-subscribe

2014-08-11 Thread Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC, 54350
I have done all the above to no avail. 

Thanks,

Keith Pendergrass (CIV) MS/ MBA/ Network+
IT Specialist (APPSW) Software/Data Engineer
Space  Naval Warfare Systems Command-Atlantic
2251 Lakeshore Drive
New Orleans, La 70122
Work: (504) 697-5549
DSN: 647-5549
Fax:  (504) 697-5628
keith.pendergr...@navy.mil


-Original Message-
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Monday, August 11, 2014 9:02 AM
To: Tomcat Users List
Subject: Re: un-subscribe

On 11/08/2014 14:15, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:
 
 
 Regards,
 
 Keith Pendergrass (CIV) MS/ MBA/ Network+ IT Specialist (APPSW) 
 Software/Data Engineer Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax: (504) 697-5628
 keith.pendergr...@navy.mil

As you have already been told twice off list when you mailed the list owner, 
you need to send you unsubscription request to the list you are subscribed to, 
not some random other Tomcat list.

The complete list of mailing lists (including with unsubscription
addresses) is here:
http://tomcat.apache.org/lists.html

And, also for the third time, once you have sent your unsubscription request to 
the correct address and if it still fails, send a copy of that failure to the 
list owners.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



smime.p7s
Description: S/MIME cryptographic signature


Re: un-subscribe

2014-08-11 Thread Mark Thomas
On 11/08/2014 15:07, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:
 I have done all the above to no avail.

No you haven't. All you have provided to the list owners is a copy of
the response when you tried to unsubscribe to a list you weren't
subscribed to.

For the fourth time:
- send an unsubscription request to the correct unsubscription address
for the list you are subscribed to
- if that doesn't work, send a copy of the failure message you receive
to the list owners.

If you continue to ignore the advice you have been given, the list
owners are simply going to start ignoring you.

Mark


 
 Thanks,
 
 Keith Pendergrass (CIV) MS/ MBA/ Network+
 IT Specialist (APPSW) Software/Data Engineer
 Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax:  (504) 697-5628
 keith.pendergr...@navy.mil
 
 
 -Original Message-
 From: Mark Thomas [mailto:ma...@apache.org] 
 Sent: Monday, August 11, 2014 9:02 AM
 To: Tomcat Users List
 Subject: Re: un-subscribe
 
 On 11/08/2014 14:15, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
 54350 wrote:


 Regards,

 Keith Pendergrass (CIV) MS/ MBA/ Network+ IT Specialist (APPSW) 
 Software/Data Engineer Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax: (504) 697-5628
 keith.pendergr...@navy.mil
 
 As you have already been told twice off list when you mailed the list owner, 
 you need to send you unsubscription request to the list you are subscribed 
 to, not some random other Tomcat list.
 
 The complete list of mailing lists (including with unsubscription
 addresses) is here:
 http://tomcat.apache.org/lists.html
 
 And, also for the third time, once you have sent your unsubscription request 
 to the correct address and if it still fails, send a copy of that failure to 
 the list owners.
 
 Mark
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: un-subscribe

2014-08-11 Thread Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC, 54350
I have un-subscribed from every list and still get all postings so there is a 
reference somewhere that is not being un-subscribed from these services?

Thanks,

Keith Pendergrass (CIV) MS/ MBA/ Network+
IT Specialist (APPSW) Software/Data Engineer
Space  Naval Warfare Systems Command-Atlantic
2251 Lakeshore Drive
New Orleans, La 70122
Work: (504) 697-5549
DSN: 647-5549
Fax:  (504) 697-5628
keith.pendergr...@navy.mil


-Original Message-
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Monday, August 11, 2014 9:02 AM
To: Tomcat Users List
Subject: Re: un-subscribe

On 11/08/2014 14:15, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:
 
 
 Regards,
 
 Keith Pendergrass (CIV) MS/ MBA/ Network+ IT Specialist (APPSW) 
 Software/Data Engineer Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax: (504) 697-5628
 keith.pendergr...@navy.mil

As you have already been told twice off list when you mailed the list owner, 
you need to send you unsubscription request to the list you are subscribed to, 
not some random other Tomcat list.

The complete list of mailing lists (including with unsubscription
addresses) is here:
http://tomcat.apache.org/lists.html

And, also for the third time, once you have sent your unsubscription request to 
the correct address and if it still fails, send a copy of that failure to the 
list owners.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



smime.p7s
Description: S/MIME cryptographic signature


Re: un-subscribe

2014-08-11 Thread Mark Thomas
On 11/08/2014 15:13, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:
 I have un-subscribed from every list and still get all postings so there is a 
 reference somewhere that is not being un-subscribed from these services?

The list will be pleased to hear that the message finally sunk in (on
the fourth attempt). The mailing list logs show that this user
unsubscribed themselves from the users list at
11 Aug 2014 14:21:35 -

Note that the time in the On ... wrote: section above is UTC+1 so the
unsubscribe was 8 minutes later.

Mark


 
 Thanks,
 
 Keith Pendergrass (CIV) MS/ MBA/ Network+
 IT Specialist (APPSW) Software/Data Engineer
 Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax:  (504) 697-5628
 keith.pendergr...@navy.mil
 
 
 -Original Message-
 From: Mark Thomas [mailto:ma...@apache.org] 
 Sent: Monday, August 11, 2014 9:02 AM
 To: Tomcat Users List
 Subject: Re: un-subscribe
 
 On 11/08/2014 14:15, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
 54350 wrote:


 Regards,

 Keith Pendergrass (CIV) MS/ MBA/ Network+ IT Specialist (APPSW) 
 Software/Data Engineer Space  Naval Warfare Systems Command-Atlantic
 2251 Lakeshore Drive
 New Orleans, La 70122
 Work: (504) 697-5549
 DSN: 647-5549
 Fax: (504) 697-5628
 keith.pendergr...@navy.mil
 
 As you have already been told twice off list when you mailed the list owner, 
 you need to send you unsubscription request to the list you are subscribed 
 to, not some random other Tomcat list.
 
 The complete list of mailing lists (including with unsubscription
 addresses) is here:
 http://tomcat.apache.org/lists.html
 
 And, also for the third time, once you have sent your unsubscription request 
 to the correct address and if it still fails, send a copy of that failure to 
 the list owners.
 
 Mark
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: un-subscribe

2014-08-11 Thread Igal @ getRailo.org

The list will be pleased to hear that the message finally sunk in

+1


On 8/11/2014 10:08 AM, Mark Thomas wrote:

On 11/08/2014 15:13, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:

I have un-subscribed from every list and still get all postings so there is a 
reference somewhere that is not being un-subscribed from these services?

The list will be pleased to hear that the message finally sunk in (on
the fourth attempt). The mailing list logs show that this user
unsubscribed themselves from the users list at
11 Aug 2014 14:21:35 -

Note that the time in the On ... wrote: section above is UTC+1 so the
unsubscribe was 8 minutes later.

Mark



Thanks,

Keith Pendergrass (CIV) MS/ MBA/ Network+
IT Specialist (APPSW) Software/Data Engineer
Space  Naval Warfare Systems Command-Atlantic
2251 Lakeshore Drive
New Orleans, La 70122
Work: (504) 697-5549
DSN: 647-5549
Fax:  (504) 697-5628
keith.pendergr...@navy.mil


-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Monday, August 11, 2014 9:02 AM
To: Tomcat Users List
Subject: Re: un-subscribe

On 11/08/2014 14:15, Pendergrass, Keith D CIV SPAWARSYSCEN-ATLANTIC,
54350 wrote:


Regards,

Keith Pendergrass (CIV) MS/ MBA/ Network+ IT Specialist (APPSW)
Software/Data Engineer Space  Naval Warfare Systems Command-Atlantic
2251 Lakeshore Drive
New Orleans, La 70122
Work: (504) 697-5549
DSN: 647-5549
Fax: (504) 697-5628
keith.pendergr...@navy.mil

As you have already been told twice off list when you mailed the list owner, 
you need to send you unsubscription request to the list you are subscribed to, 
not some random other Tomcat list.

The complete list of mailing lists (including with unsubscription
addresses) is here:
http://tomcat.apache.org/lists.html

And, also for the third time, once you have sent your unsubscription request to 
the correct address and if it still fails, send a copy of that failure to the 
list owners.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



--
Igal Sapir
Railo Core Developer
http://getRailo.org/


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Question about Tomcat Rest Verbs initial settings allowed

2014-08-11 Thread Rob Silver
Thank you for verifying that ! It helps a lot I know the TRACE and OPTIONS
may be a different story - Trace at least can be disabled. I greatly
appreciate your response!


On Fri, Aug 8, 2014 at 7:50 PM, Rob Silver rss...@gmail.com wrote:

 Is it true that by default on a Apache Tomcat 7.025 server RESTFUL verbs
 are enabled
 as part of the HTTP protocol Tomcat uses?
 Anotherwards if I hade a restful web application - perhaps a spring mvc one
 would it work out of the box as far as security constraints go?
 I have not yet seen any way to control a Tomcat server not to accept
 DELETE, PUT etc.. in addition to standard GET / POST http verbs.
 mailer-dae...@apache.org
 2:07 PM (5 hours ago)