> -----Original Message----- > From: Mark Menzies [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 6:12 > To: Slide Users Mailing List > Subject: More on J2EE Connectors and Managed Transactions within EJB's > > > Okay, following my question to the developers list about J2EE > Connectors we > have done some work trying to get Slide working from EJB's > within JBoss. > Just to recap, we want to use Slide for repository type > functions but want > to leave all transaction handling behaviour to a 'managed > transaction' > within an EJB container (JBoss). > > Here's what we did : > > Using the nightly release from 1/1/2003, built a slide-kernel and > slide-stores jar. > Modified the Domain.xml file to use the J2EE Stores (see > below) Wrote a simple test stateless session bean to create a > collection and then > entry within the Store. > Created an EAR and deployed it within JBoss. > > The first problem was that JBoss could not find the Domain.xml so we > unjar'd slide-kernel.jar and modified slide.properties so that > org.apache.slide.domain=c:\\Domain.xml > (i.e. references the exact location of the domain.xml file) > then jar'd the > files back into slide-kernel.jar >
Make sure you have one and only one copy of slide-kernel.jar and slide-stores.jar in Jboss. The best way to do it is to place the jars in server/<configuration>/lib/. That way, once Slide WebdavSerlvet starts, it can locate the Domain.xml in the webapp. Willie -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
