dev@glassfish.java.net

Re: just built, problem: Fragments with exports, imports, or native code are not currently supported

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Mon, 27 Apr 2009 12:59:39 -0700

Hi Mitesh,

I'm also seeing the same exception message from a fresh install.
RE Hudson continuous job is passing QL tests so I assume the build is
still good?
http://hudson.glassfish.org/job/gf-trunk-build-continuous/

Jane


Lloyd Chambers wrote:
> Mitesh,
>
> This is a fresh install from a fresh developer build. I have not
> changed any log levels.
>
> Lloyd
>
> On Apr 27, 2009, at 12:26 PM, Mitesh Meswani wrote:
>
>> This message is coming due to a change in one of the EclipseLink
>> bundles which we import from them. We are discussing a solution for
>> the issue with them. However, one should not see this message at
>> default log level of Felix and no existing functionality should be
>> broken because of this. Are you running at a log level higher than
>> INFO (the default for glassfish) for Felix?
>>
>> Thanks,
>> Mitesh
>>
>> Lloyd Chambers wrote:
>>> What's up with this?
>>>
>>> Welcome to Felix.
>>> =================
>>>
>>> org.osgi.framework.BundleException: Fragments with exports, imports,
>>> or native code are not currently supported.
>>> at
>>> org.apache.felix.framework.util.manifestparser.ManifestParser.validateFragment(ManifestParser.java:291)
>>>
>>> at
>>> org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:121)
>>>
>>> at
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.<init>(ModuleImpl.java:155)
>>>
>>> at
>>> org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:965)
>>> at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:79)
>>> at org.apache.felix.framework.Felix.installBundle(Felix.java:2123)
>>> at org.apache.felix.framework.Felix.installBundle(Felix.java:2026)
>>> at
>>> org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
>>>
>>> at org.jvnet.hk2.osgimain.Main.installBundle(Main.java:153)
>>> at org.jvnet.hk2.osgimain.Main.access$000(Main.java:66)
>>> at org.jvnet.hk2.osgimain.Main$1.accept(Main.java:139)
>>> at java.io.File.listFiles(File.java:1134)
>>> at org.jvnet.hk2.osgimain.Main.installBundles(Main.java:131)
>>> at org.jvnet.hk2.osgimain.Main.start(Main.java:95)
>>> at
>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>>
>>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>> at
>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> at java.lang.Thread.run(Thread.java:637)
>>> Apr 27, 2009 11:48:37 AM Installer install
>>> WARNING: Failed to install
>>> /work/v3/glassfishv3/glassfish/modules/org.eclipse.persistence.oracle.jar
>>> because of org.osgi.framework.BundleException: Could not create
>>> bundle object.
>>> felix.fileinstall.poll (ms) 5000
>>> felix.fileinstall.dir /work/v3/glassfishv3/glassfish/modules
>>> felix.fileinstall.debug 1
>>> felix.fileinstall.bundles.new.start false
>>> org.osgi.framework.BundleException: Fragments with exports, imports,
>>> or native code are not currently supported.
>>> at
>>> org.apache.felix.framework.util.manifestparser.ManifestParser.validateFragment(ManifestParser.java:291)
>>>
>>> at
>>> org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:121)
>>>
>>> at
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.<init>(ModuleImpl.java:155)
>>>
>>> at
>>> org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:965)
>>> at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:79)
>>> at org.apache.felix.framework.Felix.installBundle(Felix.java:2123)
>>> at org.apache.felix.framework.Felix.installBundle(Felix.java:2026)
>>> at
>>> org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.install(DirectoryWatcher.java:661)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.install(DirectoryWatcher.java:569)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.doInstalled(DirectoryWatcher.java:333)
>>>
>>> at
>>> org.apache.felix.fileinstall.DirectoryWatcher.run(DirectoryWatcher.java:120)
>>>
>>> Failed to install bundle:
>>> /work/v3/glassfishv3/glassfish/modules/org.eclipse.persistence.oracle.jar:
>>> org.osgi.framework.BundleException: Could not create bundle object.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>> <mailto:dev-help_at_glassfish.dev.java.net>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> <mailto:dev-unsubscribe_at_glassfish.dev.java.net>
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>> <mailto:dev-help_at_glassfish.dev.java.net>
>>
>
> Lloyd Chambers
> lloyd.chambers_at_sun.com <mailto:lloyd.chambers_at_sun.com>
> GlassFish Team
>
>
>