[GLASSFISH-17620] User should be able to configure load-balancing algorithm supported by load-balancer service provider Created: 03/Nov/11  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: glassfish
Component/s: command_line_interface, load_balancer, paas-console
Affects Version/s: 4.0
Fix Version/s: None

Type: Task Priority: Major
Reporter: kshitiz_saxena Assignee: kshitiz_saxena
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This task is to expose the load-balancing algorithm supported by load-balancer service provider to application deployer. Currently load-balancing algorithm is fixed and this configuration is not exposed to user.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components which have impact on this task.

Comment by Tom Mueller [ 07/Feb/13 ]

The paas-console and cloud related code has been removed from GlassFish, so closing this issue.





Support quiesce feature in load-balancer service (GLASSFISH-17616)

[GLASSFISH-17617] Support instance quiesce in load-balancer service Created: 03/Nov/11  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: glassfish
Component/s: command_line_interface, load_balancer, paas-console, Service Provisioning Engine
Affects Version/s: 4.0
Fix Version/s: None

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


 Description   

A quiesced instance will only get request for session sticking to instance for configured period of time, aka quiesce period. After quiesce period expires, no requests are routed to that instance. Then maintenance job can be performed on the instance.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 07/Feb/13 ]

The service provisioning engine code has been moved out of GlassFish, so closing this issue.





[GLASSFISH-17638] Support more service configurations for GlassFish service Created: 04/Nov/11  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: glassfish
Component/s: paas-console, Service Provisioning Engine
Affects Version/s: 4.0
Fix Version/s: None

Type: Task Priority: Major
Reporter: Bhavanishankar Assignee: Bhavanishankar
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ALL



 Description   

As described in section 2.5 of http://wikis.sun.com/display/GlassFish/3.2+Services+Metadata, support more service service configurations for GlassFish service.

The current GlassFish SPE only supports min/max cluster size. The other common configurations like setting heap size, running pre-deploy/post-deploy scripts should be supported.



 Comments   
Comment by Bhavanishankar [ 04/Nov/11 ]

The other configuration that can possibly be useful for the end users are port configurations viz., http port, https port, and security configurations eg., certicates to be installed in the provisioned VM.

Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added PaaS Console as a component that will be affected by the requirements specified here.

Comment by Tom Mueller [ 07/Feb/13 ]

The service provisioning engine code has been moved out of GlassFish, so closing this issue.





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

[GLASSFISH-17611] Load-balancing algorithm per application Created: 03/Nov/11  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: glassfish
Component/s: command_line_interface, load_balancer, paas-console, Service Provisioning Engine
Affects Version/s: 4.0
Fix Version/s: None

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


 Description   

This is nice to have feature to select/set load-balancing algorithm per application



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 07/Feb/13 ]

The service provisioning engine code has been moved out of GlassFish, so closing this issue.





Support quiesce feature in load-balancer service (GLASSFISH-17616)

[GLASSFISH-17618] Support application quiesce in load-balancer service Created: 03/Nov/11  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: glassfish
Component/s: command_line_interface, load_balancer, paas-console, Service Provisioning Engine
Affects Version/s: 4.0
Fix Version/s: None

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


 Description   

Only sticky requests for quiesced application is routed to GlassFish instances for configured period of time, aka quiesce period. After quiesce period expires, no requests are routed to that GlassFish instances for that application. Then tasks like application upgrade or version switch can be performed.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 07/Feb/13 ]

The service provisioning engine code has been moved out of GlassFish, so closing this issue.





[GLASSFISH-17593] support undeployment of PaaS styled applications with --retainvm Created: 03/Nov/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: iaas, paas-console, Service Provisioning Engine , service-orchestration
Affects Version/s: 4.0
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Jagadish Assignee: Jagadish
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: ee7_cleanup_closed

 Description   

Need to support undeployment of application with --retainvm support so that VM and its data is retained.

Probably, this RFE might need support from SPEs and IaaS layer.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-17644] PaaS runtime should be extensible and should not be restricted to known service types Created: 04/Nov/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: iaas, paas-console, service-orchestration
Affects Version/s: 4.0
Fix Version/s: None

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

ALL


Sub-Tasks:
Key
Summary
Type
Status
Assignee
GLASSFISH-17645 virtualization layer should not be re... Sub-task Closed shreedhar_ganapathy  
Tags: ee7_cleanup_closed

 Description   

