You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
(927) |
Apr
(419) |
May
(352) |
Jun
(431) |
Jul
(463) |
Aug
(345) |
Sep
(304) |
Oct
(596) |
Nov
(466) |
Dec
(414) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(348) |
Feb
(313) |
Mar
(665) |
Apr
(688) |
May
(434) |
Jun
(311) |
Jul
(540) |
Aug
(554) |
Sep
(467) |
Oct
(341) |
Nov
(365) |
Dec
(272) |
| 2009 |
Jan
(386) |
Feb
(293) |
Mar
(279) |
Apr
(239) |
May
(229) |
Jun
(199) |
Jul
(186) |
Aug
(111) |
Sep
(196) |
Oct
(146) |
Nov
(116) |
Dec
(140) |
| 2010 |
Jan
(170) |
Feb
(159) |
Mar
(151) |
Apr
(161) |
May
(90) |
Jun
(56) |
Jul
(28) |
Aug
(22) |
Sep
(5) |
Oct
|
Nov
(23) |
Dec
(12) |
| 2011 |
Jan
(8) |
Feb
(8) |
Mar
(22) |
Apr
(24) |
May
(4) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2012 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <do...@hy...> - 2007-03-23 03:26:25
|
Author: dougm Date: 2007-03-22 19:26:22 -0800 (Thu, 22 Mar 2007) New Revision: 3830 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3830 Modified: branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereProductPlugin.java branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereUtil.java Log: [HHQ-763] Fix 6.0 classpath Modified: branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereProductPlugin.java =================================================================== --- branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereProductPlugin.java 2007-03-23 00:28:14 UTC (rev 3829) +++ branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereProductPlugin.java 2007-03-23 03:26:22 UTC (rev 3830) @@ -423,7 +423,7 @@ } isOSGi = - new File(installDir, "/runtimes").isDirectory(); + new File(installDir, "/plugins").isDirectory(); //required for 6.1 File sslConfigFile = @@ -504,6 +504,7 @@ installDir + "/lib/classloader.jar", installDir + "/lib/security.jar", installDir + "/lib/wasproduct.jar", + installDir + "/lib/pmij2ee.jar", installDir + "/java/jre/lib/ibmcertpathprovider.jar", installDir + "/java/jre/lib/ext/ibmjceprovider.jar", installDir + "/java/jre/lib/ext/ibmjcefips.jar", Modified: branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereUtil.java =================================================================== --- branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereUtil.java 2007-03-23 00:28:14 UTC (rev 3829) +++ branches/HQ_3_0/plugins/websphere/src/org/hyperic/hq/plugin/websphere/WebsphereUtil.java 2007-03-23 03:26:22 UTC (rev 3830) @@ -162,7 +162,7 @@ } catch (Exception e) { //e.g. unauthorized throw new MetricUnreachableException(metric.getObjectName() + - ": " + e.getMessage()); + ": " + e.getMessage(), e); } } } catch (ConnectorException e) { |
|
From: Doug M. (JIRA) <ji...@hy...> - 2007-03-23 02:36:36
|
WebSphere 6.0 classpath can be incomplete
-----------------------------------------
Key: HHQ-763
URL: http://jira.hyperic.com/browse/HHQ-763
Project: Hyperic HQ
Type: Bug
Components: Plugins
Reporter: Doug MacEachern
Assigned to: Doug MacEachern
Fix For: 2.6, 3.0.3, 3.1.0
When using the deployment manager with WebSphere 6.0, the plugin is setting up the classpath for 6.1 which is incomplete/unusable for 6.0 installs
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.hyperic.com/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: <hy...@us...> - 2007-03-23 02:28:53
|
Revision: 12
http://hyperic-hq.svn.sourceforge.net/hyperic-hq/?rev=12&view=rev
Author: hyperic
Date: 2007-03-22 19:28:48 -0700 (Thu, 22 Mar 2007)
Log Message:
-----------
daily cron
Modified Paths:
--------------
build.xml
etc/version.properties
plugins/system/src/org/hyperic/hq/plugin/system/SystemPlugin.java
src/org/hyperic/hq/appdef/shared/AppdefEntityID.java
src/org/hyperic/hq/appdef/shared/AppdefResourceValue.java
src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java
src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java
src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java
src/org/hyperic/hq/bizapp/client/shell/ClientShell.java
src/org/hyperic/hq/bizapp/client/shell/ClientShellBossManager.java
src/org/hyperic/hq/bizapp/client/shell/ClientShellEntityFetcher.java
src/org/hyperic/hq/bizapp/client/shell/ClientShell_alertdef_create.java
src/org/hyperic/hq/bizapp/server/session/MeasurementBossEJBImpl.java
src/org/hyperic/hq/events/EventConstants.java
src/org/hyperic/hq/measurement/agent/MeasurementCommandsAPI.java
src/org/hyperic/hq/measurement/agent/client/MeasurementCommandsClient.java
src/org/hyperic/hq/measurement/agent/server/MeasurementCommandsServer.java
src/org/hyperic/hq/measurement/server/session/DataManagerEJBImpl.java
src/org/hyperic/hq/product/ProductPlugin.java
src/org/hyperic/hq/product/ProductPluginManager.java
src/org/hyperic/util/config/EnumerationConfigOption.java
web/WEB-INF/web.xml
Added Paths:
-----------
plugins/system/src/org/hyperic/hq/plugin/system/SystemLiveDataPlugin.java
src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata.java
src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata_get.java
src/org/hyperic/hq/bizapp/client/shell/ClientShell_livedata_list.java
src/org/hyperic/hq/bizapp/server/session/LiveDataBossEJBImpl.java
src/org/hyperic/hq/livedata/
src/org/hyperic/hq/livedata/agent/
src/org/hyperic/hq/livedata/agent/LiveDataCommandsAPI.java
src/org/hyperic/hq/livedata/agent/client/
src/org/hyperic/hq/livedata/agent/client/LiveDataClient.java
src/org/hyperic/hq/livedata/agent/commands/
src/org/hyperic/hq/livedata/agent/commands/LiveData_args.java
src/org/hyperic/hq/livedata/agent/commands/LiveData_result.java
src/org/hyperic/hq/livedata/agent/server/
src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java
src/org/hyperic/hq/livedata/server/
src/org/hyperic/hq/livedata/server/session/
src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java
src/org/hyperic/hq/livedata/shared/
src/org/hyperic/hq/livedata/shared/LiveDataException.java
src/org/hyperic/hq/livedata/shared/LiveDataTranslator.java
src/org/hyperic/hq/product/LiveDataPlugin.java
src/org/hyperic/hq/product/LiveDataPluginManager.java
src/org/hyperic/hq/product/jmx/MxLiveDataPlugin.java
src/org/hyperic/hq/ui/rendit/
src/org/hyperic/hq/ui/rendit/InvocationBindings.java
src/org/hyperic/hq/ui/rendit/PluginWrapper.java
src/org/hyperic/hq/ui/rendit/RenditServer.java
src/org/hyperic/hq/ui/rendit/rendit_sys/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/BaseHelper.groovy
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy
src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/ResourceHelper.groovy
src/org/hyperic/hq/ui/rendit/servlet/
src/org/hyperic/hq/ui/rendit/servlet/DirWatcher.java
src/org/hyperic/hq/ui/rendit/servlet/RenditServlet.java
thirdparty/lib/groovy-all-1.0.jar
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: John M. W. <joh...@hy...> - 2007-03-23 02:19:54
|
Hi Venkat, Is this the same question you asked in the dev forum? In that case, I believe you have your answer in the form of the plugin dev page. One thing that page doesn't have is the API for SIGAR, which is our low-level metrics gathering tool - http://sigar.hyperic.com/ |
|
From: John M. W. <joh...@hy...> - 2007-03-23 02:19:01
|
Hi Dan, That sounds pretty cool. I would love to see some info on it. Be careful, though, anything you say can and will be blogged ;) Not to mention added to the docs! -JM |
|
From: John M. W. <joh...@hy...> - 2007-03-23 02:16:21
|
Could you post the console output you get when starting up the agent? -John Mark |
|
From: <cl...@hy...> - 2007-03-23 00:28:23
|
Author: clee Date: 2007-03-22 16:28:14 -0800 (Thu, 22 Mar 2007) New Revision: 3829 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3829 Modified: branches/HQ_3_0/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java Log: [HQ-608] Superuser user should never be deleted [merge from HEAD] Modified: branches/HQ_3_0/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java =================================================================== --- branches/HQ_3_0/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java 2007-03-23 00:19:16 UTC (rev 3828) +++ branches/HQ_3_0/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java 2007-03-23 00:28:14 UTC (rev 3829) @@ -347,6 +347,11 @@ */ public void removeRole(AuthzSubjectValue whoami, Integer rolePk) throws RemoveException, PermissionException { + // Don't delete the super user role + if (rolePk.equals(AuthzConstants.rootRoleId)) { + throw new RemoveException("Superuser role cannot be removed"); + } + Role roleLocal = getRoleDAO().findById(rolePk); PermissionManager pm = PermissionManagerFactory.getInstance(); |
|
From: <cl...@hy...> - 2007-03-23 00:19:19
|
Author: clee Date: 2007-03-22 16:19:16 -0800 (Thu, 22 Mar 2007) New Revision: 3828 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3828 Modified: trunk/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java Log: [HQ-608] Superuser user should never be deleted Modified: trunk/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java 2007-03-22 23:50:12 UTC (rev 3827) +++ trunk/src/org/hyperic/hq/authz/server/session/RoleManagerEJBImpl.java 2007-03-23 00:19:16 UTC (rev 3828) @@ -347,6 +347,11 @@ */ public void removeRole(AuthzSubjectValue whoami, Integer rolePk) throws RemoveException, PermissionException { + // Don't delete the super user role + if (rolePk.equals(AuthzConstants.rootRoleId)) { + throw new RemoveException("Superuser role cannot be removed"); + } + Role roleLocal = getRoleDAO().findById(rolePk); PermissionManager pm = PermissionManagerFactory.getInstance(); |
|
From: mike m. <mi...@an...> - 2007-03-23 00:17:01
|
fixed |
|
From: mike m. <mi...@an...> - 2007-03-23 00:13:23
|
whenever I get charts viewed--all I have is save to dashboard . it does NOT save them under saved CHARTS. |
Author: rmorgan Date: 2007-03-22 15:50:12 -0800 (Thu, 22 Mar 2007) New Revision: 3827 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3827 Modified: trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShellEntityFetcher.java trunk/src/org/hyperic/hq/bizapp/server/session/LiveDataBossEJBImpl.java trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_args.java trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java Log: Cleanup LiveData plugin loading. Modified: trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShellEntityFetcher.java =================================================================== --- trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShellEntityFetcher.java 2007-03-22 23:11:24 UTC (rev 3826) +++ trunk/src/org/hyperic/hq/bizapp/client/shell/ClientShellEntityFetcher.java 2007-03-22 23:50:12 UTC (rev 3827) @@ -1176,6 +1176,7 @@ public String[] getLiveDataCommands(AppdefEntityID id) throws RemoteException, NamingException, ClientShellAuthenticationException, PluginException, + PermissionException, SessionTimeoutException, SessionNotFoundException { LiveDataBoss boss; Modified: trunk/src/org/hyperic/hq/bizapp/server/session/LiveDataBossEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/bizapp/server/session/LiveDataBossEJBImpl.java 2007-03-22 23:11:24 UTC (rev 3826) +++ trunk/src/org/hyperic/hq/bizapp/server/session/LiveDataBossEJBImpl.java 2007-03-22 23:50:12 UTC (rev 3827) @@ -97,7 +97,7 @@ * @ejb:interface-method */ public String[] getLiveDataCommands(int sessionId, AppdefEntityID id) - throws PluginException, + throws PluginException, PermissionException, SessionTimeoutException, SessionNotFoundException { AuthzSubjectValue subject = _manager.getSubject(sessionId); Modified: trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_args.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_args.java 2007-03-22 23:11:24 UTC (rev 3826) +++ trunk/src/org/hyperic/hq/livedata/agent/commands/LiveData_args.java 2007-03-22 23:50:12 UTC (rev 3827) @@ -33,7 +33,7 @@ public class LiveData_args extends AgentRemoteValue { - private static final String PARAM_PLUGIN = "plugin"; + private static final String PARAM_TYPE = "type"; private static final String PARAM_COMMAND = "command"; private static final String PARAM_CONFIG = "config"; @@ -44,7 +44,7 @@ public LiveData_args(AgentRemoteValue val) throws AgentRemoteException { - String type = val.getValue(PARAM_PLUGIN); + String type = val.getValue(PARAM_TYPE); String command = val.getValue(PARAM_COMMAND); String configStr = val.getValue(PARAM_CONFIG); @@ -74,13 +74,13 @@ e.getMessage()); } - super.setValue(PARAM_PLUGIN, type); + super.setValue(PARAM_TYPE, type); super.setValue(PARAM_COMMAND, command); super.setValue(PARAM_CONFIG, configStr); } - public String getPlugin() { - return getValue(PARAM_PLUGIN); + public String getType() { + return getValue(PARAM_TYPE); } public String getCommand() { Modified: trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java 2007-03-22 23:11:24 UTC (rev 3826) +++ trunk/src/org/hyperic/hq/livedata/agent/server/LiveDataCommandsServer.java 2007-03-22 23:50:12 UTC (rev 3827) @@ -88,10 +88,11 @@ public LiveData_result cmdGetData(LiveData_args args) throws AgentRemoteException { - _log.info("Asked to invoke cmdGetData for " + args.getPlugin()); + _log.info("Asked to invoke cmdGetData for " + args.getType()); try { - JSONArray o = _manager.getData(args.getPlugin(), args.getCommand(), + JSONArray o = _manager.getData(args.getType(), + args.getCommand(), args.getConfig()); LiveData_result res = new LiveData_result(); res.setResult(o.toString()); Modified: trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java 2007-03-22 23:11:24 UTC (rev 3826) +++ trunk/src/org/hyperic/hq/livedata/server/session/LiveDataManagerEJBImpl.java 2007-03-22 23:50:12 UTC (rev 3827) @@ -38,6 +38,8 @@ import org.hyperic.hq.appdef.shared.AgentNotFoundException; import org.hyperic.hq.appdef.shared.AppdefEntityNotFoundException; import org.hyperic.hq.appdef.shared.ConfigManagerLocal; +import org.hyperic.hq.appdef.shared.AppdefEntityValue; +import org.hyperic.hq.appdef.shared.AppdefResourceTypeValue; import org.hyperic.hq.appdef.server.session.ConfigManagerEJBImpl; import org.hyperic.hq.authz.shared.PermissionException; import org.hyperic.hq.authz.shared.AuthzSubjectValue; @@ -91,14 +93,6 @@ public void ejbRemove() {} public void setSessionContext(SessionContext ctx) {} - private String getPluginName(AppdefEntityID id) - throws AppdefEntityNotFoundException - { - ConfigManagerLocal cManager = ConfigManagerEJBImpl.getOne(); - // XXX: Seems this method should not be in the config manager. - return cManager.getPluginName(id); - } - /** * Live data subsystem uses measurement configs. */ @@ -130,11 +124,13 @@ { LiveDataClient client = new LiveDataClient(AgentConnectionUtil.getClient(id)); - String plugin = getPluginName(id); ConfigResponse config = getMeasurementConfig(subject, id); - return client.getData(plugin, command, config); + AppdefEntityValue val = new AppdefEntityValue(id, subject); + AppdefResourceTypeValue tVal = val.getResourceTypeValue(); + + return client.getData(tVal.getName(), command, config); } /** @@ -143,11 +139,13 @@ * @ejb:interface-method */ public String[] getCommands(AuthzSubjectValue subject, AppdefEntityID id) - throws PluginException + throws PluginException, PermissionException { try { - String plugin = getPluginName(id); - return _manager.getCommands(plugin); + AppdefEntityValue val = new AppdefEntityValue(id, subject); + AppdefResourceTypeValue tVal = val.getResourceTypeValue(); + + return _manager.getCommands(tVal.getName()); } catch (AppdefEntityNotFoundException e) { throw new PluginNotFoundException("No plugin found for " + id, e); } Modified: trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java =================================================================== --- trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java 2007-03-22 23:11:24 UTC (rev 3826) +++ trunk/src/org/hyperic/hq/product/LiveDataPluginManager.java 2007-03-22 23:50:12 UTC (rev 3827) @@ -41,28 +41,16 @@ return ProductPlugin.TYPE_LIVE_DATA; } - private LiveDataPlugin getLiveDataPlugin(String plugin) - throws PluginException + private LiveDataPlugin getLiveDataPlugin(String type) + throws PluginNotFoundException { - ProductPluginManager mgr = (ProductPluginManager)getParent(); - ProductPlugin pp = mgr.getProductPlugin(plugin); - - //XXX: fix me, this only works for platforms. - LiveDataPlugin p = - (LiveDataPlugin)pp.getPlugin(ProductPlugin.TYPE_LIVE_DATA, - pp.getTypeInfo()); - if (p == null) { - throw new PluginException("Live data plugin for " + - pp.getTypeInfo() + " not found."); - } - return p; + return (LiveDataPlugin)getPlugin(type); } - public JSONArray getData(String plugin, String command, - ConfigResponse config) + public JSONArray getData(String type, String command, ConfigResponse config) throws PluginException { - LiveDataPlugin p = getLiveDataPlugin(plugin); + LiveDataPlugin p = getLiveDataPlugin(type); Object o = p.getData(command, config); try { @@ -72,10 +60,10 @@ } } - public String[] getCommands(String plugin) + public String[] getCommands(String type) throws PluginException { - LiveDataPlugin p = getLiveDataPlugin(plugin); + LiveDataPlugin p = getLiveDataPlugin(type); return p.getCommands(); } } |
|
From: Nipuna B. (JIRA) <ji...@hy...> - 2007-03-22 23:46:42
|
[ http://jira.hyperic.com/browse/HHQ-166?page=all ] Nipuna Bhayani closed HHQ-166: ------------------------------ Works fine in Release 3.0.2 build # 338 I have around 36 roles and paging is working fine for Notify to Roles > Stacktrace when paging users in configure alert definition pages > ---------------------------------------------------------------- > > Key: HHQ-166 > URL: http://jira.hyperic.com/browse/HHQ-166 > Project: Hyperic HQ > Type: Bug > Components: Alerts > Versions: 2.7.3 > Environment: HQ 2.6.27 > Reporter: Ryan Morgan > Assignee: Charles Lee > Fix For: 2.7.4 > > > When setting up roles to be notified when creating an alert, if you click on the paging icons to go to the second page of users it will result in a stacktrace. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.hyperic.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Noah S. <noa...@hy...> - 2007-03-22 23:41:26
|
That feature -- Save Chart to Dashboard -- should work exactly the same in the Enterprise and Open Source versions of Hyperic HQ. |
|
From: mike m. <mi...@an...> - 2007-03-22 23:34:56
|
I have saved charts in the EE version of hyperic BUT cant seem to save charts in the open source 3.02 version of HYPERIC . IS this available to open source 3.0.2 version of HYPERIC. In reading some documentation on this I cant seem to get a save chart option anywhere.??? Can you give me a few steps to create saved charts so they appear on saved charts when on the dashboard.????? |
|
From: <rm...@hy...> - 2007-03-22 23:11:29
|
Author: rmorgan Date: 2007-03-22 15:11:24 -0800 (Thu, 22 Mar 2007) New Revision: 3826 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3826 Modified: trunk/src/org/hyperic/hq/product/ProductPlugin.java Log: Add live data to ProductPlugin.TYPES. Modified: trunk/src/org/hyperic/hq/product/ProductPlugin.java =================================================================== --- trunk/src/org/hyperic/hq/product/ProductPlugin.java 2007-03-22 22:34:50 UTC (rev 3825) +++ trunk/src/org/hyperic/hq/product/ProductPlugin.java 2007-03-22 23:11:24 UTC (rev 3826) @@ -68,6 +68,7 @@ TYPE_RESPONSE_TIME, TYPE_LOG_TRACK, TYPE_CONFIG_TRACK, + TYPE_LIVE_DATA }; public static final String[] CONFIGURABLE_TYPES = { |
|
From: <cl...@hy...> - 2007-03-22 22:34:59
|
Author: clee Date: 2007-03-22 14:34:50 -0800 (Thu, 22 Mar 2007) New Revision: 3825 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3825 Modified: branches/HQ_3_0/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java Log: [HQ-607] Don't get Value objects just to check the resource type ID [merge from HEAD] Modified: branches/HQ_3_0/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java =================================================================== --- branches/HQ_3_0/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java 2007-03-22 22:27:56 UTC (rev 3824) +++ branches/HQ_3_0/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java 2007-03-22 22:34:50 UTC (rev 3825) @@ -25,15 +25,22 @@ package org.hyperic.hq.appdef.shared.pager; -import java.util.HashMap; -import java.util.Map; - +import org.hyperic.hq.appdef.server.session.AppdefGroupManagerEJBImpl; +import org.hyperic.hq.appdef.server.session.Platform; +import org.hyperic.hq.appdef.server.session.PlatformManagerEJBImpl; +import org.hyperic.hq.appdef.server.session.Server; +import org.hyperic.hq.appdef.server.session.ServerManagerEJBImpl; +import org.hyperic.hq.appdef.server.session.Service; +import org.hyperic.hq.appdef.server.session.ServiceManagerEJBImpl; import org.hyperic.hq.appdef.shared.AppdefEntityConstants; import org.hyperic.hq.appdef.shared.AppdefEntityID; +import org.hyperic.hq.appdef.shared.AppdefEntityNotFoundException; import org.hyperic.hq.appdef.shared.AppdefEntityValue; +import org.hyperic.hq.appdef.shared.AppdefGroupNotFoundException; import org.hyperic.hq.appdef.shared.AppdefGroupValue; import org.hyperic.hq.appdef.shared.AppdefResourceValue; import org.hyperic.hq.authz.shared.AuthzSubjectValue; +import org.hyperic.hq.authz.shared.PermissionException; /** Pager Processor filter that filters object instances of * AppdefEntityID based on three contextual criteria: group type @@ -175,9 +182,7 @@ } try { - arv = fetchEntityById(entity); - - boolean caught = isCompatible(arv); + boolean caught = isCompatible(entity); if (exclusive == caught) { filterCount++; } @@ -189,31 +194,43 @@ } } - private boolean isCompatible(AppdefResourceValue vo) { + private boolean isCompatible(AppdefEntityID entity) + throws PermissionException, AppdefEntityNotFoundException { + AppdefResourceValue arv; + AppdefEntityValue aev = new AppdefEntityValue(entity, subject); + switch (groupType) { - case(GROUP_ADHOC_APP): - return isGroupAdhocAppCompatible(vo); - case(GROUP_ADHOC_GRP): - return isGroupAdhocGrpCompatible(vo); - case(GROUP_ADHOC_PSS): - return isGroupAdhocPSSCompatible(vo); - case(GROUP_COMPAT_PS): - if (groupSelected) - return isResourceCompatible(vo); - else - return isGroupResourceCompatible(vo); - case(GROUP_COMPAT_SVC): - if (groupSelected) - return isResourceCompatible(vo); - else - return isGroupResourceCompatible(vo); - case(UNDEFINED): - if (resourceType == UNDEFINED) { - return isEntityCompatible(vo); - } else { - return isResourceCompatible(vo); - } - default: + case (GROUP_ADHOC_APP): + arv = aev.getLiteResourceValue(); + return isGroupAdhocAppCompatible(arv); + case (GROUP_ADHOC_GRP): + arv = aev.getLiteResourceValue(); + return isGroupAdhocGrpCompatible(arv); + case (GROUP_ADHOC_PSS): + arv = aev.getLiteResourceValue(); + return isGroupAdhocPSSCompatible(arv); + case (GROUP_COMPAT_PS): + if (groupSelected) + return isResourceCompatible(entity); + else { + arv = aev.getLiteResourceValue(); + return isGroupResourceCompatible(arv); + } + case (GROUP_COMPAT_SVC): + if (groupSelected) + return isResourceCompatible(entity); + else { + arv = aev.getLiteResourceValue(); + return isGroupResourceCompatible(arv); + } + case (UNDEFINED): + if (resourceType == UNDEFINED) { + arv = aev.getLiteResourceValue(); + return isEntityCompatible(arv); + } else { + return isResourceCompatible(entity); + } + default: return false; // unsupported group type? } } @@ -349,12 +366,28 @@ // GROUP_TYPE ENTITY_TYPE RESOURCE_TYPE INVENTORY RETURNED // ---------------------------------------------------------------------- // UNDEF <type> <type> ALl <type> of <type> - private boolean isResourceCompatible(AppdefResourceValue vo) { - if (entityType == vo.getEntityId().getType() && - resourceType == vo.getAppdefResourceTypeValue().getId().intValue()) { - return true; + private boolean isResourceCompatible(AppdefEntityID id) + throws AppdefGroupNotFoundException, PermissionException { + switch(id.getType()) { + case AppdefEntityConstants.APPDEF_TYPE_PLATFORM: + Platform plat = + PlatformManagerEJBImpl.getOne().getPlatformById(id.getId()); + return resourceType == plat.getPlatformType().getId().intValue(); + case AppdefEntityConstants.APPDEF_TYPE_SERVER: + Server svr = + ServerManagerEJBImpl.getOne().getServerById(id.getId()); + return resourceType == svr.getServerType().getId().intValue(); + case AppdefEntityConstants.APPDEF_TYPE_SERVICE: + Service svc = + ServiceManagerEJBImpl.getOne().getServiceById(id.getId()); + return resourceType == svc.getServiceType().getId().intValue(); + case AppdefEntityConstants.APPDEF_TYPE_GROUP: + AppdefGroupValue group = + AppdefGroupManagerEJBImpl.getOne().findGroup(subject, id); + return resourceType == group.getGroupEntResType(); + default: + return false; } - return false; } // Resource compatibility implies both appdef type and resource type @@ -410,11 +443,4 @@ } return false; } - - // DB fetch the resource value - private AppdefResourceValue fetchEntityById(AppdefEntityID id) - throws Exception { - AppdefEntityValue aev = new AppdefEntityValue(id, this.subject); - return aev.getLiteResourceValue(); - } } |
|
From: Noah S. (JIRA) <ji...@hy...> - 2007-03-22 22:31:38
|
"Connection refused" email error does not get displayed
-------------------------------------------------------
Key: HHQ-762
URL: http://jira.hyperic.com/browse/HHQ-762
Project: Hyperic HQ
Type: Developer
Versions: 3.0.2
Environment: Server: 3.0.2 .org build 328
Reporter: Noah Salzman
Assigned to: Charles Lee
Fix For: 3.1.0
If there is a problem with your SMTP server we do not display the "connection refused" error in the server.log, instead all you get is "Error sending email".
It would help users troubleshoot their SMTP config if we actually bubbled up the "connection refused" error.
This is what we show now:
2007-03-22 15:23:05,853 ERROR [org.hyperic.hq.bizapp.server.action.email.EmailFilter] Error sending email: [HQ] !! - Test Alert
Thsi is what we show if you crank up the log level in log4j:
2007-03-22 15:24:05,911 DEBUG [org.hyperic.hq.bizapp.server.action.email.EmailFilter] Messaging Error sending email
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
<snip>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.hyperic.com/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: <cl...@hy...> - 2007-03-22 22:28:12
|
Author: clee Date: 2007-03-22 14:27:56 -0800 (Thu, 22 Mar 2007) New Revision: 3824 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3824 Modified: trunk/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java Log: [HQ-607] Don't get Value objects just to check the resource type ID Modified: trunk/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java =================================================================== --- trunk/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java 2007-03-22 20:37:57 UTC (rev 3823) +++ trunk/src/org/hyperic/hq/appdef/shared/pager/AppdefPagerFilterGroupEntityResource.java 2007-03-22 22:27:56 UTC (rev 3824) @@ -25,15 +25,22 @@ package org.hyperic.hq.appdef.shared.pager; -import java.util.HashMap; -import java.util.Map; - +import org.hyperic.hq.appdef.server.session.AppdefGroupManagerEJBImpl; +import org.hyperic.hq.appdef.server.session.Platform; +import org.hyperic.hq.appdef.server.session.PlatformManagerEJBImpl; +import org.hyperic.hq.appdef.server.session.Server; +import org.hyperic.hq.appdef.server.session.ServerManagerEJBImpl; +import org.hyperic.hq.appdef.server.session.Service; +import org.hyperic.hq.appdef.server.session.ServiceManagerEJBImpl; import org.hyperic.hq.appdef.shared.AppdefEntityConstants; import org.hyperic.hq.appdef.shared.AppdefEntityID; +import org.hyperic.hq.appdef.shared.AppdefEntityNotFoundException; import org.hyperic.hq.appdef.shared.AppdefEntityValue; +import org.hyperic.hq.appdef.shared.AppdefGroupNotFoundException; import org.hyperic.hq.appdef.shared.AppdefGroupValue; import org.hyperic.hq.appdef.shared.AppdefResourceValue; import org.hyperic.hq.authz.shared.AuthzSubjectValue; +import org.hyperic.hq.authz.shared.PermissionException; /** Pager Processor filter that filters object instances of * AppdefEntityID based on three contextual criteria: group type @@ -175,9 +182,7 @@ } try { - arv = fetchEntityById(entity); - - boolean caught = isCompatible(arv); + boolean caught = isCompatible(entity); if (exclusive == caught) { filterCount++; } @@ -189,31 +194,43 @@ } } - private boolean isCompatible(AppdefResourceValue vo) { + private boolean isCompatible(AppdefEntityID entity) + throws PermissionException, AppdefEntityNotFoundException { + AppdefResourceValue arv; + AppdefEntityValue aev = new AppdefEntityValue(entity, subject); + switch (groupType) { - case(GROUP_ADHOC_APP): - return isGroupAdhocAppCompatible(vo); - case(GROUP_ADHOC_GRP): - return isGroupAdhocGrpCompatible(vo); - case(GROUP_ADHOC_PSS): - return isGroupAdhocPSSCompatible(vo); - case(GROUP_COMPAT_PS): - if (groupSelected) - return isResourceCompatible(vo); - else - return isGroupResourceCompatible(vo); - case(GROUP_COMPAT_SVC): - if (groupSelected) - return isResourceCompatible(vo); - else - return isGroupResourceCompatible(vo); - case(UNDEFINED): - if (resourceType == UNDEFINED) { - return isEntityCompatible(vo); - } else { - return isResourceCompatible(vo); - } - default: + case (GROUP_ADHOC_APP): + arv = aev.getLiteResourceValue(); + return isGroupAdhocAppCompatible(arv); + case (GROUP_ADHOC_GRP): + arv = aev.getLiteResourceValue(); + return isGroupAdhocGrpCompatible(arv); + case (GROUP_ADHOC_PSS): + arv = aev.getLiteResourceValue(); + return isGroupAdhocPSSCompatible(arv); + case (GROUP_COMPAT_PS): + if (groupSelected) + return isResourceCompatible(entity); + else { + arv = aev.getLiteResourceValue(); + return isGroupResourceCompatible(arv); + } + case (GROUP_COMPAT_SVC): + if (groupSelected) + return isResourceCompatible(entity); + else { + arv = aev.getLiteResourceValue(); + return isGroupResourceCompatible(arv); + } + case (UNDEFINED): + if (resourceType == UNDEFINED) { + arv = aev.getLiteResourceValue(); + return isEntityCompatible(arv); + } else { + return isResourceCompatible(entity); + } + default: return false; // unsupported group type? } } @@ -349,12 +366,28 @@ // GROUP_TYPE ENTITY_TYPE RESOURCE_TYPE INVENTORY RETURNED // ---------------------------------------------------------------------- // UNDEF <type> <type> ALl <type> of <type> - private boolean isResourceCompatible(AppdefResourceValue vo) { - if (entityType == vo.getEntityId().getType() && - resourceType == vo.getAppdefResourceTypeValue().getId().intValue()) { - return true; + private boolean isResourceCompatible(AppdefEntityID id) + throws AppdefGroupNotFoundException, PermissionException { + switch(id.getType()) { + case AppdefEntityConstants.APPDEF_TYPE_PLATFORM: + Platform plat = + PlatformManagerEJBImpl.getOne().getPlatformById(id.getId()); + return resourceType == plat.getPlatformType().getId().intValue(); + case AppdefEntityConstants.APPDEF_TYPE_SERVER: + Server svr = + ServerManagerEJBImpl.getOne().getServerById(id.getId()); + return resourceType == svr.getServerType().getId().intValue(); + case AppdefEntityConstants.APPDEF_TYPE_SERVICE: + Service svc = + ServiceManagerEJBImpl.getOne().getServiceById(id.getId()); + return resourceType == svc.getServiceType().getId().intValue(); + case AppdefEntityConstants.APPDEF_TYPE_GROUP: + AppdefGroupValue group = + AppdefGroupManagerEJBImpl.getOne().findGroup(subject, id); + return resourceType == group.getGroupEntResType(); + default: + return false; } - return false; } // Resource compatibility implies both appdef type and resource type @@ -410,11 +443,4 @@ } return false; } - - // DB fetch the resource value - private AppdefResourceValue fetchEntityById(AppdefEntityID id) - throws Exception { - AppdefEntityValue aev = new AppdefEntityValue(id, this.subject); - return aev.getLiteResourceValue(); - } } |
|
From: Nipuna B. (JIRA) <ji...@hy...> - 2007-03-22 22:20:38
|
[ http://jira.hyperic.com/browse/HHQ-403?page=3Dall ] =20 Nipuna Bhayani resolved HHQ-403: -------------------------------- Resolution: Fixed I closed this bug by mistake,so I need to reopen and then mark fix, sorry for the confusion > Input validation error on Alerts screen > --------------------------------------- > > Key: HHQ-403 > URL: http://jira.hyperic.com/browse/HHQ-403 > Project: Hyperic HQ > Type: Developer > Components: UI > Versions: 3.0.0 > Environment: Server: .org build 215 on Linux > Reporter: Noah Salzman > Assignee: Charles Lee > Priority: Minor > Fix For: 3.0.2 > > > If you leave the "When conditions are met for..." or "Once every X times.= .." fields blank and click OK you will get an error page and the following = stack trace. > Exception: > java.lang.NumberFormatException: For input string: "" at java.lang.Number= FormatException.forInputString(Unknown Source) at java.lang.Integer.parseIn= t(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.hype= ric.hq.ui.action.resource.common.monitor.alerts.config.DefinitionForm.expor= tConditionsEnablement(DefinitionForm.java:575) at org.hyperic.hq.ui.action.= resource.common.monitor.alerts.config.NewDefinitionAction.execute(NewDefini= tionAction.java:105) at org.hyperic.hq.ui.action.BaseRequestProcessor.proce= ssActionPerform(BaseRequestProcessor.java:63) at org.apache.struts.action.R= equestProcessor.process(RequestProcessor.java:236) at org.apache.struts.act= ion.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.act= ion.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.Http= Servlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.ser= vice(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterCha= in.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina= .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at o= rg.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:11= 0) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl= icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterC= hain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filt= ers.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.cat= alina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j= ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic= ationFilterChain.java:173) at org.hyperic.hq.product.servlet.filter.JMXFilt= er.doFilter(JMXFilter.java:324) at org.apache.catalina.core.ApplicationFilt= erChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.cat= alina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)= at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal= ve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(Standa= rdContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalVa= lve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.S= ecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jb= oss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) a= t org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve= .java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardE= ngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service= (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.proces= s(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http= 11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apach= e.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) a= t org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerT= hread.java:112) at java.lang.Thread.run(Unknown Source) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.hyperic.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Nipuna B. (JIRA) <ji...@hy...> - 2007-03-22 22:16:43
|
[ http://jira.hyperic.com/browse/HHQ-403?page=3Dall ] =20 Nipuna Bhayani reopened HHQ-403: -------------------------------- Sorry close the wrong bug > Input validation error on Alerts screen > --------------------------------------- > > Key: HHQ-403 > URL: http://jira.hyperic.com/browse/HHQ-403 > Project: Hyperic HQ > Type: Developer > Components: UI > Versions: 3.0.0 > Environment: Server: .org build 215 on Linux > Reporter: Noah Salzman > Assignee: Charles Lee > Priority: Minor > Fix For: 3.0.2 > > > If you leave the "When conditions are met for..." or "Once every X times.= .." fields blank and click OK you will get an error page and the following = stack trace. > Exception: > java.lang.NumberFormatException: For input string: "" at java.lang.Number= FormatException.forInputString(Unknown Source) at java.lang.Integer.parseIn= t(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.hype= ric.hq.ui.action.resource.common.monitor.alerts.config.DefinitionForm.expor= tConditionsEnablement(DefinitionForm.java:575) at org.hyperic.hq.ui.action.= resource.common.monitor.alerts.config.NewDefinitionAction.execute(NewDefini= tionAction.java:105) at org.hyperic.hq.ui.action.BaseRequestProcessor.proce= ssActionPerform(BaseRequestProcessor.java:63) at org.apache.struts.action.R= equestProcessor.process(RequestProcessor.java:236) at org.apache.struts.act= ion.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.act= ion.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.Http= Servlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.ser= vice(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterCha= in.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina= .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at o= rg.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:11= 0) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl= icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterC= hain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filt= ers.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.cat= alina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j= ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic= ationFilterChain.java:173) at org.hyperic.hq.product.servlet.filter.JMXFilt= er.doFilter(JMXFilter.java:324) at org.apache.catalina.core.ApplicationFilt= erChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.cat= alina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)= at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal= ve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(Standa= rdContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalVa= lve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.S= ecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jb= oss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) a= t org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve= .java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardE= ngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service= (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.proces= s(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http= 11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apach= e.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) a= t org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerT= hread.java:112) at java.lang.Thread.run(Unknown Source) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.hyperic.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Nipuna B. (JIRA) <ji...@hy...> - 2007-03-22 22:14:42
|
[ http://jira.hyperic.com/browse/HHQ-403?page=3Dall ] =20 Nipuna Bhayani closed HHQ-403: ------------------------------ Duplicate Closed HQ-403 > Input validation error on Alerts screen > --------------------------------------- > > Key: HHQ-403 > URL: http://jira.hyperic.com/browse/HHQ-403 > Project: Hyperic HQ > Type: Developer > Components: UI > Versions: 3.0.0 > Environment: Server: .org build 215 on Linux > Reporter: Noah Salzman > Assignee: Charles Lee > Priority: Minor > Fix For: 3.0.2 > > > If you leave the "When conditions are met for..." or "Once every X times.= .." fields blank and click OK you will get an error page and the following = stack trace. > Exception: > java.lang.NumberFormatException: For input string: "" at java.lang.Number= FormatException.forInputString(Unknown Source) at java.lang.Integer.parseIn= t(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.hype= ric.hq.ui.action.resource.common.monitor.alerts.config.DefinitionForm.expor= tConditionsEnablement(DefinitionForm.java:575) at org.hyperic.hq.ui.action.= resource.common.monitor.alerts.config.NewDefinitionAction.execute(NewDefini= tionAction.java:105) at org.hyperic.hq.ui.action.BaseRequestProcessor.proce= ssActionPerform(BaseRequestProcessor.java:63) at org.apache.struts.action.R= equestProcessor.process(RequestProcessor.java:236) at org.apache.struts.act= ion.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.act= ion.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.Http= Servlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.ser= vice(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterCha= in.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina= .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at o= rg.hyperic.hq.ui.AuthenticationFilter.doFilter(AuthenticationFilter.java:11= 0) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl= icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterC= hain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filt= ers.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.cat= alina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j= ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic= ationFilterChain.java:173) at org.hyperic.hq.product.servlet.filter.JMXFilt= er.doFilter(JMXFilter.java:324) at org.apache.catalina.core.ApplicationFilt= erChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.cat= alina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)= at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal= ve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(Standa= rdContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalVa= lve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.S= ecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jb= oss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) a= t org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve= .java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardE= ngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service= (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.proces= s(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http= 11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apach= e.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) a= t org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerT= hread.java:112) at java.lang.Thread.run(Unknown Source) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.hyperic.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: jbaptiste <jua...@gm...> - 2007-03-22 21:59:59
|
In RH like systems like RH, CentOS, Mandriva, etc, you can use the chkconfig command to update those links. chkconfig --add hq-agent after you have copied the script to the /etc/init.d directory. |
|
From: Bob C. <Rob...@in...> - 2007-03-22 21:00:11
|
Hi, We are thinking about registering all our JMX programs with JNDI, so they will be auto discovered similar to jboss, would this work? If JBoss goes down, then all the programs would appear to be down, even if they were still working, is this correct? Thanks |
|
From: <jt...@hy...> - 2007-03-22 20:38:21
|
Author: jtravis Date: 2007-03-22 12:37:57 -0800 (Thu, 22 Mar 2007) New Revision: 3823 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3823 Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy Log: Align changes with Morg's addition of authzsubject to LiveData Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy 2007-03-22 20:29:58 UTC (rev 3822) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy 2007-03-22 20:37:57 UTC (rev 3823) @@ -13,11 +13,11 @@ private getDataMan() { LiveDataManagerEJBImpl.one } String[] getCommands(resource) { - dataMan.getCommands(resource.entityId) + dataMan.getCommands(userVal, resource.entityId) } JSONArray getData(resource, command) { - new JSONArray(dataMan.getData(resource.entityId, command)) + new JSONArray(dataMan.getData(userVal, resource.entityId, command)) } } |
|
From: <jt...@hy...> - 2007-03-22 20:30:07
|
Author: jtravis Date: 2007-03-22 12:29:58 -0800 (Thu, 22 Mar 2007) New Revision: 3822 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3822 Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy Log: Cleanup tabs, simplify, provide helpers Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy 2007-03-22 20:29:33 UTC (rev 3821) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/BaseController.groovy 2007-03-22 20:29:58 UTC (rev 3822) @@ -9,11 +9,14 @@ import org.hyperic.hq.ui.util.ContextUtils import org.hyperic.hq.ui.util.RequestUtils +import org.hyperic.hq.ui.rendit.helpers.LiveDataHelper +import org.hyperic.hq.ui.rendit.helpers.ResourceHelper + import groovy.text.SimpleTemplateEngine import java.io.File -public abstract class BaseController - extends Expando +abstract class BaseController + extends Expando { Log log = LogFactory.getLog(this.getClass()) String action @@ -32,7 +35,10 @@ def setPluginDir(File pluginDir) { this.pluginDir = pluginDir } - + + def getResourceHelper() { return new ResourceHelper(getUser()) } + def getLiveDataHelper() { return new LiveDataHelper(getUser()) } + /** * Retreives the currently logged-in user */ @@ -40,10 +46,10 @@ if (this.user != null) return this.user - def sessId = RequestUtils.getSessionId(invokeArgs.request) - def ctx = invokeArgs.request.session.servletContext + def sessId = RequestUtils.getSessionId(invokeArgs.request) + def ctx = invokeArgs.request.session.servletContext - this.user = ContextUtils.getAuthzBoss(ctx).getCurrentSubject(sessId) + this.user = ContextUtils.getAuthzBoss(ctx).getCurrentSubject(sessId) } /** @@ -54,25 +60,33 @@ * current action will be used * args: A map of key/value pairs to send to the .gsp to use when * rendering + * + * Examples: + * To render the file 'listView.gsp' to the browser + * > render file:'listView' + * + * To render the current action to the browser and pass in parameters + * needed by the .gsp + * > render args:[userName:'Jeff', favouriteDrink:'Vodka'] + * */ - protected def render(args) { + protected void render(args) { args = (args == null) ? [:] : args - def gspArgs = args.remove("args") - def gspFile = args.remove("file") - def useAction - - if (gspFile == null) - useAction = action - else - useAction = gspFile + def gspArgs = args.remove("args") + def gspFile = args.remove("file") + def useAction + + if (gspFile == null) + useAction = action + else + useAction = gspFile - def targFile = new File(pluginDir, useAction + ".gsp") - targFile.withReader { reader -> - def eng = new SimpleTemplateEngine(false) - def template = eng.createTemplate(reader) - def outStream = invokeArgs.response.outputStream - def outWriter = new OutputStreamWriter(outStream) - template.make(gspArgs).writeTo(outWriter) - } - } + new File(pluginDir, useAction + '.gsp').withReader { reader -> + def eng = new SimpleTemplateEngine(false) + def template = eng.createTemplate(reader) + def outStream = invokeArgs.response.outputStream + def outWriter = new OutputStreamWriter(outStream) + template.make(gspArgs).writeTo(outWriter) + } + } } Modified: trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy =================================================================== --- trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy 2007-03-22 20:29:33 UTC (rev 3821) +++ trunk/src/org/hyperic/hq/ui/rendit/rendit_sys/org/hyperic/hq/ui/rendit/dispatcher.groovy 2007-03-22 20:29:58 UTC (rev 3822) @@ -8,7 +8,7 @@ * RenditServer. It has the responsibility of locating the controllers, * setting up the environment, and invoking the request. */ -public class Dispatcher { +class Dispatcher { private Log log = LogFactory.getLog(Dispatcher.class); private File pluginDir @@ -37,7 +37,6 @@ } def invoke() { - log.info "Controller name is $controllerName" def controller = Class.forName(controllerName, true, this.class.classLoader).newInstance() @@ -50,7 +49,10 @@ throw new IllegalArgumentException("Unknown action [$action]") } + def start = System.currentTimeMillis() runner(invokeArgs.request.parameterMap) + log.info """Executed $controllerName:$action in + ${System.currentTimeMillis() - start} ms""" } } |