Re: [JBoss-user] problem in deploying MBean via mBean-service.xml

2003-07-13 Thread Alwyn Schoeman
Hi Marco,

I do not know if this is good practice but you can
depend on the specific Destination you're using e.g. queue/A. Check
the jmx-console for the full path.  This will cause your service to
load immediately after the destination has been created.

On Fri, Jul 11, 2003 at 11:46:45PM +0800, [EMAIL PROTECTED] wrote:
> HI Julien
>   thanx a lot 4 the suggestion..
> but unfortunately i cannot figure out domain and service
> for a JMS ConnectionFactory
> do u know something about that? 
> 
> thanx and regards
>   marco
> 
> > -Original Message-
> > From: ext julien viet [mailto:[EMAIL PROTECTED]
> > Sent: 11 July, 2003 18:11
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-user] problem in deploying MBean via
> > mBean-service.xml
> > 
> > 
> > you need to use the depends tag :
> > 
> >  >code="..."
> >name="...">
> >domain:name=something
> >...
> > 
> > 
> > MMnc> hi all,
> > MMnc> i am trying to deploy a standalone MBean by
> > MMnc> using myMbean-service.xml
> > 
> > MMnc> i drop the jar file in the 
> > \server\default\lib directory
> > MMnc> and i have added the  myMbean-service.xml into the 
> > \server\default\deploy
> > 
> > MMnc> in the initialization, my MBean looks for a JMS 
> > connectionFactory via JNDI
> > 
> > MMnc> but at the time of deployment, it cannot find one..
> > 
> > MMnc> my guess is that JMS stuff is loaded AFTER my MBean is 
> > loaded, since when
> > MMnc> i deploy my webapp as part of webapplication, 
> > everything works fine..
> > 
> > MMnc> are there any solutions to this if i want to deploy my 
> > mbean as standalone 'app'?
> > 
> > MMnc> or only solution is to declare my mbean in the 
> > jboss-service.xml instead of myMbean-service.xml?
> > 
> > MMnc> thanx in advance and regards
> > MMnc> marco
> > 
> > 
> > MMnc> ---
> > MMnc> This SF.Net email sponsored by: Parasoft
> > MMnc> Error proof Web apps, automate testing & more.
> > MMnc> Download & eval WebKing and get a free book.
> > MMnc> www.parasoft.com/bulletproofapps1
> > MMnc> ___
> > MMnc> JBoss-user mailing list
> > MMnc> [EMAIL PROTECTED]
> > MMnc> https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> > 
> > -- 
> > Best regards,
> >  julienmailto:[EMAIL PROTECTED]
> > 
> > 
> > 
> > ---
> > This SF.Net email sponsored by: Parasoft
> > Error proof Web apps, automate testing & more.
> > Download & eval WebKing and get a free book.
> > www.parasoft.com/bulletproofapps1
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> ---
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-- 
Alwyn Schoeman
SMART Money Inc.

If you're a SMARTY and you're using the better DNS connections, you
can access my homepage at http://nevyn.smarties.com.ph/Members/alwyn.
The other unlucky ones: http://10.126.136.35/myplone


---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] problem in deploying MBean via mBean-service.xml

2003-07-11 Thread Marco.Mistroni
HI Julien
thanx a lot 4 the suggestion..
but unfortunately i cannot figure out domain and service
for a JMS ConnectionFactory
do u know something about that? 

thanx and regards
marco

> -Original Message-
> From: ext julien viet [mailto:[EMAIL PROTECTED]
> Sent: 11 July, 2003 18:11
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] problem in deploying MBean via
> mBean-service.xml
> 
> 
> you need to use the depends tag :
> 
> code="..."
>name="...">
>domain:name=something
>...
> 
> 
> MMnc> hi all,
> MMnc> i am trying to deploy a standalone MBean by
> MMnc> using myMbean-service.xml
> 
> MMnc> i drop the jar file in the 
> \server\default\lib directory
> MMnc> and i have added the  myMbean-service.xml into the 
> \server\default\deploy
> 
> MMnc> in the initialization, my MBean looks for a JMS 
> connectionFactory via JNDI
> 
> MMnc> but at the time of deployment, it cannot find one..
> 
> MMnc> my guess is that JMS stuff is loaded AFTER my MBean is 
> loaded, since when
> MMnc> i deploy my webapp as part of webapplication, 
> everything works fine..
> 
> MMnc> are there any solutions to this if i want to deploy my 
> mbean as standalone 'app'?
> 
> MMnc> or only solution is to declare my mbean in the 
> jboss-service.xml instead of myMbean-service.xml?
> 
> MMnc> thanx in advance and regards
> MMnc> marco
> 
> 
> MMnc> ---
> MMnc> This SF.Net email sponsored by: Parasoft
> MMnc> Error proof Web apps, automate testing & more.
> MMnc> Download & eval WebKing and get a free book.
> MMnc> www.parasoft.com/bulletproofapps1
> MMnc> ___
> MMnc> JBoss-user mailing list
> MMnc> [EMAIL PROTECTED]
> MMnc> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> -- 
> Best regards,
>  julienmailto:[EMAIL PROTECTED]
> 
> 
> 
> ---
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] problem in deploying MBean via mBean-service.xml

2003-07-11 Thread julien viet
you need to use the depends tag :


   domain:name=something
   ...


MMnc> hi all,
MMnc> i am trying to deploy a standalone MBean by
MMnc> using myMbean-service.xml

MMnc> i drop the jar file in the \server\default\lib directory
MMnc> and i have added the  myMbean-service.xml into the 
\server\default\deploy

MMnc> in the initialization, my MBean looks for a JMS connectionFactory via JNDI

MMnc> but at the time of deployment, it cannot find one..

MMnc> my guess is that JMS stuff is loaded AFTER my MBean is loaded, since when
MMnc> i deploy my webapp as part of webapplication, everything works fine..

MMnc> are there any solutions to this if i want to deploy my mbean as standalone 'app'?

MMnc> or only solution is to declare my mbean in the jboss-service.xml instead of 
myMbean-service.xml?

MMnc> thanx in advance and regards
MMnc> marco


MMnc> ---
MMnc> This SF.Net email sponsored by: Parasoft
MMnc> Error proof Web apps, automate testing & more.
MMnc> Download & eval WebKing and get a free book.
MMnc> www.parasoft.com/bulletproofapps1
MMnc> ___
MMnc> JBoss-user mailing list
MMnc> [EMAIL PROTECTED]
MMnc> https://lists.sourceforge.net/lists/listinfo/jboss-user



-- 
Best regards,
 julienmailto:[EMAIL PROTECTED]



---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user