Neither the orchestrator nor the IMS layer should restrict themselves to known service types viz., JavaEE, MQ, LB, DB.

Also, the GlassFish SPE should consider dynamically integrating GlassFish service with any newly added service. For example, Java EE PaaS application might want to use a third party HA store. GlassFish SPE should provide mechanism to augment such additional services.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-17592] support redeployment of PaaS styled application Created: 03/Nov/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: deployment, paas-console, Service Provisioning Engine , service-orchestration
Affects Version/s: 4.0
Fix Version/s: None

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

Tags: ee7_cleanup_closed

 Description   

Need support to redeploy PaaS styled application.
Multiple factors need to be considered :
1) redeploy the application by re-provisioning the services as per the new service-requirements
2) redeploy the application by retaining (not re-provisioning) the services eg: via "asadmin redeploy --retainvm"
3) Need to find compatible and incompatible redeployment w.r.t services already available (for --retainvm) and accept or fail deployment.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-17351] paas-console deploy wizard can't go to step 2 on ie8 Created: 26/Sep/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: paas-console
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: sherryshen Assignee: Jason Lee
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

glassfish on mac 10.5.8
ie 8 on windows xp


Tags: ee7_cleanup_closed

 Description   

glassfish-4.0-b03-09_25_2011.zip

paas-console deploy wizard can't go to step 2 on ie8

put demo war file in step 1 of deploy
click "Next", it doesn't go to step 2.



 Comments   
Comment by sherryshen [ 26/Sep/11 ]

workaround:
Mozilla Firefox 6.0.2 on windows xp works for paas console deploy

Comment by Anissa Lam [ 26/Sep/11 ]

More inform from Arun regarding this error when using IE8.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2)
Timestamp: Mon, 26 Sep 2011 21:08:20 UTC

Message: Object expected
Line: 1351
Char: 25
Code: 0
URI: http://localhost:8080/paas-console/js/local-jsf.js

Message: Object expected
Line: 1351
Char: 25
Code: 0
URI: http://localhost:8080/paas-console/js/local-jsf.js

Comment by Jason Lee [ 26/Sep/11 ]

I think this might be a known JSF issue. If I recall correctly, the suggested work-around given to me on IRC was to enable "quirks mode", though I don't know exactly how that's done.

Comment by Anissa Lam [ 26/Sep/11 ]

The source of local-jsf.js can be found at
http://java.net/projects/glassfish/sources/svn/content/trunk/main/appserver/paas/console/webapp/src/main/webapp/js/local-jsf.js?rev=49951

Specifically, line# 1351 corresponds to
raise ("create iframe for IE");

var IframeEngine = function(context) {
            var req = {
                FRAME_ID: 'mojarra_ajax_iframe',
                frame: false,
                context: context
            };

            req._createIframe = function() {
                var frame = document.getElementById(this.FRAME_ID);
                if (!frame) {
                    if (isIE()) {
                        raise ("create iframe for IE");
                    } else {
                        frame = this.createElement(document.body, 'iframe', {
                            src: 'about:blank',
                            id: this.FRAME_ID,
                            name: this.FRAME_ID,
                            type: "content",
                            collapsed: true,
                            style: {display:'none'}
                        });
//                        document.body.appendChild(frame);
                    }
                }

                return frame;
            };

I am not sure what exactly is this "known JSF issue". the raise() function ?
I will send email to Ed Burns to see if he knows.

Comment by Jason Lee [ 27/Sep/11 ]

The function raise() actually seems to be a Mozilla-specific function for throwing an exception. It is, however, not really relevant to the discussion. When I wrote that piece of code, I put that function call in to make sure we explicitly tested the code for IE. I stubbed it, though, as I was not expecting to need robust, cross-browser support for the demo (and fixing the charts issue on FF on Windows may well end up being an easier solution). The easiest thing to try, though, is to remove the IE check and see if the code actually works on IE. There's a chance it might, as the IE JS enging is reportedly better than earlier versions. Failing that, a Windows system (or local VM, preferably), will need to be made available for testing.

Comment by rogerk [ 27/Sep/11 ]

I've never used the "raise()" function myself, it's certainly not used in any JSF code that comes to mind.
What is the exact JavaScript error?

Comment by Ed Burns [ 27/Sep/11 ]

AL> put demo war file in step 1 of deploy

When you say demo war, you mean Arun's ConferencePlanner.war ?

Comment by Ed Burns [ 27/Sep/11 ]

Well, it turns out that any old war will do.

I observe that it works when using Firefox 6, as expected, and fails when using IE 8, as expected.

I'll try Jason's suggestion to remove the isIE() check.

Comment by Ed Burns [ 27/Sep/11 ]

Did that, and now I have a different error in the same file.
Line 1402
Object doesn't support this property or method.

That line has

el.style = "visibility: hidden";

I'll try "display: none"; instead.

Comment by Ed Burns [ 27/Sep/11 ]

That didn't work either.

At this point, I think we need to pull in help from Jason Lee.

Let's take it up tomorrow.

Perhaps I can work with Arun and try to get the chart story working on Firefox while Jason tries to get the admingui working on IE8.

Ed

Comment by Anissa Lam [ 27/Sep/11 ]

Thanks everyone for looking into this.
The chart on FF issue is filed as GLASSFISH-17354.
Yes, as long as we can have one browser that can do both deploy and displaying of chart, we are fine for OOW.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-17612] Create domain name mapping for load-balancer service Created: 03/Nov/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: command_line_interface, load_balancer, paas-console, Service Provisioning Engine
Affects Version/s: 4.0
Fix Version/s: None

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

