[JBoss JIRA] (SWITCHYARD-701) Remove internally generated events from collected system metrics
by Rob Cernich (JIRA)
Rob Cernich created SWITCHYARD-701:
--------------------------------------
Summary: Remove internally generated events from collected system metrics
Key: SWITCHYARD-701
URL: https://issues.jboss.org/browse/SWITCHYARD-701
Project: SwitchYard
Issue Type: Enhancement
Components: admin, console
Reporter: Rob Cernich
Assignee: Rob Cernich
Fix For: 0.4
Currently, system metrics include all messages processed by the system, including internally generated messages used to invoke referenced services. The resulting metrics are not completely intuitive (e.g. send in a soap message, but see two or more messages processed in the system metrics). In addition to message counts, total time metrics do not add up either, as the service time does not include the time spent invoking references.
One proposal:
# System message count should only include messages received through gateways.
# Timings for services should be the total time spent processing the message, including time spent in any referenced services.
I think we should only focus on first level reference for the 0.4 release. Longer term, we should look at a hierarchical view. We may also look at other types of aggregation within a service (e.g. by operation).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (SWITCHYARD-698) Duplicate transformer org.switchyard.component.camel.transformer.CamelTransformer(java:java.lang.String, java:javax.xml.transform.dom.DOMSource)'
by Rob Cernich (JIRA)
Rob Cernich created SWITCHYARD-698:
--------------------------------------
Summary: Duplicate transformer org.switchyard.component.camel.transformer.CamelTransformer(java:java.lang.String, java:javax.xml.transform.dom.DOMSource)'
Key: SWITCHYARD-698
URL: https://issues.jboss.org/browse/SWITCHYARD-698
Project: SwitchYard
Issue Type: Bug
Components: transformation
Affects Versions: 0.4
Reporter: Rob Cernich
Fix For: 0.4
{noformat}
21:02:29,062 DEBUG [org.switchyard.transform.TransformerRegistryLoader] (MSC service thread 1-3) Failed to register Transformer 'org.switchyard.component.camel.transformer.CamelTransformer(java:java.lang.String, java:javax.xml.transform.dom.DOMSource)'. A Transformer for these types is already registered: 'org.switchyard.transform.ootb.xml.BasicDOMTransformer(java:java.lang.String, java:javax.xml.transform.dom.DOMSource)'.: org.switchyard.exception.DuplicateTransformerException: Failed to register Transformer 'org.switchyard.component.camel.transformer.CamelTransformer(java:java.lang.String, java:javax.xml.transform.dom.DOMSource)'. A Transformer for these types is already registered: 'org.switchyard.transform.ootb.xml.BasicDOMTransformer(java:java.lang.String, java:javax.xml.transform.dom.DOMSource)'.
at org.switchyard.transform.TransformerRegistryLoader.registerTransformers(TransformerRegistryLoader.java:90) [switchyard-transform-0.4.0.CR1.jar:0.4.0.CR1]
at org.switchyard.transform.TransformerRegistryLoader.loadOOTBTransforms(TransformerRegistryLoader.java:135) [switchyard-transform-0.4.0.CR1.jar:0.4.0.CR1]
at org.switchyard.deploy.internal.AbstractDeployment.init(AbstractDeployment.java:144)
at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:100) [switchyard-deploy-jboss-as7-0.4.0.CR1.jar:0.4.0.CR1]
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:72) [switchyard-deploy-jboss-as7-0.4.0.CR1.jar:0.4.0.CR1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (SWITCHYARD-697) IndexOutOfBoundsException in admin module when deploying application with no component services
by Rob Cernich (JIRA)
Rob Cernich created SWITCHYARD-697:
--------------------------------------
Summary: IndexOutOfBoundsException in admin module when deploying application with no component services
Key: SWITCHYARD-697
URL: https://issues.jboss.org/browse/SWITCHYARD-697
Project: SwitchYard
Issue Type: Bug
Components: admin
Affects Versions: 0.4
Reporter: Rob Cernich
Assignee: Rob Cernich
Fix For: 0.4
IndexOutOfBoundsException in admin module when deploying application with no component services.
The stacktrace:
{noformat}
21:02:29,126 DEBUG [org.switchyard.internal.EventManager] (MSC service thread 1-3) Observer threw exception on event class org.switchyard.deploy.event.ApplicationDeployedEvent: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547) [rt.jar:1.6.0_30]
at java.util.ArrayList.get(ArrayList.java:322) [rt.jar:1.6.0_30]
at java.util.Collections$UnmodifiableList.get(Collections.java:1154) [rt.jar:1.6.0_30]
at org.switchyard.admin.base.BaseApplication.addComponents(BaseApplication.java:160)
at org.switchyard.admin.base.BaseApplication.<init>(BaseApplication.java:66)
at org.switchyard.admin.base.SwitchYardBuilder.applicationDeployed(SwitchYardBuilder.java:68)
at org.switchyard.admin.base.SwitchYardBuilder.notify(SwitchYardBuilder.java:57)
at org.switchyard.internal.EventManager.publish(EventManager.java:53) [switchyard-runtime-0.4.0.CR1.jar:0.4.0.CR1]
at org.switchyard.deploy.internal.Deployment.doInit(Deployment.java:128)
at org.switchyard.deploy.internal.AbstractDeployment.init(AbstractDeployment.java:149)
at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:100) [switchyard-deploy-jboss-as7-0.4.0.CR1.jar:0.4.0.CR1]
at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:72) [switchyard-deploy-jboss-as7-0.4.0.CR1.jar:0.4.0.CR1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months