users@glassfish.java.net

Re: OSGI native code bundle

From: Richard S. Hall <heavy_at_ungoverned.org>
Date: Fri, 22 Jul 2011 14:19:20 -0400

Did you change both to processor values to be "x86_64" ? You should only
change the one associated with the 64 bit library. Regardless, it
doesn't sound like that is the issue.

Try to create a simple test bundle that demonstrates the issue and I can
try to take a look at it. I am sure it is a simple issue...

-> richard

On 7/22/11 1:35 PM, forums_at_java.net wrote:
> Thanks Richard.
>
> Now I am getting following:
>
> /
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> jNotifyBundle [307]: No matching native libraries found.
>
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
>
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
>
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)
>
> at
> org.glassfish.extras.osgicontainer.OSGiDeployedBundle.resume(OSGiDeployedBundle.java:83)
>
>
> at
> org.glassfish.extras.osgicontainer.OSGiDeployedBundle.start(OSGiDeployedBundle.java:62)
>
>
> at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
>
> at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
>
> at
> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
>
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
>
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:372)
>
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
>
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
>
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
>
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
>
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
>
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>
>
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
>
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
>
> at
> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
>
> at
> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
>
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
>
>
> at
> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
>
> at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
>
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>
>
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>
>
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>
>
> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>
>
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>
>
> at java.lang.Thread.run(Thread.java:619)
>
> /
>
>
> --
>
> [Message sent by forum member 'osgiUser']
>
> View Post: http://forums.java.net/node/825350
>
>