[jboss-as7-dev] Wow! CLI GUI

Kabir Khan kabir.khan at jboss.com
Tue Jan 10 08:06:28 EST 2012


This has been merged. However, I've not been able to play with it. I added https://github.com/jbossas/jboss-as/commit/999beb90268d94e4e6547986b7277f166b1c2f69 to get around this problem

[~/sourcecontrol/jboss-clean-as7/git/jboss-as]
$./build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin/jboss-admin.sh --connect --gui
java.lang.Error: Cannot load com.apple.laf.AquaLookAndFeel
	at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334)
	at javax.swing.UIManager.initialize(UIManager.java:1422)
	at javax.swing.UIManager.maybeInitialize(UIManager.java:1410)
	at javax.swing.UIManager.getUI(UIManager.java:992)
	at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:332)
	at javax.swing.text.JTextComponent.<init>(JTextComponent.java:306)
	at javax.swing.JTextField.<init>(JTextField.java:212)
	at javax.swing.JTextField.<init>(JTextField.java:153)
	at org.jboss.as.cli.gui.GuiMain.<clinit>(GuiMain.java:48)
	at org.jboss.as.cli.impl.CliLauncher.processGui(CliLauncher.java:210)
	at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:176)
	at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
	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.jboss.modules.Module.run(Module.java:248)
	at org.jboss.modules.Main.main(Main.java:313)
Caused by: java.lang.ClassNotFoundException: com.apple.laf.AquaLookAndFeel from [Module "org.jboss.as.cli:main" from local module loader @72e6f7d2 (roots: /Users/kabirkhan/sourcecontrol/jboss-clean-as7/git/jboss-as/build/target/jboss-as-7.1.0.Final-SNAPSHOT/modules)]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:247)
	at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1856)
	at javax.swing.UIManager.setLookAndFeel(UIManager.java:563)
	at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1329)
	... 17 more

The next thing is that right-clicking does not seem to work on OS X so I don't see the menu

On 10 Jan 2012, at 12:20, ssilvert at redhat.com wrote:

> On 1/10/2012 4:47 AM, Darran Lofthouse wrote:
>> Do we want to verify the various security features already in the CLI 
>> are supported before it is pulled or follow up once it is in?
>> 
>> Regards,
>> Darran Lofthouse.
> The GUI is built on top of the CLI.  So it's running the same
> authentication/authorization.  The only difference is that it brings up
> a GUI instead of a command line.
> 
> BTW, I have to give props to Alexey on this.  His CLI code is extremely
> well organized and easy to extend.
>> 
>> 
>> On 01/09/2012 09:42 PM, Jason T. Greene wrote:
>>> You have to merge his pull to get it
>>> 
>>> On 1/9/12 3:41 PM, Kabir Khan wrote:
>>>> Does it need to be enabled somehow?
>>>> 
>>>> [~/sourcecontrol/jboss-as7/git/jboss-as]
>>>> $./build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin/jboss-admin.sh --gui --connect
>>>> '--gui' is not a valid operation name.
>>>> 
>>>> [~/sourcecontrol/jboss-as7/git/jboss-as]
>>>> $./build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin/jboss-admin.sh --connect --gui
>>>> '--gui' is not a valid operation name.
>>>> 
>>>> On 9 Jan 2012, at 19:33, Jason T. Greene wrote:
>>>> 
>>>>> Just saw Stan did this:
>>>>> http://community.jboss.org/docs/DOC-17457
>>>>> 
>>>>> I haven't played with it yet, but it looks awesome!
>>>>> 
>>>>> IMO this is exactly what we need for an "advanced" mode in the console
>>>>> (post 7.1 obviously)
>>>>> 
>>>>> --
>>>>> Jason T. Greene
>>>>> JBoss AS Lead / EAP Platform Architect
>>>>> JBoss, a division of Red Hat
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> jboss-as7-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>> 
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list