Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SJSWS 6.1 Load Balancer W/ Glassfish

807567Mar 18 2008 — edited Mar 18 2008
I am trying to setup a cluster w/ glassfish2, using SJSWS with the load balancer plugin.
I have two instances setup on glassfish ports 38080 & 38081 and I have deployed the clusterjsp app that comes as a sample.

I can hit the following addresses
http://localhost:38080/clusterjsp (instance 1 clusterjsp)
http://localhost:38081/clusterjsp (instance 2 clusterjsp)
http://localhost/ (default sun ws welcome page)

But when I try to hit
http://localhost/clusterjsp

I get the following error in the the SJSWS error log:
trying to GET /clusterjsp, send-file reports: HTTP4142: can't find /clusterjsp (File not found)
which of course results in the following message in the browser:
The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.

It doesn't show any errors on startup and says there are no unhealthy instances in the cluster.

It appears the loadbalancer is not sending the requests to the instances.

I am guessing this has something to do with it, in glassfish admin console when I look at the load balancer, the status is "apply changes needed" and the test connection always fails. (so I manually exported the loadbalancer.xml)

I am sure it something simple, but I am new to both SJSWS and GlassFish, so any help would be appreciated.

Thanks

Edited by: bryce656 on Mar 18, 2008 10:02 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2008
Added on Mar 18 2008
1 comment
106 views