Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all 52618 articles
Browse latest View live

Sigar fails to start under Solaris

$
0
0
It fails to start under Solaris 10 SPARC & x86, 32 or 64 bit. Any idea why?

Thanks.

java  -jar sigar.jar
/opt/DAXwatchmen/lib/sigar/libsigar-sparc-solaris.so: ld.so.1: java: fatal: /opt/DAXwatchmen/lib/sigar/libsigar-sparc-solaris.so: unknown file type (Possible cause: endianness mismatch)
org.hyperic.sigar.SigarException: /opt/DAXwatchmen/lib/sigar/libsigar-sparc-solaris.so: ld.so.1: java: fatal: /opt/DAXwatchmen/lib/sigar/libsigar-sparc-solaris.so: unknown file type (Possible cause: endianness mismatch)
        at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:174)
        at org.hyperic.sigar.Sigar.<clinit>(Sigar.java:102)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.hyperic.sigar.SigarLoader.class$(SigarLoader.java:79)
        at org.hyperic.sigar.SigarLoader.getLocation(SigarLoader.java:79)
        at org.hyperic.sigar.cmd.Runner.main(Runner.java:161)
java.lang.UnsatisfiedLinkError: org.hyperic.sigar.util.Getline.isatty()Z
        at org.hyperic.sigar.util.Getline.isatty(Native Method)
        at org.hyperic.sigar.util.Getline.<clinit>(Getline.java:36)
        at org.hyperic.sigar.shell.ShellBase.init(ShellBase.java:93)
        at org.hyperic.sigar.cmd.Shell.main(Shell.java:212)
        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:597)
        at org.hyperic.sigar.cmd.Runner.main(Runner.java:214)

Agent problem

$
0
0
I have some problem when I try to start my HQ agent. I'm a beginner with hyperic hq and Im using it with Spring's tc server. I have the tc server, hq server and hq agent on the same machine. The installation of the hq-server goes just fine but when I'm trying to start the hq-agent I'm getting the error message below. Anyone can give me a hint what the problem might be? Any suggestions or input would be appreciated because I'm not sure what to do.

Starting HQ Agent...
[ Running agent setup ]
Should Agent communications to HQ be unidirectional [default=no]:
What is the HQ server IP address: localhost
Should Agent communications to HQ always be secure [default=no]:
What is the HQ server port     [default=7080]:
- Testing insecure connection ... Success
What is your HQ login [default=hqadmin]:
What is your HQ password:
What IP should HQ use to contact the agent [default=x.x.x.x]:
What port should HQ use to contact the agent [default=2144]:
- Received temporary auth token from agent
- Registering agent with HQ
org.hyperic.hq.bizapp.client.AgentCallbackClientException: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
        at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:201)
        at org.hyperic.hq.bizapp.client.BizappCallbackClient.registerAgent(BizappCallbackClient.java:135)
        at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetup(AgentClient.java:808)
        at org.hyperic.hq.bizapp.agent.client.AgentClient.cmdSetupIfNoProvider(AgentClient.java:517)
        at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1257)
Caused by: org.hyperic.lather.LatherRemoteException: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException
        at org.hyperic.lather.client.LatherHTTPClient.invoke(LatherHTTPClient.java:124)
        at org.hyperic.hq.bizapp.client.AgentCallbackClient.invokeLatherCall(AgentCallbackClient.java:157)
        ... 4 more
- Error registering agent: Remote error while invoking 'registerAgent: org.hyperic.lather.LatherRemoteException: Runtime exception: RuntimeException

Send Alert as SMS

$
0
0
Hi,

We are looking to configure the Hyperic HQ to send alerts via SMS when a escalation occurs.

1. Where do we configure the SMS gateway for the same?
2. Are there any free SMS gateways that can be used and if yes how should they be configured?
3. Can a email  be send as a SMS?

Thanks and Regards,
Arun E V

Hyperic : Auto hot deployment issue

$
0
0
Hi All,

We are facing some problem of auto hot deployment in hyperic.
some of the *.xml files are automatically get hot deploy on temp deploy folder.

I can see the files with changed time stamp in hq-server/server/default/tmp/deploy folder.
due to which hyperic stops monitoring and not allow to login to Hyperic UI.

