Hi Isuru, In carbon, JVM provided classes are exposed in to the OSGi runtime in a controlled manner. We use launch.INI file located in conf/ etc to do that. You may need add above package name to that file..
--Pradeep sent from my phone On Aug 9, 2013 8:02 PM, "Isuru Perera" <[email protected]> wrote: > Hi all, > > I'm working on this in a local branch. > > We are currently using jclouds version 1.5.0-beta.5. As the first step, I > started upgrading jclouds version to 1.6.0 (version before latest Apache > jclouds incubating release). I just wanted to see API changes. > > Since I have not worked with jclouds much, it was quite challenging to > find out how things work. There are some considerable changes from jclouds > 1.5.0 to jclouds 1.6.0 and their docs do not seem to be updated. I managed > to figure out some changes required in the code. I plan to send a mail to > jclouds user list, after I could test Stratos successfully with jclouds > version upgrade. > > Now the current status is that I can build the Cloud Controller product > with jclouds 1.6.0, but jclouds bundles are not in ACTIVE state. > > Following is the information I found from OSGi console. This post by > Pradeep [1] helped me to find out the issue quickly. > > osgi> diag 75 > reference:file:plugins/jclouds-core_1.6.0.jar [75] > Direct constraints which are unresolved: > Missing imported package javax.lang.model.type_0.0.0. > > After doing a quick google search, I found [2]. It seems jclouds needs > Java SE 6 to run. > > I'm running the product on Java SE 6 (1.6.0_45), but I think the execution > environment coming from Carbon is Java SE 5. > > So, how do we change the execution environment in the product to Java SE > 6? (I think this is the solution to the issue) > > Appreciate any help on this. > > Thanks! > > [1] > http://pradeepfernando.blogspot.com/2011/10/debugging-your-osgi-application-using.html > [2] http://www.eclipse.org/forums/index.php/t/158150/ > > > > On Thu, Aug 8, 2013 at 12:19 PM, Isuru Perera <[email protected]> wrote: > >> Hi all, >> >> We are planning upgrade jclouds version to 1.6.1-incubating in Apache >> Stratos. >> >> I have started working on it now [1]. >> >> I think it would be great to use jclouds incubating version in first ever >> Apache Stratos incubating release! :) >> >> Best Regards, >> >> [1] https://issues.apache.org/jira/browse/STRATOS-41 >> -- >> Isuru Perera >> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >> Lean . Enterprise . Middleware >> >> Twitter: http://twitter.com/chrishantha | LinkedIn: >> http://lk.linkedin.com/in/chrishantha/ >> > > > > -- > Isuru Perera > Senior Software Engineer | WSO2, Inc. | http://wso2.com/ > Lean . Enterprise . Middleware > > Twitter: http://twitter.com/chrishantha | LinkedIn: > http://lk.linkedin.com/in/chrishantha/ >
