You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ks...@apache.org on 2014/04/14 23:28:55 UTC
[1/4] git commit: SM-2269 ActiveMQ quick start doesn't work due to
the missing activemq component
Repository: servicemix
Updated Branches:
refs/heads/SM-2269 [created] 0ae53954f
refs/heads/master 78f9aea36 -> 4ca3c6802
refs/heads/servicemix-5.0.x eb5eb4828 -> 5b901cadd
refs/heads/servicemix-5.1.x e3bd71cc9 -> 1c4969879
SM-2269 ActiveMQ quick start doesn't work due to the missing activemq component
Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/0ae53954
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/0ae53954
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/0ae53954
Branch: refs/heads/SM-2269
Commit: 0ae53954f82653deedeaad15782eff43ef794d7e
Parents: f9f7966
Author: Krzysztof Sobkowiak <kr...@gmail.com>
Authored: Sun Apr 13 10:28:46 2014 +0200
Committer: Krzysztof Sobkowiak <kr...@gmail.com>
Committed: Sun Apr 13 10:28:46 2014 +0200
----------------------------------------------------------------------
activemq/activemq-camel/pom.xml | 65 ++++++++++++++++++++
.../activemq/camel/ActiveMQComponent.java | 38 ++++++++++++
.../camel/ActiveMQComponentResolver.java | 51 +++++++++++++++
.../OSGI-INF/blueprint/activemq-camel.xml | 47 ++++++++++++++
activemq/activemq-service/pom.xml | 10 ++-
activemq/pom.xml | 1 +
.../src/main/filtered-resources/features.xml | 3 +-
.../resources/OSGI-INF/blueprint/blueprint.xml | 2 +
parent/pom.xml | 5 ++
9 files changed, 220 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/activemq/activemq-camel/pom.xml
----------------------------------------------------------------------
diff --git a/activemq/activemq-camel/pom.xml b/activemq/activemq-camel/pom.xml
new file mode 100644
index 0000000..abd7772
--- /dev/null
+++ b/activemq/activemq-camel/pom.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>activemq</artifactId>
+ <groupId>org.apache.servicemix</groupId>
+ <version>6.0.0-SNAPSHOT</version>
+ </parent>
+
+
+ <groupId>org.apache.servicemix.activemq</groupId>
+ <artifactId>org.apache.servicemix.activemq.camel</artifactId>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: ActiveMQ :: Camel</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-osgi</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Import-Package>
+ org.apache.camel.spi; provide:=true,
+ *
+ </Import-Package>
+ <Export-Package>!*</Export-Package>
+ <Bundle-Description>${project.description}</Bundle-Description>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponent.java
----------------------------------------------------------------------
diff --git a/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponent.java b/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponent.java
new file mode 100644
index 0000000..66a51ff
--- /dev/null
+++ b/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponent.java
@@ -0,0 +1,38 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.activemq.camel;
+
+import javax.jms.ConnectionFactory;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.component.jms.JmsConfiguration;
+
+/**
+ * A Camel component for ServiceMix which uses the
+ * {@link org.apache.activemq.ActiveMQConnectionFactory} service for connecting to the correct
+ * broker.
+ */
+public class ActiveMQComponent extends org.apache.activemq.camel.component.ActiveMQComponent {
+
+ public static final String NAME = "activemq";
+
+ public ActiveMQComponent(CamelContext camelContext, ConnectionFactory connectionFactory) {
+ super(camelContext);
+ setConfiguration(new JmsConfiguration(connectionFactory));
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponentResolver.java
----------------------------------------------------------------------
diff --git a/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponentResolver.java b/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponentResolver.java
new file mode 100644
index 0000000..dd09d39
--- /dev/null
+++ b/activemq/activemq-camel/src/main/java/org/apache/servicemix/activemq/camel/ActiveMQComponentResolver.java
@@ -0,0 +1,51 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.activemq.camel;
+
+import javax.jms.ConnectionFactory;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.Component;
+import org.apache.camel.spi.ComponentResolver;
+
+/**
+ * A {@link org.apache.camel.spi.ComponentResolver} for the {@link org.apache.servicemix.activemq.camel.ActiveMQComponent}
+ */
+public class ActiveMQComponentResolver implements ComponentResolver {
+
+
+ private ConnectionFactory connectionFactory;
+
+ public Component resolveComponent(String name, CamelContext camelContext)
+ throws Exception {
+ if (name.equals(ActiveMQComponent.NAME)) {
+ System.out.println("Creating an instance of the ActiveMQComponent");
+ return new ActiveMQComponent(camelContext, connectionFactory);
+ }
+ return null;
+ }
+
+
+ public ConnectionFactory getConnectionFactory() {
+ return connectionFactory;
+ }
+
+ public void setConnectionFactory(ConnectionFactory connectionFactory) {
+ this.connectionFactory = connectionFactory;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/activemq/activemq-camel/src/main/resources/OSGI-INF/blueprint/activemq-camel.xml
----------------------------------------------------------------------
diff --git a/activemq/activemq-camel/src/main/resources/OSGI-INF/blueprint/activemq-camel.xml b/activemq/activemq-camel/src/main/resources/OSGI-INF/blueprint/activemq-camel.xml
new file mode 100644
index 0000000..c7ccaaf
--- /dev/null
+++ b/activemq/activemq-camel/src/main/resources/OSGI-INF/blueprint/activemq-camel.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF 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
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+ xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
+ xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
+
+ <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"/>
+
+ <cm:property-placeholder persistent-id="org.apache.activemq.server-default" update-strategy="reload">
+ <cm:default-properties>
+ <cm:property name="broker-name" value="amq-broker"/>
+ </cm:default-properties>
+ </cm:property-placeholder>
+
+ <reference id="pooledConnectionFactory" interface="javax.jms.ConnectionFactory"
+ filter="(transacted=false)"/>
+
+ <!--
+ Register the org.apache.camel.spi.ComponentResolver for the activemq component
+ -->
+
+ <bean id="activeMQComponentResolver"
+ class="org.apache.servicemix.activemq.camel.ActiveMQComponentResolver">
+ <property name="connectionFactory" ref="pooledConnectionFactory"/>
+ </bean>
+
+ <service ref="activeMQComponentResolver" interface="org.apache.camel.spi.ComponentResolver">
+ <service-properties>
+ <entry key="component" value="activemq"/>
+ </service-properties>
+ </service>
+</blueprint>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/activemq/activemq-service/pom.xml
----------------------------------------------------------------------
diff --git a/activemq/activemq-service/pom.xml b/activemq/activemq-service/pom.xml
index 374594f..3eeb345 100644
--- a/activemq/activemq-service/pom.xml
+++ b/activemq/activemq-service/pom.xml
@@ -27,10 +27,18 @@
</parent>
<groupId>org.apache.servicemix.activemq</groupId>
- <artifactId>activemq-service</artifactId>
+ <artifactId>org.apache.servicemix.activemq.service</artifactId>
<packaging>bundle</packaging>
<name>Apache ServiceMix :: ActiveMQ :: Service</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-osgi</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
<build>
<plugins>
<plugin>
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/activemq/pom.xml
----------------------------------------------------------------------
diff --git a/activemq/pom.xml b/activemq/pom.xml
index bc07373..9afa3e0 100644
--- a/activemq/pom.xml
+++ b/activemq/pom.xml
@@ -34,6 +34,7 @@
<modules>
<module>activemq-service</module>
+ <module>activemq-camel</module>
</modules>
</project>
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/assembly/src/main/filtered-resources/features.xml
----------------------------------------------------------------------
diff --git a/assembly/src/main/filtered-resources/features.xml b/assembly/src/main/filtered-resources/features.xml
index ed30377..63d1d87 100644
--- a/assembly/src/main/filtered-resources/features.xml
+++ b/assembly/src/main/filtered-resources/features.xml
@@ -36,7 +36,8 @@
<feature name="activemq-service" version="${version}" resolver="(obr)" start-level="50">
<feature version="${activemq.version}">activemq-broker-noweb</feature>
- <bundle>mvn:org.apache.servicemix.activemq/activemq-service/${version}</bundle>
+ <bundle>mvn:org.apache.servicemix.activemq/org.apache.servicemix.activemq.service/${version}</bundle>
+ <bundle>mvn:org.apache.servicemix.activemq/org.apache.servicemix.activemq.camel/${version}</bundle>
</feature>
<!-- Activiti support -->
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/examples/activemq/activemq-camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
----------------------------------------------------------------------
diff --git a/examples/activemq/activemq-camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/examples/activemq/activemq-camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
index ce57943..4c55b71 100644
--- a/examples/activemq/activemq-camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
+++ b/examples/activemq/activemq-camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
@@ -36,10 +36,12 @@
</camelContext>
<!-- use CF from ActiveMQ blueprint service running in container -->
+ <!--
<reference id="connectionFactory" interface="javax.jms.ConnectionFactory" />
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="connectionFactory" ref="connectionFactory" />
</bean>
+ -->
<cm:property-placeholder persistent-id="org.apache.servicemix.examples">
<cm:default-properties>
http://git-wip-us.apache.org/repos/asf/servicemix/blob/0ae53954/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index f085757..1c915cd 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -103,6 +103,11 @@
<artifactId>activemq-broker</artifactId>
<version>${activemq.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-osgi</artifactId>
+ <version>${activemq.version}</version>
+ </dependency>
<!-- Activiti-->
<dependency>
<groupId>org.activiti</groupId>
[3/4] git commit: SM-2281 Upgrade to Karaf 2.3.5
Posted by ks...@apache.org.
SM-2281 Upgrade to Karaf 2.3.5
(cherry picked from the commit 5b901cadd5b2531250b316cccae8cf685983b040)
Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/1c496987
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/1c496987
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/1c496987
Branch: refs/heads/servicemix-5.1.x
Commit: 1c49698796f7598e4b986e9ceddc61fccdf36228
Parents: e3bd71c
Author: Krzysztof Sobkowiak <kr...@gmail.com>
Authored: Mon Apr 14 22:50:24 2014 +0200
Committer: Krzysztof Sobkowiak <kr...@gmail.com>
Committed: Mon Apr 14 22:52:38 2014 +0200
----------------------------------------------------------------------
.../etc/org.apache.karaf.features.cfg | 2 +
assembly/src/main/resources/etc/jre.properties | 161 +++++++++++++++++++
.../etc/org.apache.karaf.features.obr.cfg | 10 ++
.../resources/etc/org.ops4j.pax.logging.cfg | 3 +
.../src/main/resources/etc/system.properties | 8 +-
.../itests/IntegrationTestConfigurations.scala | 2 +-
parent/pom.xml | 4 +-
pom.xml | 6 +-
8 files changed, 184 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg b/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
index 9bedf60..29d4ebd 100644
--- a/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
+++ b/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
@@ -17,6 +17,8 @@
#
################################################################################
+respectStartLvlDuringFeatureStartup=false
+
#
# Comma separated list of features repositories to register by default
#
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/assembly/src/main/resources/etc/jre.properties
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/jre.properties b/assembly/src/main/resources/etc/jre.properties
index 458a9a2..12d0002 100644
--- a/assembly/src/main/resources/etc/jre.properties
+++ b/assembly/src/main/resources/etc/jre.properties
@@ -346,3 +346,164 @@ jre-1.7= \
org.xml.sax, \
org.xml.sax.ext, \
org.xml.sax.helpers
+
+jre-1.8= \
+ javax.accessibility, \
+ javax.activation;version="1.1", \
+ javax.activity, \
+ javax.annotation;version="1.2", \
+ javax.annotation.processing;version="1.2", \
+ javax.crypto, \
+ javax.crypto.interfaces, \
+ javax.crypto.spec, \
+ javax.imageio, \
+ javax.imageio.event, \
+ javax.imageio.metadata, \
+ javax.imageio.plugins.bmp, \
+ javax.imageio.plugins.jpeg, \
+ javax.imageio.spi, \
+ javax.imageio.stream, \
+ javax.jws;version="2.0", \
+ javax.jws.soap;version="2.0", \
+ javax.lang.model, \
+ javax.lang.model.element, \
+ javax.lang.model.type, \
+ javax.lang.model.util, \
+ javax.management, \
+ javax.management.loading, \
+ javax.management.modelmbean, \
+ javax.management.monitor, \
+ javax.management.openmbean, \
+ javax.management.relation, \
+ javax.management.remote, \
+ javax.management.remote.rmi, \
+ javax.management.timer, \
+ javax.naming, \
+ javax.naming.directory, \
+ javax.naming.event, \
+ javax.naming.ldap, \
+ javax.naming.spi, \
+ javax.net, \
+ javax.net.ssl, \
+ javax.print, \
+ javax.print.attribute, \
+ javax.print.attribute.standard, \
+ javax.print.event, \
+ javax.rmi, \
+ javax.rmi.CORBA, \
+ javax.rmi.ssl, \
+ javax.script, \
+ javax.security.auth, \
+ javax.security.auth.callback, \
+ javax.security.auth.kerberos, \
+ javax.security.auth.login, \
+ javax.security.auth.spi, \
+ javax.security.auth.x500, \
+ javax.security.cert, \
+ javax.security.sasl, \
+ javax.sound.midi, \
+ javax.sound.midi.spi, \
+ javax.sound.sampled, \
+ javax.sound.sampled.spi, \
+ javax.sql, \
+ javax.sql.rowset, \
+ javax.sql.rowset.serial, \
+ javax.sql.rowset.spi, \
+ javax.swing, \
+ javax.swing.border, \
+ javax.swing.colorchooser, \
+ javax.swing.event, \
+ javax.swing.filechooser, \
+ javax.swing.plaf, \
+ javax.swing.plaf.basic, \
+ javax.swing.plaf.metal, \
+ javax.swing.plaf.multi, \
+ javax.swing.plaf.synth, \
+ javax.swing.table, \
+ javax.swing.text, \
+ javax.swing.text.html, \
+ javax.swing.text.html.parser, \
+ javax.swing.text.rtf, \
+ javax.swing.tree, \
+ javax.swing.undo, \
+ javax.tools, \
+ javax.transaction; javax.transaction.xa; partial=true; mandatory:=partial, \
+ javax.xml, \
+ javax.xml.bind;version="2.2.1", \
+ javax.xml.bind.annotation;version="2.2.1", \
+ javax.xml.bind.annotation.adapters;version="2.2.1", \
+ javax.xml.bind.attachment;version="2.2.1", \
+ javax.xml.bind.helpers;version="2.2.1", \
+ javax.xml.bind.util;version="2.2.1", \
+ javax.xml.crypto, \
+ javax.xml.crypto.dom, \
+ javax.xml.crypto.dsig, \
+ javax.xml.crypto.dsig.dom, \
+ javax.xml.crypto.dsig.keyinfo, \
+ javax.xml.crypto.dsig.spec, \
+ javax.xml.datatype, \
+ javax.xml.namespace, \
+ javax.xml.parsers, \
+ javax.xml.soap;version="1.3", \
+ javax.xml.stream;version="1.2", \
+ javax.xml.stream.events;version="1.2", \
+ javax.xml.stream.util;version="1.2", \
+ javax.xml.transform, \
+ javax.xml.transform.dom, \
+ javax.xml.transform.sax, \
+ javax.xml.transform.stax, \
+ javax.xml.transform.stream, \
+ javax.xml.validation, \
+ javax.xml.ws;version="2.2", \
+ javax.xml.ws.handler;version="2.2", \
+ javax.xml.ws.handler.soap;version="2.2", \
+ javax.xml.ws.http;version="2.2", \
+ javax.xml.ws.soap;version="2.2", \
+ javax.xml.ws.spi;version="2.2", \
+ javax.xml.ws.wsaddressing;version="2.2", \
+ javax.xml.ws.spi.http;version="2.2", \
+ javax.xml.xpath, \
+ org.ietf.jgss, \
+ org.omg.CORBA, \
+ org.omg.CORBA_2_3, \
+ org.omg.CORBA_2_3.portable, \
+ org.omg.CORBA.DynAnyPackage, \
+ org.omg.CORBA.ORBPackage, \
+ org.omg.CORBA.portable, \
+ org.omg.CORBA.TypeCodePackage, \
+ org.omg.CosNaming, \
+ org.omg.CosNaming.NamingContextExtPackage, \
+ org.omg.CosNaming.NamingContextPackage, \
+ org.omg.Dynamic, \
+ org.omg.DynamicAny, \
+ org.omg.DynamicAny.DynAnyFactoryPackage, \
+ org.omg.DynamicAny.DynAnyPackage, \
+ org.omg.IOP, \
+ org.omg.IOP.CodecFactoryPackage, \
+ org.omg.IOP.CodecPackage, \
+ org.omg.Messaging, \
+ org.omg.PortableInterceptor, \
+ org.omg.PortableInterceptor.ORBInitInfoPackage, \
+ org.omg.PortableServer, \
+ org.omg.PortableServer.CurrentPackage, \
+ org.omg.PortableServer.POAManagerPackage, \
+ org.omg.PortableServer.POAPackage, \
+ org.omg.PortableServer.portable, \
+ org.omg.PortableServer.ServantLocatorPackage, \
+ org.omg.SendingContext, \
+ org.omg.stub.java.rmi, \
+ org.omg.stub.javax.management.remote.rmi, \
+ org.w3c.dom, \
+ org.w3c.dom.bootstrap, \
+ org.w3c.dom.css, \
+ org.w3c.dom.events, \
+ org.w3c.dom.html, \
+ org.w3c.dom.ls, \
+ org.w3c.dom.ranges, \
+ org.w3c.dom.stylesheets, \
+ org.w3c.dom.traversal, \
+ org.w3c.dom.views, \
+ org.w3c.dom.xpath, \
+ org.xml.sax, \
+ org.xml.sax.ext, \
+ org.xml.sax.helpers
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg b/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
index ec72283..bb459b2 100644
--- a/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
+++ b/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
@@ -26,3 +26,13 @@
# false (do not attempt to resolve optional imports).
#
resolveOptionalImports = true
+
+#
+# Defines whether resolved bundles should be started by default. The default is true.
+#
+startByDefault = true
+
+#
+# Defines the start level for resolved bundles. The default is 80.
+#
+startLevel = 80
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg b/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
index 515fdc8..61414fc 100644
--- a/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
+++ b/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
@@ -21,6 +21,9 @@
log4j.rootLogger=INFO, out, osgi:VmLogAppender
log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
+# To avoid flooding the log when using DEBUG level on an ssh connection and doing log:tail
+log4j.logger.org.apache.sshd.server.channel.ChannelSession = INFO
+
# CONSOLE appender not used by default
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/assembly/src/main/resources/etc/system.properties
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/system.properties b/assembly/src/main/resources/etc/system.properties
index e34c95b..d0f5e07 100644
--- a/assembly/src/main/resources/etc/system.properties
+++ b/assembly/src/main/resources/etc/system.properties
@@ -49,6 +49,7 @@ karaf.default.repository=system
#
karaf.shell.init.script=${karaf.home}/etc/shell.init.script
+#
# Sets the maximum size of the shell command history. If not set,
# defaults to 500 entries. Setting to 0 will disable history.
#
@@ -68,8 +69,6 @@ karaf.shell.init.script=${karaf.home}/etc/shell.init.script
#
karaf.admin.role=admin
-
-
#
# Set this empty property to avoid errors when validating xml documents.
#
@@ -85,7 +84,7 @@ jline.nobell=true
# ServiceMix specs options
#
org.apache.servicemix.specs.debug=false
-org.apache.servicemix.specs.timeout=100
+org.apache.servicemix.specs.timeout=0
#
# Default port for the OSGI HTTP Service
@@ -130,9 +129,6 @@ javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFac
#
org.apache.cxf.Logger=org.apache.cxf.common.logging.Slf4jLogger
-# Workaround for KARAF-1117: Jetty will use a JUL logger.
-org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog
-
#
# Settings for the OSGi 4.3 Weaving
# By default, we will not weave any classes. Change this setting to include classes
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
----------------------------------------------------------------------
diff --git a/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala b/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
index 06e899a..c4479e5 100644
--- a/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
+++ b/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
@@ -51,7 +51,7 @@ trait IntegrationTestConfigurations {
karafDistributionConfiguration().
frameworkUrl(
maven().groupId("org.apache.servicemix").artifactId(artifact).`type`("zip").versionAsInProject()).
- karafVersion("2.3.4").name("Apache ServiceMix (${name})").
+ karafVersion("2.3.5").name("Apache ServiceMix (${name})").
unpackDirectory(new File(s"target/pax-exam/${artifact}")).
useDeployFolder(false),
keepRuntimeFolder(),
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 05a0c59..07e758d 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -42,10 +42,10 @@
<camel.version>2.13.0</camel.version>
<cxf.version>2.7.10</cxf.version>
<felix.obr.version>1.6.6</felix.obr.version>
- <karaf.version>2.3.4</karaf.version>
+ <karaf.version>2.3.5</karaf.version>
<aries.proxy.version>1.0.2</aries.proxy.version>
<aries.util.version>1.1.0</aries.util.version>
- <aries.blueprint.core.version>1.3.0</aries.blueprint.core.version>
+ <aries.blueprint.core.version>1.4.0</aries.blueprint.core.version>
<aries.transaction.version>1.0.1</aries.transaction.version>
<pax.logging.version>1.7.2</pax.logging.version>
<akka.version>2.2.3</akka.version>
http://git-wip-us.apache.org/repos/asf/servicemix/blob/1c496987/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f967909..9f3f50b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
<geronimo-atinject.version>1.0</geronimo-atinject.version>
<!-- ServiceMix Bundles -->
- <commons-codec.bundle.version>1.8</commons-codec.bundle.version>
+ <commons-codec.bundle.version>1.9</commons-codec.bundle.version>
<commons-dbcp.bundle.version>1.4_3</commons-dbcp.bundle.version>
<commons-httpclient.bundle.version>3.1_7</commons-httpclient.bundle.version>
<commons-io.version>2.4</commons-io.version>
@@ -121,9 +121,9 @@
<xml.api.version>2.11.0-20110622</xml.api.version>
<xalan.version>2.7.1</xalan.version>
<pax.exam.version>3.4.0</pax.exam.version>
- <pax.url.version>1.3.6</pax.url.version>
+ <pax.url.version>1.3.7</pax.url.version>
<postgresql.version>9.1-901</postgresql.version>
- <slf4j.version>1.6.6</slf4j.version>
+ <slf4j.version>1.7.5</slf4j.version>
<spring.version>3.2.4.RELEASE</spring.version>
<wss4j.version>1.6.7</wss4j.version>
</properties>
[4/4] git commit: SM-2281 Upgrade to Karaf 2.3.5
Posted by ks...@apache.org.
SM-2281 Upgrade to Karaf 2.3.5
(cherry picked from the commit 5b901cadd5b2531250b316cccae8cf685983b040)
Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/4ca3c680
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/4ca3c680
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/4ca3c680
Branch: refs/heads/master
Commit: 4ca3c6802d956509d4d54cd6787dd43a2fd2cd51
Parents: 78f9aea
Author: Krzysztof Sobkowiak <kr...@gmail.com>
Authored: Mon Apr 14 22:50:24 2014 +0200
Committer: Krzysztof Sobkowiak <kr...@gmail.com>
Committed: Mon Apr 14 22:53:29 2014 +0200
----------------------------------------------------------------------
.../etc/org.apache.karaf.features.cfg | 2 +
assembly/src/main/resources/etc/jre.properties | 161 +++++++++++++++++++
.../etc/org.apache.karaf.features.obr.cfg | 10 ++
.../resources/etc/org.ops4j.pax.logging.cfg | 3 +
.../src/main/resources/etc/system.properties | 8 +-
.../itests/IntegrationTestConfigurations.scala | 2 +-
parent/pom.xml | 4 +-
pom.xml | 6 +-
8 files changed, 184 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg b/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
index 9bedf60..29d4ebd 100644
--- a/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
+++ b/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
@@ -17,6 +17,8 @@
#
################################################################################
+respectStartLvlDuringFeatureStartup=false
+
#
# Comma separated list of features repositories to register by default
#
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/assembly/src/main/resources/etc/jre.properties
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/jre.properties b/assembly/src/main/resources/etc/jre.properties
index 458a9a2..12d0002 100644
--- a/assembly/src/main/resources/etc/jre.properties
+++ b/assembly/src/main/resources/etc/jre.properties
@@ -346,3 +346,164 @@ jre-1.7= \
org.xml.sax, \
org.xml.sax.ext, \
org.xml.sax.helpers
+
+jre-1.8= \
+ javax.accessibility, \
+ javax.activation;version="1.1", \
+ javax.activity, \
+ javax.annotation;version="1.2", \
+ javax.annotation.processing;version="1.2", \
+ javax.crypto, \
+ javax.crypto.interfaces, \
+ javax.crypto.spec, \
+ javax.imageio, \
+ javax.imageio.event, \
+ javax.imageio.metadata, \
+ javax.imageio.plugins.bmp, \
+ javax.imageio.plugins.jpeg, \
+ javax.imageio.spi, \
+ javax.imageio.stream, \
+ javax.jws;version="2.0", \
+ javax.jws.soap;version="2.0", \
+ javax.lang.model, \
+ javax.lang.model.element, \
+ javax.lang.model.type, \
+ javax.lang.model.util, \
+ javax.management, \
+ javax.management.loading, \
+ javax.management.modelmbean, \
+ javax.management.monitor, \
+ javax.management.openmbean, \
+ javax.management.relation, \
+ javax.management.remote, \
+ javax.management.remote.rmi, \
+ javax.management.timer, \
+ javax.naming, \
+ javax.naming.directory, \
+ javax.naming.event, \
+ javax.naming.ldap, \
+ javax.naming.spi, \
+ javax.net, \
+ javax.net.ssl, \
+ javax.print, \
+ javax.print.attribute, \
+ javax.print.attribute.standard, \
+ javax.print.event, \
+ javax.rmi, \
+ javax.rmi.CORBA, \
+ javax.rmi.ssl, \
+ javax.script, \
+ javax.security.auth, \
+ javax.security.auth.callback, \
+ javax.security.auth.kerberos, \
+ javax.security.auth.login, \
+ javax.security.auth.spi, \
+ javax.security.auth.x500, \
+ javax.security.cert, \
+ javax.security.sasl, \
+ javax.sound.midi, \
+ javax.sound.midi.spi, \
+ javax.sound.sampled, \
+ javax.sound.sampled.spi, \
+ javax.sql, \
+ javax.sql.rowset, \
+ javax.sql.rowset.serial, \
+ javax.sql.rowset.spi, \
+ javax.swing, \
+ javax.swing.border, \
+ javax.swing.colorchooser, \
+ javax.swing.event, \
+ javax.swing.filechooser, \
+ javax.swing.plaf, \
+ javax.swing.plaf.basic, \
+ javax.swing.plaf.metal, \
+ javax.swing.plaf.multi, \
+ javax.swing.plaf.synth, \
+ javax.swing.table, \
+ javax.swing.text, \
+ javax.swing.text.html, \
+ javax.swing.text.html.parser, \
+ javax.swing.text.rtf, \
+ javax.swing.tree, \
+ javax.swing.undo, \
+ javax.tools, \
+ javax.transaction; javax.transaction.xa; partial=true; mandatory:=partial, \
+ javax.xml, \
+ javax.xml.bind;version="2.2.1", \
+ javax.xml.bind.annotation;version="2.2.1", \
+ javax.xml.bind.annotation.adapters;version="2.2.1", \
+ javax.xml.bind.attachment;version="2.2.1", \
+ javax.xml.bind.helpers;version="2.2.1", \
+ javax.xml.bind.util;version="2.2.1", \
+ javax.xml.crypto, \
+ javax.xml.crypto.dom, \
+ javax.xml.crypto.dsig, \
+ javax.xml.crypto.dsig.dom, \
+ javax.xml.crypto.dsig.keyinfo, \
+ javax.xml.crypto.dsig.spec, \
+ javax.xml.datatype, \
+ javax.xml.namespace, \
+ javax.xml.parsers, \
+ javax.xml.soap;version="1.3", \
+ javax.xml.stream;version="1.2", \
+ javax.xml.stream.events;version="1.2", \
+ javax.xml.stream.util;version="1.2", \
+ javax.xml.transform, \
+ javax.xml.transform.dom, \
+ javax.xml.transform.sax, \
+ javax.xml.transform.stax, \
+ javax.xml.transform.stream, \
+ javax.xml.validation, \
+ javax.xml.ws;version="2.2", \
+ javax.xml.ws.handler;version="2.2", \
+ javax.xml.ws.handler.soap;version="2.2", \
+ javax.xml.ws.http;version="2.2", \
+ javax.xml.ws.soap;version="2.2", \
+ javax.xml.ws.spi;version="2.2", \
+ javax.xml.ws.wsaddressing;version="2.2", \
+ javax.xml.ws.spi.http;version="2.2", \
+ javax.xml.xpath, \
+ org.ietf.jgss, \
+ org.omg.CORBA, \
+ org.omg.CORBA_2_3, \
+ org.omg.CORBA_2_3.portable, \
+ org.omg.CORBA.DynAnyPackage, \
+ org.omg.CORBA.ORBPackage, \
+ org.omg.CORBA.portable, \
+ org.omg.CORBA.TypeCodePackage, \
+ org.omg.CosNaming, \
+ org.omg.CosNaming.NamingContextExtPackage, \
+ org.omg.CosNaming.NamingContextPackage, \
+ org.omg.Dynamic, \
+ org.omg.DynamicAny, \
+ org.omg.DynamicAny.DynAnyFactoryPackage, \
+ org.omg.DynamicAny.DynAnyPackage, \
+ org.omg.IOP, \
+ org.omg.IOP.CodecFactoryPackage, \
+ org.omg.IOP.CodecPackage, \
+ org.omg.Messaging, \
+ org.omg.PortableInterceptor, \
+ org.omg.PortableInterceptor.ORBInitInfoPackage, \
+ org.omg.PortableServer, \
+ org.omg.PortableServer.CurrentPackage, \
+ org.omg.PortableServer.POAManagerPackage, \
+ org.omg.PortableServer.POAPackage, \
+ org.omg.PortableServer.portable, \
+ org.omg.PortableServer.ServantLocatorPackage, \
+ org.omg.SendingContext, \
+ org.omg.stub.java.rmi, \
+ org.omg.stub.javax.management.remote.rmi, \
+ org.w3c.dom, \
+ org.w3c.dom.bootstrap, \
+ org.w3c.dom.css, \
+ org.w3c.dom.events, \
+ org.w3c.dom.html, \
+ org.w3c.dom.ls, \
+ org.w3c.dom.ranges, \
+ org.w3c.dom.stylesheets, \
+ org.w3c.dom.traversal, \
+ org.w3c.dom.views, \
+ org.w3c.dom.xpath, \
+ org.xml.sax, \
+ org.xml.sax.ext, \
+ org.xml.sax.helpers
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg b/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
index ec72283..bb459b2 100644
--- a/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
+++ b/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
@@ -26,3 +26,13 @@
# false (do not attempt to resolve optional imports).
#
resolveOptionalImports = true
+
+#
+# Defines whether resolved bundles should be started by default. The default is true.
+#
+startByDefault = true
+
+#
+# Defines the start level for resolved bundles. The default is 80.
+#
+startLevel = 80
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg b/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
index 515fdc8..61414fc 100644
--- a/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
+++ b/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
@@ -21,6 +21,9 @@
log4j.rootLogger=INFO, out, osgi:VmLogAppender
log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
+# To avoid flooding the log when using DEBUG level on an ssh connection and doing log:tail
+log4j.logger.org.apache.sshd.server.channel.ChannelSession = INFO
+
# CONSOLE appender not used by default
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/assembly/src/main/resources/etc/system.properties
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/system.properties b/assembly/src/main/resources/etc/system.properties
index e34c95b..d0f5e07 100644
--- a/assembly/src/main/resources/etc/system.properties
+++ b/assembly/src/main/resources/etc/system.properties
@@ -49,6 +49,7 @@ karaf.default.repository=system
#
karaf.shell.init.script=${karaf.home}/etc/shell.init.script
+#
# Sets the maximum size of the shell command history. If not set,
# defaults to 500 entries. Setting to 0 will disable history.
#
@@ -68,8 +69,6 @@ karaf.shell.init.script=${karaf.home}/etc/shell.init.script
#
karaf.admin.role=admin
-
-
#
# Set this empty property to avoid errors when validating xml documents.
#
@@ -85,7 +84,7 @@ jline.nobell=true
# ServiceMix specs options
#
org.apache.servicemix.specs.debug=false
-org.apache.servicemix.specs.timeout=100
+org.apache.servicemix.specs.timeout=0
#
# Default port for the OSGI HTTP Service
@@ -130,9 +129,6 @@ javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFac
#
org.apache.cxf.Logger=org.apache.cxf.common.logging.Slf4jLogger
-# Workaround for KARAF-1117: Jetty will use a JUL logger.
-org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog
-
#
# Settings for the OSGi 4.3 Weaving
# By default, we will not weave any classes. Change this setting to include classes
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
----------------------------------------------------------------------
diff --git a/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala b/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
index 06e899a..c4479e5 100644
--- a/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
+++ b/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
@@ -51,7 +51,7 @@ trait IntegrationTestConfigurations {
karafDistributionConfiguration().
frameworkUrl(
maven().groupId("org.apache.servicemix").artifactId(artifact).`type`("zip").versionAsInProject()).
- karafVersion("2.3.4").name("Apache ServiceMix (${name})").
+ karafVersion("2.3.5").name("Apache ServiceMix (${name})").
unpackDirectory(new File(s"target/pax-exam/${artifact}")).
useDeployFolder(false),
keepRuntimeFolder(),
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index f085757..f5da2aa 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -42,10 +42,10 @@
<camel.version>2.13.0</camel.version>
<cxf.version>2.7.10</cxf.version>
<felix.obr.version>1.6.6</felix.obr.version>
- <karaf.version>2.3.4</karaf.version>
+ <karaf.version>2.3.5</karaf.version>
<aries.proxy.version>1.0.2</aries.proxy.version>
<aries.util.version>1.1.0</aries.util.version>
- <aries.blueprint.core.version>1.3.0</aries.blueprint.core.version>
+ <aries.blueprint.core.version>1.4.0</aries.blueprint.core.version>
<aries.transaction.version>1.0.1</aries.transaction.version>
<pax.logging.version>1.7.2</pax.logging.version>
<akka.version>2.2.3</akka.version>
http://git-wip-us.apache.org/repos/asf/servicemix/blob/4ca3c680/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b6ab23e..0156517 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
<geronimo-atinject.version>1.0</geronimo-atinject.version>
<!-- ServiceMix Bundles -->
- <commons-codec.bundle.version>1.8</commons-codec.bundle.version>
+ <commons-codec.bundle.version>1.9</commons-codec.bundle.version>
<commons-dbcp.bundle.version>1.4_3</commons-dbcp.bundle.version>
<commons-httpclient.bundle.version>3.1_7</commons-httpclient.bundle.version>
<commons-io.version>2.4</commons-io.version>
@@ -121,9 +121,9 @@
<xml.api.version>2.11.0-20110622</xml.api.version>
<xalan.version>2.7.1</xalan.version>
<pax.exam.version>3.4.0</pax.exam.version>
- <pax.url.version>1.3.6</pax.url.version>
+ <pax.url.version>1.3.7</pax.url.version>
<postgresql.version>9.1-901</postgresql.version>
- <slf4j.version>1.6.6</slf4j.version>
+ <slf4j.version>1.7.5</slf4j.version>
<spring.version>3.2.4.RELEASE</spring.version>
<wss4j.version>1.6.7</wss4j.version>
</properties>
[2/4] git commit: SM-2281 Upgrade to Karaf 2.3.5
Posted by ks...@apache.org.
SM-2281 Upgrade to Karaf 2.3.5
Project: http://git-wip-us.apache.org/repos/asf/servicemix/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix/commit/5b901cad
Tree: http://git-wip-us.apache.org/repos/asf/servicemix/tree/5b901cad
Diff: http://git-wip-us.apache.org/repos/asf/servicemix/diff/5b901cad
Branch: refs/heads/servicemix-5.0.x
Commit: 5b901cadd5b2531250b316cccae8cf685983b040
Parents: eb5eb48
Author: Krzysztof Sobkowiak <kr...@gmail.com>
Authored: Mon Apr 14 22:50:24 2014 +0200
Committer: Krzysztof Sobkowiak <kr...@gmail.com>
Committed: Mon Apr 14 22:50:24 2014 +0200
----------------------------------------------------------------------
.../etc/org.apache.karaf.features.cfg | 2 +
assembly/src/main/resources/etc/jre.properties | 161 +++++++++++++++++++
.../etc/org.apache.karaf.features.obr.cfg | 10 ++
.../resources/etc/org.ops4j.pax.logging.cfg | 3 +
.../src/main/resources/etc/system.properties | 8 +-
.../itests/IntegrationTestConfigurations.scala | 2 +-
parent/pom.xml | 4 +-
pom.xml | 6 +-
8 files changed, 184 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg b/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
index 9bedf60..29d4ebd 100644
--- a/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
+++ b/assembly/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
@@ -17,6 +17,8 @@
#
################################################################################
+respectStartLvlDuringFeatureStartup=false
+
#
# Comma separated list of features repositories to register by default
#
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/assembly/src/main/resources/etc/jre.properties
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/jre.properties b/assembly/src/main/resources/etc/jre.properties
index 458a9a2..12d0002 100644
--- a/assembly/src/main/resources/etc/jre.properties
+++ b/assembly/src/main/resources/etc/jre.properties
@@ -346,3 +346,164 @@ jre-1.7= \
org.xml.sax, \
org.xml.sax.ext, \
org.xml.sax.helpers
+
+jre-1.8= \
+ javax.accessibility, \
+ javax.activation;version="1.1", \
+ javax.activity, \
+ javax.annotation;version="1.2", \
+ javax.annotation.processing;version="1.2", \
+ javax.crypto, \
+ javax.crypto.interfaces, \
+ javax.crypto.spec, \
+ javax.imageio, \
+ javax.imageio.event, \
+ javax.imageio.metadata, \
+ javax.imageio.plugins.bmp, \
+ javax.imageio.plugins.jpeg, \
+ javax.imageio.spi, \
+ javax.imageio.stream, \
+ javax.jws;version="2.0", \
+ javax.jws.soap;version="2.0", \
+ javax.lang.model, \
+ javax.lang.model.element, \
+ javax.lang.model.type, \
+ javax.lang.model.util, \
+ javax.management, \
+ javax.management.loading, \
+ javax.management.modelmbean, \
+ javax.management.monitor, \
+ javax.management.openmbean, \
+ javax.management.relation, \
+ javax.management.remote, \
+ javax.management.remote.rmi, \
+ javax.management.timer, \
+ javax.naming, \
+ javax.naming.directory, \
+ javax.naming.event, \
+ javax.naming.ldap, \
+ javax.naming.spi, \
+ javax.net, \
+ javax.net.ssl, \
+ javax.print, \
+ javax.print.attribute, \
+ javax.print.attribute.standard, \
+ javax.print.event, \
+ javax.rmi, \
+ javax.rmi.CORBA, \
+ javax.rmi.ssl, \
+ javax.script, \
+ javax.security.auth, \
+ javax.security.auth.callback, \
+ javax.security.auth.kerberos, \
+ javax.security.auth.login, \
+ javax.security.auth.spi, \
+ javax.security.auth.x500, \
+ javax.security.cert, \
+ javax.security.sasl, \
+ javax.sound.midi, \
+ javax.sound.midi.spi, \
+ javax.sound.sampled, \
+ javax.sound.sampled.spi, \
+ javax.sql, \
+ javax.sql.rowset, \
+ javax.sql.rowset.serial, \
+ javax.sql.rowset.spi, \
+ javax.swing, \
+ javax.swing.border, \
+ javax.swing.colorchooser, \
+ javax.swing.event, \
+ javax.swing.filechooser, \
+ javax.swing.plaf, \
+ javax.swing.plaf.basic, \
+ javax.swing.plaf.metal, \
+ javax.swing.plaf.multi, \
+ javax.swing.plaf.synth, \
+ javax.swing.table, \
+ javax.swing.text, \
+ javax.swing.text.html, \
+ javax.swing.text.html.parser, \
+ javax.swing.text.rtf, \
+ javax.swing.tree, \
+ javax.swing.undo, \
+ javax.tools, \
+ javax.transaction; javax.transaction.xa; partial=true; mandatory:=partial, \
+ javax.xml, \
+ javax.xml.bind;version="2.2.1", \
+ javax.xml.bind.annotation;version="2.2.1", \
+ javax.xml.bind.annotation.adapters;version="2.2.1", \
+ javax.xml.bind.attachment;version="2.2.1", \
+ javax.xml.bind.helpers;version="2.2.1", \
+ javax.xml.bind.util;version="2.2.1", \
+ javax.xml.crypto, \
+ javax.xml.crypto.dom, \
+ javax.xml.crypto.dsig, \
+ javax.xml.crypto.dsig.dom, \
+ javax.xml.crypto.dsig.keyinfo, \
+ javax.xml.crypto.dsig.spec, \
+ javax.xml.datatype, \
+ javax.xml.namespace, \
+ javax.xml.parsers, \
+ javax.xml.soap;version="1.3", \
+ javax.xml.stream;version="1.2", \
+ javax.xml.stream.events;version="1.2", \
+ javax.xml.stream.util;version="1.2", \
+ javax.xml.transform, \
+ javax.xml.transform.dom, \
+ javax.xml.transform.sax, \
+ javax.xml.transform.stax, \
+ javax.xml.transform.stream, \
+ javax.xml.validation, \
+ javax.xml.ws;version="2.2", \
+ javax.xml.ws.handler;version="2.2", \
+ javax.xml.ws.handler.soap;version="2.2", \
+ javax.xml.ws.http;version="2.2", \
+ javax.xml.ws.soap;version="2.2", \
+ javax.xml.ws.spi;version="2.2", \
+ javax.xml.ws.wsaddressing;version="2.2", \
+ javax.xml.ws.spi.http;version="2.2", \
+ javax.xml.xpath, \
+ org.ietf.jgss, \
+ org.omg.CORBA, \
+ org.omg.CORBA_2_3, \
+ org.omg.CORBA_2_3.portable, \
+ org.omg.CORBA.DynAnyPackage, \
+ org.omg.CORBA.ORBPackage, \
+ org.omg.CORBA.portable, \
+ org.omg.CORBA.TypeCodePackage, \
+ org.omg.CosNaming, \
+ org.omg.CosNaming.NamingContextExtPackage, \
+ org.omg.CosNaming.NamingContextPackage, \
+ org.omg.Dynamic, \
+ org.omg.DynamicAny, \
+ org.omg.DynamicAny.DynAnyFactoryPackage, \
+ org.omg.DynamicAny.DynAnyPackage, \
+ org.omg.IOP, \
+ org.omg.IOP.CodecFactoryPackage, \
+ org.omg.IOP.CodecPackage, \
+ org.omg.Messaging, \
+ org.omg.PortableInterceptor, \
+ org.omg.PortableInterceptor.ORBInitInfoPackage, \
+ org.omg.PortableServer, \
+ org.omg.PortableServer.CurrentPackage, \
+ org.omg.PortableServer.POAManagerPackage, \
+ org.omg.PortableServer.POAPackage, \
+ org.omg.PortableServer.portable, \
+ org.omg.PortableServer.ServantLocatorPackage, \
+ org.omg.SendingContext, \
+ org.omg.stub.java.rmi, \
+ org.omg.stub.javax.management.remote.rmi, \
+ org.w3c.dom, \
+ org.w3c.dom.bootstrap, \
+ org.w3c.dom.css, \
+ org.w3c.dom.events, \
+ org.w3c.dom.html, \
+ org.w3c.dom.ls, \
+ org.w3c.dom.ranges, \
+ org.w3c.dom.stylesheets, \
+ org.w3c.dom.traversal, \
+ org.w3c.dom.views, \
+ org.w3c.dom.xpath, \
+ org.xml.sax, \
+ org.xml.sax.ext, \
+ org.xml.sax.helpers
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg b/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
index ec72283..bb459b2 100644
--- a/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
+++ b/assembly/src/main/resources/etc/org.apache.karaf.features.obr.cfg
@@ -26,3 +26,13 @@
# false (do not attempt to resolve optional imports).
#
resolveOptionalImports = true
+
+#
+# Defines whether resolved bundles should be started by default. The default is true.
+#
+startByDefault = true
+
+#
+# Defines the start level for resolved bundles. The default is 80.
+#
+startLevel = 80
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg b/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
index 515fdc8..61414fc 100644
--- a/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
+++ b/assembly/src/main/resources/etc/org.ops4j.pax.logging.cfg
@@ -21,6 +21,9 @@
log4j.rootLogger=INFO, out, osgi:VmLogAppender
log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
+# To avoid flooding the log when using DEBUG level on an ssh connection and doing log:tail
+log4j.logger.org.apache.sshd.server.channel.ChannelSession = INFO
+
# CONSOLE appender not used by default
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/assembly/src/main/resources/etc/system.properties
----------------------------------------------------------------------
diff --git a/assembly/src/main/resources/etc/system.properties b/assembly/src/main/resources/etc/system.properties
index e34c95b..d0f5e07 100644
--- a/assembly/src/main/resources/etc/system.properties
+++ b/assembly/src/main/resources/etc/system.properties
@@ -49,6 +49,7 @@ karaf.default.repository=system
#
karaf.shell.init.script=${karaf.home}/etc/shell.init.script
+#
# Sets the maximum size of the shell command history. If not set,
# defaults to 500 entries. Setting to 0 will disable history.
#
@@ -68,8 +69,6 @@ karaf.shell.init.script=${karaf.home}/etc/shell.init.script
#
karaf.admin.role=admin
-
-
#
# Set this empty property to avoid errors when validating xml documents.
#
@@ -85,7 +84,7 @@ jline.nobell=true
# ServiceMix specs options
#
org.apache.servicemix.specs.debug=false
-org.apache.servicemix.specs.timeout=100
+org.apache.servicemix.specs.timeout=0
#
# Default port for the OSGI HTTP Service
@@ -130,9 +129,6 @@ javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFac
#
org.apache.cxf.Logger=org.apache.cxf.common.logging.Slf4jLogger
-# Workaround for KARAF-1117: Jetty will use a JUL logger.
-org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog
-
#
# Settings for the OSGi 4.3 Weaving
# By default, we will not weave any classes. Change this setting to include classes
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
----------------------------------------------------------------------
diff --git a/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala b/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
index 06e899a..c4479e5 100644
--- a/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
+++ b/itests/src/test/scala/org/apache/servicemix/itests/IntegrationTestConfigurations.scala
@@ -51,7 +51,7 @@ trait IntegrationTestConfigurations {
karafDistributionConfiguration().
frameworkUrl(
maven().groupId("org.apache.servicemix").artifactId(artifact).`type`("zip").versionAsInProject()).
- karafVersion("2.3.4").name("Apache ServiceMix (${name})").
+ karafVersion("2.3.5").name("Apache ServiceMix (${name})").
unpackDirectory(new File(s"target/pax-exam/${artifact}")).
useDeployFolder(false),
keepRuntimeFolder(),
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 03c2470..eeeb7c9 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -42,10 +42,10 @@
<camel.version>2.12.3</camel.version>
<cxf.version>2.7.10</cxf.version>
<felix.obr.version>1.6.6</felix.obr.version>
- <karaf.version>2.3.4</karaf.version>
+ <karaf.version>2.3.5</karaf.version>
<aries.proxy.version>1.0.2</aries.proxy.version>
<aries.util.version>1.1.0</aries.util.version>
- <aries.blueprint.core.version>1.3.0</aries.blueprint.core.version>
+ <aries.blueprint.core.version>1.4.0</aries.blueprint.core.version>
<aries.transaction.version>1.0.1</aries.transaction.version>
<pax.logging.version>1.7.2</pax.logging.version>
<akka.version>2.2.3</akka.version>
http://git-wip-us.apache.org/repos/asf/servicemix/blob/5b901cad/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 37566c9..ab589e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
<geronimo-atinject.version>1.0</geronimo-atinject.version>
<!-- ServiceMix Bundles -->
- <commons-codec.bundle.version>1.8</commons-codec.bundle.version>
+ <commons-codec.bundle.version>1.9</commons-codec.bundle.version>
<commons-dbcp.bundle.version>1.4_3</commons-dbcp.bundle.version>
<commons-httpclient.bundle.version>3.1_7</commons-httpclient.bundle.version>
<commons-io.version>2.4</commons-io.version>
@@ -121,9 +121,9 @@
<xml.api.version>2.11.0-20110622</xml.api.version>
<xalan.version>2.7.1</xalan.version>
<pax.exam.version>3.4.0</pax.exam.version>
- <pax.url.version>1.3.6</pax.url.version>
+ <pax.url.version>1.3.7</pax.url.version>
<postgresql.version>9.1-901</postgresql.version>
- <slf4j.version>1.6.6</slf4j.version>
+ <slf4j.version>1.7.5</slf4j.version>
<spring.version>3.2.4.RELEASE</spring.version>
<wss4j.version>1.6.7</wss4j.version>
</properties>