I get the source from http://svn.hyperic.org/projects/hq/tags/HQ_4_3_0_GA/.
Software requirements is as below.
java vision is 1.5.0_06.
ant vision is apache-ant-1.7.1.
db is MySQL 5.1
os is windowsXP
Exception is throwed when i run run.bat and the info is:
09:48:02,812 INFO [SRNManagerEJBImpl] Fetching minimum metric collection intervals.
09:48:02,921 ERROR [LogInterceptor] RuntimeException in method: public abstract void org.hyperic.hq.measurement.shared.SRNManagerLocal.initializeCache():
org.hibernate.hql.ast.QuerySyntaxException: Measurement is not mapped [select mt.appdefType, m.instanceId, min(m.interval) from Measurement m, MonitorableType mt, MeasurementTemplate t where m.enabled = true and m.template.id = t.id and t.monitorableType.id = mt.id group by appdef_type, instance_id]
at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at org.hyperic.hq.measurement.server.session.ScheduleRevNumDAO.getMinIntervals(ScheduleRevNumDAO.java:88)
at org.hyperic.hq.measurement.server.session.SRNManagerEJBImpl.initializeCache(SRNManagerEJBImpl.java:106)
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.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy206.initializeCache(Unknown Source)
at org.hyperic.hq.measurement.server.session.MeasurementStartupListener.hqStarted(MeasurementStartupListener.java:70)
at org.hyperic.hq.application.HQApp.runStartupClasses(HQApp.java:628)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.loadStartupClasses(ProductPluginDeployer.java:625)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotification(ProductPluginDeployer.java:207)
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.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy204.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
09:48:02,921 WARN [HQApp] Error executing startup listener [org.hyperic.hq.measurement.server.session.MeasurementStartupListener]
javax.ejb.EJBException: RuntimeException
at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:417)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy206.initializeCache(Unknown Source)
at org.hyperic.hq.measurement.server.session.MeasurementStartupListener.hqStarted(MeasurementStartupListener.java:70)
at org.hyperic.hq.application.HQApp.runStartupClasses(HQApp.java:628)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.loadStartupClasses(ProductPluginDeployer.java:625)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotification(ProductPluginDeployer.java:207)
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.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy204.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
What does it mean and what can i do for it?
1 After "ant dbsetup",i see the log :
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\Category.hbm.xml
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: org.hyperic.hq.measurement.server.session.Category -> EAM_MEASUREMENT_CAT
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\Measurement.hbm.xml
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: org.hyperic.hq.measurement.server.session.Measurement -> EAM_MEASUREMENT
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\MeasurementData.hbm.xml
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricDataCompat -> HQ_METRIC_DATA_COMPAT
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_0D_0S -> HQ_METRIC_DATA_0D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_0D_1S -> HQ_METRIC_DATA_0D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_1D_0S -> HQ_METRIC_DATA_1D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_1D_1S -> HQ_METRIC_DATA_1D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_2D_0S -> HQ_METRIC_DATA_2D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_2D_1S -> HQ_METRIC_DATA_2D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_3D_0S -> HQ_METRIC_DATA_3D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_3D_1S -> HQ_METRIC_DATA_3D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_4D_0S -> HQ_METRIC_DATA_4D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_4D_1S -> HQ_METRIC_DATA_4D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_5D_0S -> HQ_METRIC_DATA_5D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_5D_1S -> HQ_METRIC_DATA_5D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_6D_0S -> HQ_METRIC_DATA_6D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_6D_1S -> HQ_METRIC_DATA_6D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_7D_0S -> HQ_METRIC_DATA_7D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_7D_1S -> HQ_METRIC_DATA_7D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_8D_0S -> HQ_METRIC_DATA_8D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_8D_1S -> HQ_METRIC_DATA_8D_1S
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\MeasurementHistData.hbm.xml
and there is no problem occurs,in the database,eam_measurement is also exists.
2 What is more.Is it a problem as below:
[javac] Compiling 7 source files to D:\hq430\build\classes
[javac] 2010-6-8 9:30:15 java.util.jar.Attributes read
[javac] warnning: Duplicate name in Manifest: Depends-On
[javac] 2010-6-8 9:30:15 java.util.jar.Attributes read
3 The attachments are the logs after ant commands. 1.txt is the server log.
adama.
Software requirements is as below.
java vision is 1.5.0_06.
ant vision is apache-ant-1.7.1.
db is MySQL 5.1
os is windowsXP
Exception is throwed when i run run.bat and the info is:
09:48:02,812 INFO [SRNManagerEJBImpl] Fetching minimum metric collection intervals.
09:48:02,921 ERROR [LogInterceptor] RuntimeException in method: public abstract void org.hyperic.hq.measurement.shared.SRNManagerLocal.initializeCache():
org.hibernate.hql.ast.QuerySyntaxException: Measurement is not mapped [select mt.appdefType, m.instanceId, min(m.interval) from Measurement m, MonitorableType mt, MeasurementTemplate t where m.enabled = true and m.template.id = t.id and t.monitorableType.id = mt.id group by appdef_type, instance_id]
at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at org.hyperic.hq.measurement.server.session.ScheduleRevNumDAO.getMinIntervals(ScheduleRevNumDAO.java:88)
at org.hyperic.hq.measurement.server.session.SRNManagerEJBImpl.initializeCache(SRNManagerEJBImpl.java:106)
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.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:515)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:587)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy206.initializeCache(Unknown Source)
at org.hyperic.hq.measurement.server.session.MeasurementStartupListener.hqStarted(MeasurementStartupListener.java:70)
at org.hyperic.hq.application.HQApp.runStartupClasses(HQApp.java:628)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.loadStartupClasses(ProductPluginDeployer.java:625)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotification(ProductPluginDeployer.java:207)
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.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy204.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
09:48:02,921 WARN [HQApp] Error executing startup listener [org.hyperic.hq.measurement.server.session.MeasurementStartupListener]
javax.ejb.EJBException: RuntimeException
at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:417)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy206.initializeCache(Unknown Source)
at org.hyperic.hq.measurement.server.session.MeasurementStartupListener.hqStarted(MeasurementStartupListener.java:70)
at org.hyperic.hq.application.HQApp.runStartupClasses(HQApp.java:628)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.loadStartupClasses(ProductPluginDeployer.java:625)
at org.hyperic.hq.product.server.mbean.ProductPluginDeployer.handleNotification(ProductPluginDeployer.java:207)
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.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy204.handleNotification(Unknown Source)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
What does it mean and what can i do for it?
1 After "ant dbsetup",i see the log :
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\Category.hbm.xml
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: org.hyperic.hq.measurement.server.session.Category -> EAM_MEASUREMENT_CAT
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\Measurement.hbm.xml
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: org.hyperic.hq.measurement.server.session.Measurement -> EAM_MEASUREMENT
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\MeasurementData.hbm.xml
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricDataCompat -> HQ_METRIC_DATA_COMPAT
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_0D_0S -> HQ_METRIC_DATA_0D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_0D_1S -> HQ_METRIC_DATA_0D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_1D_0S -> HQ_METRIC_DATA_1D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_1D_1S -> HQ_METRIC_DATA_1D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_2D_0S -> HQ_METRIC_DATA_2D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_2D_1S -> HQ_METRIC_DATA_2D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_3D_0S -> HQ_METRIC_DATA_3D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_3D_1S -> HQ_METRIC_DATA_3D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_4D_0S -> HQ_METRIC_DATA_4D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_4D_1S -> HQ_METRIC_DATA_4D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_5D_0S -> HQ_METRIC_DATA_5D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_5D_1S -> HQ_METRIC_DATA_5D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_6D_0S -> HQ_METRIC_DATA_6D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_6D_1S -> HQ_METRIC_DATA_6D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_7D_0S -> HQ_METRIC_DATA_7D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_7D_1S -> HQ_METRIC_DATA_7D_1S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_8D_0S -> HQ_METRIC_DATA_8D_0S
[hibernatetool] (cfg.HbmBinder 300 ) Mapping class: MetricData_8D_1S -> HQ_METRIC_DATA_8D_1S
[hibernatetool] (cfg.Configuration 305 ) Reading mappings from file: D:\hq430\build\classes\META-INF\measurement\MeasurementHistData.hbm.xml
and there is no problem occurs,in the database,eam_measurement is also exists.
2 What is more.Is it a problem as below:
[javac] Compiling 7 source files to D:\hq430\build\classes
[javac] 2010-6-8 9:30:15 java.util.jar.Attributes read
[javac] warnning: Duplicate name in Manifest: Depends-On
[javac] 2010-6-8 9:30:15 java.util.jar.Attributes read
3 The attachments are the logs after ant commands. 1.txt is the server log.
adama.