Hi,
Are you just waiting for this unit test now??
Hi,
Are you just waiting for this unit test now??
No, we are actually testing the plugin on a various of JSF apps. The plugin breaks pre jsf 2.0 apps, but that's not a problem.
The only problem is to find JSF 2.0 sample apps
I'm really sorry for the delay, I'll keep you updated
Hi, how's the testing going? Any update? Cheers![]()
I tested the plugin with photo album on jboss-6.0.0.Final community edition:
Code:2012-12-23 08:32:23,521 SEVERE [com.springsource.insight.plugin.jsf.ActionListenerOperationCollectionAspect] (http-0.0.0.0-8080-8) Error swallowed in advice execution(void javax.faces.event.MethodExpressionActionListener.processAction(ActionEvent)): javax.el.ELException: Error Parsing: #{controller.showShelf(album} at org.jboss.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:130) [:1.0_02.CR5] at org.jboss.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:151) [:1.0_02.CR5] at org.jboss.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:206) [:1.0_02.CR5] at org.jboss.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68) [:1.0_02.CR5] at org.jboss.seam.el.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:98) [:2.2.1.CR2] at com.springsource.insight.plugin.jsf.AbstractActionListenerOperationCollectionAspect.getBeanClass(AbstractActionListenerOperationCollectionAspect.aj:115) [:1.9.2-CI-SNAPSHOT] at com.springsource.insight.plugin.jsf.AbstractActionListenerOperationCollectionAspect.createOperation(AbstractActionListenerOperationCollectionAspect.aj:98) [:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.AbstractOperationCollectionAspect.ajc$before$com_springsource_insight_collection_AbstractOperationCollectionAspect$1$34342d20_aroundBody0(AbstractOperationCollectionAspect.aj:72) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.AbstractOperationCollectionAspect$AjcClosure1.run(AbstractOperationCollectionAspect.aj:1) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect.ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03proceed(AdviceErrorHandlingAspect.aj:38) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect.ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03(AdviceErrorHandlingAspect.aj:40) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.AbstractOperationCollectionAspect.ajc$before$com_springsource_insight_collection_AbstractOperationCollectionAspect$1$34342d20(AbstractOperationCollectionAspect.aj:1) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:136) [:2.0.3-] at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84) [:2.0.3-] at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773) [:2.0.3-] at javax.faces.component.UICommand.broadcast(UICommand.java:296) [:2.0.3-] at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474) [:3.3.3.Final] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77) [:2.0.3-] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-] .... Caused by: org.jboss.el.parser.ParseException: Encountered "}" at line 1, column 29. Was expecting one of: "." ... ")" ... "[" ... "," ... ">" ... "gt" ... "<" ... "lt" ... ">=" ... "ge" ... "<=" ... "le" ... "==" ... "eq" ... "!=" ... "ne" ... "&&" ... "and" ... "||" ... "or" ... "*" ... "+" ... "-" ... "?" ... "/" ... "div" ... "%" ... "mod" ... "(" ... at org.jboss.el.parser.ELParser.generateParseException(ELParser.java:2078) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.jj_consume_token(ELParser.java:1958) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.MethodSuffix(ELParser.java:1160) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.DotSuffix(ELParser.java:1048) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.Value(ELParser.java:983) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.Unary(ELParser.java:951) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.Multiplication(ELParser.java:714) [:1.0_02.CR5] at org.jboss.el.parser.ELParser.Math(ELParser.java:634) [:1.0_02.CR5] ....
Code:09:38:31,228 SEVERE [com.springsource.insight.plugin.jsf.ActionListenerOperationCollectionAspect] Error swallowed in advice execution(void javax.faces.event.MethodExpressionActionListener.processAction(ActionEvent)): javax.el.MethodNotFoundException: /includes/search/searchWidget.xhtml @22,51 actionListener="#{searchImageHelper.search}": Method not found: org.richfaces.photoalbum.search.ImageSearchHelper@1b42c313.search(javax.faces.event.ActionEvent) at com.sun.facelets.el.TagMethodExpression.getMethodInfo(TagMethodExpression.java:60) [:1.1.15.B1] at com.springsource.insight.plugin.jsf.AbstractActionListenerOperationCollectionAspect.createOperation(AbstractActionListenerOperationCollectionAspect.aj:65) [:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.AbstractOperationCollectionAspect.ajc$before$com_springsource_insight_collection_AbstractOperationCollectionAspect$1$34342d20_aroundBody0(AbstractOperationCollectionAspect.aj:72) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.AbstractOperationCollectionAspect$AjcClosure1.run(AbstractOperationCollectionAspect.aj:1) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect.ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03proceed(AdviceErrorHandlingAspect.aj:38) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.errorhandling.AdviceErrorHandlingAspect.ajc$around$com_springsource_insight_collection_errorhandling_AdviceErrorHandlingAspect$1$e76a6b03(AdviceErrorHandlingAspect.aj:40) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at com.springsource.insight.collection.AbstractOperationCollectionAspect.ajc$before$com_springsource_insight_collection_AbstractOperationCollectionAspect$1$34342d20(AbstractOperationCollectionAspect.aj:1) [insight-weaver-1.9.2-CI-SNAPSHOT.jar:1.9.2-CI-SNAPSHOT] at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:136) [:2.0.3-] at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84) [:2.0.3-] at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773) [:2.0.3-] at javax.faces.component.UICommand.broadcast(UICommand.java:296) [:2.0.3-] at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261) [:3.3.3.Final] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474) [:3.3.3.Final] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77) [:2.0.3-] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [:2.2.1.CR2] at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [:2.2.1.CR2] .... [:6.0.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final] at java.lang.Thread.run(Thread.java:662) [:1.6.0_30]
Hi,
We're having trouble getting insight working on jboss to even begin debugging this issue. Even google doesn't seem to offer much guidance on getting the 2 working together. Do you have any instructions or a vm with this already set up? The issue we're getting is:
Code:17:08:26,246 SEVERE [InsightClassPathMunger] Context not initialized by an InsightClassLoader 17:08:26,246 SEVERE [InsightClassPathMunger] Thus, I am not able to add conf or plugins to the classpath 17:08:26,246 SEVERE [InsightClassPathMunger] I will, however, try to configure the logging subsystem 17:08:26,986 ERROR [ContextLoader] Context initialization failed: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.springsource.insight.plugin.apache.http.hc3.HttpStatusTraceErrorAnalyzer] for bean with name 'com.springsource.insight.plugin.apache.http.hc3.HttpStatusTraceErrorAnalyzer#0' defined in "/C:/jboss-6.1.0.Final/insight/collection-plugins/insight-plugin-apache-httpclient3-1.8.3.RELEASE.jar/META-INF/insight-plugin-apache-httpclient3.xml"; nested exception is java.lang.ClassNotFoundException: com.springsource.insight.plugin.apache.http.hc3.HttpStatusTraceErrorAnalyzer at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1250) [:3.0.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576) [:3.0.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1319) [:3.0.5.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:885) [:3.0.5.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562) [:3.0.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [:3.0.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [:3.0.5.RELEASE] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [:3.0.5.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [:3.0.5.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [:3.0.5.RELEASE] at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369) [:6.1.0.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828) [:6.1.0.Final] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.1.0.Final] at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.1.0.Final] at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476) [:6.1.0.Final] at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.1.0.Final] at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.1.0.Final] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25] at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA] at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.SP2] at $Proxy41.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.SP2] at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.SP2] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.system.ServiceController.doChange(ServiceController.java:671) [:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)] at org.jboss.system.ServiceController.start(ServiceController.java:443) [:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)] at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189) [:6.1.0.Final] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102) [:6.1.0.Final] at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49) [:6.1.0.Final] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:63) [:2.2.2.GA] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.2.GA] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.2.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.2.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.2.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.2.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.2.GA] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.SP2] at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.2.GA] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.2.GA] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.2.GA] at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.1.0.Final] at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2] at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2] at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.SP2]
Insight devedition will not work with jboss, only insight operations will. Insight Operations is bundled with tcserver enterprise edition, but you can checkout the photo album app source code from here: http://anonsvn.jboss.org/repos/richf...es/photoalbum/
I've been working with Russ on the plugin and the stacktrace posted above is after installing Insight Operations in JBoss 6.1. It occurs on startup when trying JBoss is trying to deploy the insight-agent war file.
I've tried various things to overcome the error but at this time I am unable to get the agent running. The information available when googling the error or just general instructions on getting insight working with JBoss is quite scarce.
Any ideas how to overcome this error?
Thanks
Hi,
Hope you had a great Xmas and New Year.
Is it possible to get an answer to Gareth's last post as we're looking to put this to bed as soon as poss
Thanks