pcampbel
Contributor
Contributor

autoinventory scan

Jump to solution
I am trying to run a hq-shell autoinventory
I run hq-shell, login to localhost, and run
"autoinventory start -platform name_of_client" take all the defaults and it returns

Select server types to scan for (enter zero to scan for all types):
1: HQ Agent
> 1
Press Enter to begin the scan.
java.rmi.MarshalException: error marshalling arguments; nested exception is:
java.io.NotSerializableException: org.hyperic.hq.autoinventory.ScanConfigurationCore
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:119)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
at org.hyperic.txsnatch.ProxySnatch.invoke(ProxySnatch.java:39)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy5.startScan(Unknown Source)
at org.hyperic.hq.bizapp.client.shell.ClientShell_autoinventory_remote.startRemoteScan(ClientShell_autoinventory_remote.java:97)
at org.hyperic.hq.bizapp.client.shell.ClientShell_autoinventory_remote.processCommand(ClientShell_autoinventory_remote.java:71)
at org.hyperic.hq.bizapp.client.shell.ClientShell_autoinventory_command.processCommand(ClientShell_autoinventory_command.java:80)
at org.hyperic.util.shell.MultiwordShellCommand.processCommand(MultiwordShellCommand.java:83)
at org.hyperic.hq.bizapp.client.shell.ClientShell.processCommand(ClientShell.java:169)
at org.hyperic.util.shell.ShellBase.handleCommand(ShellBase.java:326)
at org.hyperic.util.shell.ShellBase.handleCommand(ShellBase.java:280)
at org.hyperic.util.shell.ShellBase.run(ShellBase.java:260)
at org.hyperic.hq.bizapp.client.shell.ClientShell.main(ClientShell.java:370)
Caused by: java.io.NotSerializableException: org.hyperic.hq.autoinventory.ScanConfigurationCore
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeArray(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.java:57)
at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:479)
at java.io.ObjectOutputStream.writeExternalData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)
... 20 more
org.hyperic.util.shell.ShellCommandExecException: Couldn't start scan.

Anyone know what causes this and how to fix it?

TIA
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
A similar bug had been logged:
http://jira.hyperic.com/browse/HHQ-506

Thank you very much

-Nipuna

View solution in original post

0 Kudos
2 Replies
excowboy
Virtuoso
Virtuoso
Hi pcampbel,

same here.
I tried it on two platforms so I guess it's a bug.
admin
Immortal
Immortal
A similar bug had been logged:
http://jira.hyperic.com/browse/HHQ-506

Thank you very much

-Nipuna
0 Kudos