Skip to content

Instantly share code, notes, and snippets.

View cmoulliard's full-sized avatar
🏠
Working from home

Charles Moulliard cmoulliard

🏠
Working from home
View GitHub Profile
dabou:~/MyApplications$ mv ~/Downloads/apache-karaf-2.4.3.tar.gz .
dabou:~/MyApplications$ tar -vxf apache-karaf-2.4.3.tar.gz
x apache-karaf-2.4.3/lib/org.apache.karaf.diagnostic.core-2.4.3.jar
x apache-karaf-2.4.3/lib/org.apache.servicemix.specs.activator-2.5.0.jar
x apache-karaf-2.4.3/lib/org.apache.servicemix.specs.locator-2.5.0.jar
x apache-karaf-2.4.3/lib/endorsed/org.apache.karaf.exception-2.4.3.jar
x apache-karaf-2.4.3/lib/endorsed/org.apache.servicemix.specs.activation-api-1.1-2.5.0.jar
x apache-karaf-2.4.3/lib/endorsed/org.apache.servicemix.specs.jaxp-api-1.4-2.5.0.jar
x apache-karaf-2.4.3/lib/endorsed/org.apache.servicemix.specs.stax-api-1.2-2.5.0.jar
x apache-karaf-2.4.3/lib/endorsed/org.apache.servicemix.specs.jaxb-api-2.2-2.5.0.jar
{
"title": "Twitter Search",
"rows": [
{
"title": "Options",
"height": "50px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
JBossFuse:karaf@root> features:addurl mvn:org.drools.example/features/1.0.0-SNAPSHOT/xml/features
JBossFuse:karaf@root> features:install lib
JBossFuse:karaf@root> features:install drools-module
JBossFuse:karaf@root> features:install my-kie-ci
JBossFuse:karaf@root>
JBossFuse:karaf@root> install -s mvn:org.kie.reproducer/reproducer-simple/1.0
Bundle ID: 158
JBossFuse:karaf@root> install -s mvn:org.kie.reproducer/reproducer-model/1.0
Bundle ID: 159
JBossFuse:karaf@root> install -s mvn:org.drools.example/simple-kie-ci/1.0
2014-05-23 19:40:13,623 | WARN | l Console Thread | KieScanner | ? ? | 157 - org.kie.scanner.osgi - 6.1.0.20140429-1643 | Cannot use native maven pom parser, fall back to the internal one
java.lang.RuntimeException: org.kie.scanner.embedder.MavenEmbedderException: com.google.inject.ProvisionException: Guice provision errors:
1) No implementation for org.apache.maven.repository.RepositorySystem was bound.
while locating org.apache.maven.execution.DefaultMavenExecutionRequestPopulator
at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: ClassRealm[maven-parent1, parent: null]]]
at ClassRealm[maven, parent: ClassRealm[maven-parent, parent: ClassRealm[maven-parent1, parent: null]]]
while locating org.apache.maven.execution.MavenExecutionRequestPopulator
1 error
2014-05-27 19:25:33,515 | WARN | FelixStartLevel | bundle | ? ? | 46 - org.apache.aries.spifly.dynamic.bundle - 1.0.0 | Could not load SPI implementation referred from bundle://59.1:0/META-INF/services/org.apache.lucene.codecs.PostingsFormat
java.lang.ClassNotFoundException: org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat not found by org.apache.servicemix.bundles.elasticsearch [59]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)[org.apache.felix.framework-4.0.3.jar:]
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)[org.apache.felix.framework-4.0.3.jar:]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_51]
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1723)[org.apache.fel
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description>JBoss Developer Studio Integration Stack Eclipse Updates</description>
<category-def name="BusinessLogic" label="JBoss Business Process and Rules Development">
<description>
Tools related to business processes and rules development - includes support for BPEL, BPMN2, jBPM, Drools and Guvnor
</description>
</category-def>
/usr/bin/java -jar plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -application org.eclipse.equinox.p2.director -repository jar:file:///home/dabou/Software/scripts/jbdevstudio-integration-stack-updatesite-7.0.2.CR1.zip!/ -installIU org.fusesource.ide.camel.editor
/usr/bin/java -jar plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar -application org.eclipse.equinox.p2.director -repository jar:file:///home/dabou/Software/scripts/jbdevstudio-integration-stack-updatesite-7.0.2.CR1.zip!/ -installIU org.fusesource.ide.runtimes
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Specify Vagrant version and Vagrant API version
Vagrant.require_version ">= 1.6.0"
VAGRANTFILE_API_VERSION = "2"
$provisionScript = <<SCRIPT
# add host
echo 172.28.128.4 vagrant-ubuntu-trusty-64 >> /etc/hosts
@cmoulliard
cmoulliard / gist:b8ecd0b24526117e5186
Created May 27, 2015 07:39
Using Apache Camel Without DSL
package org.jboss.fuse.camel;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.apache.camel.Exchange;
import org.apache.camel.ExchangePattern;
import org.apache.camel.LoggingLevel;
import org.apache.camel.Processor;