[
https://issues.apache.org/jira/browse/TUSCANY-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602221#action_12602221
]
Daniel Stucky commented on TUSCANY-2343:
----------------------------------------
Hi all,
thanks for your quick response.
No, we do not use any security. To check I just added 2 lines of code to the
BundleActivator:
String prop = System.getProperty("java.security.manager");
SecurityManager manager = System.getSecurityManager();
Both prop and manager are null.
I also added -clean to the launch. No change there. I still get the
NullPointerException.
Yes, if you see the output
"Starting ... test.composite ready !!!
did something"
the SCADomain was created and a method on the Test service was executed.
Rajini, did you install and start only the bundles that I used in my launch
files or did you use more/less bundles or even all Tuscany and Tuscany 3rd
party bundles?
Could this be some eclipse issue, as you said you are not using eclipse.
Bye,
Daniel
> OSGi bundle design leads to class loading issues
> ------------------------------------------------
>
> Key: TUSCANY-2343
> URL: https://issues.apache.org/jira/browse/TUSCANY-2343
> Project: Tuscany
> Issue Type: Bug
> Reporter: Georg Schmidt
> Attachments: Libary Versions.xls, test_bundles.zip
>
>
> Currently the design of the OSGi bundles leads to class loading exceptions.
> There seem to be several reasons for this behavior:
> * reexporting of all libraries without version numbers
> * imports without version numbers
> Please use distinct bundles for 3rd party libraries. That would lead to
> easier reusage of your bundles in a larger OSGi project.
> The current status leads to undefined system behaviour due to the OSGi class
> loading concept.
> Please tell if you see a way, how we could support you by achieving this
> goal. (If a solution is interesting for you) We are willing to contribute
> because its a critical project issue for us.
> The problems occur with the current snapshot release. Sorry, I do not know
> which version to take.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.