Re: [JBoss-user] MBeans and EJB's

2003-06-12 Thread Phil Shrimpton
On Wednesday 11 June 2003 23:57, Bob Cotton wrote: Hi, > Phil> Hi, I have a problem, and the solution seems to be an MBean, > Phil> but I need to call/use both remote and local EJB's (SLS). > > Phil> It works, as I have tried it, but should I be doing it? > > Sure, why not? Did not t

Re: [JBoss-user] MBeans and EJB's

2003-06-11 Thread Bob Cotton
> "Phil" == Phil Shrimpton <[EMAIL PROTECTED]> writes: Phil> Hi, I have a problem, and the solution seems to be an MBean, Phil> but I need to call/use both remote and local EJB's (SLS). Phil> Now I have a couple of JMX books, a number of JMX articles, Phil> but none of them co

[JBoss-user] MBeans and EJB's

2003-06-11 Thread Phil Shrimpton
Hi, I have a problem, and the solution seems to be an MBean, but I need to call/use both remote and local EJB's (SLS). Now I have a couple of JMX books, a number of JMX articles, but none of them contain an example of using/calling EJB's within an MBean. It works, as I have tried it, but shou

Re: [JBoss-user] MBeans and Security

2003-02-28 Thread Scott M Stark
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 10:28 PM Subject: [JBoss-user] MBeans and Security I have an MBean that I use for initialisation of some things in my app and it needs to call methods on a session bean. Now I can do that quite easily but I am

[JBoss-user] MBeans and Security

2003-02-24 Thread Brian Wallis
I have an MBean that I use for initialisation of some things in my app and it needs to call methods on a session bean. Now I can do that quite easily but I am not sure how I set up an appropriate security context. Do I just do a JAAS login based on attributes passed into the MBean (from the des

Re: [JBoss-user] MBeans, local EJBs and Authentication

2002-12-18 Thread Randy Shoup
ticatedIdentity' to do what I want, though. So I will take a look to see if there is anything I have done to screw that up. Scott M Stark wrote: From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [JBoss-user] MBeans, local EJBs and Auth

Re: [JBoss-user] MBeans, local EJBs and Authentication

2002-12-18 Thread Randy Shoup
. Your response implies that I should expect 'unauthenticatedIdentity' to do what I want, though. So I will take a look to see if there is anything I have done to screw that up. Scott M Stark wrote: From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [JBoss-user] MBeans, local EJBs and Authentication

2002-12-17 Thread Scott M Stark
- From: "Randy Shoup" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 3:22 PM Subject: [JBoss-user] MBeans, local EJBs and Authentication > JBoss gurus -- > >I am using JBoss 3.0.4 - Tomcat 4.1.12 on Win2K. I want to get > unauthent

RE: [JBoss-user] MBeans, local EJBs and Authentication

2002-12-17 Thread Randy Shoup
John Fawcett wrote: To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] MBeans, local EJBs and Authentication Date: Mon, 16 Dec 2002 18:38:53 -0500 Organization: Tamale Software, LLC Reply-To: [EMAIL PROTECTED] Just curious -- is it particularly bad form to have your automated beans also log in

RE: [JBoss-user] MBeans, local EJBs and Authentication

2002-12-16 Thread John Fawcett
PROTECTED] Subject: [JBoss-user] MBeans, local EJBs and Authentication JBoss gurus -- I am using JBoss 3.0.4 - Tomcat 4.1.12 on Win2K. I want to get unauthenticated access to a local SLSB from an MBean, while still requiring authenticated access to my remote EJBs. I am trying to add to

[JBoss-user] MBeans, local EJBs and Authentication

2002-12-16 Thread Randy Shoup
JBoss gurus -- I am using JBoss 3.0.4 - Tomcat 4.1.12 on Win2K. I want to get unauthenticated access to a local SLSB from an MBean, while still requiring authenticated access to my remote EJBs. I am trying to add to my application a scheduled "batch" operation which does some periodic cle

Re: [JBoss-user] MBeans, EJBConnector, and Security

2002-10-08 Thread Scott M Stark
: James Higginbotham To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 4:28 AM Subject: RE: [JBoss-user] MBeans, EJBConnector, and Security Can anyone shed some light on this? Is there anything extra needed to help diagnose? I'm on JB 3.0.0 using JDK 1.3.1, also

RE: [JBoss-user] MBeans, EJBConnector, and Security

2002-10-08 Thread James Higginbotham
Sent: Monday, October 07, 2002 11:38 AMTo: [EMAIL PROTECTED]Subject: [JBoss-user] MBeans, EJBConnector, and Security All,   I am deploying an mbean manually using the EJBConnector from a Web startup hook (not via a .sar file or *-service.xml file). I have to initialize the cu

[JBoss-user] MBeans, EJBConnector, and Security

2002-10-07 Thread James Higginbotham
Title: Message All,   I am deploying an mbean manually using the EJBConnector from a Web startup hook (not via a .sar file or *-service.xml file). I have to initialize the current thread with a user id and password to communicate with another EJB at the same time. I'm getting the following s

RE: [JBoss-user] MBeans not deploying

2002-08-21 Thread Kevin Conner
> Can someone please take a look at the changes I've made? If they are > acceptable can they be rolled into the current versions? If not can > they be used as a basis for a fix? Please ignore this request. I've decided that this is an inappropriate forum for and am logging a bug report instead

RE: [JBoss-user] MBeans not deploying

2002-08-21 Thread Kevin Conner
> It might be better to change the code so that the getLastModified > and exists can be rolled into one method, returning a does not > exist (1), comms error (2), lastModified unknown (3) or > lastModified time (4). It can then choose to ignore the information > for 2 and 3 but not 1 and 4. This

