I need more info.
Where do you put this @Depends?
I have an ServiceBean tells me nothing.
What type of service is this?
How is it deployed?
...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254405#4254405
Reply to the post :
1) What does the import statement for @Depends look like (there is a @Depends
annotaiton in MC as well as EJB3, so want to make sure you are using the
correct one).
2) In that other post, you mentioned you are adding a @Depends on the
HornetQServer like this:
Ah, too slow to click on submit! Did not see Ales' reply :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254409#4254409
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254409
___
Apologies,
I was using a EJB3 Service Bean.
The solution by Jakiran works correctly and is as follows:
| @Service
| @Local(InputServiceBeanLocal.class)
| @Remote(InputServiceBeanRemote.class)
| @Management(InputServiceBeanManagement.class)
| @Depends(value={HornetQServer})
| public
jaikiran wrote :
| @Depends(value={jboss.deployment:id=HornetQServer,type=Component})
|
| That's a MBean created for the deployment of the HornetQServer MC bean. I
don't think, adding that dependency will work (although i am not sure).
|
No it wouldn't.
As this is only part of
rnicholson10 wrote :
| How would you normally figure out what the correct name is for the MC Bean?
|
There are several ways:
* look into the -jboss-beans.xml file where this bean is defined -- its name
attribute
* new admin-console
* Grapher tool
View the original post :
Ok, so I looked in the -jboss-beans.xml file but every bean defined has a name.
It's not easy to figure out which is the one I'm looking for.
The new admin-console (which I'd never seen before), has absolutely no mention
of HornetQServer, nor can I see any mention of micro-containers in the
rnicholson10 wrote : Ok, so I looked in the -jboss-beans.xml file but every
bean defined has a name. It's not easy to figure out which is the one I'm
looking for.
|
In the worst case you can ask the HornetQ guys about the name. ;-)
If they happen use custom schema, I agree, it can be
I love it!
I'll let them know the solution and they can add it to their WIKI, it'll save
others the hassle of the search.
Thanks a million,
R.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4254477#4254477
Reply to the post :