Tags: ee7_cleanup_closed

 Description   

User must be provided with ability to configure domain name for load-balancer service. However VM and their IP address are dynamically allocated. This implies that load-balancer service must take care of mapping domain name to IP address. This will require interaction with network elements like DNS to make required entry. The complete details of supported configuration will be updated later.



 Comments   
Comment by shreedhar_ganapathy [ 07/Nov/11 ]

Added candidate components that will be impacted by this task.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-17470] No services displayed in Configure Services screen when deploying .zip Created: 25/Oct/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: paas-console
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: lidiam Assignee: Anissa Lam
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows XP, Firefox 5.0, glassfish build 6


Attachments: Zip Archive ConferencePlanner.zip     JPEG File no-services-step2.JPG     Text File server.log    
Tags: ee7_cleanup_closed

 Description   

I'm following Arun's video "Running a Java EE Application in PaaS - JavaOne 2011". While deploying ConferencePlanner.zip application, I cannot see any services on page 2 of the deployment process (screenshot attached). There are two exceptions in the server.log (attached) that may be relevant:

[#|2011-10-24T21:37:13.151-0700|SEVERE|44.0|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=13;_ThreadName=Thread-2;|Exception while visiting org/apache/myfaces/trinidadinternal/ui/laf/base/xhtml/FormElementRenderer.class of size 8822
java.lang.NullPointerException
at org.glassfish.hk2.classmodel.reflect.impl.ModelClassVisitor$ModelFieldVisitor.visitEnd(ModelClassVisitor.java:410)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:695)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:362)

and later

[#|2011-10-24T21:50:17.635-0700|INFO|44.0|javax.enterprise.system.tools.admin.org.glassfish.paas.lbplugin.logger|_ThreadID=19;_ThreadName=Thread-2;|exception
java.lang.NullPointerException
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:163)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:145)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:126)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:265)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:106)
at org.glassfish.paas.lbplugin.LBPlugin.getImplicitServiceDescriptions(LBPlugin.java:361)

The reason this failed is because I was trying to deploy ConferencePlanner.zip instead of .war.



 Comments   
Comment by lidiam [ 25/Oct/11 ]

Application used that produced this error.

Comment by Anissa Lam [ 25/Oct/11 ]

I hope you don't mean that you are deploying the zip file.
That is a zip file that contains the source code. Did you build the war from it ?
You need to build the war first and then specify that during the deployment.

Comment by lidiam [ 25/Oct/11 ]

I did deploy a zip file by mistake...

Comment by Anissa Lam [ 25/Oct/11 ]

This explains it. The LB and orchestator is not able to handle the zip file and thus didn't tell the console what services will be provisioned. Thus, there is no services showed up in the 2nd step of the deployment wizard.
The console is displaying whatever was told, ie, no services. What do you need/expect now ?
Do you have the war file to deploy now ?

Comment by lidiam [ 26/Oct/11 ]

The page works as expected with the war I got from you - thank you. As for deploying zip - is it supported? If not, we should not accept a zip file for deployment, if yes, we should say on the next page that no services were found and user may want to examine the archive (with more details from doc team perhaps).

Comment by Anissa Lam [ 26/Oct/11 ]