we are using : Hyperic 4.3 version
Environment: Linux

Let me know if any one has any idea, suggestions and have this problem observed.

Thanks in advance

Sunny Ratra

Synthetic transaction monitoring

$
0
0
Hi,

I'm testing the free version of hyperic and wanted to know if there's a plugin or anything that allows you to carry out a synthetic web transaction, and measure the time take to execute I.e?

1. goto a website
2. login to the site
3. place an order
4. logout

I've seen the HTTP test but this is a basic response test and not what I'm looking for. Any help would be appreciated.

EXCEPTION_ACCESS_VIOLATION

$
0
0

Hi

 

I've been using Sigar in my Java app for months without any issue and for some reason within the last 2 weeks JVM has started crashing intermittently.

 

Here's the error that I get:

 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000004e5d4ed4, pid=6896, t
id=12984
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.5-b03 mixed mode windows-amd64
compressed oops)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# An error report file with more information is saved as:
# C:\bot\hs_err_pid6896.log
#
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

 

 

The operating system is Windows Server 2008 R2, I've updated Java and the operating system, but I still get the random crashes. I haven't made any major changes to the application within the last few weeks.

 

Does anyone have any idea what might be causing the crash?

 

Thanks

getProcState may return wrong value on consecutive calls

$
0
0

Hi,

 

In my application code I found that consecutive calls to getProcState may return wrong value.

 

My box is a Linux amd64, and this test case fails with both 1.6.4 and 1.6.5:

 

package test;

import org.hyperic.sigar.ProcState;
import org.hyperic.sigar.Sigar;
import org.hyperic.sigar.SigarException;

public class ProcStateTest {

     private Process process;     private Sigar sigar;     private long processPid;     public static void main(String[] args) throws Exception {          ProcStateTest test = new ProcStateTest();          try {               test.setup();               test.testIsRunning();          } finally {               test.tearDown();          }     }     public void setup() throws Exception {          process = Runtime.getRuntime().exec("watch echo hellosigar");          if (!isAlive(process)) {               throw new RuntimeException("process is not alive");          }          sigar = new Sigar();          processPid = processPid();          if (processPid == -1) {               throw new RuntimeException("process not found");          }     }     public void tearDown() {          if (process != null) {               process.destroy();          }     }     public void testIsRunning() throws Exception {          if (!isRunning(getProcState())) {               throw new RuntimeException("Expected process to be running");          }          process.destroy();          do {               Thread.sleep(5000);          } while (isAlive(process));          for (int i = 0; i < 10; i++) {               if (isRunning(getProcState())) {                    throw new RuntimeException(                              "Expected process to be down at step[" + i + "]");               }          }     }     private long processPid() throws SigarException {          long[] pids = sigar.getProcList();          long processPid = -1;          for (long pid : pids) {               String[] procArgs = sigar.getProcArgs(pid);               for (String procArg : procArgs) {                    if (procArg != null && procArg.contains("hellosigar")) {                         processPid = pid;                         break;                    }               }               if (processPid != -1) {                    break;               }          }          return processPid;     }     private boolean isAlive(Process process) {          if (process == null) {               return false;          }          try {               process.exitValue();               return false;          } catch (IllegalThreadStateException e) {               return true;          }     }     private ProcState getProcState() {          ProcState procState = null;          try {               procState = sigar.getProcState(processPid);          } catch (SigarException ignore) {          }          return procState;     }     private boolean isRunning(ProcState procState) {          boolean running = false;          if (procState != null) {               running = (procState.getState() == ProcState.RUN                         || procState.getState() == ProcState.SLEEP || procState                         .getState() == ProcState.IDLE);          }          return running;     }

}

 

The only way to get it work is to have at least a 2 seconds interval between calls to getProcState.

 

Did I miss something or is this really a bug?

 

Thanks and regards,

Thomas

Hyperic HQ Installer 5.0.0 fails to configure initial database

$
0
0

When using hyperic-hq-installer-x86-linux-5.0.0.tar.gz there is an error which prevents the server from starting.

 

The db-upgrade.xml script reports an error when its run during initial server configuration.

 

