[GLASSFISH-4194] gfv3: Load Balancer Configuration Support Created: 15/Feb/08  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: V3
Fix Version/s: not determined

Type: New Feature Priority: Blocker
Reporter: msreddy Assignee: pa100654
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Sun


Issuezilla Id: 4,194
Status Whiteboard:

v3-prd-item


 Description   

Provide Load Balancer Configuration Support similar to GlassFish V2.



 Comments   
Comment by msreddy [ 26/Feb/08 ]

v3-prd-item

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-14541] support text only install of glassfish-lbconfigurator plugin Created: 09/Nov/10  Updated: 13/Dec/10

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1
Fix Version/s: None

Type: Improvement Priority: Critical
Reporter: Pavel Bucek Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 14,541

 Description   

lb configurator can be installed only by using GUI; it should be possible to
install it by using text interface only (servers usually don't have
installed/running X server).






[GLASSFISH-4136] Rolling upgrade support Created: 08/Feb/08  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: V3
Fix Version/s: not determined

Type: New Feature Priority: Critical
Reporter: Hong Zhang Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Linux


Issue Links:
Dependency
blocks GLASSFISH-4132 rolling upgrade support Resolved
Issuezilla Id: 4,136
Status Whiteboard:

v3-prd-item


 Description   

Creating a dependency issue for rolling upgrade support
http://wiki.glassfish.java.net/Wiki.jsp?page=V3DeploymentImprovements
Deploy-009

Right now, the load balancer enable/disable at cluster instance level. It will
be a big improvement if we can enable/disable at application level. So rolling
upgrade of one application does not need to affect the availability of other
applications.



 Comments   
Comment by Hong Zhang [ 08/Feb/08 ]

Adding v3-prd-item to status whiteboard.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-11293] Unable to install load balancer Created: 09/Dec/09  Updated: 08/Jul/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: v2.1.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: shche123 Assignee: pg161245
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows XP
Platform: PC


Issuezilla Id: 11,293
Status Whiteboard:

3.1-exclude v3_exclude

Tags: 3_1-exclude, 3_1_1-exclude

 Description   

Unable to install load balancer using sges_ee-2_1_1-windows.exe installer both
as a full install and as an update install just for load-balancer.

I am looking at page 104 of "Sun GlassFish Enterprise Server v2.1.1 High
Availability Administration Guide." The Note in the middle of page says: "The
following steps are automatically performed by the installation program for
Enterprise Server. ..."

I am not sure that it is doing anything.

I am on Windows XP Pro SP3
Installed WebServer 7u6
Installed GF2.1.1 with HADB and Load balancer.

After creating a load balancer instance in the Admin Console and clicking on
Test Connection, fail with "Test Connection Failed."

looking at magnus.conf file, and the changes mentioned in the HA Admin Guide are
not there.

Thanks
Leonid



 Comments   
Comment by kumara [ 10/Dec/09 ]

Load balancer feature is not in v3.

Comment by shche123 [ 10/Dec/09 ]

Is version 2.1.2 in the works? If so, can that also be a candidate for a fix?

Comment by kshitiz_saxena [ 10/Dec/09 ]

Do you see any error being logged during installation? Do you see any backup
files created for magnus.conf or obj.conf created in config directory of
web-server instance?

What do you mean by 2.1.2 ?

Comment by shche123 [ 11/Dec/09 ]

GF version 2.1.2 - in the plans?

Could this issue have to do with security? Not sure...

Comment by kshitiz_saxena [ 25/Aug/10 ]

GlassFish 3.1 will have a separate installer. Excluded for 3.1.

Comment by kshitiz_saxena [ 04/Oct/10 ]

Setting Target milestone to 2.1.2. Also adding keyword 3.1-exclude.

Comment by kshitiz_saxena [ 08/Jul/11 ]

Changing priority to Major and assigning to Puneet as this is a v2 issue.





[GLASSFISH-13301] DEBUG messages for Preferred failover instance is not seen Created: 07/Sep/10  Updated: 19/Sep/14

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1
Fix Version/s: 4.1

Type: Bug Priority: Major
Reporter: jothir Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Linux


Issuezilla Id: 13,301
Tags: 3_1-exclude

 Description   

Tested failover with Preferred failover instance feature on LB.

DEBUG messages from lbrouter CANNOT be seen even after setting webserver's log
level to FINE.

The messages can be seen only after adding LogVerbose On to
<webserver-instance>/config/magnus.conf



 Comments   
Comment by kshitiz_saxena [ 06/Oct/10 ]

Setting target milestone as 3.1_ms07

Comment by kshitiz_saxena [ 15/Nov/10 ]

The best option is to use log-level set in server.xml. However to make required
changes, new dependencies are introduced. These new dependencies are causing
issue, and load-balancer plugin is not loaded in web server 7.0.9.

This will require load-balancer plugin to be build against web server 7.0.9
instead of web server 6.1. Cannot be fixed now. This issue will be fixed in
later release.

Comment by Nazrul [ 18/Nov/10 ]

Excluding from 3.1 query

Comment by Tom Mueller [ 07/Feb/13 ]

Moving to 4.0.1 since this issue does not need to be fixed for the Java EE 7 RI/SDK release.





[GLASSFISH-4884] Out-Of-Box Realization of Clustering Created: 24/Apr/08  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: V3
Fix Version/s: not determined

Type: New Feature Priority: Major
Reporter: pj126383 Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Sun


Issuezilla Id: 4,884

 Description   

Provide some sort of load sprayer to support clustering. It's meant to enhance
cluster profile user experience by alleviating the user from the step of
installing and setting up WebServer stack. For example from a developer point of
view, it would help in achieving faster turnaround time to realize the the
cluster setup without the need to get into the nitty-gritties of Web Server
functioning. This is something which a developer would have refrained from doing
earlier, but with this support it would be more feasible in realizing.



 Comments   
Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-8367] mod_loadbalancer does not work with Sun GlassFish Web Stack Created: 15/May/09  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: v2.1.1
Fix Version/s: not determined

Type: Improvement Priority: Major
Reporter: usabada Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 8,367

 Description   

mod_loadbalancer does not work with Sun GlassFish Web Stack 1.4/1.5. There are 2
issues
1. mod_loadbalancer needs to be compiler specifically for Sun GlassFish Web
Stack since the compile options are different
2. mod_loadbalancer depends on libsasl.so that is not available in web stack
supported RHEL 5 platform



 Comments   
Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-7108] GlassFish Loadbalancer plugin for apache fails with Apache 2.0.63 shipped with Solaris 10 Update 6 Created: 30/Jan/09  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur2
Fix Version/s: not determined

Type: Bug Priority: Major
Reporter: vbhat75 Assignee: pg161245
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Solaris
Platform: Sun


Attachments: HTML File error_log     XML File loadbalancer.xml    
Issuezilla Id: 7,108
Status Whiteboard:

3.1-exclude v3_exclude

Tags: 3_1-exclude, 3_1_1-exclude

 Description   

We are currently working on getting our partner's application certified on
GlassFish environment. For this we are trying tho setup Apache ( Apache
2.0.63 bundled with Solaris 10 updated 6 running on Sun Fire T5220 server) the
Load Balancer.

However on testing we are seeing following "Segmentation Fault" for requests
that go through LB plug in.

[crit] lb.runtime: RNTM2005: after LBApacheProxyRequest::LBApacheProxyRequest()
[notice] child pid 2392 exit signal Segmentation fault (11)

For the LB we used
http://download.java.net/javaee5/external/SunOS/aslb/jars/aslb-9.1-UR2-b1.jar

Doing a google, we also saw the discussion thread at
http://www.nabble.com/Loadbalancing-with-Apache---Errors-td18816655.html on the
same error.

A number customers will use the Apache bundled in Solaris 10. So the plugin
should work without any problem with the bundled Apache version.

The Apache error_logs is attached.



 Comments   
Comment by vbhat75 [ 30/Jan/09 ]

Created an attachment (id=2240)
Apache Error logs

Comment by vbhat75 [ 30/Jan/09 ]

Created an attachment (id=2241)
Load Balancer configuration File

Comment by kshitiz_saxena [ 02/Feb/09 ]

Assigning this issue to myself.

Comment by gmohideen [ 16/Feb/09 ]

Adding myself in cc iist

Comment by kshitiz_saxena [ 04/Mar/09 ]

Issue is record_rec passed has a nil uri

Code snippet :
mod_apache2lbplugin.cpp(Code modified to provide legibility)