GUI has to allow any files to be uploaded for deployment as there maybe some modules thats plugged in to the backend to handle zip files.
When there is no services found, there is no services showed up. I don't see the point of telling user that there is no services found and they should check their files.
I believe this bug is user error. You deploy a zip file, backend cannot handle that and thus no services is showing up.

Comment by lidiam [ 26/Oct/11 ]

While deploying a zip was a user error, however, I believe a message saying that no services were found is appropriate so that user knows that the system behaves as expected and the issue, if any, is elsewhere. With an empty services screen, user may not know if it is expected or not.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-16410] Provide a set of standard pre-built Service Templates Created: 21/Apr/11  Updated: 01/Oct/12  Resolved: 01/Oct/12

Status: Closed
Project: glassfish
Component/s: paas-console, service-orchestration
Affects Version/s: 4.0
Fix Version/s: 4.0_b55

Type: New Feature Priority: Blocker
Reporter: Sivakumar Thyagarajan Assignee: Sivakumar Thyagarajan
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
blocks GLASSFISH-16402 Single-click application provisioning... Closed
Tags: ee7_cleanup_closed

 Description   

GlassFish 4 would come with standard pre-built templates for the supported service providers.

The orchestrator matches the service requirements of an application to a service template(either pre-built or user-provided) through its cloud metadata. The orchestrator/service plugin must not assume that the pre-built service template is the only template that could be provisioned. In other words, the orchestrator/plugin must support user-defined service templates.



 Comments   
Comment by shreedhar_ganapathy [ 27/Oct/11 ]

Changed AffectsVersion to 4.0

Comment by shreedhar_ganapathy [ 07/Nov/11 ]

I guess, this fix that went in as part of erstwhile 3.2 only partly addresses this requirement and additionally imposes an implicit requirement on PaaS console.
Updated components to reflect this.

Comment by Tom Mueller [ 01/Oct/12 ]

Since cloud support has been removed from Java EE 7, this issue has been closed. This issue can be reopened if desired for future Java EE work.





[GLASSFISH-17452] paas console monitoring graph not shown on KVM Ubuntu 64bit firefox 6 Created: 21/Oct/11  Updated: 08/Nov/11  Resolved: 08/Nov/11

Status: Resolved
Project: glassfish
Component/s: paas-console
Affects Version/s: 4.0
Fix Version/s: 4.0

Type: Bug Priority: Major
Reporter: sherryshen Assignee: sumasri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.10 x86_64 and Firefox 6


Attachments: JPEG File kvm_firefox6_ubuntu_b08_plus_fix.jpg     JPEG File kvm_monitoring_b08.jpg     JPEG File ubuntu_firefox6.jpg     JPEG File windows7_firefox6_native_b08.jpg     JPEG File windows7_firefox6_ovm_b08.jpg    
Tags: 3_1_x-exclude

 Description   

paas console monitoring graph not shown on KVM Ubuntu 64bit firefox 6

v4.0 build 7 nightly in glassfish.zip

During kvm tests, paas console monitoring graph not shown on Ubuntu 64bit firefox 6.
The monitoring page show the messages repeatedly,
"This component needs an SVG enable browser like ..., Fireofx 1.5+, ...".
The test browser is Firefox 6, i.e.
http://www.ubuntubuzz.com/2011/10/ubuntu-1110-review-and-features.html
Firefox 6 for Linux/Ubuntu 64bit (tar.bz2)



 Comments   
Comment by sherryshen [ 21/Oct/11 ]

The monitoring page show the messages repeatedly on b06.
http://java.net/jira/secure/attachment/47746/ubuntu_firefox6.jpg

Comment by Anissa Lam [ 02/Nov/11 ]

so, for native mode, some browser works and some doesn't.
For kvm, none of the browser works ?

Have you verified that with KVM setup, monitoring data is actually available ?

You can try the following REST endpoint using the browser.
Replace INSTANCE-NAME or CLUSTER-NAME with the actual name.

http://localhost:4848/monitoring/elasticity/domain/INSTANCE-NAME/session_count
http://localhost:4848/monitoring/elasticity/domain/server/cluster_instance_size/CLUSTER-NAME
http://localhost:4848/monitoring/elasticity/domain/INSTANCE-NAME/jvm_memory
http://localhost:4848/monitoring/elasticity/domain/INSTANCE-NAME/processingtime

Comment by sherryshen [ 02/Nov/11 ]

As b06, I thought that the graph problem was w.r.t. firefox on ubuntu.
With tests on b08, the graph problem may be general.