ERROR:  syntax error at or near "not" at character 17
STATEMENT:  create table if not exists EAM_ENCRYPTION_KEYS (encryption_key varchar(2000) not null, creation_date timestamp primary key default now())

 

This is because the "if not exists" syntax is not supported by the bundled version of Postgresql (Version 8.2)

 

To work around it, I removed the "if not exists" entry from db-upgrade.xml.  I suspect this only works for initial installs.


Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/hq/bizapp/agent/client/AgentClient

$
0
0

We are trying to use this product to monitor SOA 11g on Weblogic Server on Linux 86-64 bit.....  We are getting this error...

 

/oracle/hyperic/agent-4.6.6/bin

[oracle@soa01 bin]$ ls

hq-agent.bat  hq-agent.sh

[oracle@soa01 bin]$ ./hq-agent.sh stop

Stopping HQ Agent...

Stopped HQ Agent.

[oracle@soa01 bin]$ ./hq-agent.sh start

Starting HQ Agent...... running (1996).

Exception in thread "main" java.lang.NoClassDefFoundError: org/hyperic/hq/bizapp/agent/client/AgentClient

Caused by: java.lang.ClassNotFoundException: org.hyperic.hq.bizapp.agent.client.AgentClient

  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Could not find the main class: org.hyperic.hq.bizapp.agent.client.AgentClient.  Program will exit.

 

-- SETTINGS are for JRE are here...which are used for WLS for SOA also.... ( the default JRE home was giving same error we tried our luck with what we sued for WLS - same issue )

 

/oracle/hyperic/agent-4.6.6/bundles/agent-4.6.6/conf/wrapper.conf

# default JAVA_HOME in case it is not already set

set.default.HQ_JAVA_HOME=/oracle/jdk1.7.0_51/jre

 

 

-- SETTINGS for... agent.properties file

 

# required to find server/lib/weblogic.jar

weblogic.installpath=/oracle/middleware/wlserver_10.3/

 

-- SETTINGS for bundles/bin/hq-agent.sh

 

ENT_CLASSPATH="${AGENT_LIB}/cryptoj.jar"

CLIENT_CLASSPATH="${AGENT_LIB}/wlfullclient.jar"

Unidirectional set to true but server seems to try to connect to the agent and fails

$
0
0

I am using Hyperic server 5.7.1.

 

In the agent.properties file, I have set:

agent.setup.unidirectional=yes

 

The platform comes up in the auto-discovery pane on the HQ dashboard. However in the server logs, I see this error message:

 

19-02-2015 02:51:41,226 UTC ERROR [aiSendReport-3588669] [org.hyperic.lather.server.LatherServlet@320] error while invoking LatherDispatcher from ip=107.189.81.12, method=aiSendReport: org.hyperic.hq.common.SystemException: org.hyperic.hq.appdef.shared.AIQApprovalException: Error invoking remote method on agent Timeout occurred waiting on agent response.

org.hyperic.hq.common.SystemException: org.hyperic.hq.appdef.shared.AIQApprovalException: Error invoking remote method on agent Timeout occurred waiting on agent response.

 

Could someone explain why the server is trying to "invoke a method on the agent" under unidirectional mode ?

 

When I click on Add to Inventory on the auto-discovery pane, I get this error message:

Unable to import platform : org.hyperic.hq.appdef.shared.AIQApprovalException: Error invoking remote method on agent Timeout occurred waiting on agent response.

 

As soon as I set unidirectional to no, my server can be added to the inventory without any issues.

 

Thanks in advance for any hints!

how to set HQ_JAVA_HOME variable in RHEL

$
0
0

Hello,

 

I'm getting the below error while restarting HQ-Agent,

 

HQ_JAVA_HOME or JAVA_HOME must be set when invoking the agent

 

Environment  : RHEL

HQ agent version : 5.8.1

 

Anyone help , how to set this env variable ?

Thanks in advance.

Cannot start Hyperic Agent in CentOS

$
0
0

Dear all,

 

I'm installing the Hyperic Agent 5.8.4.2 into a CentOS 6.6 box. When I try to start the agent by  hq-agent.sh start command, it gave me the following error:

 

[root@fbdlvmtool12 bin]# ./hq-agent.sh start

