Hello

I've tried with 2 instances, each one in 2 different servers. If it was a bug due to static variable variable could it be possible to access it only through wotaskd?
And I set JMeter to only request urls from 1st instance:

http://server/cgi-bin/WebObjects/CarambolPRX.woa/1

instead of generic url

http://server/cgi-bin/WebObjects/CarambolPRX.woa/1


Seems that when first instance is overloaded, WO force to send requests on 2nd 
url.
If so, it's problem due to load balancing, not application: If the 1st instance 
requests CAS service to creates the ticket and 2nd tries to retrieve it, isn't 
it a WO bug or CAS bug? What's your opinion?

Thanks



Le 28/06/2013 19:30, Chuck Hill a écrit :
If you don't have the source code then there is nothing you can do.

Chuck


On 2013-06-28, at 10:07 AM, TIC-Caristan-W wrote:

Hi  Chuck
hmm, I'm not the developper. If it's a bug then I suppose that there is nothing 
I could do ...
:(

Le 28/06/2013 18:03, Chuck Hill a écrit :
That looks like a concurrency bug to me.  I don't know CAS nor what you are 
doing in your app, but check for any related static variables or variables in 
Application that might be accessed by multiple requests.

Chuck


On 2013-06-28, at 7:48 AM, TIC-Caristan-W wrote:


Hi all

I'm doing load testing on WebObjects (5.3.3) web application using CAS 3.4.3.1 
using JMeter.I have a problem but I'm not sure if it's a CAS configuration 
mistake or WebObjects error.

I have a Webobject application url:

http://server/cgi-bin/WebObjects/CarambolPRX.woa


This application has multiple instances

http://server/cgi-bin/WebObjects/CarambolPRX.woa/1
http://server/cgi-bin/WebObjects/CarambolPRX.woa/2

  ...

http://server/cgi-bin/WebObjects/CarambolPRX.woa/n


Load testing works fine and login service is OK with a few hundred users 
(aroung 700 users OK with 7 instances). But at 800 users/8 or any more  
instances, i'm facing this CAS error (ServiceTicket does not match supplied, 
and then followed by ServiceTicket does not exist as it has been removed):

2013-06-27 18:25:27,888 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Added ticket 
[ST-49023-bwgchfenh9Z6zciIT2Pn-cas] to registry. 2013-06-27 18:25:27,888 INFO 
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket 
[ST-49023-bwgchfenh9Z6zciIT2Pn-cas] for service [
http://server/cgi-bin/WebObjects/CarambolPRX.woa/1/wa/casCallBack
] for user [supercoc]>

2013-06-27 18:25:57,940 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Attempting to retrieve 
ticket [ST-49023-bwgchfenh9Z6zciIT2Pn-cas] 2013-06-27 18:25:57,940 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Ticket 
[ST-49023-bwgchfenh9Z6zciIT2Pn-cas] found in registry.

2013-06-27 18:25:57,940 ERROR [org.jasig.cas.CentralAuthenticationServiceImpl] 
- ServiceTicket [ST-49023-bwgchfenh9Z6zciIT2Pn-cas] with service [
http://server/cgi-bin/WebObjects/CarambolPRX.woa/1/wa/casCallBack does not 
match supplied service 
[http://server/cgi-bin/WebObjects/CarambolPRX.woa/15/wa/casCallBack
]

2013-06-27 18:25:57,940 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Removing ticket 
[ST-49023-bwgchfenh9Z6zciIT2Pn-cas] from registry

2013-06-27 18:25:58,053 DEBUG 
[org.jasig.cas.ticket.registry.DefaultTicketRegistry] - Attempting to retrieve 
ticket [ST-49023-bwgchfenh9Z6zciIT2Pn-cas]
2013-06-27 18:25:58,053 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - 
ServiceTicket [ST-49023-bwgchfenh9Z6zciIT2Pn-cas] does not exist.


I can raise the same error with lower users 300 and lower instance, but I can 
solve the error adding more instances.
But but this solution of adding mode instances doesn't work when reaching 800 
users.

Here are the logs with 300 users and 2 instances.

CAS logs:
2013-06-28 16:13:59,749 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - 
<Added ticket [ST-50601-gees9zRw59MVDpGFXNGc-cas] to registry.>
2013-06-28 16:13:59,749 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - 
<Granted service ticket [ST-50601-gees9zRw59MVDpGFXNGc-cas] for service [

http://server/cgi-bin/WebObjects/CarambolPRX.woa/10/wa/casCallBack

] for user [supercoc]>
2013-06-28 16:14:29,860 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - 
<Attempting to retrieve ticket [ST-50601-gees9zRw59MVDpGFXNGc-cas]>
2013-06-28 16:14:29,860 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - 
<Ticket [ST-50601-gees9zRw59MVDpGFXNGc-cas] found in registry.>
2013-06-28 16:14:29,861 ERROR [org.jasig.cas.CentralAuthenticationServiceImpl] - 
<ServiceTicket [ST-50601-gees9zRw59MVDpGFXNGc-cas] with service [

http://server/cgi-bin/WebObjects/CarambolPRX.woa/10/wa/casCallBack does not 
match supplied service 
[http://server/cgi-bin/WebObjects/CarambolPRX.woa/1/wa/casCallBack

]>
2013-06-28 16:14:29,861 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - 
<Removing ticket [ST-50601-gees9zRw59MVDpGFXNGc-cas] from registry>
2013-06-28 16:14:31,759 DEBUG [org.jasig.cas.ticket.registry.DefaultTicketRegistry] - 
<Attempting to retrieve ticket [ST-50601-gees9zRw59MVDpGFXNGc-cas]>
2013-06-28 16:14:31,759 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - 
<ServiceTicket [ST-50601-gees9zRw59MVDpGFXNGc-cas] does not exist.>


Instance CarambolPRX-1 logs:
78309 [WorkerThread0] DEBUG NSLog  - url 
/cgi-bin/WebObjects/CarambolPRX.woa/1/wa/casCallBack?ticket=ST-50601-gees9zRw59MVDpGFXNGc-cas
 decomposed 
/cgi-bin/WebObjects/CarambolPRX.woa/1/wa/casCallBack?ticket=ST-50601-gees9zRw59MVDpGFXNGc-cas

              le ticket &#039;ST-50601-gees9zRw59MVDpGFXNGc-cas&#039; ne 
correspond pas au service demand�


Instance CarambolPRX-10 logs:

47131 [WorkerThread13] DEBUG NSLog  - url 
/cgi-bin/WebObjects/CarambolPRX.woa/10/wa/casCallBack?ticket=ST-50601-gees9zRw59MVDpGFXNGc-cas
 decomposed 
/cgi-bin/WebObjects/CarambolPRX.woa/10/wa/casCallBack?ticket=ST-50601-gees9zRw59MVDpGFXNGc-cas

              le ticket &#039;ST-50601-gees9zRw59MVDpGFXNGc-cas&#039; est 
inconnu

Apache Log:

[28/Jun/2013:16:13:59 +0200] "GET 
/cgi-bin/WebObjects/CarambolPRX.woa/10/wa/casCallBack?ticket=ST-50601-gees9zRw59MVDpGFXNGc-cas
 HTTP/1.1" 200 2427



Any idea what I could try to get more than 800 users or why I have this error?

Thanks for help



--

Cordialement,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (
Webobjects-deploy@lists.apple.com
)
Help/Unsubscribe/Update your Subscription:

https://lists.apple.com/mailman/options/webobjects-deploy/chill%40global-village.net


This email sent to
ch...@global-village.net

--

Cordialement,

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to