1) The same browser can view graph on 1 setup, but not another.
The one browser (firefox 6 on my laptop of windows 7) on b08
– Monitoring graph works with glassfish.zip with native and b08 on mac.
http://java.net/jira/secure/attachment/47928/windows7_firefox6_native_b08.jpg
http://asqe-xserver-1.us.oracle.com:8080/paas-console/

– Monitoring graph doesn't work with ogs.zip with ovm and b08 on oel
http://java.net/jira/secure/attachment/47927/windows7_firefox6_ovm_b08.jpg
http://asqe-x2250-st1.us.oracle.com:8080/paas-console

2) The same browser can view graph in old build, but not in new build.
Another browser (firefox 7 on office pc of windows xp)
– Monitoring graph works with native and b04 on mac.
– Monitoring graph doesn't work with native and b08 on mac.

Comment by mzh777 [ 02/Nov/11 ]

1. http://localhost:4848/monitoring/elasticity/domain/sca-pool1_ovm_ConferencePlanner-2Instance/seesion_count
No data
2. http://localhost:4848/monitoring/elasticity/domain/server/cluster_instance_size/ConferencePlanner
There are data.
3. http://localhost:4848/monitoring/elasticity/domain/sca-pool1_ovm_ConferencePlanner-2Instance/jvm_memory
There are data.
4. http://localhost:4848/monitoring/elasticity/domain/sca-pool1_ovm_ConferencePlanner-2Instance/processingtime
instance : sca-pool1_ovm_ConferencePlanner-2Instance

Comment by sherryshen [ 02/Nov/11 ]

kvm monitoring info with elasticity demo on b08.

I collected monitoring info from KVM with using Elasticity Demo in
http://java.net/jira/secure/attachment/47929/kvm_monitoring_b08.jpg
--No monitoring graph at paas console.
--The monitoring info in 4 URLs have data.
--Build 8 in glassfish.zip
--Firefox 6 on the test machine with ubuntu 10.10.

Comment by sumasri [ 03/Nov/11 ]

I am also using Ubuntu 10.04 64-bit machine and Firefox 8.0.. Charts are showing..

1) Please try the same with firefox7 and firefox8 also and see if the charts are showing up..and make sure that the data is in REST URL's.
2) One issue could be svg is not enabled in the browser..Try to install adobe svg viewer in the browser and try..

Can I get the access to those machines where the problem is ?

Comment by sherryshen [ 03/Nov/11 ]

build 8.
For native mode on mac, 1 browser works for Sherry, but several browsers (firefox and ie)
by 3 persons (Ming, Sherry, Sonia) don't work with monitoring graph.
For ovm mode on oel, all browsers by the 3 persons don't work.
For kvm mode on ubuntu, 1 browser doesn't work, not tested with other browsers.
Most browsers are used from pc on windows remotely.
Only kvm mode is tested with local browser.

The adobe svg plugin is installed in the browsers.
Some browsers can view monitoring graph on build 4, but not on build 8.
The login for test machines are sent to Suma and Anissa in email.

Comment by sumasri [ 04/Nov/11 ]

There is one duplicate line in chart.svg file..
In the test machine also, charts are showing up after making the change.
Sent a mail with all the information.
Will check in the change once it is reviewed from GUI team.

Comment by sherryshen [ 04/Nov/11 ]

The monitoring graph is shown on firefox 6 with kvm and ubuntu 10.10.
http://java.net/jira/secure/attachment/47961/kvm_firefox6_ubuntu_b08_plus_fix.jpg
This is build 08 with Suma's local fix. Thanks Suma.

Comment by mzh777 [ 04/Nov/11 ]

I was able to view the Monitoring page from FireFox 7.0.1 and IE 9 after deleting the extra line in glassfisha3/glassfish/lib/install/applications/__paas-console/images/chart.svg.

