[jboss-user] [Security & JAAS/JBoss] - Problem with SSL configuration

xsedlacp do-not-reply at jboss.com
Thu Nov 22 08:34:48 EST 2007


Hi,

I tried configuration explained in JBoss documentation (http://docs.jboss.org/jbossas/admindevel326/html/ch8.chapter.html#d0e18946).

I defined securityDomain
   <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">jboss.keystore</attribute>
  |        <attribute name="KeyStorePass">rmi+ssl</attribute>
  |    </mbean>

and I defined invoker
   <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker" name="jboss:service=invoker,socketType=SSL,type=jrmp">
  |      <attribute name="RMIObjectPort">14445</attribute>
  |      <attribute name="RMIClientSocketFactory">org.jboss.security.ssl.RMISSLClientSocketFactory</attribute>
  |      <attribute name="RMIServerSocketFactory">org.jboss.security.ssl.RMISSLServerSocketFactory</attribute>
  |      <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute>
  |      <depends>jboss.security:service=JaasSecurityDomain,domain=RMI+SSL</depends>
  |    </mbean>

But this invoker never starts

13:07:17,453 WARN  [ServiceController] Problem starting service jboss:service=invoker,socketType=SSL,type=jrmp
javax.naming.NameNotFoundException: TransactionPropagationContextExporter not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:527)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:535)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:541)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:294)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:621)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:583)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at org.jboss.invocation.jrmp.server.JRMPInvoker.startService(JRMPInvoker.java:303)
	at ...

Can somenone help me, how to configure using SSL with JBoss.  I am using JBoss version 3.2.8SP1.

any help would be appriciate ...

Thanks

Peter

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

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



More information about the jboss-user mailing list