133 /* Name Translation */
134 static int apachelbplugin_name_trans( request_rec* r)
135 {
136 ap_log_error(.....);
.
.
.
216 if((!strcmp(r->uri,"UPDATE_URL")) ...... )

Apache calls this API to handle a request. It creates request_rec and passes it
to load-balancer plugin. request_rec needs to populated correctly by apache code
before calling this API. Since this object does not have correct values for all
variables, strcmp check at line 216 fails crashing the process.

Below is dbx debugging information:
(dbx) stop in apachelbplugin_name_trans
(2) stop in
`mod_loadbalancer.so`mod_apache2lbplugin.cpp`apachelbplugin_name_trans(request_rec*)
(dbx) c
t@1 (l@1) stopped in apachelbplugin_name_trans at line 136 in file
"mod_apache2lbplugin.cpp"
136 ap_log_error(....);
(dbx) where
current thread: t@1
=>[1] apachelbplugin_name_trans(r = 0x1b0750), line 136 in "mod_apache2lbplugin.cpp"
[2] ap_run_translate_name(0x1b0750, 0xfe45e7e0, 0x7022c, 0x116e80, 0x6, 0x8),
at 0x4514c
[3] ap_process_request_internal(0x0, 0x15cfa0, 0x15d070, 0x8000000, 0x0,
0x1b0750), at 0x45b94
[4] ap_process_request(0x1b0750, 0x0, 0x4, 0x1, 0x6d400, 0x1b0750), at 0x2ba8c
[5] .st_double_foreff(0x1aa810, 0x0, 0x15d248, 0x1000, 0x6d7a8, 0x6d778), at
0x266d4
[6] ap_run_process_connection(0x1aa810, 0x2666c, 0x701cc, 0x169870, 0x0,
0x80000000), at 0x38d24
[7] 0x2d024(0x1a8790, 0x0, 0x1aa810, 0xffbff9f4, 0x6c754, 0x4e2e), at 0x2d024
[8] 0x2d1b0(0x2c800, 0x1, 0x6c400, 0x1, 0x6d400, 0x0), at 0x2d1b0
[9] 0x2d408(0x7067c, 0x70400, 0x6d400, 0x6c738, 0x1, 0x2), at 0x2d408
[10] ap_mpm_run(0x2, 0x6f400, 0x0, 0x53400, 0x6f400, 0x6c73c), at 0x2d868
[11] main(0x6c400, 0xffbffca4, 0x6c680, 0x55400, 0x7ce00, 0x55400), at 0x33e0c
(dbx) print *r
*r = {
pool = 0x1b0718
connection = 0x1aa810
server = 0x15c6b8
next = (nil)
prev = (nil)
main = (nil)
the_request = 0x1b14a8 "GET /SimpleWebApp/SimpleServlet HTTP/1.1"
assbackwards = 0
proxyreq = 0
header_only = 0
protocol = 0x1b1560 "HTTP/1.1"
proto_num = 1001
hostname = 0x1b1c68 "eas-v240-19.india.sun.com"
request_time = 1236163141013907LL
status_line = (nil)
status = 200
method = 0x1b14f8 "GET"
method_number = 0
allowed = 0
allowed_xmethods = (nil)
allowed_methods = 0x1b08f8
sent_bodyct = 0
bytes_sent = 0
mtime = 0
chunked = 0
range = (nil)
clength = 0
remaining = 0
read_length = 0
read_body = 0
read_chunked = 0
expecting_100 = 0
headers_in = (nil)
headers_out = (nil)
err_headers_out = (nil)
subprocess_env = (nil)
notes = (nil)
content_type = 0x1b0928 ""
handler = 0x1b0db8 ""
content_encoding = 0x1b0f60 ""
content_languages = 0x1b0b70
vlist_validator = 0x1b10b8 ""
user = (nil)
ap_auth_type = (nil)
no_cache = 0
no_local_copy = 0
unparsed_uri = (nil)
uri = (nil)
filename = (nil)
canonical_filename = (nil)
path_info = (nil)
args = 0x1b1520 "/SimpleWebApp/SimpleServlet"
finfo =

{ pool = 0x1b1540 valid = 0 protection = 0 filetype = APR_NOFILE user = 0 group = 0 inode = 0 device = 0 nlink = 0 size = 0 csize = 0 atime = 0 mtime = 0 ctime = 0 fname = (nil) name = (nil) filehand = (nil) }

parsed_uri =

{ scheme = (nil) hostinfo = (nil) user = (nil) password = (nil) hostname = (nil) port_str = (nil) path = (nil) query = (nil) fragment = (nil) hostent = (nil) port = 0 is_initialized = 0 dns_looked_up = 0 dns_resolved = 0 }

used_path_info = 0
per_dir_config = (nil)
request_config = (nil)
htaccess = 0x1b1540
output_filters = (nil)
input_filters = (nil)
proto_output_filters = (nil)
proto_input_filters = 0x8000
eos_sent = 2
}

There might be issue with apache 2.0.63 bundled with solaris 10 update 6.

I will also check if this is a configuration issue.

Comment by kumara [ 14/Sep/09 ]

LB plugin not being shipped with v3, does not apply to v3 release and hence excluded from bug tracking.

Comment by kshitiz_saxena [ 25/Aug/10 ]

The issue exists as Apache bundled with solaris is compiled with option
-D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64, while load-balancer plugin is
compiled with option -D_LARGEFILE64_SOURCE.

The difference in compile time options results in this issue. Compiling
load-balancer plugin with option -D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64
fixes this issue. However all file IO operation starts failing in load-balancer
plugin. It will require code changes in load-balancer to address this issue.

Will not fix this issue for 3.1.

Comment by kshitiz_saxena [ 25/Aug/10 ]

Setting 3.1-exclude

Comment by kshitiz_saxena [ 04/Oct/10 ]

Adding keyword 3.1-exclude.

Comment by kshitiz_saxena [ 21/Feb/11 ]

Changing priority to critical. Users can still build apache and use it for load-balancer plugin purpose. Issue is only related to bundled apache.

Comment by kshitiz_saxena [ 08/Jul/11 ]

Changing priority to Major and assigning to Puneet as this is a v2 issue.

Comment by kshitiz_saxena [ 08/Jul/11 ]

Changing priority to Major and assigning to Puneet as this is a v2 issue.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-15651] Unable to install lb-plugin using lbconfigurator on Windows 2008 & iWS 7. Created: 21/Jan/11  Updated: 21/Oct/11

Status: Reopened
Project: glassfish
Component/s: load_balancer
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: sonymanuel Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 2008, iWS 7 web server.


Tags: 3_1, 3_1-exclude, 3_1-next, 3_1_1-scrubbed, 3_1_2-exclude, glassfish

 Description   

LB configurator fails with this exception on the next screen after collecting web server information.

$ java -jar glassfish-lbconfigurator-3_1-b04.jar
Condition already registered.
Condition already registered.
Condition already registered.
Condition already registered.
Condition already registered.
Condition already registered.
Condition already registered.
java.io.FileNotFoundException: C:\Program Files (x86)\LBPlugin\Uninstaller\unins
taller.jar (The system cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at com.izforge.izpack.installer.UnpackerBase.putUninstaller(Unknown Sour
ce)
at com.izforge.izpack.installer.Unpacker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)

I checked and the specified file does not exist. But I guess the installer should create it.

C:\Program Files (x86)>dir
Volume in drive C has no label.
Volume Serial Number is F46D-A90A

Directory of C:\Program Files (x86)

01/21/2011 11:07 AM <DIR> .
01/21/2011 11:07 AM <DIR> ..
01/21/2011 11:08 AM <DIR> Common Files
01/11/2011 10:12 PM <DIR> Internet Explorer
01/21/2011 11:07 AM <DIR> Java
01/12/2011 08:53 AM <DIR> Mozilla Firefox
01/12/2011 08:48 AM <DIR> Symantec AntiVirus
01/12/2011 03:15 AM <DIR> Windows Mail
07/13/2009 09:37 PM <DIR> Windows NT
0 File(s) 0 bytes
9 Dir(s) 87,917,252,608 bytes free



 Comments   
Comment by Homer Yau [ 04/Feb/11 ]

We may need to release note that the user who install load-balancer Configurator need to have full system installation right. "Administrator" usually should have the right to create directory in the restricted path.

Comment by Scott Fordin [ 03/Mar/11 ]

Instructions added to HA Admin Guide.

Comment by Scott Fordin [ 24/Mar/11 ]

Information was added to HA Admin Guide, but as this was not a doc issue, I should not have closed it.

Comment by Nazrul [ 09/May/11 ]

Windows 2008 is useful to support.

Comment by scatari [ 10/Jun/11 ]

Fix already documented and it is well known that most installations on Windows require Admin privileges.

Comment by kshitiz_saxena [ 08/Jul/11 ]

Changing priority to Major





[GLASSFISH-17804] The LB Configurator needs to provide correct error message for unsupported version of web server Created: 23/Nov/11  Updated: 03/Jan/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: varunrupela Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: 312_qa, 3_1_2-exclude

 Description   

LB plugin on Linux is only supported on a 64-bit webservers. Currently LB plugin gets installed without errors on 32-bit webserver but then the webserver fails to launch the LB Plugin.

It will help to have the LB Configurator abort installation with an appropriate message when LB is being installed on an unsupported webserver.



 Comments   
Comment by varunrupela [ 20/Dec/11 ]

Will update version to GF 3.1.2 as it also affects 3.1.2

Comment by kshitiz_saxena [ 03/Jan/12 ]

Will not be fixed for 3.1.2





[GLASSFISH-17490] Deleting a cluster which is target of LB still leaves this cluster name in domain.xml Created: 25/Oct/11  Updated: 14/Nov/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1.1_b05
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Anissa Lam Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GLASSFISH-17474 HTTP Status 500 Error when trying to ... Closed
Tags: 3_1_2-exclude

 Description   

This is related to an issue filed against admin console, GLASSFISH-17474.
Currently, as of 3.1.2 build 06, user is allowed to delete a cluster that is referenced by lb-config.
After the deletion, lb-config still reference this cluster.

<lb-configs>
<lb-config name="TEST-LB_LB_CONFIG">
<cluster-ref ref="clusterABC">
<health-checker url="/"></health-checker>
</cluster-ref>
</lb-config>
</lb-configs>
<clusters></clusters>

I think this should be fixed, that this cluster-ref should be removed if the cluster is deleted.

If user is NOT allowed to delete a cluster that is ref. by lb-config, then there should be enforcement.

The code to remove the cluster-ref from lb-config after the cluster is deleted, or prevent user from deleting the cluster should be in the backend instead of the GUI, since user can use other client to perform this operation.



 Comments   
Comment by kshitiz_saxena [ 14/Nov/11 ]

The creation of load-balancer and its association with cluster is manual. There is no existing support for automatic detection of cluster change including its deletion.

Apart from that currently there is no constraint that cluster being referenced by load-balancer config cannot be deleted.

This issue will be fixed when auto cluster change detection is implemented in load-balancer.

For now, I am marking this issue as 3_1_2-exclude.





[GLASSFISH-17479] Device Host value shouldn't accept other than hostname & IP address in LB Config Created: 25/Oct/11  Updated: 14/Nov/11

Status: In Progress
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1.2_b06
Fix Version/s: None

Type: Bug Priority: Major
Reporter: arunkumar_s Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: 3_1_2-exclude

 Description   

Steps:
1) Login to Glassfish Admin GUI
2) Click HTTP Load Balancers in Tree view (in left pane)
3) Click New button and enter all fields with device host as 200 (number)
4) Click OK button

Issue --> Device Host value shouldn't accept other than hostname & IP address for LB creation



 Comments   
Comment by Anissa Lam [ 25/Oct/11 ]

This kind of validation should be enforced by the backend, as user can do the same thing using other client.
Transferring to backend.





Application specific configuration for load-balancer service (GLASSFISH-17609)

[GLASSFISH-17610] Only proxy users request for deployed applications Created: 03/Nov/11  Updated: 07/Nov/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 4.0
Fix Version/s: None

Type: Sub-task Priority: Major
Reporter: kshitiz_saxena Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Bring in logic to proxy requests to back-end application server only for deployed applications. The request for other applications will be rejected at load-balancer itself. This may require application url configuration at virtual server level.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate component that will be impacted by this task.





[GLASSFISH-18587] [NATIVE][WINDOWS] Loadbalancer gets hang up during the deployment : " Error opening deployable artifact" [basic_db_paas_sample] Created: 02/Apr/12  Updated: 15/Feb/13

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 4.0_b28
Fix Version/s: future release

Type: Bug Priority: Major
Reporter: RameshT Assignee: Bhavanishankar
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 x86


Attachments: File server.log_2012-04-02T14-58-45    
Tags: deploy, hang, lb, loadbalancer, windows7

 Description   

Steps to reproduce ,

1. Install BG ( Extract the glassfish Bundle.)
2. Start Domain and create-ims-config-native
3. Create template with the option for the Native
4. Deploy basic_db_paas_sample.war

System gets hang up on step 4. In server.log 2 SEVERE messages are received.

[#|2012-03-20T13:19:44.681+0530|SEVERE|44.0|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=79;_ThreadName=Thread-2;|Unable to find cloud-config.properties file in 'config' directory. Returning EMPTY properties.|#]
[#|2012-03-

20T13:18:37.836+0530|SEVERE|44.0|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=80;_ThreadName=Thread-2;|Error opening deployable artifact|#]

PS : server.log is attached with this.



 Comments   
Comment by kshitiz_saxena [ 18/May/12 ]

Assigning to Shyamant to have a look.

Comment by shamant [ 08/Jun/12 ]

Assigning it to bhavani.
Once fixed by bhavani will assign it to myself for fixing it on LB side.

Comment by Alex Pineda [ 27/Jun/12 ]

Removing the 40-regression tag as this may turn out to be not an issue with the new design.





[GLASSFISH-16616] ReadMe.UserDefinedLB needs an update for 64-bit compilation and correct gcc. This doc should perhaps be moved to GF user guides. Created: 12/May/11  Updated: 24/Jan/12

Status: Reopened
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jothir Ganesan Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris Sparc 10 + Apache2.2 64 bit + glassfish lb plugin 3.1.1


Issue Links:
Dependency
depends on GLASSFISH-17106 [UB]Add userdefined library informati... In Progress
Tags: 3_1_1-scrubbed, 3_1_2-exclude

 Description   

I compiled roundrobin.so file for the user-defined testsand generated the .so file with -m64 flag in gcc command and still the library could not be read.

Setup is on aroot@sf-171s-163.india.sun.com:/export/ha/64-bit/apache2.2



 Comments   
Comment by kshitiz_saxena [ 17/May/11 ]

This issue is not reproducible. I compiled roundrobin.c with below command and it works fine :
gcc -m64 -shared -fPIC -I glassfish-lbplugin/lib/install/templates roundrobin.c -o roundrobin.so

Comment by varunrupela [ 01/Jul/11 ]

Apache/LB is unable to load the user-defined policy file - roundrobin.so after it is correctly compiled with the above instructions.

The following messages appear in apache error log:
"FGRP1009: Error in loading the library /space/gf-ha/dft/controller-repository/glassfish-samples/roundrobin.so, check the library is present and has proper permissions"

******
[Fri Jul 01 15:57:35 2011] [info] LBInstance created on virtual server 10.12.171.163 ...
[Fri Jul 01 15:57:35 2011] [info] is_virtual = 1 defn_name = /export/ha/64-bit/apache2.2/conf/extra/httpd-vhosts.conf ...
[Fri Jul 01 15:57:35 2011] [warn] lb.configurator: XML_VALIDATOR_WARNING: Cookies will not be rewritten by web server. All cookie updates will be handled by application server. If you are using older version of application server, then failover will not work.
[Fri Jul 01 15:57:35 2011] [warn] lb.configurator: Preferred failover instance feature is enabled.
[Fri Jul 01 15:57:35 2011] [crit] lb.failovermanager: FGRP1009: Error in loading the library /space/gf-ha/dft/controller-repository/glassfish-samples/roundrobin.so, check the library is present and has proper permissions
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon http://sf-171s-163.india.sun.com:28080 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon https://sf-171s-163.india.sun.com:28181 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon http://sf-171s-163.india.sun.com:28081 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon https://sf-171s-163.india.sun.com:28182 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon http://sf-171s-163.india.sun.com:28082 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon https://sf-171s-163.india.sun.com:28183 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon http://sf-171s-163.india.sun.com:28083 has been intialized.
[Fri Jul 01 15:57:35 2011] [warn] lb.runtime: RNTM2019: Daemon https://sf-171s-163.india.sun.com:28184 has been intialized.
[Fri Jul 01 15:57:35 2011] [notice] lb.runtime: RNTM2003:After LBDaemonManager::init()
[Fri Jul 01 15:57:35 2011] [info] This virtual server already exists in map; Hence just retrieving the pointer to LBInstance...
[Fri Jul 01 15:57:36 2011] [info] This virtual server already exists in map; Hence just retrieving the pointer to LBInstance...
[Fri Jul 01 15:57:36 2011] [error] [client 129.146.11.110] File does not exist: /export/ha/64-bit/apache2.2/htdocs/favicon.ico
[Fri Jul 01 16:03:44 2011] [info] This virtual server already exists in map; Hence just retrieving the pointer to LBInstance...
[Fri Jul 01 16:03:44 2011] [error] [client 129.146.11.110] File does not exist: /export/ha/64-bit/apache2.2/htdocs/favicon.ico
********

Comment by kshitiz_saxena [ 01/Jul/11 ]

It works with library created using given command :

gcc -m64 -shared -fPIC -I glassfish-lbplugin/lib/install/templates roundrobin.c -o roundrobin.so

OR

cc -m64 -G -xcode=pic32 -I glassfish-lbplugin/lib/install/templates roundrobin.c -o roundrobin.so

Issue was with version of gcc used. It works when compiled with following gcc :
sparc-sun-solaris2.10-gcc (GCC) 4.0.4 (gccfss)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

However it fails when compiled with following gcc :
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

It is better to use sun studio compiler on solaris.

Docs need to be updated to reflect the same.

As of now instructions to compile of user defined library is bundled as ReadMe.UserDefinedLB along with GlassFish load-balancer plugin, making it difficult to be updated frequently. It can be probably added to GlassFish load-balancer documentation itself.

Comment by varunrupela [ 01/Jul/11 ]

Kshitiz figured out that the gcc we needed to use was sparc-sun-solaris2.10-gcc and it was available from /usr/bin/gcc. We were earlier using gcc from "/usr/sfw/bin/gcc". This issue now becomes one of updating the ReadMe for user-defined.

  • We found that the ReadMe.UserDefinedLB available under glassfish-lbplugin/lib/install/templates location also needs an update for 64 bit compilation.
Comment by varunrupela [ 01/Jul/11 ]

Updated the summary to reflect findings.

Comment by kshitiz_saxena [ 26/Jul/11 ]

Readme is actually bundled with load-balancer plugin. So to update it, a new load-balancer plugin library need to be generated. It is not possible to generate and integrate new load-balancer plugin library now.

It will be better to add this readme to documentation itself as it is easy to update and maintain it there. I will create a new documentation bug to track it.

Comment by kshitiz_saxena [ 26/Jul/11 ]

Marking this issue as being dependent on GLASSFISH-17106

Comment by Joe Di Pol [ 24/Jan/12 ]

Scrubbing from the 3.1.2 list assuming docs is fixing 17106 (which is on the 3.1.2 list)





[GLASSFISH-16782] status not available for http load balancers Created: 02/Jun/11  Updated: 21/Oct/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: srinik76 Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
blocks GLASSFISH-16763 Porting Load Balancer Console Pages f... Closed
Tags: 3_1-next, 3_1_, 3_1_1-exclude, 3_1_1-next, 3_1_1-scrubbed, 3_1_2-exclude

 Description   

In v2.1.1, while listing http load balancers table contains data (name,target,status)

status is found with the following code

LoadBalancer lb = AMXUtil.getDomainRoot().getLoadBalancerMap().get(key);
if( lb != null)

{ status = GuiUtil.getMessage(lb.isApplyChangeRequired()? "loadBalancer.needApply" : "loadBalancer.upToDate"); }

In v3, to find status what is the call for lb.isApplyChangeRequired(). If back end call is there, we need to create rest api conversion for this.



 Comments   
Comment by srinik76 [ 06/Jun/11 ]

Fix required for 3.1.1

Comment by kshitiz_saxena [ 07/Jun/11 ]

This issue requires some support implementation to detect changes in the load-balancer xml. This implementation must detect changes to cluster, instance, application, loadbalancer config etc. There is significant amount of work involved to achieve it, and cannot be fixed within timeline for 3.1.1. This issue will be taken up post 3.1.1.

In GUI we can remove column showing apply-changes status. It is already documented that auto-detection of load-balancer xml does not exist in 3.1 and will continue in 3.1.1 as well.





[GLASSFISH-16373] Log messages from loadbalancer plugin not the same for different webservers Created: 18/Apr/11  Updated: 21/Oct/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jothir Ganesan Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: 3_1-next, 3_1_1-scrubbed, 3_1_2-exclude

 Description   

The log messages coming from loadbalancer plugin is not the same across different webservers : Oracle Iplanet Webserver, Apache2.2 and IIS7.5

i) Retry of Idempotent URL - When servlet response times out - "timed out waiting for response" message is not appearing in Apache and IIS.

ii) Custom Error Page - When the custom error page is missing - "lb.runtime: RNTM3007: Invalid / Missing custom error-url / page: error.html for web-module: infiniteCustomErrorHtml." message is not appearing in Apache.

iii) Auto apply lb changes - When lb xml is deleted - "Error occured while initializing Loadbalancer config Parser" message is not appearing in Apache.






[GLASSFISH-16491] [UB]Additional Instructions for setting up LB on OEL+ OHS 64-bit to be included Created: 27/Apr/11  Updated: 07/Mar/12

Status: In Progress
Project: glassfish
Component/s: docs, load_balancer
Affects Version/s: 3.1.1
Fix Version/s: not determined

Type: Bug Priority: Major
Reporter: Jothir Ganesan Assignee: Mike Fitch
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OEL + OHS 64-bit + Glassfish lb plugin


Issue Links:
Related
is related to GLASSFISH-17806 [UB]Docs need to be corrected to refl... Open
Tags: 3_1-next_need-more-info

 Description   

I configured lb plugin on 64-bit OHS according to the instructions given in
http://download.oracle.com/docs/cd/E18930_01/html/821-2426/gktke.html

When I start OHS, the https listeners of the instances are being detected as unhealthy.

Need to add the following to bin/apachectl script:
NSS_STRICT_NOFORK=DISABLED; export NSS_STRICT_NOFORK



 Comments   
Comment by Scott Fordin [ 18/May/11 ]

We clearly state at the beginning of "Configuring Web Servers for HTTP Load Balancing" chapter in the HA Admin Guide that, "The Loadbalancer Plug-In does not support web servers running in 64–bit mode, except for Microsoft IIS with 32–bit application support enabled." We also state in the "Configuring Oracle HTTP Server" instructions in that same chapter that, "These procedures apply to Oracle HTTP Server 11.1.1.4+ (32–bit) only. Other versions of Oracle HTTP Server are not supported." So I guess I'm confused. Do we now want to say that we support 64-bit? If so, this will require changes in several locations, not just this one bit in one particular step.

Comment by Scott Fordin [ 31/May/11 ]

Reassigning to Paul Davies.

Comment by kshitiz_saxena [ 14/Jul/11 ]

This issue is not specific to 64 bit OHS. This change is generic. Please capture is under point 3.

Comment by Mike Fitch [ 19/Jul/11 ]

Information added as per Description

Comment by Tom Mueller [ 07/Mar/12 ]

Bulk update to set Fix Version to "not determined" for issues that had it set to a version that has already been released.





[GLASSFISH-16490] [UB]Additional Instructions for setting up LB on Solaris 10 Sparc + apache 64-bit to be included Created: 27/Apr/11  Updated: 07/Mar/12

Status: Open
Project: glassfish
Component/s: docs, load_balancer
Affects Version/s: 3.1.1
Fix Version/s: not determined

Type: Bug Priority: Major
Reporter: Jothir Ganesan Assignee: Mike Fitch
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 10 Sparc + Apache 64-bit with OpenSSl


Issue Links:
Related
is related to GLASSFISH-17806 [UB]Docs need to be corrected to refl... Open
Tags: 3_1-next_need-more-info

 Description   

Configure openssl as below :
1. ./Configure shared --openssldir=<openssl-install-dir> --prefix=<openssl-install-dir> solaris64-sparcv9-cc
2. make
3. make install

Configure Apache as below:
export CFLAGS="-m64"
export LDFLAGS="-m64"
export LD_LIBRARY_PATH=/usr/lib/64:/usr/sfw/lib/64
use sun studio compiler instead of gcc for 64-bit:
1../configure --with-mpm=worker --with-included-apr --with-ssl=/export/kshitiz/64bit/openssl/install --prefix=/export/kshitiz/64bit/apache2.2/install --enable-ssl --enable-so CC=/usr/dist/share/sunstudio_sparc/SUNWspro/bin/cc

2. make
3. make install



 Comments   
Comment by Scott Fordin [ 18/May/11 ]

Similar comment to http://java.net/jira/browse/GLASSFISH-16491, we clearly state at the beginning of "Configuring Web Servers for HTTP Load Balancing" chapter in the HA Admin Guide that, "The Loadbalancer Plug-In does not support web servers running in 64–bit mode, except for Microsoft IIS with 32–bit application support enabled." We also state in the "Configuring Apache HTTP Server" instructions in that same chapter that, "The Loadbalancer Plug-In supports Apache HTTP Server 2.2.x (32–bit)." So I guess I'm confused. Do we now want to say that we support 64-bit? If so, this will require changes in several locations, not just this one bit in one particular step.

Comment by Scott Fordin [ 31/May/11 ]

Reassigning to Paul Davies.

Comment by kshitiz_saxena [ 14/Jul/11 ]

In 3.1.1, we support 64 bit load-balancer plugin. Please refer to issue GLASSFISH-16905.

Comment by Mike Fitch [ 19/Jul/11 ]

Pushing this issue to "future release". For 3.1.1, description of 64-bit LBP support is limited to the Release Notes.

Comment by Tom Mueller [ 07/Mar/12 ]

Bulk update to set Fix Version to "not determined" for issues that had it set to a version that has already been released.





[GLASSFISH-21067] ClassCastException: org.glassfish.web.ha.session.management.ReplicationWebEventPersistentManager cannot be cast to org.apache.catalina.session.StandardManager Created: 18/May/14  Updated: 18/May/14

Status: Open
Project: glassfish
Component/s: load_balancer, web_container
Affects Version/s: 4.1_b05
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Eng.Fouad Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I have a cluster with 2 instances. When I deploy a web module on the cluster level and enable the option "Availability", the following exception occurs:

java.lang.Exception: java.lang.ClassCastException: org.glassfish.web.ha.session.management.ReplicationWebEventPersistentManager cannot be cast to org.apache.catalina.session.StandardManager
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
at com.sun.enterprise.v3.server.ApplicationLifecycle.enable(ApplicationLifecycle.java:2169)
at com.sun.enterprise.v3.server.ApplicationLifecycle.enable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationConfigListener.enableApplication(ApplicationConfigListener.java:272)
at com.sun.enterprise.v3.server.ApplicationConfigListener.handleOtherAppConfigChanges(ApplicationConfigListener.java:223)
at com.sun.enterprise.v3.server.ApplicationConfigListener.transactionCommited(ApplicationConfigListener.java:170)
at org.jvnet.hk2.config.Transactions$TransactionListenerJob.process(Transactions.java:365)
at org.jvnet.hk2.config.Transactions$TransactionListenerJob.process(Transactions.java:356)
at org.jvnet.hk2.config.Transactions$ListenerNotifier$1.call(Transactions.java:213)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.jvnet.hk2.config.Transactions$Notifier$1$1.run(Transactions.java:167)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

It seems that the webapp cannot be started because of this line (com.sun.enterprise.web.WebModule:1752):

StandardManager manager = (StandardManager) getManager();

http://grepcode.com/file/maven.java.net/content/groups/promoted/org.glassfish.main.web/web-glue/4.0.1-b01/com/sun/enterprise/web/WebModule.java#WebModule.loadSessions%28java.util.Properties%29

`getManager()` returns a reference of type `org.glassfish.web.ha.session.management.ReplicationWebEventPersistentManager`, whereas it doesn't inherit from `org.apache.catalina.session.StandardManager`.






[GLASSFISH-19129] Sun java System webserver-7, not equally distributing requests among glassfish-V-9.1_02 (build b04-fcs) jvms Created: 05/Oct/12  Updated: 19/Sep/14

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: v2.1, 4.0_b04
Fix Version/s: 4.1

Type: Bug Priority: Major
Reporter: tejas.pathak Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 1 day
Time Spent: Not Specified
Original Estimate: 1 day
Environment:

Linux / Rhel-5 Operating system 64-bit



 Description   

We have a RHEL-5 server running Glassfish (Version-Sun Java System Application Server 9.1_02 (build b04-fcs)) and webserver- (Sun Java System Web Server 7.0U8 B01/20/2010 (32-bit)). This webserver instance is loadbalancing requests among 4-jvm glassfish cluster using default "round-robin" policy with each jvm instance having equal weight. Plugin Version used for this configuration is aslb-9.1.1-b13.jar.

We are facing issue wherein the load is not equally distributed between 4-jvms, only 2-jvms are participating in handling the requests.



 Comments   
Comment by shreedhar_ganapathy [ 13/Dec/12 ]

-> Kshitiz
To triage the bug for 4.0 release or to close it if its no longer an issue.

Comment by prasads [ 18/Feb/13 ]

Moving this issue to 4.0.1 since the LB support is not available in 4.0





[GLASSFISH-6835] Load Balanced EJB Web Service Created: 24/Nov/08  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur2
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: vpower Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 6,835

 Description   

Environment - I'm using JDK 6u10 with GlassFish ESB (20081003).
Sun Web Server 7.0u3, and aslb-9.1-u2-b1

Background - When I deploy any WAR (or EAR) with a servlet based web
service, GlassFish will update the HTTP Load Balancer with its information.
When I deploy an EJB based web service the configuration of the HTTP Load
Balancer is not updated to reflect the new object.

Work around - If I manually update the loadbalancer.xml that the web
server is using to include a new web-module with the appropriate URI it
will work, but manually updating all the different copies of the
loadbalancer.xml I have is not an easy task.



 Comments   
Comment by harpreet [ 01/Dec/08 ]

Pankaj - can you see if this is critical for v2.1 release. I do not see it as such.

Comment by harpreet [ 01/Dec/08 ]

Pankaj has got back indicating that this is a place holder for a subsequent release. Removing 911ToScrub
tag.

Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by kshitiz_saxena [ 02/Feb/09 ]

Assigning this issue to myself.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-7171] Load Balancer Plugin does not work on Open Solaris 2008/11 Created: 11/Feb/09  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur2
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: arungupta Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 7,171
Status Whiteboard:

v3_exclude, v2.1.1_exclude


 Description   
  • Open Solaris 2008/11
  • Sun Web Server 6.1 (whatever the latest patch is)
  • GF v2.1
  • LB plugin from EE bits

Starting up the Web server gives the following error:

– cut here –
arun@opensolaris:/usr/SUNWwbsvr/https-opensolaris# ./start
Sun ONE Web Server 6.1SP5 B08/18/2005 00:48
info: reports: Initializing lbplugin BuildId: A701212-164111
catastrophe: CORE3260: Server crash detected (signal SIGSEGV)
info: CORE3261: Crash occurred in NSAPI SAF load-modules
– cut here –



 Comments   
Comment by kumara [ 14/Sep/09 ]

LB plugin not being shipped with v3, does not apply to v3 release and hence excluded from bug tracking.

Comment by Ed Bratt [ 15/Oct/09 ]

Will not fix in v2.1.1

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3151] <BT6566319>LB plugin unusable on Apache 2.0.59 with Glassfish PE build, cluster profile; sec_db_files missing Created: 07/Jun/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: All


Issuezilla Id: 3,151

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6566319
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6566319
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Glassfish Build: 49, PELB Build: aslb-9.1-MS4-b4.jar

This is a P4 since Glassfish PE is officially tested and supported with Sun Webserver 6.1 and not with any other webservers. See https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html

sec_db_files are only available with Glassfish EE build. Apache 2.0.59 requires these files to initialize the LB plugin.

  • On starting Apache with the LB plugin does not initialize LB, Message in error log says -
    [alert] ERROR:NSS could not be initialized; The issue may be missing security DB files under /space/varun/2.0-apache/httpd/sec_db_files; Please ensure that secmod.db, key3.db and cert7.db files are present under /space/varun/2.0-apache/httpd/sec_db_files; Refer documentation for more details; Aborting Plugin initialization ...
  • Sending a request to apache at this point is not responded to and the error log shows -
    [alert] Within apachelbplugin_name_trans()
    [notice] child pid 6957 exit signal Segmentation fault (11)

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Work Around Download Glassfish EE build and get sec_db_files from <glassfish-install>/domains/<domain>/config location
**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3104] <BT6563306>Msg logged on non-idempotent request failure does not include parameter and value pairs passed in Created: 31/May/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: lwhite
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Solaris
Platform: All


Issuezilla Id: 3,104

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6563306
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6563306
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Glassfish Build: 48 PELB Build: aslb-9.1-MS4-b3.jar
(from /net/koori.sfbay/onestop/glassfish/external/SunOS/aslb/jars/)

On failure of a non-idempotent request the following message is currently being logged:
"reports: lb.runtime: ROUT1014: Non-idempotent request /infinite/infiniteLoopServlet cannot be retried."
In an earlier LB build, the message logged used to contain the parameter-value pairs as well. This is useful when debugging a failure. For example: "reports: lb.runtime: ROUT1014: Non-idempotent request /infinite/infiniteLoopServlet?no-of-loops=80 cannot be retried."

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by gfbugbridge [ 23/Jun/07 ]

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6563306
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6563306
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Glassfish Build: 48 PELB Build: aslb-9.1-MS4-b3.jar
(from /net/koori.sfbay/onestop/glassfish/external/SunOS/aslb/jars/)

On failure of a non-idempotent request the following message is currently being logged:
"reports: lb.runtime: ROUT1014: Non-idempotent request /infinite/infiniteLoopServlet cannot be retried."
In an earlier LB build, the message logged used to contain the parameter-value pairs as well. This is useful when debugging a failure. For example: "reports: lb.runtime: ROUT1014: Non-idempotent request /infinite/infiniteLoopServlet?no-of-loops=80 cannot be retried."

**********READ-ONLY Data from Bugtraq Ends********

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3103] <BT6563268>non-existing or incorrectly formatted lb xml causes lb crash on sending a request to the webserver Created: 31/May/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Solaris
Platform: All


Issuezilla Id: 3,103

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6563268
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6563268
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Glassfish Build: 48 PELB Build: aslb-9.1-MS4-b3.jar
(from /net/koori.sfbay/onestop/glassfish/external/SunOS/aslb/jars/)

If the loadbalancer.xml file is incorrectly formatted, for example (not all listed):
a. write some charachters anywhere in the file.
b. use characters instead of numbers for the value of a property like response-timeout-in-seconds.
c. use 2 clusters with the same name.
....LB crashes on sending a request to the WS. WS error log indicates of the crash.

  • Same behavior seen when lb is installed on the WS but lb xml does not exist.

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Evaluation The error was happening as LBConfigurator was not returning immediately after detecting that config parsing has failed and clusters are null.
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Priority changed from [] to [3-Medium]lb exiting cleanly preffered over XXXXXX 2007-05-30 05:52:54 GMT

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Work Around correct the loadbalancer.xml
**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3055] Load balancer fails on hardware SSL accelerators (T2000 etc) Created: 23/May/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: coreyjohnston Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Solaris
Platform: Sun


Issuezilla Id: 3,055

 Description   

The Load Balancer plugin for Glassfish doesn't work in Apache when using Sun's
PKCS11 crypto device.

ie. Set Apache's httpd.conf to have SSLCryptoDevice pkcs11, and
mod_loadbalancer.so fails to initialize:

[Thu May 24 15:00:46 2007] [notice] Initializing lbplugin BuildId: A692342-271111

[Thu May 24 15:00:51 2007] [alert] ERROR:NSS could not be initialized; The issue
may be missing security DB files under /opt/apache/sec_db_files; Please ensure
that secmod.db, key3.db and cert7.db files are present under
/opt/apache/sec_db_files; Refer documentation for more details; Aborting Plugin
initialization ...

[Thu May 24 15:00:51 2007] [notice] Apache/2.0.55 (Unix) mod_ssl/2.0.55
OpenSSL/0.9.7d configured – resuming normal operations

This works fine when not using the SSLCryptoDevice directive.
ie: when using Apache's builtin SSL engine.

One implication is that its not possible to use the SSL hardware accelerator on
T1000 and T2000 servers, as they require Apache to use the pkcs11
SSLCryptoDevice setting. This is a pretty major drawback for running Glassfish
on these boxes since their SSL engine is pretty poor, hence the builtin SSL
accelerator, which should be used.

Could this (just) be a problem with the NSS database file provided not having
referencs to the pkcs11 device?

The error message is also erroneous as it complains about cert7.db, which I
believe was replaced with cert8.db long ago.



 Comments   
Comment by gfbugbridge [ 24/May/07 ]

<BT6562035>

Comment by kshitiz_saxena [ 29/May/07 ]

The supported webserver for load-balancer plugin of glassfish v2 is Sun Java
System Application Server(SJSWS) 6.1* and 7.1. The libraries are provided for
Apache 2.0 and IIS, however there is no guarantee that they will work in all
configurations. The bugs related to SJSWS will have higher priority. Issues with
other web-servers will be handled on case to case basis. This bug is being
downgraded to P4.

Comment by kshitiz_saxena [ 29/May/07 ]

The complete support for webserver like Apache 2.0 and IIS will be available in
Sun Java System Application Server 9.1 EE.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-2974] <BT2148989>Failed to initialize load balancing subsystem- not in log when incorrect listener in lb xml Created: 03/May/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 2,974

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=2148989
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2148989
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification - The message "Failed to initialise load balancing subsystem." is useful since it indicates that LB is not going to work. - Other loadbalancer.xml errors also lead to failure in LB initialization and used to cause this message to be logged in the WS error log. Example of such errors - duplicate instance name; duplicate context root, incorrectly formatted error-url like XXXXXX 2007-05-02 06:30:04 GMT

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-2973] <BT6552601>Load Balancer crash upon invalid value of listeners in loadbalancer.xml Created: 03/May/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 2,973

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6552601
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6552601
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description If an invalid value is provided for http listener for the "listeners" element of the loadbalance.xml, webserver instance crashes. For example for "listeners" value comprised of htt://jlab81.india.sun.com:8080 as one of the http listeners, webserver/load balancer crashes.
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Evaluation This is occuring due to usage of invalid DaemonConfig pointer for errorenous http listener value.
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Priority changed from [] to [3-Medium]The component should gracefully exist the initialization phase under this scenario, while logging the cause of error (as already occuring). This should not result in XXXXXX 2007-05-02 05:06:21 GMT

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Suggested Fix Check-in Details :-
"/tmp/cvs_3aGmI" 14 lines, 543 characters
Checking in ServerInstance.cpp;
/m/src/iplanet/ias/ee/lbplugin/src/ServerInstance.cpp,v <-- ServerInstance.cpp
new revision: 1.1.2.10.28.5; previous revision: 1.1.2.10.28.4
done

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3771] <BT6615575>Windows2003: Richaccess login page is not accessible from LB Created: 12/Oct/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur1
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3,771

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6615575
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6615575
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Build: AS9.1 UR1 EE Build 03Application: Richaccess
Webserver: WS7.0
OS: Windows 2003 Adv Svr

After installation of webserver 7.0, installed LB from 9.1 UR1 EE Build 03. Installation and startup of webserver instance was working fine, no issues seen there. After setting up loadbalancer.xml for richAccess, when trying to access the application through lb plugin from the browser, I am not getting the richAccess login page. Instead I am getting this HTTP code.

HTTP/1.1 302

There were no errors in webserver logs. This works on Sparc and Linux builds. Seems to be an issue with windows build only.

Here's the webserver log:

[09/Oct/2007:13:22:34] info ( 2488): CORE1116: Sun Java System Web Server 7.0 B1
2/04/2006 08:46^M
[09/Oct/2007:13:22:34] info ( 2488): reports: Initializing lbplugin BuildId: A7
01212-164111^M
[09/Oct/2007:13:22:34] info ( 2488): CORE5076: Using [Java HotSpot(TM) Server VM
, Version 1.5.0_09] from [Sun Microsystems Inc.]^M
[09/Oct/2007:13:22:34] config ( 2488): trying to GET /, name-trans-passthrough r
eports: init-passthrough has not been called^M
[09/Oct/2007:13:22:36] config ( 2488): trying to GET /WEB-INF/web.xml, name-tran
s-passthrough reports: init-passthrough has not been called^M
[09/Oct/2007:13:22:37] config ( 2488): trying to GET /, name-trans-passthrough r
eports: init-passthrough has not been called^M
[09/Oct/2007:13:22:37] warning ( 2488): reports: lb.runtime: RNTM2019: Daemon h
ttp://bigapp-pc6.red.iplanet.com:38080 has been intialized.^M
[09/Oct/2007:13:22:37] warning ( 2488): reports: lb.runtime: RNTM2019: Daemon h
ttp://ypingpc3.red.iplanet.com:38080 has been intialized.^M
[09/Oct/2007:13:22:37] warning ( 2488): reports: lb.runtime: RNTM2019: Daemon h
ttp://ypingpc4.red.iplanet.com:38080 has been intialized.^M
[09/Oct/2007:13:22:37] info ( 2488): HTTP3072: http-listener-1: http://jws-orion
-pc-9.red.iplanet.com:80 ready to accept requests^M

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Evaluation Do attach the following set a clean start-up (stop your setup, clean up your logs, restart the WS at FINE log level) -
1. WebServer error log at the FINE level.
2. WebServer access log
3. Appserver access and server.log
4. loadbalancer.xml

Also can you provide a VNC session details to your setup.

On the face of it, primarly there is a redirection occuting to the login page subsequent to the initial request dispatched. Just a note - The redirection sift test cases had passed on 91FCS,based on the results, for LB on SJSWS 7.0/Win2003 and there has been no stagging of LB since the recent 91FCS.

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Priority changed from [] to [2-High]This is a basic functionality which is not working and it is happening on windows 2003 Adv Svr XXXXXX 2007-10-11 04:26:46 GMT

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3757] <BT2154153>Loadbalancer plugin not handling chunked data Created: 09/Oct/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur1
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3,757

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=2154153
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2154153
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Evaluation Needs forward port to 91
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Same as XXXXXX 2007-10-08 11:06:36 GMT

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Suggested Fix Check-in details:-"/var/tmp/aaa.Saqfh" 21 lines, 745 characters
Checking in LBNsapiProxy.h;
/m/src/iplanet/ias/ee/lbplugin/src/LBNsapiProxy.h,v <-- LBNsapiProxy.h
new revision: 1.1.2.17.4.6; previous revision: 1.1.2.17.4.5
done
Checking in LBNsapiProxyRequest.h;
/m/src/iplanet/ias/ee/lbplugin/src/LBNsapiProxyRequest.h,v <-- LBNsapiProxyRequest.h
new revision: 1.1.2.7.28.1; previous revision: 1.1.2.7
done
Checking in daemonchannel.cpp;
/m/src/iplanet/ias/ee/lbplugin/src/daemonchannel.cpp,v <-- daemonchannel.cpp
new revision: 1.1.2.12.4.5; previous revision: 1.1.2.12.4.4
done
Checking in nsapiproxyrequest.cpp;
/m/src/iplanet/ias/ee/lbplugin/src/nsapiproxyrequest.cpp,v <-- nsapiproxyrequest.cpp
new revision: 1.1.2.6.4.3; previous revision: 1.1.2.6.4.2
done
Checking in proxyrequest.h;
/m/src/iplanet/ias/ee/lbplugin/src/proxyrequest.h,v <-- proxyrequest.h
new revision: 1.1.2.4.28.1; previous revision: 1.1.2.4
done

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3756] <BT2154152>lbplugin healthcheck generating quite a number of connection/disconnection at the background (load) Created: 09/Oct/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur1
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3,756

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=2154152
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2154152
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Evaluation Needs to be forward ported.
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Same as XXXXXX 2007-10-08 10:22:06 GMT

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Suggested Fix Forward ported. Check-in details -
"/var/tmp/aaaAyaiah" 19 lines, 628 characters
Checking in LBConfigurator.cpp;
/m/src/iplanet/ias/ee/lbplugin/src/LBConfigurator.cpp,v <-- LBConfigurator.cpp
new revision: 1.1.2.25.4.12; previous revision: 1.1.2.25.4.11
done
Checking in LBConfigurator.h;
/m/src/iplanet/ias/ee/lbplugin/src/LBConfigurator.h,v <-- LBConfigurator.h
new revision: 1.1.2.18.4.6; previous revision: 1.1.2.18.4.5
done
Checking in LBDaemon.cpp;
/m/src/iplanet/ias/ee/lbplugin/src/LBDaemon.cpp,v <-- LBDaemon.cpp
new revision: 1.1.2.27.4.10; previous revision: 1.1.2.27.4.9
done
Checking in LBProxyConfig.h;
/m/src/iplanet/ias/ee/lbplugin/src/LBProxyConfig.h,v <-- LBProxyConfig.h
new revision: 1.1.2.8.12.3; previous revision: 1.1.2.8.12.2
done
Checking in LBProxyConfig.cpp;
/m/src/iplanet/ias/ee/lbplugin/src/LBProxyConfig.cpp,v <-- LBProxyConfig.cpp
new revision: 1.1.2.8.12.5; previous revision: 1.1.2.8.12.4
done

Fix would be integrated upon LB promotion

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by ocoro02 [ 26/Oct/07 ]
      • Issue 3756 has been confirmed by votes. ***
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3744] <BT6612851>After installation of LB on WS 7.0u1 , WS instance fails to start on windows Created: 05/Oct/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur1
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3,744

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6612851
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6612851
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description –
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Install WS 7.0 u1

{Make sure the instance starts up fine}

Install AS 9.1 ee build 58g - Choose to install the LB plugin
The server instance fails to start with an error message :

[03/Oct/2007:15:11:07] failure ( 1840): CORE2253: Error running Init function lo
ad-modules: dlopen of C:/smitha/ws7-new/plugins/lbplugin/bin/passthrough.dll fai
led (The specified module could not be found.)

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Priority changed from [] to [3-Medium]Error message cannot be XXXXXX 2007-10-04 05:00:46 GMT

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Work Around Download the latest LB plugin from : cp /net/koori.sfbay/onestop/glassfish/external/<OS>/aslb/jars/aslb-9.1-MS4-<latest>.jar

Unjar it and unzip SUNWaspx.zip
Copy icudt2.dll, icuin2.dll, icuuc2.dll and xerces-c.dll from the lib directory.

Put the above 4 dll in the same directory as passthrough.dll in <webserver7_install_dir>\plugins\lbplugin\bin.

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Work Around The required dlls are available in the AS/lib but the AS/lib is not in the path and hence the the WS instance doesn't start up.The 2 ways to get it working are
a) have all the dependent dlls in the same location i.e copy icudt2.dll, icuin2.dll, icuuc2.dll and xerces-c.dll from AS lib directory to the <webserver7_install_dir>\plugins\lbplugin\bin
OR
b)set the AS/lib in the systems environment . This needs a system restart.

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3728] <BT6612356>Loadbalancer plugin must log an error message if it fails to update loadbalancer.xml via lbconfigupd Created: 04/Oct/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur1
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: All


Issuezilla Id: 3,728

 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6612356
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6612356
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description When the LB plugin (webserver process) does not have permission to update the loadbalancer.xml the lbconfigupdate fails. But there is currently no error message in the webserver error log. The message in the webserver error currently indicates that the request was successful.Apache version used :Apache 2.0.59 + patch 2355

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Justification Priority changed from [] to [3-Medium]Customer doesn't see any error messages and is given wrong XXXXXX 2007-10-03 06:11:57 GMT

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by sanandal [ 11/Jan/09 ]

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-3635] <BT6463768>Description is wrong in the dtd Created: 20/Sep/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1peur1
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: gfbugbridge Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 3,635
Status Whiteboard:

91ur1Approved


 Description   

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6463768
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6463768
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description WS 7.0 dramatically improved SSL administration. We should support installing LB plug-in on it. WS 7.0 is available at:
http://www.sun.com/download/products.xml?id=446518d5

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Should support completely the dtd: sun-loadbalancer_1_2.dtd
For example:

<!ENTITY % policy "(round-robin | weighted-round-robin | user-defined )">

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description http://fisheye5.cenqua.com/browse/glassfish/admin-ee/lb-admin/dtds/sun-loadbalancer_1_2.dtd?r=1.1.1.1
Description says seconds, it should say minutes.

disable-timeout-in-minutes specifies the quiescing timeout interval in
seconds, upon elapse of which load balancer
would close all the open connections related
to the instance being disabled and no further

**********READ-ONLY Data from Bugtraq Ends********



 Comments   
Comment by gfbugbridge [ 20/Sep/07 ]

*********READ-ONLY Data from Bugtraq*********************
Inside SWAN :http://swsblweb1.central.sun.com:8080/CrPrint?id=6463768
Outside SWAN :http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6463768
**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description WS 7.0 dramatically improved SSL administration. We should support installing LB plug-in on it. WS 7.0 is available at:
http://www.sun.com/download/products.xml?id=446518d5

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description Should support completely the dtd: sun-loadbalancer_1_2.dtd
For example:

<!ENTITY % policy "(round-robin | weighted-round-robin | user-defined )">

**********READ-ONLY Data from Bugtraq Ends********
*********READ-ONLY Data from Bugtraq*********************
Description http://fisheye5.cenqua.com/browse/glassfish/admin-ee/lb-admin/dtds/sun-loadbalancer_1_2.dtd?r=1.1.1.1
Description says seconds, it should say minutes.

disable-timeout-in-minutes specifies the quiescing timeout interval in
seconds, upon elapse of which load balancer
would close all the open connections related
to the instance being disabled and no further

**********READ-ONLY Data from Bugtraq Ends********

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-2847] Findbugs errors Created: 17/Apr/07  Updated: 06/Mar/12

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 9.1pe
Fix Version/s: not determined

Type: Bug Priority: Minor
Reporter: sirajg Assignee: pj126383
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 2,847

 Description   

String comparision using == or != :

dpatil@dev.java.net raharsha:
com/sun/enterprise/admin/monitor/stats/lb/ClusterStats.java:186:186ES:
Comparison of String parameter using == or !=
incom.sun.enterprise.admin.monitor.stats.lb.ClusterStats.fetchPropertyByName(String)
(H) raharsha:
com/sun/enterprise/admin/monitor/stats/lb/InstanceStats.java:545:545ES:
Comparison of String parameter using == or !=
incom.sun.enterprise.admin.monitor.stats.lb.InstanceStats.fetchPropertyByName(String)
(H)
raharsha:com/sun/enterprise/admin/monitor/stats/lb/LoadBalancerStats.java:283:283
ES:Comparison of String parameter using == or !=
incom.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.fetchPropertyByName(String)
(H) (



 Comments   
Comment by sridatta [ 15/May/07 ]

Not a release stopper. P4.

Comment by Tom Mueller [ 06/Mar/12 ]

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.





[GLASSFISH-16128] Incorrect information given during loadbalancer plugin installation Created: 02/Mar/11  Updated: 02/Mar/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: ramapulavarthi Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

While installing the loadbalancer pluging on Iplanet Web Server, It printed the following on the installer screen.
Notice it says "For the Load Balancing Plugin to work, it needs access to a cluster configuration file in XML format, namely load-balancer.xml." But, the plugin accepts only accepts loadbalancer.xml not load-balancer.xml

--------------
Post-Installation Procedures for Oracle iPlanet Server

After installing the GlassFish Load Balancing Plugin on Oracle iPlanet Server, it may be necessary to update the Oracle iPlanet Server library path to include all dependent libraries. The Load Balancing Installer usually updates the Oracle iPlanet Server library path automatically. However, in some cases, additional manual changes may be required.
For the Load Balancing Plugin to work, it needs access to a cluster configuration file in XML format, namely load-balancer.xml. The load-balancer configuration can be created with the GlassFish asadmin command. After creating load-balancer configuration load-balancer xml can be brought to web server in either of two ways:
If web server is configured in SSL mode and DAS certificate is imported, then user can use push load-balancer xml to web server over the wire using asadmin command apply-http-lb-changes. Please ensure run-as user for web server has write permission in configuration directory.
If web server is not configured in SSL mode or DAS certificate is not imported, then user can manually export load-balancer xml using asadmin command export-http-lb-config. User need to manually copy load-balancer xml to web server configuration directory. Now user can restart the web server for load-balancer configuration to take effect.
For more details about this procedure, see Configuring Web Servers for HTTP Load Balancing in the Oracle GlassFish Server 2.1.1 High Availability Administration Guide.
---------------






[GLASSFISH-16090] during load-balancer configurator installation and configuration, it requires 8 char iWS Admin password Created: 23/Feb/11  Updated: 20/Apr/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1_b43
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Homer Yau Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

load-balancer configurator b05 iws 7.0.9


Tags: 3_1, glassfish, plugin, rel_notes_candidate

 Description   

during load-balancer configurator installation and configuration, it requires 8 char iWS Admin password.

The is a test scenario we face if iplanet webserver admin password is shorter than 8 character.

Workaround:
It is to use wadm to reset the admin password, restart the iws admin-server and then continue load-balancer configurator's installation.
reset web server admin password
cd <webserver_install_dir>/bin

  1. ./wadm reset-admin-password --user admin --host localhost --port 8989
    Please enter admin-password> <new_passsword>
    Please enter admin-password again> <new_password>


 Comments   
Comment by Homer Yau [ 23/Feb/11 ]

We need to accommodate/support for the user that have existing or new iPlanet Web Server that have admin password that have less than eight character in the future release.

Comment by Scott Fordin [ 20/Apr/11 ]

Added note to 3.1 HA Admin Guide.





[GLASSFISH-16105] Need to add iWS installed bin path for LB configurator to reconize the certutil and wadm command Created: 25/Feb/11  Updated: 25/Feb/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1_b43
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Homer Yau Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 2008 R2, GlassFish 3.1, iPlanet Web Server 7.0.9,


Tags: 3_1, glassfish, plugin, rel_notes_candidate

 Description   

If user do not setup the certutil.bat or wadm.bat in correct path in windows or other platforms, lb-configurator could not execute the command.

wadm.bat and certutil.bat command files are from webserver for helping lb-configurator to add the glassfish das certificate into truststore list in webserver instance as trusted certificate for admin easy of use purpose.

<webserver_install_dir>\bin\wadm.bat
<webserver_install_dir>\bin\certutil.bat

Load-balancer Configurator need these two files to complete the task.

Workaround is to execute the command manually after configurator completed install.

Workaround:

i.e.

C:\webserver7\bin\certutil -A -a -n s1as -t TC -i C:\
\glassfish3\glassfish\domains\domain1\config\s1as.rfc -d C:\ha\ws7\https-myinstance\config

<webserver_install_dir>\bin\certutil A -a -n s1as -t TC -i <glassfish_3.1_install_dir>\glassfish3\glassfish\domains\domain1\config\s1as.rfc -d <webserver_install_dir>\https<your_instance>\config

note:
s1as.rfc is the certificate exported from the GlassFish DAS.

Command to export GlassFish Domain Admin Server Certificate (GlassFish DAS certificate):
e.g.
<JAVA_HOME>\bin\keytool -export -rfc -alias s1as -keystore <GLASSFISH_INSTALL_DIR>\domains\<DOMAIN_NAME>\config\keystore.jks -file s1as.rfc






[GLASSFISH-16101] iws wadm command fail during LB configurator if the webserver "admin password" or "wspass" not exist. Created: 24/Feb/11  Updated: 24/Feb/11

Status: Open
Project: glassfish
Component/s: load_balancer
Affects Version/s: 3.1_b43
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Homer Yau Assignee: kshitiz_saxena
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

GlassFish build 43 OGS on OEL with iws7.0.9


Tags: 3_1, glassfish, plugin

 Description   

iWS wadm command fail during LB configurator if the webserver "admin password" or "wspass" not exist.

However, the installation on the load-balancer plugin binary is still completed and successfully lay down the binary files.

There is a workaround see below.

Error will be found in the end of the installation.

Error log:

INFO: Command /export/ha/ws7/bin/wadm execution failed. Please refer to logs for
more details.
Feb 24, 2011 5:26:43 PM LBConfigurator
FINE: Command executed : /export/ha/ws7/bin/wadm pull-config --user=admin --pass
word-file=/export/ha/ws7/https-jan-vm8/../glassfish-lbplugin/wspass --host=jan-v
m8.us.oracle.com --port=8989 --verbose --config=jan-vm8 jan-vm8.us.oracle.com
Feb 24, 2011 5:26:43 PM LBConfigurator
FINE: Command exit code : 116
Feb 24, 2011 5:26:43 PM LBConfigurator
FINE: Command output :
Feb 24, 2011 5:26:43 PM LBConfigurator
FINE: Command error output : ADMIN3012: Node 'jan-vm8.us.oracle.com' is not part
of the server farm.

Feb 24, 2011 5:26:43 PM LBConfigurator
FINE: Command exception trace : : abnormal subprocess termination: Detailed Mes
sage:ADMIN3012: Node 'jan-vm8.us.oracle.com' is not part of the server farm.

Feb 24, 2011 5:26:43 PM LBConfigurator
FINE: Exception :
lb.ExecException: abnormal subprocess termination: Detailed Message:ADMIN3012: N
ode 'jan-vm8.us.oracle.com' is not part of the server farm.

at lb.ProcessExecutor.execute(ProcessExecutor.java)
at lb.ProcessExecutor.execute(ProcessExecutor.java)
at lb.ProcessExecutor.execute(ProcessExecutor.java)
at lb.Configurator.executeCmdAndReturnOutput(Configurator.java)
at lb.Configurator.executeCmd(Configurator.java)
at lb.SJSWSConfigurator.runPullAndDeployConfig(SJSWSConfigurator.java)
at lb.SJSWSConfigurator.pullAndDeployConfig(SJSWSConfigurator.java)
at lb.SJSWSConfigurator.install(SJSWSConfigurator.java)
at lb.Installer.install(Installer.java)
at lb.Installer.runInstaller(Installer.java)
at lb.Installer.main(Installer.java)
Feb 24, 2011 5:26:43 PM LBConfigurator
INFO: Completed installation of GlassFish Load Balancer Plugin
Feb 24, 2011 5:26:43 PM LBConfigurator
WARNING: GlassFish load-balancer plugin installation completed with errors. Please check logs for any WARNING or SEVERE messages. Some manual changes may be required.

Workaround:

The workaround for is to run the iPlanet webserver "wadm" command manually.

i.e.

Make the temp "wspass" file exist or create temporary for this use.

  1. vi <webserver_install>/glassfish-lbplugin/wspass
    wadm_password=adminadmin

#<webserver_install>/bin/wadm pull-config --user=admin --password-file=/export/ha/ws7/https-jan-vm8/../glassfish-lbplugin/wspass --host=jan-vm8.us.oracle.com --port=8989 --verbose --config=jan-vm8 jan-vm8
CLI201 Command 'pull-config' ran successfully






Generated at Sat Aug 29 15:36:27 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.