Any chance you can provide a simple example I can look at?

For the first problem you should be able to leave out the <classpath...>
element, what happens if you do and redeploy?  MBeans wait for their
classes, maybe the 2 dependency mechanisms are conflicting.

No idea about the other problem.

david jencks

On 2002.06.18 14:16:37 -0400 Corby Page wrote:
> Using release version 3.0, I have a file, 40-user-service.xml, which
> contains deployment instructions for a series of MBeans. I declare its
> dependency on a jar file like so:
> 
> <classpath codebase="deploy" archives="allocations.jar"/>
> 
> If I roll out a new version of allocations.jar in my build process, it
> shuts down all of the dependent MBeans, but it will not restart them. (On
> the other hand, if I touch 40-user-service.xml, it successfully stops and
> restarts all of the MBeans)
> 
> Question #1: Why won't my MBeans restart when a new version of
> allocations.jar is rolled out?
> 
> I also have a file called 30-Allocation.ear. It contains a set of EJBs
> that
> use the classes in allocations.jar. If I touch or replace the .ear file,
> it
> inexplicably attempts to reploy all of my (already started) MBeans,
> resulting in exceptions like this:
> 
> 13:11:59,691 INFO  [ServiceController] Exception when trying to deploy
> waiting mbean<mbean name="Allocations:service=AllocationRequestCache"
> code
> ="com.duke.realtime.model.flowinggas.AllocationRequestCache"><attribute
> name="ExpirationMinutes">0</attribute></mbean>
> org.jboss.deployment.DeploymentException: Trying to install an already
> registered mbean: Allocations:service=AllocationRequestCache
> 
> Everything ends up redeploying correctly, it's just that these ugly
> exceptions end up all over my log.
> 
> Question #2: Why would redeploying the .ear file by itself cause a
> re-deploy of my MBeans, when I have not declared any explicit
> relationship
> between my EJB's and my MBeans?
> 
> Thanks,
> Corby
> 
> 
> ----------------------------------------------------------------------------
>                    Bringing you mounds of caffeinated joy
>                       >>>     http://thinkgeek.com/sf    <<<
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

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

Reply via email to