You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/02/03 10:16:33 UTC
SMX4 & Cluster
Hi,
I try to use the cluster example of ServiceMix4 but I see that the following
package is not imported by camel.xml bundle of SMX2 instance :
karaf@smx2> log:display | grep Exchange
karaf@smx2> list
START LEVEL 100
ID State Blueprint Level Name
[ 0] [Active ] [ ] [ 0] System Bundle (2.0.1)
[ 1] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
Core (1.2.0)
[ 2] [Active ] [Created ] [ 30] Apache Felix Karaf :: Admin Core
(1.2.0)
[ 3] [Active ] [ ] [ 30] Apache Mina SSHD :: Core (0.3.0)
[ 4] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
Console (1.2.0)
[ 5] [Active ] [Created ] [ 30] Apache Felix Karaf :: Admin
Management (1.2.0)
[ 6] [Active ] [Created ] [ 30] Apache Felix Karaf :: Admin
Command (1.2.0)
[ 7] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
ConfigAdmin Commands (1.2.0)
[ 8] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell Log
Commands (1.2.0)
[ 9] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell SSH
(1.2.0)
[ 10] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
Command (1.2.0)
[ 11] [Active ] [ ] [ 30] org.osgi.impl.bundle.jmx
(4.2.0.200907080519)
[ 12] [Active ] [Created ] [ 30] Apache Felix Karaf :: JAAS
Modules (1.2.0)
[ 13] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
Various Commands (1.2.0)
[ 14] [Active ] [Created ] [ 30] Apache Felix Karaf :: JAAS
Config (1.2.0)
[ 15] [Active ] [Created ] [ 30] Apache Felix Karaf :: Spring
Deployer (1.2.0)
[ 16] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
PackageAdmin Commands (1.2.0)
[ 17] [Active ] [ ] [ 30] Apache Felix Gogo Shell Runtime
(0.2.2)
[ 18] [Active ] [Created ] [ 30] Apache Felix Karaf :: Management
(1.2.0)
[ 19] [Active ] [ ] [ 30] Apache MINA Core (2.0.0.RC1)
[ 20] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell OSGi
Commands (1.2.0)
[ 21] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
Management (1.2.0)
[ 22] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
Deployer (1.2.0)
[ 23] [Active ] [Created ] [ 30] Apache Felix Karaf :: Blueprint
Deployer (1.2.0)
[ 24] [Active ] [ ] [ 11] Apache Felix File Install
(2.0.4)
[ 25] [Active ] [ ] [ 10] Apache Felix Prefrences Service
(1.0.2)
[ 26] [Active ] [ ] [ 10] Apache Felix Configuration Admin
Service (1.2.4)
[ 27] [Active ] [ ] [ 8] OPS4J Pax Logging - API (1.4)
[ 28] [Active ] [ ] [ 8] OPS4J Pax Logging - Service
(1.4)
[ 29] [Active ] [ ] [ 5] OPS4J Pax Url - mvn: (1.1.2)
[ 30] [Active ] [ ] [ 5] OPS4J Pax Url - wrap: (1.1.2)
[ 31] [Active ] [Created ] [ 20] Apache Geronimo Blueprint Bundle
(1.0.0)
[ 32] [Installed ] [ ] [ 60] camel.xml (0.0.0)
[ 33] [Installed ] [ ] [ 60] jms.xml (0.0.0)
[ 34] [Active ] [ ] [ 60] cluster.xml (0.0.0)
karaf@smx2> start 32
Unresolved constraint in bundle camel.xml [32]: package;
(package=org.apache.servicemix.common.osgi)
karaf@smx2> packages:
packages:exports packages:imports
karaf@smx2> packages:imports 32
Bundle 32: No active imported packages.
karaf@smx2> headers 32
Bundle 32
---------
Bundle-ManifestVersion = 2
Bundle-SymbolicName = camel.xml
Bundle-Version = 0.0.0
DynamicImport-Package = *
Import-Package = org.apache.servicemix.common.osgi
Manifest-Version = 2
Spring-Context = *;publish-context:=false;create-asynchronously:=true
Question :
In which bundle are they packaged ?
Do we have to install this bundle on the SMX2 instance ?
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard
Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
Re: SMX4 & Cluster
Posted by Charles Moulliard <cm...@gmail.com>.
Additional question :
I don't see any camel/quartz bundles deployed in SMX1 / SMX 2 instances
Question : Is there an action missed in the README.txt file of cluster
example ? I suppose that those bundles are not deployed automatically
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard
Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
On Wed, Feb 3, 2010 at 10:16 AM, Charles Moulliard <cm...@gmail.com>wrote:
> Hi,
>
> I try to use the cluster example of ServiceMix4 but I see that the
> following package is not imported by camel.xml bundle of SMX2 instance :
>
> karaf@smx2> log:display | grep Exchange
> karaf@smx2> list
> START LEVEL 100
> ID State Blueprint Level Name
> [ 0] [Active ] [ ] [ 0] System Bundle (2.0.1)
> [ 1] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
> Core (1.2.0)
> [ 2] [Active ] [Created ] [ 30] Apache Felix Karaf :: Admin
> Core (1.2.0)
> [ 3] [Active ] [ ] [ 30] Apache Mina SSHD :: Core
> (0.3.0)
> [ 4] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
> Console (1.2.0)
> [ 5] [Active ] [Created ] [ 30] Apache Felix Karaf :: Admin
> Management (1.2.0)
> [ 6] [Active ] [Created ] [ 30] Apache Felix Karaf :: Admin
> Command (1.2.0)
> [ 7] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
> ConfigAdmin Commands (1.2.0)
> [ 8] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell Log
> Commands (1.2.0)
> [ 9] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell SSH
> (1.2.0)
> [ 10] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
> Command (1.2.0)
> [ 11] [Active ] [ ] [ 30] org.osgi.impl.bundle.jmx
> (4.2.0.200907080519)
> [ 12] [Active ] [Created ] [ 30] Apache Felix Karaf :: JAAS
> Modules (1.2.0)
> [ 13] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
> Various Commands (1.2.0)
> [ 14] [Active ] [Created ] [ 30] Apache Felix Karaf :: JAAS
> Config (1.2.0)
> [ 15] [Active ] [Created ] [ 30] Apache Felix Karaf :: Spring
> Deployer (1.2.0)
> [ 16] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
> PackageAdmin Commands (1.2.0)
> [ 17] [Active ] [ ] [ 30] Apache Felix Gogo Shell Runtime
> (0.2.2)
> [ 18] [Active ] [Created ] [ 30] Apache Felix Karaf ::
> Management (1.2.0)
> [ 19] [Active ] [ ] [ 30] Apache MINA Core (2.0.0.RC1)
> [ 20] [Active ] [Created ] [ 30] Apache Felix Karaf :: Shell
> OSGi Commands (1.2.0)
> [ 21] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
> Management (1.2.0)
> [ 22] [Active ] [Created ] [ 30] Apache Felix Karaf :: Features
> Deployer (1.2.0)
> [ 23] [Active ] [Created ] [ 30] Apache Felix Karaf :: Blueprint
> Deployer (1.2.0)
> [ 24] [Active ] [ ] [ 11] Apache Felix File Install
> (2.0.4)
> [ 25] [Active ] [ ] [ 10] Apache Felix Prefrences Service
> (1.0.2)
> [ 26] [Active ] [ ] [ 10] Apache Felix Configuration
> Admin Service (1.2.4)
> [ 27] [Active ] [ ] [ 8] OPS4J Pax Logging - API (1.4)
> [ 28] [Active ] [ ] [ 8] OPS4J Pax Logging - Service
> (1.4)
> [ 29] [Active ] [ ] [ 5] OPS4J Pax Url - mvn: (1.1.2)
> [ 30] [Active ] [ ] [ 5] OPS4J Pax Url - wrap: (1.1.2)
> [ 31] [Active ] [Created ] [ 20] Apache Geronimo Blueprint
> Bundle (1.0.0)
> [ 32] [Installed ] [ ] [ 60] camel.xml (0.0.0)
> [ 33] [Installed ] [ ] [ 60] jms.xml (0.0.0)
> [ 34] [Active ] [ ] [ 60] cluster.xml (0.0.0)
> karaf@smx2> start 32
> Unresolved constraint in bundle camel.xml [32]: package;
> (package=org.apache.servicemix.common.osgi)
> karaf@smx2> packages:
>
> packages:exports packages:imports
> karaf@smx2> packages:imports 32
> Bundle 32: No active imported packages.
> karaf@smx2> headers 32
>
> Bundle 32
> ---------
> Bundle-ManifestVersion = 2
> Bundle-SymbolicName = camel.xml
> Bundle-Version = 0.0.0
> DynamicImport-Package = *
> Import-Package = org.apache.servicemix.common.osgi
> Manifest-Version = 2
> Spring-Context = *;publish-context:=false;create-asynchronously:=true
>
> Question :
>
> In which bundle are they packaged ?
> Do we have to install this bundle on the SMX2 instance ?
>
> Kind regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>