On 8/4/08, Dean Mitchell <[EMAIL PROTECTED]> wrote: > > We would also like to be able to use Tuscany within an existing OSGI > runtime. We haven't committed to Equinox, Knopflerfish, of Felix yet, but > would like to use one of them. I found references in the mailing list > archives to a tuscany-sca-osgi-installer.jar. I'm not sure if this will do > what I'm hoping it will or not, or if it still works. It seems it must be > built from the source distribution itest/osgi-tuscany directory, but I get > missing files when I try and build it with maven. I was going to try again > after the next release came out. >
You should be able to use the bundles generated by itest/osgi-tuscany from the latest Tuscany builds. > I tried bundlizing the calculator sample and installing to Felix and > included the dependent Tuscany jars in the bundle. After resolving a number > of class name issues, I got it to install, but would not start because it > couldn't load the composite file. From what I can tell this is issue with > how the OSGI runtime prefixes the file URI compared to what Tuscany is > expecting. I found this interesting link ( > http://marc.info/?l=tuscany-user&m=119559170431301&w=2), which is a little > old. > Which build are you using? The URL issues in Tuscany were solved quite a while ago, so any release from 1.2 shouldn't have these issues. Could you cut-and-paste the exception you are getting? > Dean. > > > ------------------------------ > *From:* joel srinivas [mailto:[EMAIL PROTECTED] > *Sent:* Sunday, August 03, 2008 10:56 AM > *To:* [email protected] > *Subject:* Tuscany with Equinox runtime > > > Hi, > > We have an application which is built using OSGi and all our application > code is bundled as OSGi bundles along with Equinox runtime > We use Equinox as the OSGi runtime. > Our application is deployed as a .EAR in JBOSS and we use underlying JBOSS > server resources like transaction,connection pooling ,HA,fail over and other > App server specific resources. > > We are planning to migrate the application onto Apacahe Tuscany as we want > to get most from SCA. > > Would you please answer the following queries? > > 1.Can we retain our application as OSGi bundles and have it deployed into > the Tuscany platform and provide the wiring/assembling with appropriate > composite files? > > 2.Can we use Equinox as our OSGi runtime for better classloading and other > features?( It would be great if Tuscany supports osgi runtime) > > 3.Though we are not using any EJBs in our application, we want the > transactionality/HA and other application server features.Can we deploy > tuscany as a .EAR file and somehow enable Tuscany to use the underlying > resources of App server resources as shared resources? > > 4.Does Tuscany have any plans of using SPRING DM for dependency injection > of services across bundles? > > Many Thanks > Joe > > > > > > ------------------------------ > Not happy with your email address? > Get the one you really want <http://uk.docs.yahoo.com/ymail/new.html> - > millions of new email addresses available now at > Yahoo!<http://uk.docs.yahoo.com/ymail/new.html> > -- Thank you... Regards, Rajini
