Hi -

Did some more analysis. The ‘already installed’ msgs don’t really seem to be an 
issue. The features appear to be installed and running and I don’t see them on 
subsequent framework restarts.

The non-responsive console still IS an issue, but that seems to be related to 
my own feature, so please ignore ;-)

Erwin

> On Jul 16, 2016, at 11:04, Erwin Hogeweg <[email protected]> wrote:
> 
> Hi,
> 
> I am trying to create a custom distro, following the examples in the 4.0 
> manual (BTW… the online and PDF versions are different), but I can’t get a 
> working system up and running.
> 
> This is the section in the pom where I define the bootfeatures.
> 
>       <plugin>
>       <groupId>org.apache.karaf.tooling</groupId>
>       <artifactId>karaf-maven-plugin</artifactId>
>       <version>${karaf.version}</version>
>       <extensions>true</extensions>
>       <configuration>
>               <!-- no startupFeatures -->
>               <bootFeatures>
>                       <feature>minimal</feature>
>                       <feature>aries-blueprint</feature>
>                       <feature>cxf-dosgi-discovery-local</feature>
>                       <feature>webconsole</feature>
>                       <feature>eventadmin</feature>
>                       <feature>scr</feature>
>                       <feature>jndi</feature>
>                       <feature>jpa</feature>
>                       <feature>jdbc</feature>
>                       <feature>eclipselink</feature>
>               </bootFeatures>
>               <installedFeatures>
>                       <!—feature>my-feature</feature-->
>               </installedFeatures>
>       </configuration>
> </plugin>
> 
> And this is what Karaf tells me: After the msgs the console is ‘dead’. 
> 
>   Apache Karaf (4.0.5)
> 
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
> 
> karaf@root()> The specified feature: 'minimal' version '4.0.5' is already 
> installed
> The specified feature: 'cxf-dosgi-discovery-local' version '1.7.0' is already 
> installed
> The specified feature: 'scr' version '4.0.5' is already installed
> The specified feature: 'eventadmin' version '4.0.5' is already installed
> The specified feature: 'eclipselink' version '2.6.1' is already installed
> The specified feature: 'jndi' version '4.0.5' is already installed
> The specified feature: 'jpa' version '2.3.0' is already installed
> The specified feature: 'jdbc' version '4.0.5' is already installed
> The specified feature: 'webconsole' version '4.0.5' is already installed
> The specified feature: 'aries-blueprint' version '4.0.5' is already installed
> la
> <nothing>
> 
> I tried to remove the ‘minimal’ feature and replace it with required 
> features, with similar result.
> 
> The logfile looks ‘normal’ except for the fact that bundles are stopped right 
> when the configuration is complete (see below).
> 
> I am sure it is something stupid, but I haven’t been able to figure it out 
> yet.
> 
> Any insight would be greatly appreciated.
> 
> 
> Regards,
> 
> Erwin
> 
> 
> ===== LOG excerpt
> 
> 2016-07-16 10:38:28,308 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.jledit/core/0.2.1
> 2016-07-16 10:38:28,311 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.ow2.asm/asm-all/5.0.4
> 2016-07-16 10:38:28,313 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.ops4j.pax.web/pax-web-api/4.2.6
> 2016-07-16 10:38:28,314 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.ops4j.pax.web/pax-web-jetty/4.2.6
> 2016-07-16 10:38:28,318 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.ops4j.pax.web/pax-web-runtime/4.2.6
> 2016-07-16 10:38:28,320 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.ops4j.pax.web/pax-web-spi/4.2.6
> 2016-07-16 10:38:28,323 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.codehaus.woodstox/stax2-api/3.1.4
> 2016-07-16 10:38:28,325 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> mvn:org.codehaus.woodstox/woodstox-core-asl/4.4.1
> 2016-07-16 10:38:28,352 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 | Creating configuration 
> file /Users/erwin/work/…/my.distribution-1.0//etc/jetty.xml
> 2016-07-16 10:38:28,353 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 | Stopping bundles:
> 2016-07-16 10:38:28,354 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.ops4j.pax.jdbc.config/0.8.0
> 2016-07-16 10:38:28,354 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.ops4j.pax.jdbc/0.8.0
> 2016-07-16 10:38:28,354 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.apache.servicemix.bundles.jasypt/1.9.2.1
> 2016-07-16 10:38:28,354 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.apache.sshd.core/0.14.0
> 2016-07-16 10:38:28,354 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.apache.karaf.features.core/4.0.5
> 2016-07-16 10:38:28,357 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.apache.felix.fileinstall/3.5.4
> 2016-07-16 10:38:28,360 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.apache.felix.configadmin/1.8.8
> 2016-07-16 10:38:28,360 | INFO  | pool-8-thread-1  | FeaturesServiceImpl      
>         | 7 - org.apache.karaf.features.core - 4.0.5 |   
> org.ops4j.pax.logging.pax-logging-api/1.8.5
> 2016-07-16 10:38:28,361 | INFO  | pool-8-thread-1  | Activator                
>         | 1 - org.ops4j.pax.logging.pax-logging-api - 1.8.5 | Disabling SLF4J 
> API support.
> 2016-07-16 10:38:28,361 | INFO  | pool-8-thread-1  | Activator                
>         | 1 - org.ops4j.pax.logging.pax-logging-api - 1.8.5 | Disabling 
> Jakarta Commons Logging API support.
> 2016-07-16 10:38:28,361 | INFO  | pool-8-thread-1  | Activator                
>         | 1 - org.ops4j.pax.logging.pax-logging-api - 1.8.5 | Disabling Log4J 
> API support.
> 2016-07-16 10:38:28,361 | INFO  | pool-8-thread-1  | Activator                
>         | 1 - org.ops4j.pax.logging.pax-logging-api - 1.8.5 | Disabling 
> Avalon Logger API support.
> 2016-07-16 10:38:28,361 | INFO  | pool-8-thread-1  | Activator                
>         | 1 - org.ops4j.pax.logging.pax-logging-api - 1.8.5 | Disabling JULI 
> Logger API support.
> 2016-07-16 10:38:28,362 | INFO  | pool-8-thread-1  | Activator                
>         | 1 - org.ops4j.pax.logging.pax-logging-api - 1.8.5 | Disabling Log4J 
> v2 API support.
> 
> 

Reply via email to