Hi;

Maybe you should first check if the package "sun.io" package is referenced by the "jre-1.5" and "jre-1.6" parameters (in the felix "config.properties" file). By default, these parameters re-export all jdk packages to other bundles, but I don't think that sun.io is re-exported.
If not, then just add "sun.io" in the list of packages.

As an alternative, you could also bypass the framework class loader, by adding "sun.io", or even "sun.*" in the "org.osgi.framework.bootdelegation" parameter.

Hope it will help.
/pierre


either the sun.io package is not re-exported from confi

qrtt1 wrote:
Hello, I use pax-wrap-jar to wrap xercesImpl but something wrong with
unresolved sun.io.
How do I fix this problem ?

Error like this:

ERROR: Error starting
file:/C:/openlabWorkspace/insight/runner/bundles/xerces.xe
rcesImpl_2.8.1.jar (org.osgi.framework.BundleException: Unresolved
constraint in
 bundle 24: package; (package=sun.io))
org.osgi.framework.BundleException: Unresolved constraint in bundle 24:
package;
 (package=sun.io)
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
        at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1135)
        at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267)
        at java.lang.Thread.run(Thread.java:619)


Thanks for any suggestions.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to