Bug 716230 - JON CLI error - EDU.oswego.cs.dl.util.concurrent.SynchronizedLong
Summary: JON CLI error - EDU.oswego.cs.dl.util.concurrent.SynchronizedLong
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
medium
high vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-23 17:33 UTC by Ondřej Žižka
Modified: 2011-10-04 19:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-25 17:56:43 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.