Starting HQ Agent...... running (3462).

Error: /tmp/agent.encrypt.lock is locked. can't continue.

org.hyperic.hq.agent.AgentConfigException: /tmp/agent.encrypt.lock is locked. can't continue.

        at org.hyperic.hq.agent.AgentConfig.ensurePropertiesEncryption(AgentConfig.java:273)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.ensurePropertiesEncryption(AgentClient.java:1437)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.initializeAgent(AgentClient.java:1207)

        at org.hyperic.hq.bizapp.agent.client.AgentClient.main(AgentClient.java:1372)

 

However I cannot see there is any file in the address  /tmp/agent.encrypt.lock

 

Any suggestions how what maybe the cause and how to troubleshoot this error?

 

Thanks

Silvester

Agent permissions problem

$
0
0
I installed a server and agent on the same host, then shut down the agent and restarted the server a number of times (I have another agent running on another host).  I just tried to restart the agent, but get the following in the agent.log:

2006-08-22 10:57:59,975 WARN  [ConfigPopulateThread] Unable to get entities for agent: Unable to invoke 'measurementGetConfigs':  Permission denied
2006-08-22 10:57:59,975 WARN  [ConfigPopulateThread] Sleeping for 10 seconds to fetch entities
2006-08-22 10:58:01,613 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 15 secs before retrying.  Error: Unable to invoke 'aiSendReport':  Permission denied
2006-08-22 10:58:16,633 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 secs before retrying.  Error: Unable to invoke 'aiSendReport':  Permission denied

Needless to say, the server is not discovering any resources from this agent.

I checked all the subdirectories under the hyperic home directory, and all files are owned by hyperic:hyperic.  The agent and server are both running as hyperic.

From all appearances, the agent is listening on port 7443 (the TCP port is open, I tried it).  When I try to add a platform for the agent running on the same host as the server, the drop-down menu for "Agent Connection" only lets me specify port 2144, which is clearly wrong.  I get the following in the server log at that point:

2006-08-22 11:12:36,071 INFO  [org.hyperic.hq.autoinventory.server.session.AIScheduleManagerEJBImpl] Scheduling job for immediate execution: JobDetail 'autoinventory.aiScan-10052-1-config-15905173-1156270356071':  jobClass: 'org.hyperic.hq.autoinventory.server.session.AIScanJob isStateful: false isVolatile: true isDurable: false requestsRecovers: false
2006-08-22 11:12:36,115 INFO  [org.hyperic.hq.autoinventory.agent.client.AICommandsClient] AICommandsClient.startScan for 10.1.0.123:2144
2006-08-22 11:12:36,268 ERROR [org.hyperic.hq.autoinventory.server.session.AIJob] Unable to execute command: Agent error: Unauthorized
2006-08-22 11:12:36,273 ERROR [org.hyperic.hq.autoinventory.server.session.AIScanJob] Agent error: Unauthorized
org.hyperic.hq.autoinventory.AutoinventoryException: Agent error: Unauthorized
     at org.hyperic.hq.autoinventory.server.session.AIJob.doAgentScan(AIJob.java:151)
     at org.hyperic.hq.autoinventory.server.session.AIScanJob.execute(AIScanJob.java:81)
     at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

The server also can't autodiscover the client, apparently.  I get these messages in the server log at regular intervals:

2006-08-22 11:18:20,225 WARN  [org.hyperic.hq.bizapp.server.session.LatherDispatcher] Unauthorized agent from 10.1.0.123 denied

I'm a bit at a loss here.  Any idea what I'm doing wrong?

Thanks.

David

Feature Request - Agent Push

$
0
0
Please add an agent push so that at minimum we can update agents to the latest version automatically - or a button via the interface.  It is such a pain to manually install each agent!

email charset bug

$
0
0
Email sent by HQ that contained non-ASCII chars  may become unreadable, because the all non-ASCII chars become '?'. This is caused by the encoding of the email.  I just fix it by editing  /HQ/src/org/hyperic/hq/bizapp/server/action/email/EmailFilter.java as following:

m.setContent(htmlBody[ i ], "text/html");
changed to
m.setContent(htmlBody[ i ], "text/html; charset=UTF-8");

