Yes, according to my logging (which includes the hostname in every line) all the requests that I make are going to the same server.

Mike

Igor Vaynberg wrote:
not really, if you stick the session then requests should go to the same
server...can you confirm that this is indeed happening.
-igor


On 7/27/07, Mike Cripps <[EMAIL PROTECTED]> wrote:
I am running it on a cluster of live servers, but we 'stick' the (http)
session to a server when we create it.  Do I need to do the same for
Wicket?

Mike

Igor Vaynberg wrote:
are you running it on a cluster of live servers? or just one?

-igor


On 7/27/07, Mike Cripps <[EMAIL PROTECTED]> wrote:
Hi all,

On my development box, the following code works fine (I'm using a
Wizard):
productCodeField.add(new AbstractValidator() {

        @Override
        protected void onValidate(IValidatable validatable) {
                LOG.info("Validating "+validatable);
                if (getProduct(validatable.getValue()) == null) {
                        error(validatable, "NoSuchProduct");
                        LOG.debug("Feedback Messages: " + Session.get
().getFeedbackMessages());
                }
        }

});

If I enter an invalid code, the error message is correctly displayed,
and the log correctly shows the message in the FeedbackMessages list.

However, when I deploy the application the Validator is still called,
and the both LOG lines appear, but the FeedbackPanel never renders on
the page.

I've tried running locally in DEPLOYMENT mode, and in both Tomcat and
Jetty but it has made no difference - it always works fine on my
computer and fails on the live servers.

Has anyone come across this problem before - or can someone suggest a
place to look to start fixing this?

Many thanks,
Mike Cripps


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache
Wicket
user list. Send a message to: "users-subscribe at wicket.apache.org"
and
follow the instructions.
_______________________________________________
Wicket-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:

This mailing list is shutting down. Please subscribe to the Apache
Wicket user list. Send a message to: "users-subscribe at wicket.apache.org"
and follow the instructions.
_______________________________________________
Wicket-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-user

--
Mike Cripps <[EMAIL PROTECTED]>
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Mike Cripps <[EMAIL PROTECTED]>
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to