[jbossws-users] [JBossWS] - Re: WebServices logging

alessio.soldano@jboss.com do-not-reply at jboss.com
Thu Mar 5 04:13:08 EST 2009


The documentation clearly says the Record Management is available starting from version 2.0.3. Which version of JBossWS are you using? The version that comes with JBoss 4.2.2.GA is 2.0.1.SP2, thus if you did not change anything about that, you would simply need to upgrade to a more recent version. In that case, take a look at the supported target containers matrix : http://jbossws.jboss.org/mediawiki/index.php?title=Supported_Target_Containers

This said, for a simple use of the Record Management with Native stack you don't need to do anything special besides going to the JMX console and activate the recording flag in the already installed LogRecorder instance for you endpoint. No implementation required, no changes to the endpoint config required (assuming you're using one of the provided endpoint configuration). The LogRecorder will simply log every message going through your endpoint into your server.log.
Further customization and usescases are explained in the documentation, I'm sure you'll understand everything easily once you have that stuff (i.e. you using a jbossws version that has that). Also consider taking a look at the testcases in the sources, package org.jboss.test.ws.management.recording.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215153#4215153

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215153



More information about the jbossws-users mailing list