Re: [JBoss-dev] Guessing datasource name

2006-02-01 Thread Bill Burke
Adrian Brock wrote: e.g. at least firebird has its own rar that is deployed this way. Yes, this *exactly* where the user was complaining. EJB3 assumes the Datasource MBean name. Don't blame me for the different names, this is legacy rubbish that dates back to 2.4.x They should really

Re: [JBoss-dev] Guessing datasource name

2006-02-01 Thread Adrian Brock
On Wed, 2006-02-01 at 11:57, Bill Burke wrote: > In EJB3 I'm trying to guess the datasource MBean name so that I can > create a dependency on it. I do this based on the JNDI name passed into > persistence.xml. So, if the datsource is "java:/DefaultDS" I assume > that there is a: > > "jboss.jc

[JBoss-dev] Guessing datasource name

2006-02-01 Thread Bill Burke
In EJB3 I'm trying to guess the datasource MBean name so that I can create a dependency on it. I do this based on the JNDI name passed into persistence.xml. So, if the datsource is "java:/DefaultDS" I assume that there is a: "jboss.jca:service=DataSource,name=DefaultDS" mbean available. Is