Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Virgo/FAQ"
< Virgo
(New page: = FAQ = = 1. My application causes a class loading error. What can I do? = See this [http://hsiliev.blogspot.com/2010/12/troubleshooting-class-loading-issues-in.html blog]. = 2. Why doe...) |
(→2. Why doesn't my GUI bundle display in Virgo?) |
||
Line 11: | Line 11: | ||
On Mac, you need to add some Apple packages: | On Mac, you need to add some Apple packages: | ||
− | org.osgi.framework.bootdelegation = \ | + | org.osgi.framework.bootdelegation = \ |
− | org.eclipse.virgo.osgi.extensions.*,\ | + | org.eclipse.virgo.osgi.extensions.*,\ |
− | org.eclipse.virgo.osgi.launcher.*,\ | + | org.eclipse.virgo.osgi.launcher.*,\ |
− | org.eclipse.virgo.kernel.authentication,\ | + | org.eclipse.virgo.kernel.authentication,\ |
− | com.sun.*,\ | + | com.sun.*,\ |
− | javax.xml.*,\ | + | javax.xml.*,\ |
− | org.apache.xerces.jaxp.*,\ | + | org.apache.xerces.jaxp.*,\ |
− | org.w3c.*,\ | + | org.w3c.*,\ |
− | org.xml.*,\ | + | org.xml.*,\ |
− | sun.*,\ | + | sun.*,\ |
− | apple.*,\ | + | apple.*,\ |
− | com.apple.* | + | com.apple.* |
On Windows, you just need to add com.sun.* as sun.* is already in the list. | On Windows, you just need to add com.sun.* as sun.* is already in the list. |
Revision as of 10:26, 26 May 2011
FAQ
1. My application causes a class loading error. What can I do?
See this blog.
2. Why doesn't my GUI bundle 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.