Hi,
While using "twiddle" to get server information thru common line, I am getting
the following ClassCastException:
-------------
bash-2.03$ /app/jboss/jboss-3.2.6/bin/./twiddle.sh serverinfo -c
19:17:00,371 ERROR [Twiddle] Exec failed
org.jboss.util.NestedRuntimeException: - nested throwable:
(java.lang.ClassCastException)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:132)
at
org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCo
mmand.java:47)
at
org.jboss.console.twiddle.command.ServerInfoCommand.execute(ServerInfoCommand.jav
a:118)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:288)
Caused by: java.lang.ClassCastException
at
org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:249)
at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:257)
at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:51)
at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:128)
... 3 more
--------------
I saw the twiddle source code, there is some message in
createMBeanServerConnection() method when this exception is thrown, but
surprisingly that message details are not coming in the log (See above log).
This is working on Windows, but is giving problems in Unix. Please help.
JBoss version - 3.2.6
OS - Solaris
Regards,
Jitesh
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870109#3870109
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870109
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user