Bug 716230

Summary: JON CLI error - EDU.oswego.cs.dl.util.concurrent.SynchronizedLong
Product: [Other] RHQ Project Reporter: Ondřej Žižka <ozizka>
Component: CLIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0.0CC: hrupp, igilany, mazz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-25 17:56:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ondřej Žižka 2011-06-23 17:33:59 UTC
Encountered when trying ScriptRunner from RHQ testsuite.
Test case and more info soon.


EDU/oswego/cs/dl/util/concurrent/SynchronizedLong org.jboss.util.id.UID.<clinit>(UID.java:56) 

at org.jboss.util.id.VMID.create(VMID.java:259) 
at org.jboss.util.id.VMID.getInstance(VMID.java:223) 
at org.jboss.util.id.GUID.<init>(GUID.java:65) 
at org.jboss.remoting.Client.<init>(Client.java:268) 
at org.jboss.remoting.Client.<init>(Client.java:243) 
at org.rhq.enterprise.client.RemoteClient.doConnect(RemoteClient.java:480) 
at org.rhq.enterprise.client.RemoteClient.login(RemoteClient.java:185) 
at org.rhq.enterprise.client.commands.LoginCommand.execute(LoginCommand.java:105) 
at org.rhq.enterprise.client.commands.LoginCommand.execute(LoginCommand.java:72) 
at org.rhq.enterprise.client.ClientMain.processArguments(ClientMain.java:495) 
at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:106) 
at org.rhq.enterprise.remoting.cli.ScriptTest.testScript(ScriptTest.java:60) 
24 lines not shown 

Caused by EDU.oswego.cs.dl.util.concurrent.SynchronizedLong

java.net.URLClassLoader$1.run(URLClassLoader.java:217) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) 
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) 
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334) 
at org.jboss.util.id.UID.<clinit>(UID.java:56) 
at org.jboss.util.id.VMID.create(VMID.java:259) 
at org.jboss.util.id.VMID.getInstance(VMID.java:223) 
at org.jboss.util.id.GUID.<init>(GUID.java:65) 
at org.jboss.remoting.Client.<init>(Client.java:268) 
at org.jboss.remoting.Client.<init>(Client.java:243) 
at org.rhq.enterprise.client.RemoteClient.doConnect(RemoteClient.java:480) 
at org.rhq.enterprise.client.RemoteClient.login(RemoteClient.java:185) 
at org.rhq.enterprise.client.commands.LoginCommand.execute(LoginCommand.java:105) 
at org.rhq.enterprise.client.commands.LoginCommand.execute(LoginCommand.java:72) 
at org.rhq.enterprise.client.ClientMain.processArguments(ClientMain.java:495) 
at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:106) 
at org.rhq.enterprise.remoting.cli.ScriptTest.testScript(ScriptTest.java:60) 
24 lines not shown

Comment 1 John Mazzitelli 2011-06-23 17:45:51 UTC
https://issues.jboss.org/browse/JBREM-549

looks like concurrent.jar is missing from the CLI classpath??? Can you look in your CLI lib directory where the jars are and see if concurrent.jar is in there?

Comment 2 Ondřej Žižka 2011-06-23 18:03:59 UTC
Related: http://johnsanda.blogspot.com/2010/08/building-rhq-client.html

Comment 3 Charles Crouch 2011-07-25 17:56:43 UTC
I'm not seeing the bug here? If you are trying to build your own CLI, versus the one that you can download from the RHQ server, then you can follow the instructions on jsanda's blog?
If I missed something please re-open.

Comment 4 Ondřej Žižka 2011-07-26 13:28:07 UTC
Hmm, I don't remember how I achieved this, sorry (context switch).
Currently I am able to run it.
It might be the missing concurrent.jar.
Thx