m.setContent(body[ i ], "text/plain");
changed to
m.setContent(body[ i ], "text/plain; charset=UTF-8");

Message was edited by: cnmmbd

Message was edited by: cnmmbd

Get CPU time for process?

$
0
0
I am trying to write some benchmarks of a command line application using Java.  I want to run a number of commands using something like ProcessBuilder or Runtime.exec().  After the command completes, I would like to get the CPU time used by the command, as opposed to just the clock time.  If I were doing this only on Linux, I would just use the time command to run the command and then parse the results.  However, I would like to write something that I could also run on Windows.

Can this be done using SIGAR?  Can someone give some sample code?  I know you can get the PID from ProcessBuilder, so I am thinking that I use that to run the command and then use some SIGAR API to find out how much CPU time the process that was created used.  The process will have ended, so I am wondering if this is still possible to do?

Also wondering if SIGAR has its own classes for running a command that maybe incorporate some of this.

Thanks

Mark

hqapi problem

$
0
0

Hello all!

 

how to fix this error?


C:\HQ_Webserver\server-4.5\hqapi1-client-4.0.0\bin>hqapi.bat agent list
Error running command: Host name may not be null
java.lang.IllegalArgumentException: Host name may not be null
        at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:68)
        at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107)
        at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.ja
va:280)
        at org.hyperic.hq.hqapi1.HQConnection.runMethod(HQConnection.java:223)
        at org.hyperic.hq.hqapi1.HQConnection.doGet(HQConnection.java:101)
        at org.hyperic.hq.hqapi1.BaseApi.doGet(BaseApi.java:55)
        at org.hyperic.hq.hqapi1.AgentApi.getAgents(AgentApi.java:111)
        at org.hyperic.hq.hqapi1.tools.AgentCommand.list(AgentCommand.java:101)
        at org.hyperic.hq.hqapi1.tools.AgentCommand.handleCommand(AgentCommand.j
ava:79)
        at org.hyperic.hq.hqapi1.tools.Shell.dispatchCommand(Shell.java:202)
        at org.hyperic.hq.hqapi1.tools.Shell.main(Shell.java:217)

HQ Server not starting

$
0
0

I was able to successfully install HQ server without any errors. However when i try to start the server i get the following:-

 

hyperic@honeycomb:/opt/software/hyperic/server/server-4.6.6$ bin/hq-server.sh start

Java version was not found.

 

Running a Java check from command line gives the following:-

 

hyperic@honeycomb:/opt/software/hyperic/server/server-4.6.6$ java -version

java version "1.7.0_55"

OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)

OpenJDK Server VM (build 24.51-b03, mixed mode)

hyperic@honeycomb:/opt/software/hyperic/server/server-4.6.6$

 

Any ideas/suggestions would be much appreciated.

Error :::::Starting HQ Agent... (LONG PAUSE) Error contacting agent: Error sending argument: Unable to connect to 127.0.0.1:2144: Connection refused, retried 5 times, cmd=agent:ping

$
0
0

HI,

 

This is the error I am getting while starting Hyperic:

 

$ ./bin/hq-agent.sh start

Starting HQ Agent...
(LONG PAUSE)
Error contacting agent: Error sending argument: Unable to connect to 127.0.0.1:2144: Connection refused, retried 5 times, cmd=agent:ping




Any recommendations would be appreciated


thanks

amd64 lib appears to be missing in distributable and unable to compile

$
0
0
I'm trying to access this library from my C/C++ codebase and have been unsuccessful so far.

Environment:
Visual Studio 2008 Professional
Windows 7 x64

1. I see `unresolved external symbols` while compiling with my project [1]. I will take a guess at the issue - the following files are included in the package:

sigar-amd64-winnt.dll
sigar-x86-winnt.dll
sigar-x86-winnt.lib

Shouldn't there be a `sigar-amd64-winnt.lib`?


2. I tried to build from the source. I am stuck with the errors listed in [2]. I see the declarations and use of those 2 functions in the codebase, but I do not see their implementations!


3. I tried building the project with Ant. I have no experience with Java or Ant, so please forgive me if I'm doing something very stupid here. I see the error in [3].

