[jboss-user] [Security & JAAS/JBoss] - Problem starting service jboss:service=invoker, type=jrmp, soc

ZenMeister do-not-reply at jboss.com
Wed Jan 31 03:10:27 EST 2007


Hi 

I'm using Jboss 4.0.5 for my work, and use the jrmp invoker to enable EJB over SSL. However, i have this problem when starting up the server. My configuration of the mbean is as follows:

<mbean code="org.jboss.security.plugins.JaasSecurityDomain"
  |        name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL">
  |     	<constructor>
  |         <arg type="java.lang.String" value="RMI+SSL"/>
  |     	</constructor>
  |     	<attribute name="KeyStoreURL">resource:server.keystore</attribute>
  |     	<attribute name="KeyStorePass">123456</attribute>
  |     	<attribute name="TrustStoreURL">resource:server.truststore</attribute>
  |     	<attribute name="TrustStorePass">123456</attribute>
  |     	<depends>jboss.security:service=JaasSecurityManager</depends>
  |    </mbean> 
  | 
  |    <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
  |        name="jboss:service=invoker,type=jrmp,socketType=SSL">
  |     <attribute name="RMIObjectPort">14445</attribute>
  |     <attribute name="RMIClientSocketFactory">
  |         org.jboss.security.ssl.RMISSLClientSocketFactory</attribute>
  | 	<attribute name="RMIServerSocketFactoryBean" attributeClass="org.jboss.security.ssl.RMISSLServerSocketFactory"
  | 	serialDataType="javaBean">
  | 		<property name="bindAddress">${jboss.bind.address}</property>
  | 		<property name="securityDomain">java:/jaas/RMI+SSL</property>
  | 		<property name="wantsClientAuth">true</property>
  | 		<property name="needsClientAuth">true</property>
  | 	</attribute>
  |      <depends>jboss.security:service=JaasSecurityManager</depends>
  |     <depends>jboss:service=TransactionManager</depends>
  |     <depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends>
  | </mbean>
  | 

the stack trace is: 



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

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



More information about the jboss-user mailing list