[JBoss JIRA] Created: (EMBJOPR-61) Problems with pagination on Applications subcategory
by Charles Crouch (JIRA)
Problems with pagination on Applications subcategory
----------------------------------------------------
Key: EMBJOPR-61
URL: https://jira.jboss.org/jira/browse/EMBJOPR-61
Project: Embedded Jopr
Issue Type: Bug
Components: Web App/Integration
Environment: jbas4 console in JBAS4.2.2
Reporter: Charles Crouch
Priority: Critical
Fix For: 1.1
I have 21 "application" resources, web apps, ejbs, ears etc. When I choose the Applications node and start paging through the results I can only click on page numbers twice before I get the following message in the console, and an entirely empty table is rendered in the UI
16:39:59,156 WARN [UIDatascroller] Datascroller categorySummaryForm:dataTableScroller: The requested page #3 isn't found in
the model containing 1 pages. Paging is reset to page #1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 4 months
[JBoss JIRA] Created: (EMBJOPR-34) Customize exceptions instead of exposing JSF internal messages
by Shelly McGowan (JIRA)
Customize exceptions instead of exposing JSF internal messages
--------------------------------------------------------------
Key: EMBJOPR-34
URL: https://jira.jboss.org/jira/browse/EMBJOPR-34
Project: Embedded Jopr
Issue Type: Bug
Components: Plugin
Reporter: Shelly McGowan
Fix For: 1.1
When an error is encountered during a requested action using the Embedded Console, the internal JSF Error messages are displayed instead of providing to the admin a message indicating the result of the operation and the way to remedy. For example, from the application menu, an attempt to delete the destinations-service.xml results the following Internal Error. The error is accurate that you are not allowed to delete destinations-service.xml but it is not intuitive from this trace.
Internal Error:
javax.el.ELException: java.lang.RuntimeException: org.rhq.core.clientapi.agent.PluginContainerException: Component does not support the [org.rhq.core.pluginapi.inventory.DeleteResourceFacet] interface: ResourceContainer: resource=[Resource[id=-19, type=JBoss Service (SAR), key=vfsfile:/NotBackedUp/smcgowan/TRUNK/trunk/build/output/jboss-5.0.0.GA/server/default/deploy/messaging/destinations-service.xml, name=destinations-service.xml, version=?]]
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:333)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:173)
at org.jboss.seam.navigation.Pages.callAction(Pages.java:643)
at org.jboss.seam.navigation.Pages.preRender(Pages.java:296)
at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:560)
at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:471)
at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:144)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:114)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:93)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (EMBJOPR-58) AS5 plugin: Clicking on the "Configuration" tab for a Datasource results in a "PluginContainerException"
by Farah Juma (JIRA)
AS5 plugin: Clicking on the "Configuration" tab for a Datasource results in a "PluginContainerException"
--------------------------------------------------------------------------------------------------------
Key: EMBJOPR-58
URL: https://jira.jboss.org/jira/browse/EMBJOPR-58
Project: Embedded Jopr
Issue Type: Bug
Components: Web App/Integration
Environment: JBoss AS 5 trunk r82369, embjopr r76
Reporter: Farah Juma
When the console is deployed to JBoss AS 5 trunk, the following error message gets displayed after clicking on the "Configuration" tab for any Datasource (eg. DefaultDS):
"There was an error retrieving the configuration for this resource"
The following error message appears in the console output:
09:14:13,572 ERROR [PluginContainerResourceManager] Error retrieving configuration for resource: Resource[id=-4, type=Local TX Datasource, key=DataSource:LocalTx:DefaultDS, name=DefaultDS, version=?]
org.rhq.core.clientapi.agent.PluginContainerException: Cannot load Resource configuration for [-4]
at org.rhq.core.pc.configuration.ConfigurationManager.loadResourceConfiguration(ConfigurationManager.java:174)
at org.jboss.on.embedded.manager.pc.PluginContainerResourceManager.getResourceConfiguration(PluginContainerResourceManager.java:234)
at org.jboss.on.embedded.ui.configuration.resource.ResourceConfigurationUIBean.resourceConfiguration(ResourceConfigurationUIBean.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
at org.jboss.on.embedded.ui.configuration.resource.ResourceConfigurationUIBean_$$_javassist_10.resourceConfiguration(ResourceConfigurationUIBean_$$_javassist_10.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
at org.jboss.seam.navigation.Pages.callAction(Pages.java:711)
at org.jboss.seam.navigation.Pages.preRender(Pages.java:349)
at org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:562)
at org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:473)
at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:51)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: [Warning] org.rhq.core.domain.configuration.definition.PropertyDefinitionList
... 85 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (EMBJOPR-62) NavigationAction Seam component being recreated whenever an Event it is listening for is raised
by Charles Crouch (JIRA)
NavigationAction Seam component being recreated whenever an Event it is listening for is raised
-----------------------------------------------------------------------------------------------
Key: EMBJOPR-62
URL: https://jira.jboss.org/jira/browse/EMBJOPR-62
Project: Embedded Jopr
Issue Type: Bug
Components: Web App/Integration
Affects Versions: 1.1
Reporter: Charles Crouch
Found this while investigating why NavigationAction.updateNavWithDeletedResource could never find the resource in the navigation that it was trying to remove. It turns out that before the event is received NavigationAction is recreated so its rootNode member variable holding the navigation is recreated. The existing inventory is used to recreate the nav, which obviously doesn't include the deleted resource, so when updateNavWithDeletedResource looks in this new nav it doesn't find the resource.
Not sure if this is our bug or a bug in Seam. The following log snippet shows the resource being removed, then the event dispatched, then the navigationAction component being re-intialized...
2008-12-19 16:25:12,421 INFO [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] (InventoryManager.discovery-1) Removing stale Resource[id=-76, type=Script, key=C:\usr\apps\jboss\jboss-4.2.2.GA\bin\wsconsume.bat, name=wsconsume.bat]...
2008-12-19 16:25:12,421 DEBUG [org.rhq.core.pc.inventory.InventoryManager] (InventoryManager.discovery-1) Removing Resource[id=-76, type=Script, key=C:\usr\apps\jboss\jboss-4.2.2.GA\bin\wsconsume.bat, name=wsconsume.bat] from local inventory...
2008-12-19 16:25:12,421 DEBUG [org.rhq.core.pc.inventory.InventoryManager] (InventoryManager.discovery-1) Successfully deactivated resource with id [-76].
2008-12-19 16:25:12,421 DEBUG [org.rhq.core.pc.inventory.InventoryManager] (InventoryManager.discovery-1) Set component state to STOPPED for resource with id [-76].
2008-12-19 16:25:12,421 DEBUG [org.jboss.on.embedded.LoggingInventoryEventListener] (InventoryManager.discovery-1) The following resources have been removed
2008-12-19 16:25:12,421 DEBUG [org.jboss.on.embedded.LoggingInventoryEventListener] (InventoryManager.discovery-1) Resource[-76]: wsconsume.bat
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.contexts.Lifecycle] (InventoryManager.discovery-1) >>> Begin call
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) instantiating Seam component: org.jboss.seam.core.events
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.events
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) initializing new instance of: org.jboss.seam.core.events
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) done initializing: org.jboss.seam.core.events
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.events
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.inventoryEventListener
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.inventoryEventListener
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.this
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.this
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.method
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.method
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.parameters
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.parameters
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.component
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.component
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:resourceDeleted
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) instantiating Seam component: navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) initializing new instance of: navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) done initializing: navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postCreate.navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.this
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.this
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.method
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.method
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.parameters
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.parameters
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.component
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.component
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) trying to inject from specified context: navTree, scope: SESSION
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) trying to inject with hierarchical context search: rootNode
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.contexts.Contexts] (InventoryManager.discovery-1) found in method context: navigationAction
2008-12-19 16:25:12,421 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:navTreeInitialized
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.contexts.Contexts] (InventoryManager.discovery-1) found in application context: inventoryEventListener
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.inventoryEventListener
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.inventoryEventListener
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.this
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.this
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.method
2008-12-19 16:25:12,421 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.method
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.parameters
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.parameters
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.component
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.component
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.rootNode
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.rootNode
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) instantiating Seam component: org.jboss.seam.web.parameters
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) initializing new instance of: org.jboss.seam.web.parameters
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) done initializing: org.jboss.seam.web.parameters
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) instantiating Seam component: org.jboss.seam.web.servletContexts
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.web.servletContexts
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.web.servletContexts
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) initializing new instance of: org.jboss.seam.web.servletContexts
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.Component] (InventoryManager.discovery-1) done initializing: org.jboss.seam.web.servletContexts
2008-12-19 16:25:12,437 DEBUG [org.jboss.seam.core.Events] (InventoryManager.discovery-1) Processing event:org.jboss.seam.postCreate.org.jboss.seam.web.servletContexts
2008-12-19 16:25:12,437 INFO [org.jboss.on.embedded.ui.NavigationAction] (InventoryManager.discovery-1) Resource [Resource[id=-76, type=Script, key=C:\usr\apps\jboss\jboss-4.2.2.GA\bin\wsconsume.bat, name=wsconsume.bat]] deleted.
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
2008-12-19 16:25:12,437 DEBUG [org.jboss.on.embedded.ui.nav.BaseTreeNode] (InventoryManager.discovery-1) About to call initChildrenMap()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Updated: (EMBJOPR-55) Rebuild content behind navigation nodes using InventoryEventListener
by Ian Springer (JIRA)
[ https://jira.jboss.org/jira/browse/EMBJOPR-55?page=com.atlassian.jira.plu... ]
Ian Springer updated EMBJOPR-55:
--------------------------------
Fix Version/s: 1.2
(was: 1.1)
Affects Version/s: 1.0
1.1
Complexity: Medium
> Rebuild content behind navigation nodes using InventoryEventListener
> --------------------------------------------------------------------
>
> Key: EMBJOPR-55
> URL: https://jira.jboss.org/jira/browse/EMBJOPR-55
> Project: Embedded Jopr
> Issue Type: Feature Request
> Affects Versions: 1.0, 1.1
> Reporter: Charles Crouch
> Assignee: Ian Springer
> Fix For: 1.2
>
>
> Right now we rebuild the content behind a node in the navigation using the following method on NavigationAction
> public void changeExpandListener(org.richfaces.event.NodeExpandedEvent event) {
> UIComponent comp = event.getComponent();
> UITree tree = (UITree) comp;
> JONTreeNode data = (JONTreeNode) (tree.getTreeNode().getData());
>
> data.reInitializeChildrenMap();
> }
> This isnt great because it requires the user to close/open the node inorder to have its children refreshed to match whats in the PC. This is problematic when resources are deployed/undeployed directly to the filesystem, see JBMANCON-419. An alternative would be to use an implementation of InventoryEventListener to listen to resource added events from the PC and then behind the scenes rebuild the appropriate Nodes. For this to work a bug will need to be fixed in the RuntimeDiscoveryExecutor which is causing resourceAdd events to get fired for every discovery.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months