Description of problem: Attempt to deploy a package to the resource from the repository gives error Version-Release number of selected component (if applicable): RHQ 4.9 How reproducible: Steps to Reproduce: 1. Created a repository - test; 2. Uploaded New Package and confirmed that the package is listed in the Packages list 3. Subscribed resource to this repository - confirmed that the resource is listed in the "Resources Subscribed To This Repository" list 4. Selected resource that is subscribed to the newly created repository 5. Navigate to Content -> New and select package name from the list 6. Press "Deploy Selected" button to deploy selected package Actual results: The following exception is shown: ********************************* Error The page requested cannot be displayed due to some error. return to the previous page, Dashboard, or Browse Resources page. /portal/rhq/resource/content/confirm-create-plain.xhtml ********************************* and package is not deployed. No exception is thrown in the server.log file. However, when uploading a package in the step 2 the following is logged: ********************************* 15:45:20,163 INFO [org.rhq.enterprise.server.content.RepoManagerBean] (http-/0.0.0.0:7080-7) User [Subject[id=2,name=rhqadmin]] created [Repo: id=[10011], name=[newRepo]]. 15:45:20,182 INFO [org.rhq.enterprise.server.scheduler.EnhancedSchedulerImpl] (http-/0.0.0.0:7080-7) Scheduled cron job [6dfaa932:syncRepo] to fire next at [Fri Mar 28 03:00:00 GMT 2014] with the cron string [0 0 3 * * ?]. 15:45:20,300 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id reposDataTableScroller 15:45:26,043 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id repoContentProvidersDataTableScroller 15:45:26,062 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id repoResourcesDataTableScroller 15:45:26,097 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id repoPackageVersionsDataTableScroller 15:45:39,059 SEVERE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-/0.0.0.0:7080-7) JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@1100588f] 15:45:39,087 INFO [org.rhq.enterprise.gui.common.upload.FileUploadUIBean] (http-/0.0.0.0:7080-8) A file named [rdp-jmx-plugin-1.12-SNAPSHOT.jar] with a size of [4097] has been uploaded to [/tmp/-4fb9ae6a-145036d9f14--7ffb573198192587551686.upload] 15:45:39,093 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-/0.0.0.0:7080-8) WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. sourceId=null[severity=(INFO 0), summary=(Content has been received - you may now hit CONTINUE to commit the upload), detail=()] 15:45:39,070 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] (http-/0.0.0.0:7080-7) Exception in the filter chain: javax.servlet.ServletException: viewId:/rhq/resource/content/fileUpload.xhtml - View /rhq/resource/content/fileUpload.xhtml could not be restored. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) [jsf-api-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source) [:1.6.0_15] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_15] ... Caused by: javax.faces.application.ViewExpiredException: viewId:/rhq/resource/content/fileUpload.xhtml - View /rhq/resource/content/fileUpload.xhtml could not be restored. at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:189) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:102) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] ... 90 more 15:45:39,095 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/portal].[Faces Servlet]] (http-/0.0.0.0:7080-7) JBWEB000236: Servlet.service() for servlet Faces Servlet threw exception: javax.faces.application.ViewExpiredException: viewId:/rhq/resource/content/fileUpload.xhtml - View /rhq/resource/content/fileUpload.xhtml could not be restored. at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:189) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:102) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) [jsf-api-1.2_15-b01-redhat-3.jar:1.2_15-b01-redhat-3] ... 15:45:39,734 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id repoContentProvidersDataTableScroller 15:45:39,748 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id repoResourcesDataTableScroller 15:45:39,769 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-7) AJAX Status component not found for AjaxComponent with id repoPackageVersionsDataTableScroller 15:46:09,342 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoContentProvidersDataTableScroller 15:46:09,363 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoResourcesDataTableScroller 15:46:09,385 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoPackageVersionsDataTableScroller 15:46:25,501 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoSubscriptionsDataTableScroller 15:46:25,505 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoUnsubscriptionsDataTableScroller 15:46:29,838 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoSubscriptionsDataTableScroller 15:46:29,848 WARN [org.ajax4jsf.renderkit.AjaxRendererUtils] (http-/0.0.0.0:7080-8) AJAX Status component not found for AjaxComponent with id repoUnsubscriptionsDataTableScroller 15:46:57,086 WARN [org.rhq.core.domain.server.PersistenceUtility] (http-/0.0.0.0:7080-11) Queries should really supply default sort columns. Caller did not: org.rhq.enterprise.server.content.ContentUIManagerBean.getPackageVersionCompositesByFilter(ContentUIManagerBean.java:252) 15:46:57,090 WARN [org.rhq.core.domain.server.PersistenceUtility] (http-/0.0.0.0:7080-11) Queries should really supply default sort columns. Caller did not: org.rhq.enterprise.server.content.ContentUIManagerBean.getPackageVersionCompositesByFilter(ContentUIManagerBean.java:267) ********************************* Expected results: No error page is shown and the package is deployed. Additional info:
This has the same underlying cause as BZ 1078437, which is fixed in master by commit d3fb7a117a2f11cb16256eea9cb6ed7ded222049
Bulk close of items fixed in RHQ 4.12 If you think this is not solved, then please open a *new* BZ and link to this one.