karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: Custom Distribution Hangs on Startup...
Date Tue, 08 Jan 2019 16:56:32 GMT
That got it working for me.  Thanks, Johan!


On Tue, Jan 8, 2019 at 11:55 AM Johan Edstrom <seijoed@gmail.com> wrote:

> I compared to a 4.2.2,
> it is missing startup.properties in the generation.
>
> Adding;
>
> # Bundles to be started on startup, with startlevel
> mvn\:org.apache.karaf.features/org.apache.karaf.features.extension/4.2.2 =
> 1
> mvn\:org.apache.felix/org.apache.felix.metatype/1.2.2 = 5
> mvn\:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.2.2
> = 5
> mvn\:org.ops4j.pax.url/pax-url-aether/2.5.4 = 5
> mvn\:org.fusesource.jansi/jansi/1.17.1 = 8
> mvn\:org.ops4j.pax.logging/pax-logging-api/1.10.1 = 8
> mvn\:org.ops4j.pax.logging/pax-logging-log4j2/1.10.1 = 8
> mvn\:org.apache.felix/org.apache.felix.coordinator/1.0.2 = 9
> mvn\:org.apache.felix/org.apache.felix.configadmin/1.9.10 = 10
> mvn\:org.apache.felix/org.apache.felix.fileinstall/3.6.4 = 11
> mvn\:org.apache.karaf.features/org.apache.karaf.features.core/4.2.2 = 15
> mvn\:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.5.0
> = 30
>
> and it looks nicer.
>
>
>
> > On Jan 8, 2019, at 9:12 AM, James Carman <james@carmanconsulting.com>
> wrote:
> >
> > I am trying to create a custom distribution:
> >
> > https://github.com/jwcarman/custom-karaf-example/tree/vanilla
> >
> > When I cd into the target/assembly directory and do:
> >
> > bin/karaf
> >
> > the logs stop after this:
> >
> > Jan 08, 2019 11:11:01 AM org.apache.karaf.main.Main launch
> > INFO: Installing and starting initial bundles
> > Jan 08, 2019 11:11:01 AM org.apache.karaf.main.Main launch
> > INFO: All initial bundles installed and set to start
> > Jan 08, 2019 11:11:01 AM org.apache.karaf.main.lock.SimpleFileLock lock
> > INFO: Trying to lock
> > /Users/jcarman/IdeaProjects/custom-karaf-example/target/assembly/lock
> > Jan 08, 2019 11:11:01 AM org.apache.karaf.main.lock.SimpleFileLock lock
> > INFO: Lock acquired
> > Jan 08, 2019 11:11:01 AM org.apache.karaf.main.Main$KarafLockCallback
> > lockAcquired
> > INFO: Lock acquired. Setting startlevel to 100
> >
> >
> > Am I missing something?
> >
> > Thanks,
> >
> > James
>
>

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