[1]
Creating library C:\Users\RjOllos\Workspace\T834-RO\tmp\runAcq.lib and object C:\Users\RjOllos\Workspace\T834-RO\tmp\runAcq.exp
6>SystemInfo.obj : error LNK2019: unresolved external symbol sigar_close referenced in function "public: __cdecl SystemInfo::~SystemInfo(void)" (??1SystemInfo@@QEAA@XZ)
6>SystemInfo.obj : error LNK2019: unresolved external symbol sigar_cpu_info_list_get referenced in function "public: __cdecl SystemInfo::SystemInfo(void)" (??0SystemInfo@@QEAA@XZ)
6>SystemInfo.obj : error LNK2019: unresolved external symbol sigar_open referenced in function "public: __cdecl SystemInfo::SystemInfo(void)" (??0SystemInfo@@QEAA@XZ)
6>C:\Users\RjOllos\Workspace\T834-RO\tmp\runAcq.mexw64 : fatal error LNK1120: 3 unresolved externals
6>Build Time 0:00
6>Build log was saved at "file://C:\Users\RjOllos\Workspace\T834-RO\tmp\Acquisition Server\x64\Release\BuildLog.htm"
6>Acquisition Server - 4 error(s), 0 warning(s)\


[2]
Creating library C:\Users\RjOllos\Workspace\T834-RO\tmp\sigar-amd64-winnt.lib and object C:\Users\RjOllos\Workspace\T834-RO\tmp\sigar-amd64-winnt.exp
3>win32_sigar.obj : error LNK2019: unresolved external symbol sigar_proc_args_wmi_get referenced in function sigar_remote_proc_args_get
3>win32_sigar.obj : error LNK2019: unresolved external symbol sigar_proc_exe_wmi_get referenced in function sigar_proc_exe_get
3>C:\Users\RjOllos\Workspace\T834-RO\tmp\sigar-amd64-winnt.dll : fatal error LNK1120: 2 unresolved externals

[3]
C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java>ant
Buildfile: C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build.xml

jni-init:
    [mkdir] Created dir: C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build\clas
ses
     [echo] jni.src=win32, jni.jdk.os=win32, 64-bit
    [javac] C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\hyperic_jni\jni-build.x
ml:165: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to fals
e for repeatable builds
    [javac] Compiling 6 source files to C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\
java\build\classes
    [javac] Note: C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\hyperic_jni\src\o
rg\hyperic\jni\ArchLoader.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
  [libarch] amd64-winnt
     [echo] java.home=C:\Program Files\Java\jdk1.6.0_24

sigar-version:
     [echo] SIGAR git revision exported

version-file:
     [echo] cp ./src/org/hyperic/sigar/SigarVersion.java.in -> C:\Users\RjOllos\Downloads\hyperic-si
gar-1.6.4-src\bindings\java\build/./src/org/hyperic/sigar/SigarVersion.java
     [copy] Copying 1 file to C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build
\src\org\hyperic\sigar

version-file:
     [echo] cp ../../src/sigar_version.c.in -> C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bi
ndings\java\build/src/sigar_version.c
     [copy] Copying 1 file to C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build
\src

version-file:
     [echo] cp ../../src/os/darwin/Info.plist.in -> C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-s
rc\bindings\java\build/src/Info.plist
     [copy] Copying 1 file to C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build
\src

version-file:
     [echo] cp ../../src/os/win32/sigar.rc.in -> C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\
bindings\java\build/src/sigar.rc
     [copy] Copying 1 file to C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build
\src

sigar.rc:

BUILD FAILED
C:\Users\RjOllos\Downloads\hyperic-sigar-1.6.4-src\bindings\java\build.xml:179: Execute failed: java
.io.IOException: Cannot run program "rc" (in directory "C:\Users\RjOllos\Downloads\hyperic-sigar-1.6
.4-src\bindings\java\build\src"): CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
        at java.lang.Runtime.exec(Runtime.java:593)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
        at org.apache.tools.ant.Main.runBuild(Main.java:809)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
        at java.lang.ProcessImpl.start(ProcessImpl.java:30)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
        ... 23 more

Total time: 2 seconds
Viewing all 52618 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>