Skip to content

Instantly share code, notes, and snippets.

View anpieber's full-sized avatar

Andreas Pieber anpieber

  • Schmutterer+Partner Information Technology GmbH
  • Austria, Vienna
View GitHub Profile
@anpieber
anpieber / start-stop.conf
Created May 22, 2013 07:48
Documentation of clean & restart in karaf
h1. Starting and Stopping Karaf
This chapter describes how to start and stop Apache Karaf and the various options that are available.
h2. Starting Karaf
h3. On Windows
From a console window, change to the installation directory and run {{Karaf}}. For the binary distribution, go to
{code}
@ -1365,15 +1365,6 @@
</ciManagement>
<build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*</include>
- </includes>
log:display
java.lang.NullPointerException
at org.apache.karaf.jaas.authz.impl.AuthorizationServiceImpl.getPrincipals(AuthorizationServiceImpl.java:70)
at org.apache.karaf.jaas.authz.impl.AuthorizationServiceImpl.checkPermission(AuthorizationServiceImpl.java:81)
at Proxy5426ceba_1c39_469a_b49d_7b7f1556abcf.checkPermission(Unknown Source)
at org.apache.karaf.shell.console.commands.BlueprintCommand.execute(BlueprintCommand.java:100)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
openengsb-domain-parent git:(master) ✗ git diff
diff --git a/pom.xml b/pom.xml
index 71e6b0f..82bfe62 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,6 +74,12 @@
</includes>
</resource>
</resources>
+ <plugins>
new AbstractBehavior() {
@Override
public void renderHead(Component component, IHeaderResponse response) {
//your logic goes here
}
};
hicolor-icon-theme
xdg-utils
alsa-lib (optional) - for basic sound support
giflib (optional) - for gif format support
gtk2 (optional) - for the Gtk+ look and feel - desktop usage
libpulse (optional) - for advanced sound support
libxtst (optional) - linked in xawt/libmawt.so - desktop usage
desktop-file-utils
gtk2
lcms2
Error executing command: Can not resolve feature:
Unsatisfied requirement(s):
---------------------------
service:(service=org.ops4j.pax.web.service.spi.WarManager)
Apache Karaf :: Web :: Core
[pieber@coprime karaf]$ mvn clean install -rf :org.apache.karaf.demos.command
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Karaf :: Demos :: Extend Console Command
[INFO] Apache Karaf :: Demos :: Deployer
[INFO] Apache Karaf :: Demos :: Deployer :: Kar
[INFO] Apache Karaf :: Demos :: Deployer :: Wrap Bundle osgi.commons-lang
[INFO] Apache Karaf :: Demos :: Deployer :: Bundle
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)[:1.7.0_03-icedtea]
at java.util.ArrayList$Itr.next(ArrayList.java:791)[:1.7.0_03-icedtea]
at org.apache.felix.framework.StatefulResolver$ResolverStateImpl.getCandidates(StatefulResolver.java:1333)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.StatefulResolver.isAllowedDynamicImport(StatefulResolver.java:521)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.StatefulResolver.resolve(StatefulResolver.java:216)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleWiringImpl.searchDynamicImports(BundleWiringImpl.java:1539)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1439)[org.apache.felix.framework-4.0.2.jar:]
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Austrian Association for Software Tool Integration (AASTI)
under one or more contributor license agreements. See the NOTICE file
distributed with this work for additional information regarding copyright
ownership. The AASTI licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at