Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Virgo/FAQ"
< Virgo
Line 5: | Line 5: | ||
See this [http://hsiliev.blogspot.com/2010/12/troubleshooting-class-loading-issues-in.html blog]. | See this [http://hsiliev.blogspot.com/2010/12/troubleshooting-class-loading-issues-in.html blog]. | ||
+ | |||
+ | = What's a uses constraint and what can I do if one is violated? = | ||
+ | |||
+ | Uses constraints are explained in [http://blog.springsource.com/2008/10/20/understanding-the-osgi-uses-directive/ this blog]. | ||
+ | |||
+ | To solve uses constraint violations, see Rob Harrop's [http://blog.springsource.com/2008/11/22/diagnosing-osgi-uses-conflicts/ blog] and Neil Bartlett's [http://njbartlett.name/2011/02/09/uses-constraints.html blog]. | ||
= How can I get a graphical application to work in Virgo? = | = How can I get a graphical application to work in Virgo? = | ||
Line 38: | Line 44: | ||
sun.*<span style="color:#ff0000">,\ | sun.*<span style="color:#ff0000">,\ | ||
com.sun.*</span> | com.sun.*</span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 03:48, 27 May 2011
How can I diagnose class loading problems?
See this blog.
What's a uses constraint and what can I do if one is violated?
Uses constraints are explained in this blog.
To solve uses constraint violations, see Rob Harrop's blog and Neil Bartlett's blog.
How can I get a graphical application to work in Virgo?
To get GUI apps to work in Virgo, you have to edit lib/java6-server.profile in order to add some packages to the org.osgi.framework.bootdelegation property.
On Mac, you need to add some Apple packages:
org.osgi.framework.bootdelegation = \
org.eclipse.virgo.osgi.extensions.*,\
org.eclipse.virgo.osgi.launcher.*,\
org.eclipse.virgo.kernel.authentication,\
com.sun.*,\
javax.xml.*,\
org.apache.xerces.jaxp.*,\
org.w3c.*,\
org.xml.*,\
sun.*,\
apple.*,\
com.apple.*
On Windows, you just need to add com.sun.* as sun.* is already in the list.
org.osgi.framework.bootdelegation = \
org.eclipse.virgo.osgi.extensions.*,\
org.eclipse.virgo.osgi.launcher.*,\
org.eclipse.virgo.kernel.authentication,\
com.sun.*,\
javax.xml.*,\
org.apache.xerces.jaxp.*,\
org.w3c.*,\
org.xml.*,\
sun.*,\
com.sun.*