felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Bakker <paul.bak...@luminis.eu>
Subject Re: Deploying jar (javax.persistence) using fileInstall causes DependencyManager to Stop
Date Mon, 09 Feb 2015 20:35:43 GMT
Hi Frank,

Good that you fixed it :-)

In general, you don't want to add osgi.cmpn and the like to a run
configuration. Use them build time only.

Cheers,

Paul

On Mon Feb 09 2015 at 5:02:50 PM Frank Langel <frank@frankjlangel.com>
wrote:

> Update and resolution:
>
> Hi, I was able to fix this by removing osgi.enterprise from the list of
> run bundles. After further research, adding any of these bundles to the
> list of run bundles caused the error:
>
> - osgi.cmpn
> - osgi.compendium
> - osgi.enterprise
>
> I added the OSGI I needed back through a separate bundle that exports
> org.osgi.service.event, but the question remains why I see this problem in
> the first place and how to debug it to get to the root cause.
>
> Best
> Frank
>
>
>
> On 2/9/15, 3:48 PM, "Frank Langel" <frank@frankjlangel.com> wrote:
>
> >Well, it stops all bundles, not only the dependency managerĊ .
> >
> >g! [fileinstall-./deploy] DEBUG javax.persistence - BundleEvent INSTALLED
> >- javax.persistence
> >[FelixFrameworkWiring] DEBUG osgi.enterprise - BundleEvent STOPPING -
> >osgi.enterprise
> >[FelixFrameworkWiring] DEBUG osgi.enterprise - BundleEvent STOPPED -
> >osgi.enterprise
> >[FelixFrameworkWiring] DEBUG org.apache.felix.shell.remote - BundleEvent
> >STOPPING - org.apache.felix.shell.remote
> >[FelixFrameworkWiring] DEBUG org.apache.felix.shell.remote - BundleEvent
> >STOPPED - org.apache.felix.shell.remote
> >[FelixFrameworkWiring] DEBUG org.ops4j.pax.logging.pax-logging-api -
> >BundleEvent STOPPING - org.ops4j.pax.logging.pax-logging-api
> >[FelixFrameworkWiring] INFO org.ops4j.pax.logging.internal.Activator -
> >Disabling SLF4J API support.
> >[FelixFrameworkWiring] INFO org.ops4j.pax.logging.internal.Activator -
> >Disabling Jakarta Commons Logging API support.
> >[FelixFrameworkWi
> >
> >
> >
> >On 2/9/15, 3:39 PM, "Frank Langel" <frank@frankjlangel.com> wrote:
> >
> >>Hi,
> >>
> >>I have a weird situation. Whenever I deploy java.persistence.jar (or
> >>certain
> >>other bundles) through fileInstall/deploy directory, the felix dependency
> >>manager is stopped, which causes other bundles to stop. If I embedded
> >>javax.persistence with the felix runtime (launcher), it works well.
> >>
> >>g! [fileinstall-./deploy] DEBUG javax.persistence - BundleEvent
> >>INSTALLED
> >>-
> >>javax.persistence
> >>
> >>[FelixFrameworkWiring] DEBUG org.apache.felix.dependencymanager -
> >>BundleEvent STOPPING - org.apache.felix.dependencymanager
> >>
> >>[FelixFrameworkWiring] DEBUG org.apache.felix.dependencymanager -
> >>BundleEvent STOPPED - org.apache.felix.dependencymanager
> >>
> >>
> >>
> >>
> >>
> >>Does anyone have any idea what could cause this or a way to debug this?
> >>
> >>Thanks a bunch
> >>
> >>Frank
> >>
> >>
> >>
> >>
> >>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message