Hi all,

I think we have a problem with RH and jbossmq.  With the advent of Marc's
changes the order in which the mbeans are initialised and started seems to
have changed.  Previously all mbeans listed in the jboss.jcml file where
initialised before any where started.  This meant that when the Persistence
Manager was started the queues had already been initialised and the PM knew
which queues it had to try to restore from persistant backup storage.

Now it seems that each mbean is initialised and then started before the next
is initialised.  They are still processed in order (now defined by
jboss-services.xml) but each one is started before the next is initialised.
If this is the case (and I'm pretty sure it is) then it will break the
restoration processes in jbossmq.

My question then is could we change the startup process back to how it was
before or do we change the jbossmq restoration to work with the new startup
process.  This change to jbossmq may be quite tricky (its hard to tell until
I have a good look at it) and I am not that keen to do it.  However if RH
startup process is the result of a fundamental change in how mbeans are
loaded and managed then jbossmq will just have to be fixed.

Cheers
David

PS:  I have also had issues with the security mechanisms in RH.  The problem
is that currently it ignores the server.policy file, which usually is fine
since no SecurityManager is installed.  However we have a custom service we
are writing that uses RMI and hence requires a SecurityManager.
Unfortunately as soon as we install one because the server.policy file has
not been loaded there are all sorts of access restrictions that come into
play that effectively stuff the whole server.

I tried to fix this by using the SecurityPolicyService mbean to implement a
security policy but it uses an xml policy file and I can't seem to get the
right syntax for it.  I took an educated guess (based on one in the test
directory of the security module) but it doesn't seem to work.  If anyone
has any ideas (Scott this is your area, right?) then I would appreciate a
helping hand.  What I am basically asking for is a pointer to the correct
syntax for the xml file or how to run jboss using a convential policy file
(like server.policy).

        (xml file I am using for policy)

        <?xml version = "1.0" encoding = "UTF-8"?>
        <policy>
        
          <application-policy name = "other">
            <authorization>
              <grant>
                <permission code = "java.security.AllPermission"/>
              </grant>
            </authorization>
          </application-policy>
        
        </policy>


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to