dev@glassfish.java.net

Re: Admin console errors

From: Anissa Lam <anissa.lam_at_Sun.COM>
Date: Thu, 30 Jun 2005 15:36:31 -0700

This is a bug in Admin Console. The fix has been checked in this
morning. You can either checkout the admin-gui module code to build it
or tomorrow's build image should have the fix.

thanks
Anissa

Robert Hellwig wrote:

> Hello,
>
> are the Configuration Items in the Admin web GUI suppose to work ? I
> built Glassfish according to the build instructions found on java.net
> on Solaris 10 X86 without any problems.
>
> The moment I start Glassfish for the first time I see this in my
> server.log:
>
> [#|2005-06-30T00:13:52.029+0200|WARNING|TestAbbrevProductName9.0|javax.enterprise.system.core|_ThreadID=10;|Exception
> occured while accessing :MEjbApp.ear_deployFailed|#]
>
> The moment I log into the Admin GUI and click on any configuration
> item (except for Thread pool, Connector Service and Diagnostic
> Service) I get the following result in my GUI:
>
> A "com.sun.enterprise.tools.guiframework.exception.FrameworkException"
> was caught. The message from the exception: "Unabled to handle
> pre-compiled JSP '/jsp/webContainerGeneral.jsp'. Expected pre-compiled
> classname: 'org.apache.jsp.jsp.webContainerGeneral_jsp'."
>
> The root cause is "javax.management.InstanceNotFoundException: MBean
> instance not found:
> com.sun.appserv:type=load-balancer,name=tree.webContainer,category=config"
>
>
> See the HTML source for more detailed (stack trace) information.
>
>
> The server log has a more detailed stack trace but I guess the most
> interesting part is this:
> .
> ..
> ...
> Caused by: javax.servlet.ServletException:
> com.sun.enterprise.tools.guiframework.exception.FrameworkException:
> java.lang.reflect.InvocationTargetException while attempting to
> process a 'beginDisplay' event for 'PropertiesTable'.
> at
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
>
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
>
> at
> org.apache.jsp.jsp.webContainerGeneral_jsp._jspService(webContainerGeneral_jsp.java:130)
>
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
> at
> com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:75)
>
> ... 77 more
>
>
> However I’m able to click for example on the triangle next to the Java
> Message Service, expand it and configure my JMS services. Meaning that
> only the Web Container and EJB Container Configuration options are
> rendered useless for me at this point.
>
> Anybody has any ideas?
>
> gr,
>
> --Robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

attached mail follows:



User: anac
Date: 2005/06/30 11:08:54

Log:
 Updating Properties Table for Load Balancer.

File Changes:

Directory: /glassfish/admin-gui/admin/src/java/com/sun/enterprise/tools/admingui/xml/view/
==========================================================================================

File [changed]: baseComponents.xml
Url: https://glassfish.dev.java.net/source/browse/glassfish/admin-gui/admin/src/java/com/sun/enterprise/tools/admingui/xml/view/baseComponents.xml?r1=1.3&r2=1.4
Delta lines: +1 -1
-------------------
--- baseComponents.xml 28 Jun 2005 20:49:58 -0000 1.3
+++ baseComponents.xml 30 Jun 2005 18:08:50 -0000 1.4
@@ -813,7 +813,7 @@
                 <input name="value" value="true" />
             </call>
             <call name="testAllExists" if="$parameter(isOptional)" />
- <call name="getAttributeForLB" if="!$attribute(lbKey)">
+ <call name="getAttributeForLB" if="!$attribute(lbKey)&amp;$parameter(isLB)">
                 <input name = "objectName"
                        value="com.sun.appserv:type=load-balancer,name=$(editKeyValue),category=config"/>
                 <output name="lbConfigName" target="attribute" key="lbKey" />




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: cvs-help_at_glassfish.dev.java.net