[embjopr-issues] [JBoss JIRA] Commented: (EMBJOPR-58) AS5 plugin: Clicking on the "Configuration" tab for a Datasource results in a "PluginContainerException"

Charles Crouch (JIRA) jira-events at lists.jboss.org
Wed Mar 18 12:19:38 EDT 2009


    [ https://jira.jboss.org/jira/browse/EMBJOPR-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12457955#action_12457955 ] 

Charles Crouch commented on EMBJOPR-58:
---------------------------------------

(10:53:32 AM) ccrouch: we should never be accessing stuff through
(10:53:43 AM) ccrouch: config-property.ATTRIBUTE
(10:53:45 AM) ccrouch: right?
(10:54:31 AM) jpederse: right - that is what I told Scott today - we need a READ_ONLY definition
(10:54:55 AM) jpederse: config-property should be read only for datasource
(10:54:56 AM) ccrouch: ah, so config-property would just be read-only?
(10:54:59 AM) ccrouch: gotya
(10:55:07 AM) ccrouch: but used for conn facs?
(10:55:07 AM) jpederse: only read-write for txconnectionfactory
(10:55:12 AM) ccrouch: gotya
(10:55:38 AM) jpederse: the property is there due to the JCA deployers
(10:56:04 AM) jpederse: so I need to mark it as read only - so you dont create code for it
(10:56:31 AM) jpederse: well, you can provide the user with a list of its current content - but that should be all
(10:56:38 AM) ccrouch: right

> 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
>            Assignee: Charles Crouch
>            Priority: Critical
>             Fix For: 1.2
>
>
> 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

        



More information about the embjopr-issues mailing list