RE: [JBoss-user] MBeans not deploying

2002-08-21 Thread Kevin Conner
> Would it be possible to solve this problem by recognizing the > communication > failure, marking it with a special value in lastModified, and > doing nothing > until a real response was obtained? The only problem is that this isn't a communication failure. The request is getting to the serve

Re: [JBoss-user] MBeans not deploying

2002-08-21 Thread David Jencks
Would it be possible to solve this problem by recognizing the communication failure, marking it with a special value in lastModified, and doing nothing until a real response was obtained? Thanks david jencks On 2002.08.21 06:25:09 -0400 Kevin Conner wrote: > There has been some talk over the l

[JBoss-user] MBeans not deploying

2002-08-21 Thread Kevin Conner
There has been some talk over the last day about mbeans not deploying for various reasons, I have another one to add :-) Our setup has jboss 3.0.1 jetty acting as a netboot server to developers machines, again 3.0.1. I have configured the client jboss servers to use the URLDirectoryScanner and s

[JBoss-user] MBeans and dynamic queues

2002-06-07 Thread G.L. Grobe
    I'm creating a dynamic queue according to the docs and am not sure of several things after looking up the MBean ...   MBeanServer server = (MBeanServer)    MBeanServerFactory.findMBeanServer(null).iterator().next();   server.invoke(new ObjectName("JBossMQ", "

[JBoss-user] MBeans and dynamic queues

2002-06-04 Thread G.L. Grobe
I'm creating a dynamic queue according to the docs and am not sure of several things after looking up the MBean ...   MBeanServer server = (MBeanServer)    MBeanServerFactory.findMBeanServer(null).iterator().next();   server.invoke(new ObjectName("JBossMQ", "serv

RE: [JBoss-user] MBeans location for J2EE Deployment

2002-06-03 Thread JD Brennan
Title: RE: [JBoss-user] MBeans location for J2EE Deployment You create a .sar file and deploy that in the JBoss deploy directory.  I know you can put a .sar inside an EJB jar. I would guess you can put a .sar inside an .ear also, but I haven't actually tried this. JD -Ori

[JBoss-user] MBeans location for J2EE Deployment

2002-06-01 Thread Michael Klem
I am new to JMX and after running some JMX sample apps wondered where is the correct location for deploying MBeans with my J2EE app. I get the impression from reading some documentation that they need to reside on the server side. Can I add MBeans to my ear files? ___

Re: [JBoss-user] MBeans and ear file

2002-04-25 Thread David Jencks
Easiest IMO is to put the mbean's class jar in lib/ext and the configuration in jboss.jcml. You may be able to do the same with an mlet, I'm not sure though when they are loaded. You would put both the url for the jar and the mbean conf in it. Or you can use jboss 3 and put the entire mbean con

[JBoss-user] MBeans and ear file

2002-04-25 Thread Igor Rabinovich
I'm running my server over JBoss 2.4.4, where I deploy application in a single ear file and using several MBeans to start some of my services. Previosly I had same jars in deploy and lib/ext directory and for development it was nice and convinient, but for production environment ear is necessary.

[JBoss-user] MBeans problem in JBoss

2002-02-08 Thread Ramesh Gadde
Hi all I have two MBeans(only mbeans, not services) AxielleConfiguration, AxielleTest1. I registered these two beans with the server. when i query mbeanserver it is giving all the MBeans in the server. i am querying like this ObjectName obj = new ObjectName("AxielleDomain:service=* "); Set set

[JBoss-user] MBeans

2002-02-08 Thread Rajeshwar Rao V
> Hi All, > > I have TWO MBeans named "AxielleConfiguration" and "AxielleTest1". I > registered them with MBeanServer. Now when i want to access those MBeans. > When i say mbeanServer.queryMBeans(null, null); I am getting all the > MBeans in the Server. But I want only those MBeans written

[JBoss-user] MBeans

2002-02-08 Thread Rajeshwar Rao V
Hi All, I have TWO MBeans named "AxielleConfiguration" and "AxielleTest1". I registered them with MBeanServer. Now when i want to access those MBeans. When i say mbeanServer.queryMBeans(null, null); I am getting all the MBeans in the Server. But I want only those MBeans written by me. Ho

Re: [JBoss-user] MBeans

2001-06-05 Thread jbirchfield
To: [EMAIL PROTECTED] fi> cc: Sent by:

Re: [JBoss-user] MBeans

2001-06-05 Thread Juha Lindfors
At 00:22 6.6.2001 +0300, you wrote: >About Mbeans: is it possible to get access to the registered MBeans from >(for example) an EJB or servlet? If so, how is it done? If you're in the same VM you can use MBeanServerFactory.findMBeanServer() to get a list of all agents within the JVM and then use

[JBoss-user] MBeans

2001-06-05 Thread Timo Kauppinen
About Mbeans: is it possible to get access to the registered MBeans from (for example) an EJB or servlet? If so, how is it done? Thanks Timo ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] MBeans - dependencies - How to?

2001-05-02 Thread Vladimir Blagojevic
Hey, MBeans never "talk" to other MBean per se but they rather save reference to MBeanServer through on of the MBeanServer callbacks. I think it is org.jboss.util.JBossServiceMBean.getObjectName() but doublecheck it. Then having a reference to MBeanServer MBean invokes operations on another MBean

[JBoss-user] MBeans - dependencies - How to?

2001-05-02 Thread Kadir Wijaya
Hi all, in http://www.jboss.org.documentation/HTML/ch10s40.html mentioned that: JBoss manages dependencies between MBeans via the org.jboss.util.ServiceControl custom MBean. I did search deep in this doc but couldn't find any clue how two MBeans communicate between them! For example: Mbean-A star