I have added a dependency on the Naming service for one of my MBeans:
<server>
<service name="Configuration">
</service>
<service name="Log">
<dependency service="Configuration" required="true"/>
</service>
<service name="Logging">
<dependency service="Log" required="true"/>
<dependency service="Configuration" required="true"/>
</service>
<service name="Naming">
<dependency service="Logging" required="true"/>
<dependency service="Configuration" required="true"/>
</service>
...
<service name="ProjectDirContext">
<dependency service="LogSetup" required="true"/>
<dependency service="Naming" required="true"/>
</service>
and yet I see ProjectDirContext MBean loaded before the Naming MBean is started. The
Naming service is initialized, but it is not started:
bash-2.04$ run_with_jetty.bat
D:\usr\local\Java\EJB\jboss_jetty\jboss-PRE-2.1\bin>run jetty
Using configuration "jetty"
[Console logging] Initialized
[Classpath extension] Initializing
[Classpath extension] Initialized
[File logging] Initializing
[File logging] Initialized
...
[Naming] Initializing
[Naming] Initialized
...
[Default] LogSetup, created DSLog instance
[Default] LogSetup MBean created log: \tmp\logs\dscape.log
[Default] ProjectDirContext MBean created, projectsRootPath=/temp/project_repository
...
[Transaction manager] Starting
[Transaction manager] Started
[Naming] Starting
[Naming] Naming started on port 1099
[Naming] Started
The ProjectDirContext MBean is not a subclass of org.jboss.util.ServiceMBeanSupport,
so it
has no distiction between initialization and starting. How do I specify not to
initialize it prior
to the starting of the Naming service?
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]