Thanks a lot. And where in TFM would that be? A search for resource manager turned up these links http://www.jboss.org/documentation/HTML/ch08s63.html http://www.jboss.org/documentation/HTML/ch06.html Ralph ----- Original Message ----- From: Burkhard Vogel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 04, 2001 7:01 PM Subject: Re: [JBoss-user] How to map to cloudscape database > Hi, > RTFM (;-)) on JBoss.xml, which belongs into META-INF of your yar. You might > as well alter standardjboss.xml. Key word is Resource-Managers. > Burkhard > ----- Original Message ----- > From: "ralph" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, July 04, 2001 8:11 AM > Subject: [JBoss-user] How to map to cloudscape database > > > > I copied the cloudscape driver files to [jboss-home] \ lib \ ext. > > Edited jboss.conf > > Started jBoss. > > Deployed a few beans in a jar-file. > > Everything appears to be okay according to server.log and standard output. > > :-) > > > > > > Now: > > What do I need to do in order to map my datasource name correctly, > meaning: > > > > In my beans I want to connect to Cloudscape this way: > > > > DataSource ds = (DataSource) > > nitial.lookup( "java:comp/env/jdbc/ConferenceDB" ); > > > > > > The beans which should access cloudscape have the following resource-ref > in > > ejb-jar.xml: > > <resource-ref> > > <res-ref-name> jdbc/ConferenceDB </res-ref-name> > > <res-type> javax.sql.DataSource </res-type> > > <res-auth> Container </res-auth> > > <res-sharing-scope> Shareable </res-sharing-scope> > > </resource-ref> > > > > Currently, after deploying my jar file, the output on port 8082 looks like > > this for these beans: > > > > + env (class: org.jnp.interfaces.NamingContext) > > | + jdbc (class: org.jnp.interfaces.NamingContext) > > | | + ConferenceDB[link -> java: / DefaultDS] (class: > > javax.naming.LinkRef) > > > > > > I guess that should say Cloudscape instead of DefaultDS - or not ? > > > > I know it has something to do with jBoss.xml, but didn't find an example > > for that. What has to go into jboss.xml ? > > > > Thanks > > Ralph > > > > > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
