[Management, JMX/JBoss] - problems with twiddle.sh under linux (syntax)
by BiLL_TuEr
hi,
when i type this in my konsole:
/opt/server/jboss-4.0.5.GA/bin # ./twiddle.sh -s xxx.xxx.xxx.xxx get jboss.system:type=ServerInfo
i get the following:
/opt/server/jboss-4.0.5.GA/bin # ./twiddle.sh -s xxx.xxx.xxx.xxx get "jboss.system:type=ServerInfo"
A JMX client to 'twiddle' with a remote JBoss server.
usage: twiddle.sh [options] [command_arguments]
options:
-h, --help Show this help message
--help-commands Show a list of commands
-H= Show command specific help
-c=command.properties Specify the command.properties file to use
-D[=] Set a system property
-- Stop processing options
-s, --server= The JNDI URL of the remote server
-a, --adapter= The JNDI name of the RMI adapter to use
-u, --user= Specify the username for authentication
-p, --password= Specify the password for authentication
-q, --quiet Be somewhat more quiet
any idea why?
BiLL
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201340#4201340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201340
17 years, 6 months
[Installation, Configuration & DEPLOYMENT] - Re: Find class from amother EAR
by adrian@jboss.org
If you can't show the configuration files then we can determine the configuration
if you show the relevent log snippets, e.g.
The following shows the config from the console-mgr.sar deployment
| $ grep -ri "Created BaseClassLoader" server.log | grep console-mgr.sar
| 2009-01-12 13:11:48,358 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (main) Created BaseClassLoader@11ad78c{vfsfile:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/} with policy VFSClassLoaderPolicy@13d4497{name=vfsfile:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/ domain=null roots=[MemoryContextHandler@23214077[path= context=vfsmemory://ax406o-wxl0vu-fpv3gism-1-fpv3h3ts-s real=vfsmemory://ax406o-wxl0vu-fpv3gism-1-fpv3h3ts-s], FileHandler(a)21625374[path=management/console-mgr.sar context=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/ real=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/], DelegatingHandler(a)29624277[path=management/console-mgr.sar/console-mgr-classes.jar context=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/ real=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/console-mgr-classes.jar], DelegatingHandler(a)14562017[path=management/console-mgr.sar/jcommon.jar context=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/ real=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/jcommon.jar], DelegatingHandler(a)31354872[path=management/console-mgr.sar/jfreechart.jar context=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/ real=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/jfreechart.jar]] delegates=null exported=[org.jfree.data.time, org.jboss.console.manager.interfaces, META-INF.maven.jfree.jcommon, org.jfree.chart.plot, org.jfree.chart.needle, org.jfree.data.xy, org.jfree.text, org.jfree.data.contour, org.jfree.chart.annotations, org.jfree.ui.about.resources, org.jfree.chart.urls, org.jfree.chart.demo, org.jfree.ui.about, org.jboss.console.navtree, META-INF, org.jboss.console.plugins.helpers.jmx, META-INF.maven.jfree.jfreechart, org.jfree.ui.action, org.jfree.chart.entity, org.jfree.chart.editor, org.jfree, org.jfree.layout, org.jfree.ui.tabbedui, org.jfree.base, org.jfree.ui, org.jfree.chart.axis, org.jfree.chart.resources, org.jfree.util, org.jboss.console.plugins.monitor, org.jboss.console.remote, com.keypoint, org.jboss.console.plugins.helpers.servlet, org.jfree.chart, org.jfree.data.io, org.jfree.chart.renderer, org.jfree.chart.renderer.xy, org.jfree.chart.servlet, org.jfree.data.resources, org.jfree.threads, org.jfree.chart.event, org.jfree.data.jdbc, org.jfree.data.function, org.jfree.date, org.jfree.chart.labels, org.jfree.data.category, org.jfree.base.config, org.jfree.resources, org.jfree.chart.renderer.category, org.jfree.io, org.jboss.console.plugins, org.jboss.console.plugins.helpers, org.jboss.console.util, org.jfree.data.xml, org.jfree.data.general, org.jfree.data.statistics, org.jboss.console.manager.interfaces.impl, org.jfree.base.log, org.jfree.chart.block, org.jfree.chart.imagemap, org.jfree.base.modules, org.jfree.data.gantt, org.jfree.chart.title, org.jboss.console.manager, org.jfree.chart.encoders, org.jfree.data] <IMPORT-ALL>NON_EMPTY}
| 2009-01-12 13:11:48,385 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (main) Created BaseClassLoader@ebd7c4{vfsfile:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/web-console.war/} with policy VFSClassLoaderPolicy@1a295be{name=vfsfile:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/web-console.war/ domain=null roots=[FileHandler(a)18160626[path=management/console-mgr.sar/web-console.war/WEB-INF/classes context=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/ real=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/classes/], FileHandler(a)14529690[path=management/console-mgr.sar/web-console.war/WEB-INF context=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/ real=file:/home/ejort/jboss-head/build/output/jboss-6.0.0.Alpha1/server/all/deploy/management/console-mgr.sar/web-console.war/WEB-INF/]] delegates=null exported=[tlds, ] <IMPORT-ALL>NON_EMPTY}
|
Failing that enable TRACE logging for org.jboss.classloader in conf/jboss-log4j.xml
which will show exacly what it is doing when it is trying to load the class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201327#4201327
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201327
17 years, 6 months