[JBoss JIRA] (JBESB-2558) monitoring.cfg.xml not found
by Tom Cunningham (JIRA)
[ https://issues.jboss.org/browse/JBESB-2558?page=com.atlassian.jira.plugin... ]
Work on JBESB-2558 stopped by Tom Cunningham.
> monitoring.cfg.xml not found
> -----------------------------
>
> Key: JBESB-2558
> URL: https://issues.jboss.org/browse/JBESB-2558
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Management
> Affects Versions: 4.4 CP2
…
[View More]> Reporter: Kevin Conner
> Assignee: Tom Cunningham
> Labels: soa_subject_to_time
> Fix For: 4.4 CP5
>
>
> The configuration of the management services is currently broken, leaving an opportunity for the following exception to be thrown.
> org.hibernate.HibernateException: monitoring.cfg.xml not found
> at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
> at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1405)
> at org.hibernate.cfg.Configuration.configure(Configuration.java:1427)
> at org.jboss.soa.esb.monitoring.MonitoringSessionFactory.init(MonitoringSessionFactory.java:80)
> at org.jboss.soa.esb.monitoring.MonitoringSessionFactory.getInstance(MonitoringSessionFactory.java:68)
> at org.jboss.soa.esb.monitoring.client.OperationsCollector.getClassPatterns(OperationsCollector.java:84)
> at org.jboss.soa.esb.monitoring.client.OperationsCollector.collectData(OperationsCollector.java:165)
> at org.jboss.soa.esb.monitoring.client.OperationsCollectorAction.collectOperations(OperationsCollectorAction.java:72)
> The reason for this issue is that the monitoring services specified in jbossesb.esb have an implicit dependency on a jar provided in management.esb but management.esb has an explicit dependency on jbossesb.esb. This will, therefore, leave a window where the management configuration may be required *before* the jar has been loaded.
> The implicit dependency is caused by the requirement of jbossesb.esb/management-client.jar to access the monitoring.cfg.xml file included in management.esb/management-server.jar.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[View Less]
11 years, 9 months