But found a lot error messages in server.log:
[#|2011-11-04T23:47:47.261+0000|WARNING|44.0|org.apache.myfaces.trinidadinternal.skin.SkinFactoryImpl|_ThreadID=26;_ThreadName=Thread-2;|Cannot find an unversioned skin for family console. We will use the versioned skin console.desktop.|#]

It repeats itself every 5 second and causing extra logging volume. If this is caused by chart.svg, please let me know and I'll file another bug.

Comment by Anissa Lam [ 04/Nov/11 ]

We are aware of this WARNING. It has nothing to do with this issue. It has been there since day 1.
However, to fix this, we will have to release another version of trinidad and we haven't done that.

Comment by sumasri [ 08/Nov/11 ]

Checked in the fix into trunk.

Sending webapp/src/main/webapp/images/chart.svg
Transmitting file data .
Committed revision 50703.





[GLASSFISH-17360] paas console monitor label overlap Created: 28/Sep/11  Updated: 17/Oct/11  Resolved: 28/Sep/11

Status: Resolved
Project: glassfish
Component/s: paas-console
Affects Version/s: 4.0
Fix Version/s: 4.0

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

glassfish on mac 10.5.8
mozilla firefox 6.0 on windows 7


Attachments: PNG File paas_instance.png     PNG File paas_monitor.png     PNG File paas_monitor_9632.png    
Tags: 3_1_x-exclude

 Description   

dev continuous build #9617 on 9/27/2011

From Conference Planner demo, the elasticity feature is shown nicely
on paas console, "Cluster Instance Count Statistics" grahp, e.g.
2 to 3 instances when scaling up.
However, the label is overlapped.



 Comments   
Comment by sherryshen [ 28/Sep/11 ]

Label overlap in "Cluster Instance Count Statistics".

Comment by sherryshen [ 28/Sep/11 ]

color box and word are overlapped.

Comment by sherryshen [ 28/Sep/11 ]

Verified the fix with build #9632 on Sept. 28, 2011.
No overlapped labels.

Comment by sherryshen [ 28/Sep/11 ]

fixed.





[GLASSFISH-17354] cannot view monitoring chart on Window 7 Firefox 6.0.2 Created: 26/Sep/11  Updated: 27/Sep/11  Resolved: 27/Sep/11

Status: Resolved
Project: glassfish
Component/s: paas-console
Affects Version/s: 4.0
Fix Version/s: 3.1.2

Type: Bug Priority: Critical
Reporter: Anissa Lam Assignee: andriy.zhdanov
Resolution: Works as designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File 20110927-monitoring-tab-firefox_6_0_2.tiff     PNG File paas-console-svg-snapshot.PNG    

 Description   

When using Firefox 6.0.2 on Windows 7, the monitoring chart <tr:chart> is not coming up. See attached screen.
The same version of Firefox works fine on Window xp.

As of now, due to GLASSFISH-17351 , there is no browser where the paas-console can do all the features.
Can't use IE8 to do deployment (#17351) and can't use Firefox to view the chart (this bug).

We need at least one browser that can do both.



 Comments   
Comment by Anissa Lam [ 27/Sep/11 ]

Also want to mention that although Arun cannot see the chart in paas-console using Firefox on Window 7, he can see the charts when going to the Trinidad demo.
http://www.irian.at/trinidad-demo/faces/componentDemos.jspx
http://www.irian.at/trinidad-demo/faces/components/chart.jspx

Comment by Anissa Lam [ 27/Sep/11 ]

Instruction on how to reproduce this.

1. unzip glassfish.zip
2. get the lb.zip thats for Windows.
3. cp this lb.zip to glassfish3/glassfish/config/
4. create an empty directory C:\glassfish (For Unix, it should be /u01/glassfish, ensure write permission)
5. %asadmin start-domain
6. %asadmin enable paas-console
7. %asadmin create-ims-config-native
8. %asadmin create-template --indexes ServiceType=LB,VirtualizationType=Native LBNative
9. (At this point, some says restart is required, some say no. You can restart to be sure)
10. %asadmin deploy basic_paas_sample.war (attached) , or you can use hello.war
11. launch paas-console by going to http://localhost:8080/paas-console
12. go to Environment tab -> Monitoring. The chart will either be displayed or require plugin (which is what Arun sees on his Windows 7)

Comment by Ed Burns [ 27/Sep/11 ]

I configured this whole stack on a Windows 7 machine generously donated by Alex Pineda.

Using Firefox 7 installed on the same machine as the stack, I visited

http://asqe-win7-3.us.oracle.com:8080/paas-console/

and was able to see the charts correctly, as I am about to attach a screengrab.

Also, I visited the same URL using Firefox 6.0.2 on my MacBook Pro and also could successfully see the charts.

Comment by Ed Burns [ 27/Sep/11 ]

Images showing the charts working as designed.

Comment by Ed Burns [ 27/Sep/11 ]

Can't reproduce.





Generated at Thu Dec 08 02:24:35 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.