Marc T. Calello wrote: > Toby, Hi, Marc. I've copied this to the jboss-user mailing list. Please subscribe and post any further questions there so that others can benefit from the answers. > <This may be a stupid question>... The documentation is so sketchy that there's not really any such thing. > I have downloaded/built/run JBoss. > When the server is coming up it informs me: > [RARDeployer] Initializing > [RARDeployer] Initialized > [BlackBoxXADS] Initializing > [BlackBoxXADS] Initialized > [ConnectionFactoryLoader] Initializing > [BlackBoxDS] Initialized > ... > [Auto deploy] Starting > [Auto deploy] Watching E:\Projects\JBoss\jboss\dist\deploy > [Auto deploy] Started > [RARDeployer] Starting > [RARDeployer] Started > [BlackBoxXADS] Starting > [BlackBoxXADS] XA Data source BlackBoxXADS bound to java:/BlackBoxXADS > [BlackBoxXADS] Started > [BlackBoxDS] Starting > [BlackBoxDS] Started > > When I attempt to do a JNDI lookup on java:/BlackBoxXADS (or BlackBoxDS), I > get an error msg saying that > it is not bound. You should be able to look up java:/BlackBoxXADS. Are you trying to look this up from a client running in a separate VM? You can only look up the java:/ namespace from inside the JBoss VM (i.e. from an EJB or a servlet running in an embedded servlet engine). However, java:/BlackBoxXADS is not what you want - it will give you an XADataSource, not a DataSource. You need java:/BlackBoxDS to be bound, which comes later... > So I am assuming from your documentation that I haven't "truly" deployed > my RAR, and I need to invoke the deploy(String) operation on the RARDeployer > MBean, > passing it a URL pointing to the RAR file containing the resource adapter. > How exactly do I do that? Is that another MBean entry in the jboss.jcml > file or > is that an MLET entry in the jboss.conf file? I am not familar with how JMX > works yet. Yes. There is an HTML interface to JMX available by default on port 8082 (e.g. http://localhost:8082). From there you should be able to locate the RARDeployer MBean and then it should be fairly obvious howto invoke methods on it. Regards, Toby. [ the following were posted to the connector-interest list ] > From: Toby Allsopp <[EMAIL PROTECTED]> > Subject: Re: EJB Server Support > Content-Type: text/plain; charset=us-ascii > > Hello. > > There's the RI from Sun, but you need to be on the early access > programme to get that. > > I have written some preliminary support for JBoss (it works with the > Black Box XA example RA) and I'd be thrilled if you could try it out. > > You'll need the latest CVS version of JBoss. You can get info on how to > get it from http://www.jboss.org. The (sketchy) documentation is at > http://www.jboss.org/documentation/jca_config.html. > > Regards, > > Toby. > > Mathur Gaurav wrote: > >> Hi, >> I'm trying to implement my own RA but need some information on how to > > start. Is there any sample code available, which can be referred to? Is > there any application server that supports JCA at present? > >> An idea, examples or explanation of any of this would be greatly > > appreciated. > >> Gaurav Mathur >> Goldstone Softech -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
