[jboss-user] [JBossWS] - Re: how to run the jbossws samples?

centecbertl do-not-reply at jboss.com
Sat Apr 21 06:04:24 EDT 2007


"danielmesser" wrote : Hi,
  | I also get the following exceptions:
  | tests-main:
  |     [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/reports
  |     [junit] Running org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialServiceDocBareTestCase
  |     [junit] java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
  | 
  | 

the JBossWS samples do not work when JMX authentication is activated (as it is when using the JBoss AS 4.0.5 installer per default, and as it anyway should always be!). For using the samples I had to disable JMX Authentication:

  | $ diff -u $JBOSS_HOME/server/default/deploy/jmx-invoker-service.xml~ jmx-invoker-service.xml
  | --- C:\Programme\jboss-4.0.5.GA/server/default/deploy/jmx-invoker-service.xml~  2006-12-13 09:27:32.578125000 +0100
  | +++ jmx-invoker-service.xml     2007-03-07 19:52:39.132619900 +0100
  | @@ -102,8 +102,8 @@
  |              <return-type>java.lang.Object</return-type>
  |              <descriptors>
  |                 <interceptors>
  | -                  <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
  | -                     securityDomain="java:/jaas/jmx-console"/>
  | +                  <!-- interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
  | +                     securityDomain="java:/jaas/jmx-console"/-->
  |                 </interceptors>
  |              </descriptors>
  |           </operation>
  | 

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

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



More information about the jboss-user mailing list