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
(→1. My application causes a class loading error. What can I do?) |
(→2. Why doesn't my GUI bundle display in 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]. | ||
− | = 2. | + | = 2. How can I get an application GUI to display 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. | 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. |
Revision as of 10:31, 26 May 2011
FAQ
1. How can I diagnose class loading problems?
See this blog.
2. How can I get an application GUI to display 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.*