-
1. Re: How to list services deployed in JBoss/Axis
magesh Aug 14, 2002 2:11 PM (in response to magesh)Well, I got this to work by setting the following in run script
-Daxis.enableListQuery=true
After setting this, I was able to see the list
http://localhost:8080/axis/services/AxisServlet?list
Magesh. -
2. Re: How to list services deployed in JBoss/Axis
cake Aug 14, 2002 7:42 PM (in response to magesh)Is this been documented anywhere? I can't find it in the JBoss documentation and Axis documentation. May be I missed something, but can you point that out for me? Thanks.
-
3. Re: How to list services deployed in JBoss/Axis
magesh Aug 15, 2002 10:03 AM (in response to magesh)Well, I found it the hard way. I decompiled the code to find out what is going on.. That's where I found out that the AxisServlet looks for a system property axis.enableListQuery when one tries to perform the list functionality.
-
4. Re: How to list services deployed in JBoss/Axis
essington Aug 15, 2002 11:57 AM (in response to magesh)Actually yes, this is in the readme.html file in the jboss.net/docs directory:
When you start JBoss with the -Daxis.enableListQuery=true option (which you usually do not in a security-aware productive environment), a http://localhost:8080/axis/services?list request should return an xml document describing the current configuration of the AxisEngine including the deployed services.
of course it is rather hidden if you quickly browsed the file you probably missed it. I was looking for it and had to read it twice :-/
-jason -
5. Re: How to list services deployed in JBoss/Axis
magesh Aug 15, 2002 5:01 PM (in response to magesh)Yep.. you are right.. I just saw it in the jboss.netnet/docs directory.. It is not present as part of the bundled package (both Jetty/Tomcat). So, for novices like me it is kinda hard to figure out why the list functionality is disabled. It would have been better if it is included as part of the normal documentation.
-
6. Re: How to list services deployed in JBoss/Axis
scharlau Aug 21, 2002 12:01 PM (in response to magesh)Magesh,
thanks for reminding me about this! I'd forgotten about the feature. I implemented by adding the line here in run.bat:
rem Setup JBoss sepecific properties
set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
set JAVA_OPTS=-Daxis.enableListQuery=true %JAVA_OPTS%
set JBOSS_HOME=%DIRNAME%\..
However, the page you mention only gave me an empty screen in IE6 and Netscape6, but when I looked at the source code, voila!
Pretty cool stuff. Great help for debugging!
cheers
Bruce