users@glassfish.java.net

cluster can't be started when not ending with % in the specification of the key word of the HTTP access log format.(GLASSFISH V4)

From: Lv Songping <lvsongping_at_cn.fujitsu.com>
Date: Fri, 6 Apr 2012 14:33:14 +0800

Hi Shing Wai Chan:

The cluster can't be started after not ending with % in the specification of
the key word of the HTTP access log format (picture1.JPG).

Reappear step
1. Create a cluster and instance related to this cluster

2. Open cluster config related to the created cluster

3. Access the Http-service and changed the format like " %client.name%
%datetime %status% " where the datetime is not end with % (picture1.JPG).

4. Start the related cluster but the cluster can't be start. Then check the
serverlog but there's no obvious information about this phenomenon
(picture2.JPG).

I have revised the issue in my patch file
(DefaultAccessLogFormatterImpl.patch).

See more in my attachments.

I have opened up http://java.net/jira/browse/GLASSFISH-18601 to trac this.

I hope you can accept my idea and solution to this question.

Thank you.

Yours sincerely
                                                       Jeremy





picture1.JPG
(image/jpeg attachment: picture1.JPG)

picture2.JPG
(image/jpeg attachment: picture2.JPG)