> -----Original Message-----
> From: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 12, 2003 4:44 AM
> To: Avalon Developers List
> Subject: Re: [phoenixjms] PhoenixJMS + MDS Release
> 
> 
> Aaron:
> 
> Sory for the delay in responding to this email - have been somewhat
> preocupied with the release stuff.

I understand.  I've been swamped with work myself lately.

> J Aaron Farr wrote:
> >1. Security Policies:
> >
> >    The Phoenix SAR doesn't require I have any special security policy,
> >    but when I run the same code in merlin, I get all sorts of security
> >    violations.  The solution is to add a policy file and include it in
> >    the JVM options.  We might want to include a default policy file in
> >    the Merlin distribution to help accommodate this.
> >
> 
> A security file could only address the bootstrap process.  After
> bootstrapping - the security policy would need to be established on a
> per container/component basis.  I took a look at the security policy
> file you have for the JMS server and immediately noticed that this is
> tied to the deployment command line assumptions.  What we really need is
> the potential to set the JMS server policies based on the deployment
> scenario - otherwise it will not be usable in a composite scenario.

Yes.

The included security policy file is a bit of a kludge.  A lot of it is just
trial and error.  Eventually I included the AllPermissions at the top but
that's not a secure solution.

I find it interesting that Phoenix doesn't have any of these issues.  I
think it might have something to do with the Classloaders in Merlin.

> 
> >3. block imports
> >
> >    I had trouble with this, but I think it was my misunderstanding of
> >    how imports work.  You can see some of what I was trying in the
> >    mds-test module in PhoenixJMS CVS.  Basically, the imports just
> >    didn't work the way I expected.
> >
> 
> Havn't been able to locate the issue.  Can you provide an example of the
> <import/> statement you were using and the block defintion you were
> importing.

I'll try to put together an example later today.

> >
> >4. Asynchronous start ups
> >
> >    So I was launching a listener component and a publisher component
> >    and I needed to make sure the listener started first, so I added
> >    a Thread.sleep(1000) or something like that in the publisher's
> >    lifecycle method (start or initialize, I can't remember).  Now,
> >    the interesting thing is that Merlin happened to decide to launch
> >    the publisher first.  This resulted in delaying the listener which
> >    has no dependencies on the publisher.  I expected asynchronous
> >    startups.  Am I missing something here?
> >
> 
> Is there any reason why the listener is not declaring a dependency on
> the publisher?

Because there shouldn't be an explicit dependency.  

In a proper message bases system, there shouldn't be any coupling between
clients.  In this case I'm abusing that a bit, but my biggest concern was
that components seem to be loaded in a serial manner.  That's not what I
expected.

> >
> >5. Odd startup behavior
> >
> >    I swear a couple times Merlin started up more than one instance of
> >    my MDSManager component, which has a singleton lifestyle, but
> >    I didn't have enough time to track down where this was coming from.
> >    Perhaps I just had something misconfigured.  Has anyone else seen
> >    anything similar to this?
> >
> 
> Something to keep in mind is that a singleton is a single "deployment
> scenario".  That deployment scenario (identifiable by the partiion and
> component name will only exist once in the JVM.  This does not precude
> the possibility of multiple instances of a singleton type - but it does
> preclude multiple instances of the type with the same path.

Yes, when I noticed the multiple instances, they did have different paths.

I'll be doing more testing today with that system.  Hopefully I can put
together some better examples.

Thanks

J. Aaron Farr
  SONY ELECTRONICS
  DDP-CIM
  (724) 696-7653

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to