You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by smontico <sm...@gmail.com> on 2010/01/27 19:42:30 UTC

ServiceMix 4 installation bundles

Hi, 

I'm just starting with servicemix 4 and i have some questions.

I'm developing an application and i already have some platform bundles
(logging, commons, etc) so i want to use this bundles to develop my
webservices.

First of all i have installed all the bundles in maven repository.
Then in the servicemix shell i'm installing all the needed bundles with the
following command, for example:

osgi/install -s
mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0


After i have installed the bundles i check in the shell if the bundle is
ACTIVE, if it is not, i check why, but sometimes i cant figure out why the
bundles are installed or resolved instead of being active.

I have checked the log too and there's not helpfull information...


smx@root:osgi> list | grep Resolved
[ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
[ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
[ 194] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
smx@root:osgi> list | grep Installed
[ 159] [Installed  ] [       ] [   60] com.crs.gmi.core (1.0.0)
[ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
[ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
[ 173] [Installed  ] [       ] [   60] JasperReports Reporting Framework
(2.0.5)


smx@root:osgi> start 165
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.

Am I taking the right steps to install these bundles or am i missing
something?

After i enter the exit command in the shell i try to run servicemix again,
and the following error is shown:

smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
./servicemix 
ERROR: Error starting
mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
(org.osgi.framework.BundleException: Activator start error in bundle
org.springframework.osgi.extender [30].)
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
	at
org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
	at
org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
	at
org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
	at
org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
	at
org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
	at
org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
	at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
	at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
	at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.springframework.core.io.Resource
	at
org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
	at
org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
	at
org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
	... 13 more
ERROR: Error starting
mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
(org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
	at java.lang.Thread.run(Thread.java:619)
ERROR: Error starting
mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
(org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
	at java.lang.Thread.run(Thread.java:619)



What could be wrong?

Thanks in advance, Santiago.

-- 
View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27344706.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4 installation bundles

Posted by smontico <sm...@gmail.com>.
Hi Charles,

I have installed the version 1.2.1 of spring-osgi-core, spring-osgi-extender
and spring-osgi-io and it seems to work....

I have modified the startup.properties to this:

org/springframework/osgi/spring-osgi-core/1.2.1/org.springframework.osgi.core-1.2.1.jar=30
org/springframework/osgi/spring-osgi-extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar=30
org/springframework/osgi/spring-osgi-io/1.2.1/org.springframework.osgi.io-1.2.1.jar=30


In order to load the correct bundles now and seems to work...

Thanks for the help !

Santiago.


smontico wrote:
> 
> Hi Charles,
> 
> I have tried to install the entire feature but i dont have a feature for
> this reference <feature version="2.5.6.SEC01">spring</feature>.
> If i remove this feature reference and install all the others bundles a
> lot of errors were shown.
> Do I need to install the entire feature or only spring-osgi-io bundle?
> 
> The bundles you mention comes with the servicemix product in the
> startup.properties:
> 
> smx@root:/> osgi/list | grep spring
> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> 
> When servicemix starts up they are deployed into the cache folder i
> think...
> So i tried to install only the bundle spring-osgi-io, i uninstalled the
> bundle and then installed the one you told me..
> 
> smx@root:/> osgi/list                      
> START LEVEL 100
>    ID   State         Spring     Level  Name
> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
> (1.0.2)
> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
> jaxp-ri-1.4.2 (1.4.2.2)
> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
> (1.1.1)
> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
> 1.4 (1.3.0)
> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
> Service (1.0.4)
> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
> Core (1.1.0)
> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
> Deployer (1.1.0)
> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> mina-1.1.7 (1.1.7.1)
> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Modules (1.1.0)
> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-jexl-1.1 (1.1.0.1)
> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Features (1.1.0)
> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-httpclient-3.1 (3.1.0.1)
> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> ConfigAdmin Commands (1.1.0)
> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Config (1.1.0)
> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-vfs-1.0 (1.0.0.1)
> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> [  28] [Active     ] [       ] [   30] Unnamed -
> com.google.code.sshd:sshd:bundle:0.1 (0.1)
> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-codec-1.2 (1.2.0.1)
> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> cglib-2.1_3 (2.1.0.3_1)
> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> jline-0.9.94 (0.9.94.1)
> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> aopalliance-1.0 (1.0.0.1)
> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> PackageAdmin Commands (1.1.0)
> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> oro-2.0.8 (2.0.8.1)
> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Log Commands (1.1.0)
> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> OSGi Commands (1.1.0)
> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> Admin (1.1.0)
> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> Management (1.1.0)
> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
> Monitor (1.1.0)
> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
> (2.0.0)
> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> howl-1.0.1-1 (1.0.1.1_1)
> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
> (2.2.0.r634076)
> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
> [  49] [Active     ] [Started] [   60] Apache ServiceMix Transaction
> (1.0.0)
> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
> (2.2.0.r634076)
> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jencks-2.1 (2.1.0.1)
> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
> (1.0.1)
> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
> [  60] [Active     ] [Started] [   60] Apache ServiceMix Features ::
> ActiveMQ Commands (4.0.0)
> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX API
> 1.0 (1.3.0)
> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> ACTIVATION API 1.4 (1.3.0)
> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
> 2.1 (1.3.0)
> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jaxb-impl-2.1.6 (2.1.6.1)
> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
> 1.0 (1.3.0)
> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
> (1.0.0)
> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
> (1.0.0)
> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
> (1.0.0)
> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
> API 1.4 (1.3.0)
> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> woodstox-3.2.7 (3.2.7.1)
> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wsdl4j-1.6.1 (1.6.1.1)
> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> ant-1.7.0 (1.7.0.1)
> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
> (1.0.0)
> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
> (1.0.0)
> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
> (1.0.0)
> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Requestor (1.0.0)
> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Engine (1.0.0)
> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Config (1.0.0)
> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jetty-6.1.14 (6.1.14.1)
> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.5.2)
> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
> (0.5.2)
> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
> (0.5.0)
> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
> (0.5.0)
> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
> (0.3.3)
> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
> (4.0.0)
> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
> (1.1.2)
> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
> 1.3 (1.3.0)
> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS
> API 2.1 (1.3.0)
> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> asm-2.2.3 (2.2.3.1)
> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> FastInfoset-1.2.2 (1.2.2.1)
> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> neethi-2.0.4 (2.0.4.1)
> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlschema-1.4.3 (1.4.3.1)
> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlresolver-1.2 (1.2.0.1)
> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311
> API 0.8 (1.3.0)
> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlsec-1.3.0 (1.3.0.1)
> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wss4j-1.5.4 (1.5.4.1)
> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding Component
> (2009.01)
> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> commons-net-1.4.1 (1.4.1.1)
> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jsmpp-2.0 (2.0.0.1)
> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> snmp4j-1.8.1 (1.8.1.1)
> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
> (2.1.4)
> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
> (2.1.4)
> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
> (2009.01)
> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> core-3.2.3.v_686_R32x (3.2.3.1)
> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-runtime-3.0.1 (3.0.1.1)
> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> drools-4.0.7 (4.0.7.1)
> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service Engine
> (2009.01)
> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-3.0.1 (3.0.1.1)
> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> quartz-1.6.1 (1.6.1.1)
> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> oscore-2.2.4 (2.2.4.1)
> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> propertyset-1.3 (1.3.0.1)
> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> osworkflow-2.7.0 (2.7.0.1)
> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> Scripting API 1.0 (1.3.0)
> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> groovy-1.5.6 (1.5.6.1)
> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles: js-1.7R1
> (1.0.0.7R1_1)
> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jruby-1.1.2 (1.1.2.1)
> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
> Service Engine (2009.01)
> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> saxon-9.1.0.1 (9.1.0.1_1)
> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
> (2009.01)
> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
> Service Engine (2009.01)
> [ 158] [Resolved   ] [       ] [   60] Logger Properties Fragment (0.0.1)
>                                        Hosts: 179
> [ 159] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport for
> OSGi (4.0.0)
> [ 160] [Active     ] [       ] [   60] CGLIB Code Generation Library
> (2.1.3)
> [ 161] [Active     ] [       ] [   60] Jdbc Plug-in (1.0.0)
> [ 162] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
> [ 163] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
> (5.1.6)
> [ 164] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
> [ 165] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
> (1.0.0)
> [ 166] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
> [ 167] [Active     ] [       ] [   60] Apache Velocity Engine (1.6.2)
> [ 168] [Active     ] [       ] [   60] Apache Commons Lang (2.4.0)
> [ 169] [Active     ] [       ] [   60] Apache Commons Collections (3.2.1)
> [ 170] [Active     ] [       ] [   60] Spring JDBC (2.5.6)
> [ 171] [Active     ] [       ] [   60] Spring ORM (2.5.6)
> [ 172] [Active     ] [       ] [   60] JasperReports Reporting Framework
> (2.0.5)
> [ 173] [Active     ] [       ] [   60] Lowagie iText (2.0.8)
> [ 174] [Active     ] [       ] [   60] Apache Commons Bean Utilities
> (1.8.0)
> [ 175] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
> [ 176] [Active     ] [       ] [   60] Hibernate Classes (3.2.6.ga)
> [ 177] [Active     ] [       ] [   60] Apache Commons Digester (1.8.1)
> [ 178] [Active     ] [       ] [   60] ExcepcionBundle (1.0.0)
> [ 179] [Active     ] [       ] [   60] Logger Plug-in (0.0.1)
>                                        Fragments: 158
> [ 180] [Active     ] [Started] [   60] Test de hibernate (1.0.0)
> [ 181] [Active     ] [Started] [   60] Business Plug-in (1.0.0)
> [ 182] [Active     ] [Started] [   60] Webservice Plug-in (1.0.0)
> [ 183] [Active     ] [Started] [   60] Hibernate Plug-in (0.0.1)
> [ 184] [Active     ] [Started] [   60] GMI Core Plug-in (0.0.1)
> [ 185] [Active     ] [       ] [   60] Jasperreport (1.0.0)
> [ 186] [Active     ] [       ] [   60] AspectJ Weaver (1.6.5.RELEASE)
> [ 187] [Active     ] [       ] [   60] spring-osgi-io (1.2.0)
> 
> With the bundle you told me installed and active it throws the same
> error...
> 
> Probablly i'm doing something wrong...
> 
> Thanks in advance, Santiago.
> 
> cmoulliard wrote:
>> 
>> Hi Santiago,
>> 
>> I see that you have installed this OSGI bundle for Spring DM :
>> 
>> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>> 
>> Can you install the version 1.2.0 and retest please ?
>> 
>> Here is the feature created in karaf feature file for that
>> 
>> <feature name="spring-dm" version="1.2.0">
>> <feature version="2.5.6.SEC01">spring</feature>
>> <bundle>
>> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_4
>> </bundle>
>> <bundle>mvn:org.springframework.osgi/spring-osgi-io/1.2.0</bundle>
>> <bundle>
>> mvn:org.springframework.osgi/spring-osgi-core/1.2.0
>> </bundle>
>> <bundle>
>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0
>> </bundle>
>> <bundle>
>> mvn:org.springframework.osgi/spring-osgi-annotation/1.2.0
>> </bundle>
>> <bundle>
>> mvn:org.apache.felix.karaf.deployer/org.apache.felix.karaf.deployer.spring/1.2.0
>> </bundle>
>> </feature>
>> 
>> 
>> 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 Mon, Feb 1, 2010 at 3:03 PM, smontico <sm...@gmail.com> wrote:
>> 
>>>
>>> Hi,
>>>
>>> Well after playing for a while i was able to install all my bundles and
>>> they
>>> are all active/started:
>>>
>>> START LEVEL 100
>>>   ID   State         Spring     Level  Name
>>> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
>>> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
>>> (1.0.2)
>>> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
>>> jaxp-ri-1.4.2 (1.4.2.2)
>>> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
>>> (1.1.1)
>>> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP
>>> API
>>> 1.4 (1.3.0)
>>> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
>>> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
>>> Service (1.0.4)
>>> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
>>> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel ::
>>> GShell
>>> Core (1.1.0)
>>> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
>>> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
>>> (1.3.0)
>>> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
>>> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
>>> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>>> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> Spring
>>> Deployer (1.1.0)
>>> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> mina-1.1.7
>>> (1.1.7.1)
>>> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
>>> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>>> Modules (1.1.0)
>>> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-jexl-1.1 (1.1.0.1)
>>> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> Features (1.1.0)
>>> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-httpclient-3.1 (3.1.0.1)
>>> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
>>> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
>>> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> ConfigAdmin Commands (1.1.0)
>>> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>>> Config (1.1.0)
>>> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
>>> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-vfs-1.0 (1.0.0.1)
>>> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
>>> [  28] [Active     ] [       ] [   30] Unnamed -
>>> com.google.code.sshd:sshd:bundle:0.1 (0.1)
>>> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-codec-1.2 (1.2.0.1)
>>> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
>>> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> cglib-2.1_3 (2.1.0.3_1)
>>> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> jline-0.9.94 (0.9.94.1)
>>> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> aopalliance-1.0 (1.0.0.1)
>>> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
>>> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> PackageAdmin Commands (1.1.0)
>>> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> oro-2.0.8
>>> (2.0.8.1)
>>> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> Log Commands (1.1.0)
>>> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
>>> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> OSGi Commands (1.1.0)
>>> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> Admin (1.1.0)
>>> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> Management (1.1.0)
>>> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
>>> Monitor (1.1.0)
>>> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
>>> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
>>> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
>>> (2.0.0)
>>> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> howl-1.0.1-1 (1.0.1.1_1)
>>> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
>>> (2.2.0.r634076)
>>> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
>>> [  49] [Active     ] [Started] [   60] Apache ServiceMix Transaction
>>> (1.0.0)
>>> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
>>> (2.2.0.r634076)
>>> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
>>> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jencks-2.1
>>> (2.1.0.1)
>>> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
>>> (1.0.1)
>>> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
>>> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
>>> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
>>> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
>>> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
>>> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
>>> [  60] [Active     ] [Started] [   60] Apache ServiceMix Features ::
>>> ActiveMQ Commands (4.0.0)
>>> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX
>>> API
>>> 1.0 (1.3.0)
>>> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> ACTIVATION
>>> API 1.4 (1.3.0)
>>> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB
>>> API
>>> 2.1 (1.3.0)
>>> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jaxb-impl-2.1.6 (2.1.6.1)
>>> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
>>> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
>>> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
>>> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
>>> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
>>> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI
>>> API
>>> 1.0 (1.3.0)
>>> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils
>>> (1.1.0)
>>> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document
>>> (1.0.0)
>>> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
>>> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core
>>> (1.0.0)
>>> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi
>>> (1.0.0)
>>> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
>>> (1.0.0)
>>> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
>>> (1.0.0)
>>> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
>>> (1.0.0)
>>> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> JAVAMAIL
>>> API 1.4 (1.3.0)
>>> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
>>> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> woodstox-3.2.7 (3.2.7.1)
>>> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> wsdl4j-1.6.1 (1.6.1.1)
>>> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> ant-1.7.0
>>> (1.7.0.1)
>>> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
>>> (1.0.0)
>>> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi
>>> (1.0.0)
>>> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
>>> (1.0.0)
>>> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
>>> (1.0.0)
>>> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
>>> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>>> Requestor (1.0.0)
>>> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>>> Engine (1.0.0)
>>> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>>> Config (1.0.0)
>>> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jetty-6.1.14 (6.1.14.1)
>>> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
>>> (0.5.2)
>>> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
>>> (0.5.2)
>>> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
>>> (0.5.0)
>>> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
>>> Whiteboard
>>> (0.5.0)
>>> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
>>> (0.3.3)
>>> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
>>> (4.0.0)
>>> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
>>> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
>>> (1.1.2)
>>> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ
>>> API
>>> 1.3 (1.3.0)
>>> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS
>>> API
>>> 2.1 (1.3.0)
>>> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> asm-2.2.3
>>> (2.2.3.1)
>>> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> FastInfoset-1.2.2 (1.2.2.1)
>>> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> neethi-2.0.4 (2.0.4.1)
>>> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> xmlschema-1.4.3 (1.4.3.1)
>>> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> xmlresolver-1.2 (1.2.0.1)
>>> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311
>>> API
>>> 0.8 (1.3.0)
>>> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> xmlsec-1.3.0 (1.3.0.1)
>>> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> wss4j-1.5.4 (1.5.4.1)
>>> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
>>> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
>>> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding
>>> Component
>>> (2009.01)
>>> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
>>> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> commons-net-1.4.1 (1.4.1.1)
>>> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
>>> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
>>> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
>>> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
>>> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
>>> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
>>> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jsmpp-2.0
>>> (2.0.0.1)
>>> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
>>> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> snmp4j-1.8.1 (1.8.1.1)
>>> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
>>> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
>>> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
>>> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
>>> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
>>> (2.1.4)
>>> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
>>> (2.1.4)
>>> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
>>> (2009.01)
>>> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> core-3.2.3.v_686_R32x (3.2.3.1)
>>> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> antlr-runtime-3.0.1 (3.0.1.1)
>>> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> drools-4.0.7 (4.0.7.1)
>>> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service
>>> Engine
>>> (2009.01)
>>> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
>>> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> antlr-3.0.1 (3.0.1.1)
>>> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
>>> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> quartz-1.6.1 (1.6.1.1)
>>> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> oscore-2.2.4 (2.2.4.1)
>>> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> propertyset-1.3 (1.3.0.1)
>>> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> osworkflow-2.7.0 (2.7.0.1)
>>> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow
>>> (2009.01)
>>> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
>>> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
>>> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> Scripting
>>> API 1.0 (1.3.0)
>>> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> groovy-1.5.6 (1.5.6.1)
>>> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> js-1.7R1
>>> (1.0.0.7R1_1)
>>> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jruby-1.1.2 (1.1.2.1)
>>> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
>>> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
>>> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
>>> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
>>> Service Engine (2009.01)
>>> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation
>>> (2009.01)
>>> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> saxon-9.1.0.1 (9.1.0.1_1)
>>> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service
>>> Engine
>>> (2009.01)
>>> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
>>> Service
>>> Engine (2009.01)
>>> [ 158] [Resolved   ] [       ] [   60] Logger Properties Fragment
>>> (0.0.1)
>>>                                       Hosts: 179
>>> [ 159] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport
>>> for
>>> OSGi (4.0.0)
>>> [ 160] [Active     ] [       ] [   60] CGLIB Code Generation Library
>>> (2.1.3)
>>> [ 161] [Active     ] [       ] [   60] Jdbc Plug-in (1.0.0)
>>> [ 162] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
>>> [ 163] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
>>> (5.1.6)
>>> [ 164] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
>>> [ 165] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
>>> (1.0.0)
>>> [ 166] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
>>> [ 167] [Active     ] [       ] [   60] Apache Velocity Engine (1.6.2)
>>> [ 168] [Active     ] [       ] [   60] Apache Commons Lang (2.4.0)
>>> [ 169] [Active     ] [       ] [   60] Apache Commons Collections
>>> (3.2.1)
>>> [ 170] [Active     ] [       ] [   60] Spring JDBC (2.5.6)
>>> [ 171] [Active     ] [       ] [   60] Spring ORM (2.5.6)
>>> [ 172] [Active     ] [       ] [   60] JasperReports Reporting Framework
>>> (2.0.5)
>>> [ 173] [Active     ] [       ] [   60] Lowagie iText (2.0.8)
>>> [ 174] [Active     ] [       ] [   60] Apache Commons Bean Utilities
>>> (1.8.0)
>>> [ 175] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
>>> [ 176] [Active     ] [       ] [   60] Hibernate Classes (3.2.6.ga)
>>> [ 177] [Active     ] [       ] [   60] Apache Commons Digester (1.8.1)
>>> [ 178] [Active     ] [       ] [   60] ExcepcionBundle (1.0.0)
>>> [ 179] [Active     ] [       ] [   60] Logger Plug-in (0.0.1)
>>>                                       Fragments: 158
>>> [ 180] [Active     ] [Started] [   60] Test de hibernate (1.0.0)
>>> [ 181] [Active     ] [Started] [   60] Business Plug-in (1.0.0)
>>> [ 182] [Active     ] [Started] [   60] Webservice Plug-in (1.0.0)
>>> [ 183] [Active     ] [Started] [   60] Hibernate Plug-in (0.0.1)
>>> [ 184] [Active     ] [Started] [   60] GMI Core Plug-in (0.0.1)
>>> [ 185] [Active     ] [       ] [   60] Jasperreport (1.0.0)
>>> [ 186] [Active     ] [       ] [   60] AspectJ Weaver (1.6.5.RELEASE)
>>>
>>>
>>>
>>> My new :) problem is that when I'm trying to execute a webservice I
>>> deployed, the following error is shown:
>>>
>>>
>>> java.lang.ClassCastException: java.lang.IllegalAccessException cannot be
>>> cast to java.lang.RuntimeException
>>>        at
>>>
>>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:67)
>>>        at
>>>
>>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
>>>        at
>>>
>>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
>>>        at
>>>
>>> org.springframework.orm.hibernate3.HibernateTransactionManager$$EnhancerByCGLIB$$26682a6a.doGetTransaction(<generated>)
>>>        at
>>>
>>> org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:341)
>>>        at
>>>
>>> org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
>>>        at
>>>
>>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
>>>        at
>>>
>>> com.crs.uy.business.BattaBusiness$$EnhancerByCGLIB$$3e91fc25.executeService(<generated>)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>        at
>>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>        at
>>>
>>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
>>>        at
>>>
>>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
>>>        at
>>>
>>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>>        at
>>>
>>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>>        at
>>>
>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>>        at
>>>
>>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>>>        at $Proxy77.executeService(Unknown Source)
>>>        at
>>>
>>> org.apache.servicemix.examples.cxf.HelloWorldImpl.sayHi(HelloWorldImpl.java:56)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at
>>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>        at
>>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>        at
>>>
>>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:165)
>>>        at
>>>
>>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
>>>        at
>>> org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
>>>        at
>>>
>>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
>>>        at
>>>
>>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
>>>        at
>>>
>>> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>>>        at
>>>
>>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
>>>        at
>>>
>>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
>>>        at
>>>
>>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
>>>        at
>>>
>>> org.apache.servicemix.cxf.transport.http_osgi.OsgiDestination.doMessage(OsgiDestination.java:83)
>>>        at
>>>
>>> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invokeDestination(OsgiServlet.java:289)
>>>        at
>>>
>>> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invoke(OsgiServlet.java:185)
>>>        at
>>>
>>> org.apache.servicemix.cxf.transport.http_osgi.SpringOsgiServlet.invoke(SpringOsgiServlet.java:48)
>>>        at
>>>
>>> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.doPost(OsgiServlet.java:71)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>>>        at
>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>>>        at
>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
>>>        at
>>>
>>> org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
>>>        at
>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>>        at
>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>>        at
>>>
>>> org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:108)
>>>        at
>>>
>>> org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
>>>        at
>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>>        at org.mortbay.jetty.Server.handle(Server.java:324)
>>>        at
>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>>>        at
>>>
>>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
>>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
>>>        at
>>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
>>>        at
>>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
>>>        at
>>>
>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>>>        at
>>>
>>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
>>>
>>>
>>> This is my xml configuration:
>>>
>>> <?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.
>>> -->
>>> <!-- START SNIPPET: beans -->
>>> <beans xmlns="http://www.springframework.org/schema/beans"
>>>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>       xmlns:jaxws="http://cxf.apache.org/jaxws"
>>>           xmlns:ctx="http://www.springframework.org/schema/context"
>>>       xmlns:osgi="http://www.springframework.org/schema/osgi"
>>>      
>>> xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
>>>       xmlns:util="http://www.springframework.org/schema/util"
>>>       xsi:schemaLocation="
>>>  http://www.springframework.org/schema/beans
>>>  http://www.springframework.org/schema/beans/spring-beans.xsd
>>>  http://cxf.apache.org/jaxws
>>>  http://cxf.apache.org/schemas/jaxws.xsd
>>>  http://www.springframework.org/schema/context
>>>  http://www.springframework.org/schema/context/spring-context.xsd
>>>  http://www.springframework.org/schema/util
>>>  http://www.springframework.org/schema/util/spring-util.xsd
>>>  http://www.springframework.org/schema/osgi
>>>  http://www.springframework.org/schema/osgi/spring-osgi.xsd
>>>  http://www.springframework.org/schema/osgi-compendium
>>>
>>>
>>> http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
>>> ">
>>>
>>>
>>>    <import resource="classpath:META-INF/cxf/cxf.xml" />
>>>    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>>>    <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>>>    <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml"
>>> />
>>>
>>>        <jaxws:endpoint id="helloWorld"
>>>                        implementor="#pepe"
>>>                        address="/HelloWorld"/>
>>>
>>>        <bean id="pepe"
>>>               
>>> class="org.apache.servicemix.examples.cxf.HelloWorldImpl">
>>>                <property name="bussinesService"
>>> ref="osgibattaBusiness"></property>
>>>        </bean>
>>>
>>>        <osgi:reference id="osgibattaBusiness" cardinality="1..1"
>>>                interface="com.crs.uy.business.IBattaBusiness">
>>>        </osgi:reference>
>>> </beans>
>>>
>>>
>>> The object osgibattaBusiness seems to be correctly exposed by another
>>> bundle....
>>>
>>> The method of the webservice is correctly executed, the problem appears
>>> when
>>> it tries to execute a method (executeService) of the object inyected by
>>> spring.
>>> The executeService method is never executed...
>>>
>>> package org.apache.servicemix.examples.cxf;
>>>
>>> import java.lang.reflect.Method;
>>>
>>> import javax.jws.WebService;
>>>
>>> import com.crs.uy.business.IBattaBusiness;
>>>
>>> @WebService(endpointInterface =
>>> "org.apache.servicemix.examples.cxf.HelloWorld")
>>> public class HelloWorldImpl implements HelloWorld {
>>>
>>>        private IBattaBusiness bussinesService;
>>>
>>>        public IBattaBusiness getBussinesService() {
>>>                return bussinesService;
>>>        }
>>>
>>>        public void setBussinesService(IBattaBusiness bussinesService) {
>>>                this.bussinesService = bussinesService;
>>>        }
>>>
>>>        public String sayHi(String text) {
>>>                try {
>>>                        System.out.println("parametro : " + text);
>>>                        this.bussinesService.executeService(null);
>>>                } catch (Exception e) {
>>>                        e.printStackTrace();
>>>                }
>>>                return "************************** ServiceMix 4 a FULL =
>>> " +
>>> text;
>>>        }
>>> }
>>>
>>> Could it be a bundle conflict even if they are all active and started?
>>>
>>> Thanks again....
>>>
>>> Santiago.
>>>
>>>
>>> Gert Vanthienen wrote:
>>> >
>>> > Santiago,
>>> >
>>> > I think at least some of these bundles are failing to start because of
>>> > conflicting exports in other bundles we already ship with.  An
>>> > example: the pax-logging bundle exports all the commonly used logging
>>> > APIs, so when you add another log4j bundle you might run into a
>>> > situation where the framework is no longer able to determine what the
>>> > correct class space should look like.  Once you remove these
>>> > duplicates, you will probably also resolve a few of the 'Unable to
>>> > resolve due to constraint violation.' errors you are seeing.
>>> >
>>> > Could you give this approach a try so we can look into whatever
>>> > problems are unresolved after that?
>>> >
>>> > Regards,
>>> >
>>> > Gert Vanthienen
>>> > ------------------------
>>> > Open Source SOA: http://fusesource.com
>>> > Blog: http://gertvanthienen.blogspot.com/
>>> >
>>> >
>>> >
>>> > On 28 January 2010 13:51, smontico <sm...@gmail.com> wrote:
>>> >>
>>> >> Hi Jean,
>>> >>
>>> >> I have created a feature just like you told me:
>>> >>
>>> >> <feature name="target-platform" version="1.0.0">
>>> >>
>>> >> <bundle>mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0</bundle>
>>> >>
>>> >> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0</bundle>
>>> >>
>>> >>
>>> 
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0</bundle>
>>> >>
>>> >> 
>>> <bundle>mvn:com.crs.servicemix.examples/hibernate-classes/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.aop/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.beans/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.context/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.orm/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0</bundle>
>>> >>
>>> >>
>>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.eclipse.jdt.core.compiler.batch/1.0</bundle>
>>> >>    </feature>
>>> >>
>>> >> After that i refreshed the url and installed the target platform.
>>> >>
>>> >> The installation process shows an error:
>>> >>
>>> >> org.osgi.framework.BundleException: Fragment bundles can not be
>>> started.
>>> >>
>>> >>
>>> >> Do I have to remove the fragments bundles from the feature list?
>>> >> Anyway... after that i execute osgi/list in order to see what
>>> happened,
>>> >> and
>>> >> some bundles are not active.
>>> >>
>>> >> After the osgi/list command, i execute the exit command and then when
>>> i
>>> >> try
>>> >> to start servicemix again i can't !!!
>>> >> What could be wrong? Maybe some of my bundles are not compatible with
>>> the
>>> >> ones provided by servicemix??
>>> >>
>>> >> The steps i'm following:
>>> >>
>>> >> smx@root:features> install target-platform
>>> >> ERROR CommandLineExecutionFailed:
>>> >> org.apache.geronimo.gshell.command.CommandException:
>>> >> org.osgi.framework.BundleException: Fragment bundles can not be
>>> started.
>>> >> smx@root:features> osgi/list
>>> >> START LEVEL 100
>>> >>   ID   State         Spring     Level  Name
>>> >> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
>>> >> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences
>>> Service
>>> >> (1.0.2)
>>> >> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
>>> >> jaxp-ri-1.4.2 (1.4.2.2)
>>> >> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
>>> >> (1.1.1)
>>> >> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs ::
>>> JAXP
>>> >> API
>>> >> 1.4 (1.3.0)
>>> >> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle
>>> (4.1.0)
>>> >> [   6] [Active     ] [       ] [   10] Apache Felix Configuration
>>> Admin
>>> >> Service (1.0.4)
>>> >> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec
>>> (1.1.2)
>>> >> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel ::
>>> GShell
>>> >> Core (1.1.0)
>>> >> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API
>>> (1.3.0)
>>> >> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
>>> >> (1.3.0)
>>> >> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
>>> >> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
>>> >> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>>> >> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> Spring
>>> >> Deployer (1.1.0)
>>> >> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> mina-1.1.7
>>> >> (1.1.7.1)
>>> >> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
>>> >> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> JAAS
>>> >> Modules (1.1.0)
>>> >> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> commons-jexl-1.1 (1.1.0.1)
>>> >> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> >> Features (1.1.0)
>>> >> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> commons-httpclient-3.1 (3.1.0.1)
>>> >> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
>>> >> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
>>> >> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> >> ConfigAdmin Commands (1.1.0)
>>> >> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> JAAS
>>> >> Config (1.1.0)
>>> >> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
>>> >> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> commons-vfs-1.0 (1.0.0.1)
>>> >> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
>>> >> [  28] [Active     ] [       ] [   30] Unnamed -
>>> >> com.google.code.sshd:sshd:bundle:0.1 (0.1)
>>> >> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> commons-codec-1.2 (1.2.0.1)
>>> >> [  30] [Active     ] [       ] [   30] spring-osgi-extender
>>> (1.2.0.m2)
>>> >> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> cglib-2.1_3 (2.1.0.3_1)
>>> >> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> jline-0.9.94 (0.9.94.1)
>>> >> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> aopalliance-1.0 (1.0.0.1)
>>> >> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
>>> >> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> >> PackageAdmin Commands (1.1.0)
>>> >> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> >> oro-2.0.8
>>> >> (2.0.8.1)
>>> >> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> >> Log Commands (1.1.0)
>>> >> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
>>> >> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> >> OSGi Commands (1.1.0)
>>> >> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> >> Admin (1.1.0)
>>> >> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> >> Management (1.1.0)
>>> >> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel ::
>>> File
>>> >> Monitor (1.1.0)
>>> >> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
>>> >> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
>>> >> [  45] [Active     ] [       ] [   60]
>>> geronimo-j2ee-connector_1.5_spec
>>> >> (2.0.0)
>>> >> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> howl-1.0.1-1 (1.0.1.1_1)
>>> >> [  47] [Active     ] [       ] [   60] Geronimo TxManager ::
>>> Transaction
>>> >> (2.2.0.r634076)
>>> >> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
>>> >> [  49] [Active     ] [       ] [   60] Apache ServiceMix Transaction
>>> >> (1.0.0)
>>> >> [  50] [Active     ] [       ] [   60] Geronimo TxManager ::
>>> Connector
>>> >> (2.2.0.r634076)
>>> >> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
>>> >> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> jencks-2.1
>>> >> (2.1.0.1)
>>> >> [  53] [Active     ] [       ] [   60]
>>> geronimo-j2ee-management_1.1_spec
>>> >> (1.0.1)
>>> >> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle
>>> (1.4)
>>> >> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
>>> >> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
>>> >> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
>>> >> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
>>> >> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
>>> >> [  60] [Active     ] [       ] [   60] Apache ServiceMix Features ::
>>> >> ActiveMQ Commands (4.0.0)
>>> >> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> STAX
>>> >> API
>>> >> 1.0 (1.3.0)
>>> >> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> >> ACTIVATION
>>> >> API 1.4 (1.3.0)
>>> >> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> JAXB
>>> >> API
>>> >> 2.1 (1.3.0)
>>> >> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> jaxb-impl-2.1.6 (2.1.6.1)
>>> >> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
>>> >> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
>>> >> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
>>> >> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
>>> >> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming
>>> (1.0.0)
>>> >> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI
>>> API
>>> >> 1.0 (1.3.0)
>>> >> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils
>>> (1.1.0)
>>> >> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document
>>> (1.0.0)
>>> >> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API
>>> (1.0.0)
>>> >> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core
>>> (1.0.0)
>>> >> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi
>>> (1.0.0)
>>> >> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
>>> >> (1.0.0)
>>> >> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
>>> >> (1.0.0)
>>> >> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR
>>> Management
>>> >> (1.0.0)
>>> >> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> >> JAVAMAIL
>>> >> API 1.4 (1.3.0)
>>> >> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
>>> >> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> woodstox-3.2.7 (3.2.7.1)
>>> >> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> wsdl4j-1.6.1 (1.6.1.1)
>>> >> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> ant-1.7.0
>>> >> (1.7.0.1)
>>> >> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
>>> >> (1.0.0)
>>> >> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi
>>> (1.0.0)
>>> >> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
>>> >> (1.0.0)
>>> >> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
>>> >> (1.0.0)
>>> >> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
>>> >> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI
>>> Clustering
>>> >> Requestor (1.0.0)
>>> >> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI
>>> Clustering
>>> >> Engine (1.0.0)
>>> >> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI
>>> Clustering
>>> >> Config (1.0.0)
>>> >> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> jetty-6.1.14 (6.1.14.1)
>>> >> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
>>> >> (0.5.2)
>>> >> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
>>> >> (0.5.2)
>>> >> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
>>> >> (0.5.0)
>>> >> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
>>> >> Whiteboard
>>> >> (0.5.0)
>>> >> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
>>> >> (0.3.3)
>>> >> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
>>> >> (4.0.0)
>>> >> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
>>> >> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
>>> >> (1.1.2)
>>> >> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> SAAJ
>>> >> API
>>> >> 1.3 (1.3.0)
>>> >> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> JAXWS
>>> >> API
>>> >> 2.1 (1.3.0)
>>> >> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> asm-2.2.3
>>> >> (2.2.3.1)
>>> >> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> FastInfoset-1.2.2 (1.2.2.1)
>>> >> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> neethi-2.0.4 (2.0.4.1)
>>> >> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> xmlschema-1.4.3 (1.4.3.1)
>>> >> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> xmlresolver-1.2 (1.2.0.1)
>>> >> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> JSR311
>>> >> API
>>> >> 0.8 (1.3.0)
>>> >> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> xmlsec-1.3.0 (1.3.0.1)
>>> >> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> wss4j-1.5.4 (1.5.4.1)
>>> >> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
>>> >> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
>>> >> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding
>>> >> Component
>>> >> (2009.01)
>>> >> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
>>> >> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> commons-net-1.4.1 (1.4.1.1)
>>> >> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
>>> >> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
>>> >> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
>>> >> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
>>> >> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
>>> >> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
>>> >> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> jsmpp-2.0
>>> >> (2.0.0.1)
>>> >> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
>>> >> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> snmp4j-1.8.1 (1.8.1.1)
>>> >> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
>>> >> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
>>> >> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
>>> >> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
>>> >> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
>>> >> (2.1.4)
>>> >> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI
>>> Transport
>>> >> (2.1.4)
>>> >> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service
>>> Engine
>>> >> (2009.01)
>>> >> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> core-3.2.3.v_686_R32x (3.2.3.1)
>>> >> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> antlr-runtime-3.0.1 (3.0.1.1)
>>> >> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> drools-4.0.7 (4.0.7.1)
>>> >> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service
>>> >> Engine
>>> >> (2009.01)
>>> >> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
>>> >> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> antlr-3.0.1 (3.0.1.1)
>>> >> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
>>> >> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> quartz-1.6.1 (1.6.1.1)
>>> >> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> oscore-2.2.4 (2.2.4.1)
>>> >> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> propertyset-1.3 (1.3.0.1)
>>> >> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> osworkflow-2.7.0 (2.7.0.1)
>>> >> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow
>>> (2009.01)
>>> >> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
>>> >> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
>>> >> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> >> Scripting
>>> >> API 1.0 (1.3.0)
>>> >> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> groovy-1.5.6 (1.5.6.1)
>>> >> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> js-1.7R1
>>> >> (1.0.0.7R1_1)
>>> >> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> jruby-1.1.2 (1.1.2.1)
>>> >> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
>>> >> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript
>>> (1.1)
>>> >> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
>>> >> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223
>>> Scripting
>>> >> Service Engine (2009.01)
>>> >> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation
>>> (2009.01)
>>> >> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> >> saxon-9.1.0.1 (9.1.0.1_1)
>>> >> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service
>>> Engine
>>> >> (2009.01)
>>> >> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
>>> >> Service
>>> >> Engine (2009.01)
>>> >> [ 158] [Active     ] [       ] [   60] Driver Plug-in (1.0.0)
>>> >> [ 159] [Active     ] [       ] [   60] com.crs.gmi.core (1.0.0)
>>> >> [ 160] [Resolved   ] [       ] [   60] ExcepcionBundle (1.0.0)
>>> >> [ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
>>> >> [ 162] [Active     ] [       ] [   60] com.crs.gmi.core.logger
>>> (1.0.0)
>>> >> [ 163] [Active     ] [       ] [   60] com.crs.gmi.core.loggerconfig
>>> >> (1.0.0)
>>> >> [ 164] [Resolved   ] [       ] [   60]
>>> >> com.crs.gmi.core.report.jasperreport
>>> >> (1.0.0)
>>> >> [ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
>>> >> [ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
>>> >>                                       Hosts: 180
>>> >> [ 167] [Resolved   ] [       ] [   60] Lowagie iText (2.0.8)
>>> >> [ 168] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
>>> >> [ 169] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for
>>> MySQL
>>> >> (5.1.6)
>>> >> [ 170] [Active     ] [       ] [   60] Java SOAP API (1.3.0)
>>> >> [ 171] [Active     ] [       ] [   60] CGLIB Code Generation Library
>>> >> (2.1.3)
>>> >> [ 172] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
>>> >> [ 173] [Active     ] [       ] [   60] JasperReports Reporting
>>> Framework
>>> >> (2.0.5)
>>> >> [ 174] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching
>>> API
>>> >> (1.0.0)
>>> >> [ 175] [Active     ] [       ] [   60] AOP Alliance API (1.0.0)
>>> >> [ 176] [Resolved   ] [       ] [   60] Apache Commons Bean Utilities
>>> >> (1.8.0)
>>> >> [ 177] [Resolved   ] [       ] [   60] Apache Commons Collections
>>> (3.2.1)
>>> >> [ 178] [Resolved   ] [       ] [   60] Apache Commons Digester
>>> (1.8.1)
>>> >> [ 179] [Resolved   ] [       ] [   60] Apache Commons Lang (2.4.0)
>>> >> [ 180] [Resolved   ] [       ] [   60] Apache Log4J (1.2.15)
>>> >>                                       Fragments: 166
>>> >> [ 181] [Resolved   ] [       ] [   60] Apache Velocity Engine (1.6.2)
>>> >> [ 182] [Resolved   ] [       ] [   60] dom4j DOM Processor (1.6.1)
>>> >> [ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
>>> >>                                       Fragments: 184
>>> >> [ 184] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
>>> >>                                       Hosts: 183,183
>>> >> [ 185] [Resolved   ] [       ] [   60] Hibernate Classes (3.2.6.ga)
>>> >> [ 186] [Resolved   ] [       ] [   60] Spring AOP (2.5.6.A)
>>> >> [ 187] [Resolved   ] [       ] [   60] Spring Beans (2.5.6.A)
>>> >> [ 188] [Resolved   ] [       ] [   60] Spring Context (2.5.6.A)
>>> >> [ 189] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6.A)
>>> >> [ 190] [Resolved   ] [       ] [   60] Spring ORM (2.5.6.A)
>>> >> [ 191] [Resolved   ] [       ] [   60] Spring Transaction (2.5.6.A)
>>> >> [ 192] [Active     ] [       ] [   60] Spring Web (2.5.6.A)
>>> >> [ 193] [Active     ] [       ] [   60] Spring Web Servlet (2.5.6.A)
>>> >> [ 194] [Active     ] [       ] [   60] Eclipse JDT Batch Compile
>>> (3.3.0)
>>> >> smx@root:features> exit
>>> >> smontico@santiago
>>> :~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>>> >> ./servicemix
>>> >> ERROR: Error starting
>>> >> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>>> >> (org.osgi.framework.BundleException: Activator start error in bundle
>>> >> org.springframework.osgi.extender [30].)
>>> >> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>>> >>        at
>>> >>
>>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>>> >>        at
>>> >>
>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>>> >>        at
>>> >>
>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>> >>        at
>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>> >>        at
>>> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> >>        at
>>> >>
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> >>        at java.lang.Thread.run(Thread.java:619)
>>> >> Caused by: java.lang.ClassNotFoundException:
>>> >> org.springframework.core.io.Resource
>>> >>        at
>>> >>
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>>> >>        at
>>> >>
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>>> >>        at
>>> >>
>>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>>> >>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>> >>        at
>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>>> >>        ... 13 more
>>> >> ERROR: Error starting
>>> >>
>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>>> >> (org.osgi.framework.BundleException: Unable to resolve due to
>>> constraint
>>> >> violation.)
>>> >> org.osgi.framework.BundleException: Unable to resolve due to
>>> constraint
>>> >> violation.
>>> >>        at
>>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>> >>        at
>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>> >>        at
>>> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> >>        at
>>> >>
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> >>        at java.lang.Thread.run(Thread.java:619)
>>> >> ERROR: Error starting
>>> >>
>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>>> >> (org.osgi.framework.BundleException: Unable to resolve due to
>>> constraint
>>> >> violation.)
>>> >> org.osgi.framework.BundleException: Unable to resolve due to
>>> constraint
>>> >> violation.
>>> >>        at
>>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>> >>        at
>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>> >>        at
>>> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> >>        at
>>> >>
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> >>        at java.lang.Thread.run(Thread.java:619)
>>> >>
>>> >> I'll appreciate any comment or suggestion...
>>> >>
>>> >> Thanks in advance, Santiago.
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> smontico wrote:
>>> >>>
>>> >>> Hi Jean,
>>> >>>
>>> >>> Thanks for the fast response!
>>> >>> My comments inline:
>>> >>>
>>> >>>
>>> >>> Jean-Baptiste Onofré wrote:
>>> >>>>
>>> >>>> Hi Santiago,
>>> >>>>
>>> >>>> my comments inline:
>>> >>>>
>>> >>>>>
>>> >>>>> Am I taking the right steps to install these bundles or am i
>>> missing
>>> >>>>> something?
>>> >>>> Yes, you can make a mvn install to install the bundle in your local
>>> m2
>>> >>>> repo. After ogsi:install -s
>>> mvn:groupId/artifactId/classifier/version
>>> >>>>
>>> >>>> You check the log if the bundle can't be started.
>>> >>>>
>>> >>>>>>>> The problem is that no error was shown in the log when the
>>> bundle
>>> >>>>>>>> is
>>> >>>>>>>> not started
>>> >>>>
>>> >>>> If you have a lot of bundle to deploy you can "describe" it in a
>>> >>>> feature
>>> >>>> XML. In the feature XML, you can describe all the bundles that you
>>> need
>>> >>>> to deploy. You can use feature:addUrl and feature:install to deploy
>>> it.
>>> >>>>
>>> >>>>>>>> Ok i understand i will try it to make things simple
>>> >>>>
>>> >>>>> smontico@santiago
>>> :~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>>> >>>>> ./servicemix
>>> >>>>> ERROR: Error starting
>>> >>>>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>>> >>>>> (org.osgi.framework.BundleException: Activator start error in
>>> bundle
>>> >>>>> org.springframework.osgi.extender [30].)
>>> >>>>> java.lang.NoClassDefFoundError:
>>> org/springframework/core/io/Resource
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>>> >>>>>     at
>>> >>>>>
>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>> >>>>>     at
>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> >>>>>     at java.lang.Thread.run(Thread.java:619)
>>> >>>>> Caused by: java.lang.ClassNotFoundException:
>>> >>>>> org.springframework.core.io.Resource
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>>> >>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>> >>>>>     at
>>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>>> >>>>>     ... 13 more
>>> >>>>> ERROR: Error starting
>>> >>>>>
>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>>> >>>>> (org.osgi.framework.BundleException: Unable to resolve due to
>>> >>>>> constraint
>>> >>>>> violation.)
>>> >>>>> org.osgi.framework.BundleException: Unable to resolve due to
>>> >>>>> constraint
>>> >>>>> violation.
>>> >>>>>     at
>>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>> >>>>>     at
>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> >>>>>     at java.lang.Thread.run(Thread.java:619)
>>> >>>>> ERROR: Error starting
>>> >>>>>
>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>>> >>>>> (org.osgi.framework.BundleException: Unable to resolve due to
>>> >>>>> constraint
>>> >>>>> violation.)
>>> >>>>> org.osgi.framework.BundleException: Unable to resolve due to
>>> >>>>> constraint
>>> >>>>> violation.
>>> >>>>>     at
>>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>> >>>>>     at
>>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> >>>>>     at
>>> >>>>>
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> >>>>>     at java.lang.Thread.run(Thread.java:619)
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> What could be wrong?
>>> >>>>
>>> >>>> It looks like the spring feature is not installed. Could you send a
>>> >>>> osgi:list to see the list of deployed bundles ?
>>> >>>>
>>> >>>>>>>> After i try to install all my bundles servicemix show the error
>>> i
>>> >>>>>>>> have attached and the shell of servicemix doesnt appear
>>> anymore, i
>>> >>>>>>>> have to "re-install" servicemix :(
>>> >>>> This is what the log is showing:
>>> >>>>
>>> >>>> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor
>>> >>>> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the
>>> >>>> deploy
>>> >>>> directory:
>>> >>>>
>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
>>> >>>> every 500 millis
>>> >>>> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor
>>> >>>> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
>>> >>>>
>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
>>> >>>> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor
>>> >>>> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles
>>> from
>>> >>>> expanded source directories to:
>>> >>>>
>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
>>> >>>> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener
>>> >>>> | .activator.ContextLoaderListener  361 | Starting
>>> >>>> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
>>> >>>> 17:04:17,662 | INFO  | FelixStartLevel  | jetty
>>> >>>> | .service.internal.util.JCLLogger  102 | Logging to
>>> >>>> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
>>> >>>> org.ops4j.pax.web.service.internal.util.JCLLogger
>>> >>>> 17:04:17,662 | INFO  | FelixStartLevel  | Activator
>>> >>>> | x.web.service.internal.Activator   63 | Starting pax http service
>>> >>>> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl
>>> >>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
>>> >>>> property
>>> >>>> org.ops4j.pax.web.session.timeout has failed
>>> >>>> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl
>>> >>>> | ce.internal.ServerControllerImpl   65 | configuring server:
>>> >>>> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
>>> >>>> enabled=true,http port=8080,http secure enabled=false,http secure
>>> >>>> port=8443,ssl keystore=/home/smontico/.keystore,ssl
>>> >>>> keystoreType=null,session timeout=null,listening
>>> >>>> addresses=[Ljava.lang.String;@d6ee28}
>>> >>>> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl
>>> >>>> | ce.internal.ServerControllerImpl   53 | starting server:
>>> >>>> ServerControllerImpl{state=STOPPED}
>>> >>>> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl
>>> >>>> | service.internal.JettyServerImpl   98 | adding
>>> >>>> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
>>> >>>> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl
>>> >>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
>>> >>>> property
>>> >>>> org.ops4j.pax.web.session.timeout has failed
>>> >>>> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl
>>> >>>> | service.internal.JettyServerImpl   62 | starting
>>> JettyServerImpl{}
>>> >>>> 17:04:17,703 | INFO  | guration Updater | jetty
>>> >>>> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
>>> >>>> 17:04:17,730 | INFO  | guration Updater | jetty
>>> >>>> | .service.internal.util.JCLLogger  102 | Started
>>> >>>> NIOSocketConnectorWrapper@0.0.0.0:8080
>>> >>>> 17:04:17,733 | INFO  | FelixStartLevel  | Activator
>>> >>>> | x.web.service.internal.Activator   67 | Started pax http service
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>>>>>> This is the complete list of the bundles i'm trying to
>>> install:
>>> >>>>
>>> >>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
>>> >>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
>>> >>>> osgi/install -s
>>> >>>>
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
>>> >>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/hibernate-classes/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
>>> >>>> osgi/install -s
>>> >>>> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
>>> >>>>
>>> >>>>
>>> >>>> Thanks, Santiago.
>>> >>>>
>>> >>>>
>>> >>>> Thanks
>>> >>>> Regards
>>> >>>> JB
>>> >>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27355445.html
>>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >
>>> >
>>> > -----
>>> > ---
>>> > Gert Vanthienen
>>> > http://gertvanthienen.blogspot.com
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27404678.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -----
>> Charles Moulliard
>> SOA Architect
>> 
>> My Blog : http://cmoulliard.blogspot.com/  
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27407966.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4 installation bundles

Posted by smontico <sm...@gmail.com>.
Hi Charles,

I have tried to install the entire feature but i dont have a feature for
this reference <feature version="2.5.6.SEC01">spring</feature>.
If i remove this feature reference and install all the others bundles a lot
of errors were shown.
Do I need to install the entire feature or only spring-osgi-io bundle?

The bundles you mention comes with the servicemix product in the
startup.properties:

smx@root:/> osgi/list | grep spring
[  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
[  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
[  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)

When servicemix starts up they are deployed into the cache folder i think...
So i tried to install only the bundle spring-osgi-io, i uninstalled the
bundle and then installed the one you told me..

smx@root:/> osgi/list                      
START LEVEL 100
   ID   State         Spring     Level  Name
[   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
[   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
(1.0.2)
[   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
jaxp-ri-1.4.2 (1.4.2.2)
[   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
[   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
1.4 (1.3.0)
[   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
[   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
Service (1.0.4)
[   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
[   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
Core (1.1.0)
[   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
[  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
[  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
[  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
[  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
Deployer (1.1.0)
[  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles: mina-1.1.7
(1.1.7.1)
[  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
[  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
Modules (1.1.0)
[  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-jexl-1.1 (1.1.0.1)
[  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
Features (1.1.0)
[  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-httpclient-3.1 (3.1.0.1)
[  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
[  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
[  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
ConfigAdmin Commands (1.1.0)
[  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
Config (1.1.0)
[  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
[  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-vfs-1.0 (1.0.0.1)
[  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
[  28] [Active     ] [       ] [   30] Unnamed -
com.google.code.sshd:sshd:bundle:0.1 (0.1)
[  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-codec-1.2 (1.2.0.1)
[  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
[  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
cglib-2.1_3 (2.1.0.3_1)
[  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
jline-0.9.94 (0.9.94.1)
[  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
aopalliance-1.0 (1.0.0.1)
[  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
[  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
PackageAdmin Commands (1.1.0)
[  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8
(2.0.8.1)
[  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
Log Commands (1.1.0)
[  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
[  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
OSGi Commands (1.1.0)
[  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
Admin (1.1.0)
[  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
Management (1.1.0)
[  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
Monitor (1.1.0)
[  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
[  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
[  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
(2.0.0)
[  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
howl-1.0.1-1 (1.0.1.1_1)
[  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
(2.2.0.r634076)
[  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
[  49] [Active     ] [Started] [   60] Apache ServiceMix Transaction (1.0.0)
[  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
(2.2.0.r634076)
[  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
[  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jencks-2.1
(2.1.0.1)
[  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
(1.0.1)
[  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
[  55] [Active     ] [       ] [   60] xbean-spring (3.5)
[  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
[  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
[  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
[  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
[  60] [Active     ] [Started] [   60] Apache ServiceMix Features ::
ActiveMQ Commands (4.0.0)
[  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX API
1.0 (1.3.0)
[  62] [Active     ] [       ] [   60] Apache ServiceMix Specs :: ACTIVATION
API 1.4 (1.3.0)
[  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
2.1 (1.3.0)
[  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jaxb-impl-2.1.6 (2.1.6.1)
[  65] [Active     ] [       ] [   60] camel-core (1.6.0)
[  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
[  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
[  68] [Active     ] [       ] [   60] xbean-naming (3.5)
[  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
[  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
1.0 (1.3.0)
[  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
[  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
[  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
[  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
[  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
[  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring (1.0.0)
[  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
(1.0.0)
[  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
(1.0.0)
[  79] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
API 1.4 (1.3.0)
[  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
[  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
woodstox-3.2.7 (3.2.7.1)
[  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
wsdl4j-1.6.1 (1.6.1.1)
[  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles: ant-1.7.0
(1.7.0.1)
[  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime (1.0.0)
[  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
[  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
(1.0.0)
[  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
(1.0.0)
[  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
[  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Requestor (1.0.0)
[  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Engine (1.0.0)
[  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Config (1.0.0)
[  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jetty-6.1.14 (6.1.14.1)
[  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.5.2)
[  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container (0.5.2)
[  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.5.0)
[  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
(0.5.0)
[  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.3.3)
[  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
(4.0.0)
[  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
[ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec (1.1.2)
[ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
1.3 (1.3.0)
[ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS API
2.1 (1.3.0)
[ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles: asm-2.2.3
(2.2.3.1)
[ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
FastInfoset-1.2.2 (1.2.2.1)
[ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
neethi-2.0.4 (2.0.4.1)
[ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlschema-1.4.3 (1.4.3.1)
[ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlresolver-1.2 (1.2.0.1)
[ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311 API
0.8 (1.3.0)
[ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlsec-1.3.0 (1.3.0.1)
[ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
wss4j-1.5.4 (1.5.4.1)
[ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
[ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
[ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding Component
(2009.01)
[ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
[ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
commons-net-1.4.1 (1.4.1.1)
[ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
[ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
[ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
[ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
[ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
[ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
[ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jsmpp-2.0
(2.0.0.1)
[ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
[ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
snmp4j-1.8.1 (1.8.1.1)
[ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
[ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
[ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
[ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
[ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
(2.1.4)
[ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
(2.1.4)
[ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
(2009.01)
[ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
core-3.2.3.v_686_R32x (3.2.3.1)
[ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
antlr-runtime-3.0.1 (3.0.1.1)
[ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
drools-4.0.7 (4.0.7.1)
[ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service Engine
(2009.01)
[ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
[ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
antlr-3.0.1 (3.0.1.1)
[ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
[ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
quartz-1.6.1 (1.6.1.1)
[ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
oscore-2.2.4 (2.2.4.1)
[ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
propertyset-1.3 (1.3.0.1)
[ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
osworkflow-2.7.0 (2.7.0.1)
[ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
[ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
[ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
[ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs :: Scripting
API 1.0 (1.3.0)
[ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
groovy-1.5.6 (1.5.6.1)
[ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles: js-1.7R1
(1.0.0.7R1_1)
[ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jruby-1.1.2 (1.1.2.1)
[ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
[ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
[ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
[ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
Service Engine (2009.01)
[ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
[ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
saxon-9.1.0.1 (9.1.0.1_1)
[ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
(2009.01)
[ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification Service
Engine (2009.01)
[ 158] [Resolved   ] [       ] [   60] Logger Properties Fragment (0.0.1)
                                       Hosts: 179
[ 159] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport for
OSGi (4.0.0)
[ 160] [Active     ] [       ] [   60] CGLIB Code Generation Library (2.1.3)
[ 161] [Active     ] [       ] [   60] Jdbc Plug-in (1.0.0)
[ 162] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
[ 163] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
(5.1.6)
[ 164] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
[ 165] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
(1.0.0)
[ 166] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
[ 167] [Active     ] [       ] [   60] Apache Velocity Engine (1.6.2)
[ 168] [Active     ] [       ] [   60] Apache Commons Lang (2.4.0)
[ 169] [Active     ] [       ] [   60] Apache Commons Collections (3.2.1)
[ 170] [Active     ] [       ] [   60] Spring JDBC (2.5.6)
[ 171] [Active     ] [       ] [   60] Spring ORM (2.5.6)
[ 172] [Active     ] [       ] [   60] JasperReports Reporting Framework
(2.0.5)
[ 173] [Active     ] [       ] [   60] Lowagie iText (2.0.8)
[ 174] [Active     ] [       ] [   60] Apache Commons Bean Utilities (1.8.0)
[ 175] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
[ 176] [Active     ] [       ] [   60] Hibernate Classes (3.2.6.ga)
[ 177] [Active     ] [       ] [   60] Apache Commons Digester (1.8.1)
[ 178] [Active     ] [       ] [   60] ExcepcionBundle (1.0.0)
[ 179] [Active     ] [       ] [   60] Logger Plug-in (0.0.1)
                                       Fragments: 158
[ 180] [Active     ] [Started] [   60] Test de hibernate (1.0.0)
[ 181] [Active     ] [Started] [   60] Business Plug-in (1.0.0)
[ 182] [Active     ] [Started] [   60] Webservice Plug-in (1.0.0)
[ 183] [Active     ] [Started] [   60] Hibernate Plug-in (0.0.1)
[ 184] [Active     ] [Started] [   60] GMI Core Plug-in (0.0.1)
[ 185] [Active     ] [       ] [   60] Jasperreport (1.0.0)
[ 186] [Active     ] [       ] [   60] AspectJ Weaver (1.6.5.RELEASE)
[ 187] [Active     ] [       ] [   60] spring-osgi-io (1.2.0)

With the bundle you told me installed and active it throws the same error...

Probablly i'm doing something wrong...

Thanks in advance, Santiago.

cmoulliard wrote:
> 
> Hi Santiago,
> 
> I see that you have installed this OSGI bundle for Spring DM :
> 
> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> 
> Can you install the version 1.2.0 and retest please ?
> 
> Here is the feature created in karaf feature file for that
> 
> <feature name="spring-dm" version="1.2.0">
> <feature version="2.5.6.SEC01">spring</feature>
> <bundle>
> mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_4
> </bundle>
> <bundle>mvn:org.springframework.osgi/spring-osgi-io/1.2.0</bundle>
> <bundle>
> mvn:org.springframework.osgi/spring-osgi-core/1.2.0
> </bundle>
> <bundle>
> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0
> </bundle>
> <bundle>
> mvn:org.springframework.osgi/spring-osgi-annotation/1.2.0
> </bundle>
> <bundle>
> mvn:org.apache.felix.karaf.deployer/org.apache.felix.karaf.deployer.spring/1.2.0
> </bundle>
> </feature>
> 
> 
> 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 Mon, Feb 1, 2010 at 3:03 PM, smontico <sm...@gmail.com> wrote:
> 
>>
>> Hi,
>>
>> Well after playing for a while i was able to install all my bundles and
>> they
>> are all active/started:
>>
>> START LEVEL 100
>>   ID   State         Spring     Level  Name
>> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
>> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
>> (1.0.2)
>> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
>> jaxp-ri-1.4.2 (1.4.2.2)
>> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
>> (1.1.1)
>> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP
>> API
>> 1.4 (1.3.0)
>> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
>> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
>> Service (1.0.4)
>> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
>> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
>> Core (1.1.0)
>> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
>> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
>> (1.3.0)
>> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
>> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
>> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
>> Deployer (1.1.0)
>> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> mina-1.1.7
>> (1.1.7.1)
>> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
>> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>> Modules (1.1.0)
>> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-jexl-1.1 (1.1.0.1)
>> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> Features (1.1.0)
>> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-httpclient-3.1 (3.1.0.1)
>> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
>> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
>> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> ConfigAdmin Commands (1.1.0)
>> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>> Config (1.1.0)
>> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
>> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-vfs-1.0 (1.0.0.1)
>> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
>> [  28] [Active     ] [       ] [   30] Unnamed -
>> com.google.code.sshd:sshd:bundle:0.1 (0.1)
>> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-codec-1.2 (1.2.0.1)
>> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
>> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> cglib-2.1_3 (2.1.0.3_1)
>> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> jline-0.9.94 (0.9.94.1)
>> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> aopalliance-1.0 (1.0.0.1)
>> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
>> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> PackageAdmin Commands (1.1.0)
>> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> oro-2.0.8
>> (2.0.8.1)
>> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> Log Commands (1.1.0)
>> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
>> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
>> OSGi Commands (1.1.0)
>> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
>> Admin (1.1.0)
>> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>> Management (1.1.0)
>> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
>> Monitor (1.1.0)
>> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
>> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
>> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
>> (2.0.0)
>> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> howl-1.0.1-1 (1.0.1.1_1)
>> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
>> (2.2.0.r634076)
>> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
>> [  49] [Active     ] [Started] [   60] Apache ServiceMix Transaction
>> (1.0.0)
>> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
>> (2.2.0.r634076)
>> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
>> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jencks-2.1
>> (2.1.0.1)
>> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
>> (1.0.1)
>> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
>> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
>> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
>> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
>> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
>> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
>> [  60] [Active     ] [Started] [   60] Apache ServiceMix Features ::
>> ActiveMQ Commands (4.0.0)
>> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX
>> API
>> 1.0 (1.3.0)
>> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> ACTIVATION
>> API 1.4 (1.3.0)
>> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB
>> API
>> 2.1 (1.3.0)
>> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jaxb-impl-2.1.6 (2.1.6.1)
>> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
>> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
>> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
>> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
>> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
>> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
>> 1.0 (1.3.0)
>> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
>> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
>> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
>> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
>> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
>> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
>> (1.0.0)
>> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
>> (1.0.0)
>> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
>> (1.0.0)
>> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> JAVAMAIL
>> API 1.4 (1.3.0)
>> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
>> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> woodstox-3.2.7 (3.2.7.1)
>> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> wsdl4j-1.6.1 (1.6.1.1)
>> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> ant-1.7.0
>> (1.7.0.1)
>> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
>> (1.0.0)
>> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
>> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
>> (1.0.0)
>> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
>> (1.0.0)
>> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
>> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>> Requestor (1.0.0)
>> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>> Engine (1.0.0)
>> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>> Config (1.0.0)
>> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jetty-6.1.14 (6.1.14.1)
>> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
>> (0.5.2)
>> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
>> (0.5.2)
>> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
>> (0.5.0)
>> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
>> Whiteboard
>> (0.5.0)
>> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
>> (0.3.3)
>> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
>> (4.0.0)
>> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
>> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
>> (1.1.2)
>> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ
>> API
>> 1.3 (1.3.0)
>> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS
>> API
>> 2.1 (1.3.0)
>> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> asm-2.2.3
>> (2.2.3.1)
>> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> FastInfoset-1.2.2 (1.2.2.1)
>> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> neethi-2.0.4 (2.0.4.1)
>> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> xmlschema-1.4.3 (1.4.3.1)
>> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> xmlresolver-1.2 (1.2.0.1)
>> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311
>> API
>> 0.8 (1.3.0)
>> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> xmlsec-1.3.0 (1.3.0.1)
>> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> wss4j-1.5.4 (1.5.4.1)
>> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
>> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
>> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding
>> Component
>> (2009.01)
>> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
>> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> commons-net-1.4.1 (1.4.1.1)
>> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
>> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
>> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
>> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
>> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
>> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
>> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jsmpp-2.0
>> (2.0.0.1)
>> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
>> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> snmp4j-1.8.1 (1.8.1.1)
>> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
>> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
>> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
>> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
>> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
>> (2.1.4)
>> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
>> (2.1.4)
>> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
>> (2009.01)
>> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> core-3.2.3.v_686_R32x (3.2.3.1)
>> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> antlr-runtime-3.0.1 (3.0.1.1)
>> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> drools-4.0.7 (4.0.7.1)
>> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service
>> Engine
>> (2009.01)
>> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
>> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> antlr-3.0.1 (3.0.1.1)
>> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
>> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> quartz-1.6.1 (1.6.1.1)
>> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> oscore-2.2.4 (2.2.4.1)
>> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> propertyset-1.3 (1.3.0.1)
>> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> osworkflow-2.7.0 (2.7.0.1)
>> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
>> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
>> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
>> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> Scripting
>> API 1.0 (1.3.0)
>> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> groovy-1.5.6 (1.5.6.1)
>> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> js-1.7R1
>> (1.0.0.7R1_1)
>> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jruby-1.1.2 (1.1.2.1)
>> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
>> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
>> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
>> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
>> Service Engine (2009.01)
>> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
>> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> saxon-9.1.0.1 (9.1.0.1_1)
>> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
>> (2009.01)
>> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
>> Service
>> Engine (2009.01)
>> [ 158] [Resolved   ] [       ] [   60] Logger Properties Fragment (0.0.1)
>>                                       Hosts: 179
>> [ 159] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport
>> for
>> OSGi (4.0.0)
>> [ 160] [Active     ] [       ] [   60] CGLIB Code Generation Library
>> (2.1.3)
>> [ 161] [Active     ] [       ] [   60] Jdbc Plug-in (1.0.0)
>> [ 162] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
>> [ 163] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
>> (5.1.6)
>> [ 164] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
>> [ 165] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
>> (1.0.0)
>> [ 166] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
>> [ 167] [Active     ] [       ] [   60] Apache Velocity Engine (1.6.2)
>> [ 168] [Active     ] [       ] [   60] Apache Commons Lang (2.4.0)
>> [ 169] [Active     ] [       ] [   60] Apache Commons Collections (3.2.1)
>> [ 170] [Active     ] [       ] [   60] Spring JDBC (2.5.6)
>> [ 171] [Active     ] [       ] [   60] Spring ORM (2.5.6)
>> [ 172] [Active     ] [       ] [   60] JasperReports Reporting Framework
>> (2.0.5)
>> [ 173] [Active     ] [       ] [   60] Lowagie iText (2.0.8)
>> [ 174] [Active     ] [       ] [   60] Apache Commons Bean Utilities
>> (1.8.0)
>> [ 175] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
>> [ 176] [Active     ] [       ] [   60] Hibernate Classes (3.2.6.ga)
>> [ 177] [Active     ] [       ] [   60] Apache Commons Digester (1.8.1)
>> [ 178] [Active     ] [       ] [   60] ExcepcionBundle (1.0.0)
>> [ 179] [Active     ] [       ] [   60] Logger Plug-in (0.0.1)
>>                                       Fragments: 158
>> [ 180] [Active     ] [Started] [   60] Test de hibernate (1.0.0)
>> [ 181] [Active     ] [Started] [   60] Business Plug-in (1.0.0)
>> [ 182] [Active     ] [Started] [   60] Webservice Plug-in (1.0.0)
>> [ 183] [Active     ] [Started] [   60] Hibernate Plug-in (0.0.1)
>> [ 184] [Active     ] [Started] [   60] GMI Core Plug-in (0.0.1)
>> [ 185] [Active     ] [       ] [   60] Jasperreport (1.0.0)
>> [ 186] [Active     ] [       ] [   60] AspectJ Weaver (1.6.5.RELEASE)
>>
>>
>>
>> My new :) problem is that when I'm trying to execute a webservice I
>> deployed, the following error is shown:
>>
>>
>> java.lang.ClassCastException: java.lang.IllegalAccessException cannot be
>> cast to java.lang.RuntimeException
>>        at
>>
>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:67)
>>        at
>>
>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
>>        at
>>
>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
>>        at
>>
>> org.springframework.orm.hibernate3.HibernateTransactionManager$$EnhancerByCGLIB$$26682a6a.doGetTransaction(<generated>)
>>        at
>>
>> org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:341)
>>        at
>>
>> org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
>>        at
>>
>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
>>        at
>>
>> com.crs.uy.business.BattaBusiness$$EnhancerByCGLIB$$3e91fc25.executeService(<generated>)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>>
>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
>>        at
>>
>> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
>>        at
>>
>> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>>        at
>>
>> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>>        at
>>
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>>        at
>>
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>>        at $Proxy77.executeService(Unknown Source)
>>        at
>>
>> org.apache.servicemix.examples.cxf.HelloWorldImpl.sayHi(HelloWorldImpl.java:56)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>>
>> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:165)
>>        at
>>
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
>>        at
>> org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
>>        at
>>
>> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
>>        at
>>
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
>>        at
>>
>> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>>        at
>>
>> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
>>        at
>>
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
>>        at
>>
>> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
>>        at
>>
>> org.apache.servicemix.cxf.transport.http_osgi.OsgiDestination.doMessage(OsgiDestination.java:83)
>>        at
>>
>> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invokeDestination(OsgiServlet.java:289)
>>        at
>>
>> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invoke(OsgiServlet.java:185)
>>        at
>>
>> org.apache.servicemix.cxf.transport.http_osgi.SpringOsgiServlet.invoke(SpringOsgiServlet.java:48)
>>        at
>>
>> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.doPost(OsgiServlet.java:71)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>>        at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>>        at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
>>        at
>>
>> org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
>>        at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>        at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>>        at
>>
>> org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:108)
>>        at
>>
>> org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
>>        at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>>        at org.mortbay.jetty.Server.handle(Server.java:324)
>>        at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>>        at
>>
>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
>>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
>>        at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
>>        at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
>>        at
>>
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>>        at
>>
>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
>>
>>
>> This is my xml configuration:
>>
>> <?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.
>> -->
>> <!-- START SNIPPET: beans -->
>> <beans xmlns="http://www.springframework.org/schema/beans"
>>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>       xmlns:jaxws="http://cxf.apache.org/jaxws"
>>           xmlns:ctx="http://www.springframework.org/schema/context"
>>       xmlns:osgi="http://www.springframework.org/schema/osgi"
>>       xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
>>       xmlns:util="http://www.springframework.org/schema/util"
>>       xsi:schemaLocation="
>>  http://www.springframework.org/schema/beans
>>  http://www.springframework.org/schema/beans/spring-beans.xsd
>>  http://cxf.apache.org/jaxws
>>  http://cxf.apache.org/schemas/jaxws.xsd
>>  http://www.springframework.org/schema/context
>>  http://www.springframework.org/schema/context/spring-context.xsd
>>  http://www.springframework.org/schema/util
>>  http://www.springframework.org/schema/util/spring-util.xsd
>>  http://www.springframework.org/schema/osgi
>>  http://www.springframework.org/schema/osgi/spring-osgi.xsd
>>  http://www.springframework.org/schema/osgi-compendium
>>
>>
>> http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
>> ">
>>
>>
>>    <import resource="classpath:META-INF/cxf/cxf.xml" />
>>    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>>    <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>>    <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml"
>> />
>>
>>        <jaxws:endpoint id="helloWorld"
>>                        implementor="#pepe"
>>                        address="/HelloWorld"/>
>>
>>        <bean id="pepe"
>>                class="org.apache.servicemix.examples.cxf.HelloWorldImpl">
>>                <property name="bussinesService"
>> ref="osgibattaBusiness"></property>
>>        </bean>
>>
>>        <osgi:reference id="osgibattaBusiness" cardinality="1..1"
>>                interface="com.crs.uy.business.IBattaBusiness">
>>        </osgi:reference>
>> </beans>
>>
>>
>> The object osgibattaBusiness seems to be correctly exposed by another
>> bundle....
>>
>> The method of the webservice is correctly executed, the problem appears
>> when
>> it tries to execute a method (executeService) of the object inyected by
>> spring.
>> The executeService method is never executed...
>>
>> package org.apache.servicemix.examples.cxf;
>>
>> import java.lang.reflect.Method;
>>
>> import javax.jws.WebService;
>>
>> import com.crs.uy.business.IBattaBusiness;
>>
>> @WebService(endpointInterface =
>> "org.apache.servicemix.examples.cxf.HelloWorld")
>> public class HelloWorldImpl implements HelloWorld {
>>
>>        private IBattaBusiness bussinesService;
>>
>>        public IBattaBusiness getBussinesService() {
>>                return bussinesService;
>>        }
>>
>>        public void setBussinesService(IBattaBusiness bussinesService) {
>>                this.bussinesService = bussinesService;
>>        }
>>
>>        public String sayHi(String text) {
>>                try {
>>                        System.out.println("parametro : " + text);
>>                        this.bussinesService.executeService(null);
>>                } catch (Exception e) {
>>                        e.printStackTrace();
>>                }
>>                return "************************** ServiceMix 4 a FULL = "
>> +
>> text;
>>        }
>> }
>>
>> Could it be a bundle conflict even if they are all active and started?
>>
>> Thanks again....
>>
>> Santiago.
>>
>>
>> Gert Vanthienen wrote:
>> >
>> > Santiago,
>> >
>> > I think at least some of these bundles are failing to start because of
>> > conflicting exports in other bundles we already ship with.  An
>> > example: the pax-logging bundle exports all the commonly used logging
>> > APIs, so when you add another log4j bundle you might run into a
>> > situation where the framework is no longer able to determine what the
>> > correct class space should look like.  Once you remove these
>> > duplicates, you will probably also resolve a few of the 'Unable to
>> > resolve due to constraint violation.' errors you are seeing.
>> >
>> > Could you give this approach a try so we can look into whatever
>> > problems are unresolved after that?
>> >
>> > Regards,
>> >
>> > Gert Vanthienen
>> > ------------------------
>> > Open Source SOA: http://fusesource.com
>> > Blog: http://gertvanthienen.blogspot.com/
>> >
>> >
>> >
>> > On 28 January 2010 13:51, smontico <sm...@gmail.com> wrote:
>> >>
>> >> Hi Jean,
>> >>
>> >> I have created a feature just like you told me:
>> >>
>> >> <feature name="target-platform" version="1.0.0">
>> >>
>> >> <bundle>mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0</bundle>
>> >>
>> >> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0</bundle>
>> >>
>> >>
>> 
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0</bundle>
>> >>
>> >> 
>> <bundle>mvn:com.crs.servicemix.examples/hibernate-classes/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.aop/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.beans/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.context/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.orm/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0</bundle>
>> >>
>> >>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.eclipse.jdt.core.compiler.batch/1.0</bundle>
>> >>    </feature>
>> >>
>> >> After that i refreshed the url and installed the target platform.
>> >>
>> >> The installation process shows an error:
>> >>
>> >> org.osgi.framework.BundleException: Fragment bundles can not be
>> started.
>> >>
>> >>
>> >> Do I have to remove the fragments bundles from the feature list?
>> >> Anyway... after that i execute osgi/list in order to see what
>> happened,
>> >> and
>> >> some bundles are not active.
>> >>
>> >> After the osgi/list command, i execute the exit command and then when
>> i
>> >> try
>> >> to start servicemix again i can't !!!
>> >> What could be wrong? Maybe some of my bundles are not compatible with
>> the
>> >> ones provided by servicemix??
>> >>
>> >> The steps i'm following:
>> >>
>> >> smx@root:features> install target-platform
>> >> ERROR CommandLineExecutionFailed:
>> >> org.apache.geronimo.gshell.command.CommandException:
>> >> org.osgi.framework.BundleException: Fragment bundles can not be
>> started.
>> >> smx@root:features> osgi/list
>> >> START LEVEL 100
>> >>   ID   State         Spring     Level  Name
>> >> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
>> >> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
>> >> (1.0.2)
>> >> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
>> >> jaxp-ri-1.4.2 (1.4.2.2)
>> >> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
>> >> (1.1.1)
>> >> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP
>> >> API
>> >> 1.4 (1.3.0)
>> >> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle
>> (4.1.0)
>> >> [   6] [Active     ] [       ] [   10] Apache Felix Configuration
>> Admin
>> >> Service (1.0.4)
>> >> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec
>> (1.1.2)
>> >> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel ::
>> GShell
>> >> Core (1.1.0)
>> >> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
>> >> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
>> >> (1.3.0)
>> >> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
>> >> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
>> >> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>> >> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> Spring
>> >> Deployer (1.1.0)
>> >> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> mina-1.1.7
>> >> (1.1.7.1)
>> >> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
>> >> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> JAAS
>> >> Modules (1.1.0)
>> >> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> commons-jexl-1.1 (1.1.0.1)
>> >> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> GShell
>> >> Features (1.1.0)
>> >> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> commons-httpclient-3.1 (3.1.0.1)
>> >> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
>> >> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
>> >> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> GShell
>> >> ConfigAdmin Commands (1.1.0)
>> >> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> JAAS
>> >> Config (1.1.0)
>> >> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
>> >> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> commons-vfs-1.0 (1.0.0.1)
>> >> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
>> >> [  28] [Active     ] [       ] [   30] Unnamed -
>> >> com.google.code.sshd:sshd:bundle:0.1 (0.1)
>> >> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> commons-codec-1.2 (1.2.0.1)
>> >> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
>> >> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> cglib-2.1_3 (2.1.0.3_1)
>> >> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> jline-0.9.94 (0.9.94.1)
>> >> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> aopalliance-1.0 (1.0.0.1)
>> >> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
>> >> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> GShell
>> >> PackageAdmin Commands (1.1.0)
>> >> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> >> oro-2.0.8
>> >> (2.0.8.1)
>> >> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>> GShell
>> >> Log Commands (1.1.0)
>> >> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
>> >> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>> GShell
>> >> OSGi Commands (1.1.0)
>> >> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>> GShell
>> >> Admin (1.1.0)
>> >> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>> >> Management (1.1.0)
>> >> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel ::
>> File
>> >> Monitor (1.1.0)
>> >> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
>> >> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
>> >> [  45] [Active     ] [       ] [   60]
>> geronimo-j2ee-connector_1.5_spec
>> >> (2.0.0)
>> >> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> howl-1.0.1-1 (1.0.1.1_1)
>> >> [  47] [Active     ] [       ] [   60] Geronimo TxManager ::
>> Transaction
>> >> (2.2.0.r634076)
>> >> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
>> >> [  49] [Active     ] [       ] [   60] Apache ServiceMix Transaction
>> >> (1.0.0)
>> >> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
>> >> (2.2.0.r634076)
>> >> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
>> >> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> jencks-2.1
>> >> (2.1.0.1)
>> >> [  53] [Active     ] [       ] [   60]
>> geronimo-j2ee-management_1.1_spec
>> >> (1.0.1)
>> >> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle
>> (1.4)
>> >> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
>> >> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
>> >> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
>> >> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
>> >> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
>> >> [  60] [Active     ] [       ] [   60] Apache ServiceMix Features ::
>> >> ActiveMQ Commands (4.0.0)
>> >> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX
>> >> API
>> >> 1.0 (1.3.0)
>> >> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> >> ACTIVATION
>> >> API 1.4 (1.3.0)
>> >> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB
>> >> API
>> >> 2.1 (1.3.0)
>> >> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> jaxb-impl-2.1.6 (2.1.6.1)
>> >> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
>> >> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
>> >> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
>> >> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
>> >> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming
>> (1.0.0)
>> >> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI
>> API
>> >> 1.0 (1.3.0)
>> >> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils
>> (1.1.0)
>> >> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document
>> (1.0.0)
>> >> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API
>> (1.0.0)
>> >> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core
>> (1.0.0)
>> >> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi
>> (1.0.0)
>> >> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
>> >> (1.0.0)
>> >> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
>> >> (1.0.0)
>> >> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR
>> Management
>> >> (1.0.0)
>> >> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> >> JAVAMAIL
>> >> API 1.4 (1.3.0)
>> >> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
>> >> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> woodstox-3.2.7 (3.2.7.1)
>> >> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> wsdl4j-1.6.1 (1.6.1.1)
>> >> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> ant-1.7.0
>> >> (1.7.0.1)
>> >> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
>> >> (1.0.0)
>> >> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi
>> (1.0.0)
>> >> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
>> >> (1.0.0)
>> >> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
>> >> (1.0.0)
>> >> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
>> >> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI
>> Clustering
>> >> Requestor (1.0.0)
>> >> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI
>> Clustering
>> >> Engine (1.0.0)
>> >> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI
>> Clustering
>> >> Config (1.0.0)
>> >> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> jetty-6.1.14 (6.1.14.1)
>> >> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
>> >> (0.5.2)
>> >> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
>> >> (0.5.2)
>> >> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
>> >> (0.5.0)
>> >> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
>> >> Whiteboard
>> >> (0.5.0)
>> >> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
>> >> (0.3.3)
>> >> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
>> >> (4.0.0)
>> >> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
>> >> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
>> >> (1.1.2)
>> >> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ
>> >> API
>> >> 1.3 (1.3.0)
>> >> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> JAXWS
>> >> API
>> >> 2.1 (1.3.0)
>> >> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> asm-2.2.3
>> >> (2.2.3.1)
>> >> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> FastInfoset-1.2.2 (1.2.2.1)
>> >> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> neethi-2.0.4 (2.0.4.1)
>> >> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> xmlschema-1.4.3 (1.4.3.1)
>> >> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> xmlresolver-1.2 (1.2.0.1)
>> >> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> JSR311
>> >> API
>> >> 0.8 (1.3.0)
>> >> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> xmlsec-1.3.0 (1.3.0.1)
>> >> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> wss4j-1.5.4 (1.5.4.1)
>> >> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
>> >> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
>> >> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding
>> >> Component
>> >> (2009.01)
>> >> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
>> >> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> commons-net-1.4.1 (1.4.1.1)
>> >> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
>> >> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
>> >> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
>> >> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
>> >> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
>> >> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
>> >> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> jsmpp-2.0
>> >> (2.0.0.1)
>> >> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
>> >> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> snmp4j-1.8.1 (1.8.1.1)
>> >> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
>> >> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
>> >> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
>> >> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
>> >> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
>> >> (2.1.4)
>> >> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI
>> Transport
>> >> (2.1.4)
>> >> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service
>> Engine
>> >> (2009.01)
>> >> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> core-3.2.3.v_686_R32x (3.2.3.1)
>> >> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> antlr-runtime-3.0.1 (3.0.1.1)
>> >> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> drools-4.0.7 (4.0.7.1)
>> >> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service
>> >> Engine
>> >> (2009.01)
>> >> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
>> >> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> antlr-3.0.1 (3.0.1.1)
>> >> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
>> >> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> quartz-1.6.1 (1.6.1.1)
>> >> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> oscore-2.2.4 (2.2.4.1)
>> >> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> propertyset-1.3 (1.3.0.1)
>> >> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> osworkflow-2.7.0 (2.7.0.1)
>> >> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow
>> (2009.01)
>> >> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
>> >> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
>> >> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> >> Scripting
>> >> API 1.0 (1.3.0)
>> >> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> groovy-1.5.6 (1.5.6.1)
>> >> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> js-1.7R1
>> >> (1.0.0.7R1_1)
>> >> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> jruby-1.1.2 (1.1.2.1)
>> >> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
>> >> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript
>> (1.1)
>> >> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
>> >> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
>> >> Service Engine (2009.01)
>> >> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation
>> (2009.01)
>> >> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> >> saxon-9.1.0.1 (9.1.0.1_1)
>> >> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service
>> Engine
>> >> (2009.01)
>> >> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
>> >> Service
>> >> Engine (2009.01)
>> >> [ 158] [Active     ] [       ] [   60] Driver Plug-in (1.0.0)
>> >> [ 159] [Active     ] [       ] [   60] com.crs.gmi.core (1.0.0)
>> >> [ 160] [Resolved   ] [       ] [   60] ExcepcionBundle (1.0.0)
>> >> [ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
>> >> [ 162] [Active     ] [       ] [   60] com.crs.gmi.core.logger (1.0.0)
>> >> [ 163] [Active     ] [       ] [   60] com.crs.gmi.core.loggerconfig
>> >> (1.0.0)
>> >> [ 164] [Resolved   ] [       ] [   60]
>> >> com.crs.gmi.core.report.jasperreport
>> >> (1.0.0)
>> >> [ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
>> >> [ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
>> >>                                       Hosts: 180
>> >> [ 167] [Resolved   ] [       ] [   60] Lowagie iText (2.0.8)
>> >> [ 168] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
>> >> [ 169] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for
>> MySQL
>> >> (5.1.6)
>> >> [ 170] [Active     ] [       ] [   60] Java SOAP API (1.3.0)
>> >> [ 171] [Active     ] [       ] [   60] CGLIB Code Generation Library
>> >> (2.1.3)
>> >> [ 172] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
>> >> [ 173] [Active     ] [       ] [   60] JasperReports Reporting
>> Framework
>> >> (2.0.5)
>> >> [ 174] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching
>> API
>> >> (1.0.0)
>> >> [ 175] [Active     ] [       ] [   60] AOP Alliance API (1.0.0)
>> >> [ 176] [Resolved   ] [       ] [   60] Apache Commons Bean Utilities
>> >> (1.8.0)
>> >> [ 177] [Resolved   ] [       ] [   60] Apache Commons Collections
>> (3.2.1)
>> >> [ 178] [Resolved   ] [       ] [   60] Apache Commons Digester (1.8.1)
>> >> [ 179] [Resolved   ] [       ] [   60] Apache Commons Lang (2.4.0)
>> >> [ 180] [Resolved   ] [       ] [   60] Apache Log4J (1.2.15)
>> >>                                       Fragments: 166
>> >> [ 181] [Resolved   ] [       ] [   60] Apache Velocity Engine (1.6.2)
>> >> [ 182] [Resolved   ] [       ] [   60] dom4j DOM Processor (1.6.1)
>> >> [ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
>> >>                                       Fragments: 184
>> >> [ 184] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
>> >>                                       Hosts: 183,183
>> >> [ 185] [Resolved   ] [       ] [   60] Hibernate Classes (3.2.6.ga)
>> >> [ 186] [Resolved   ] [       ] [   60] Spring AOP (2.5.6.A)
>> >> [ 187] [Resolved   ] [       ] [   60] Spring Beans (2.5.6.A)
>> >> [ 188] [Resolved   ] [       ] [   60] Spring Context (2.5.6.A)
>> >> [ 189] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6.A)
>> >> [ 190] [Resolved   ] [       ] [   60] Spring ORM (2.5.6.A)
>> >> [ 191] [Resolved   ] [       ] [   60] Spring Transaction (2.5.6.A)
>> >> [ 192] [Active     ] [       ] [   60] Spring Web (2.5.6.A)
>> >> [ 193] [Active     ] [       ] [   60] Spring Web Servlet (2.5.6.A)
>> >> [ 194] [Active     ] [       ] [   60] Eclipse JDT Batch Compile
>> (3.3.0)
>> >> smx@root:features> exit
>> >> smontico@santiago
>> :~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>> >> ./servicemix
>> >> ERROR: Error starting
>> >> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>> >> (org.osgi.framework.BundleException: Activator start error in bundle
>> >> org.springframework.osgi.extender [30].)
>> >> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>> >>        at
>> >>
>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>> >>        at
>> >>
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>> >>        at
>> >>
>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>> >>        at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>> >>        at
>> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> >>        at
>> >> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> >>        at java.lang.Thread.run(Thread.java:619)
>> >> Caused by: java.lang.ClassNotFoundException:
>> >> org.springframework.core.io.Resource
>> >>        at
>> >>
>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>> >>        at
>> >>
>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>> >>        at
>> >>
>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>> >>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> >>        at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>> >>        ... 13 more
>> >> ERROR: Error starting
>> >>
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>> >> (org.osgi.framework.BundleException: Unable to resolve due to
>> constraint
>> >> violation.)
>> >> org.osgi.framework.BundleException: Unable to resolve due to
>> constraint
>> >> violation.
>> >>        at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>> >>        at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>> >>        at
>> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> >>        at
>> >> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> >>        at java.lang.Thread.run(Thread.java:619)
>> >> ERROR: Error starting
>> >>
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>> >> (org.osgi.framework.BundleException: Unable to resolve due to
>> constraint
>> >> violation.)
>> >> org.osgi.framework.BundleException: Unable to resolve due to
>> constraint
>> >> violation.
>> >>        at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>> >>        at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>> >>        at
>> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> >>        at
>> >> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> >>        at java.lang.Thread.run(Thread.java:619)
>> >>
>> >> I'll appreciate any comment or suggestion...
>> >>
>> >> Thanks in advance, Santiago.
>> >>
>> >>
>> >>
>> >>
>> >> smontico wrote:
>> >>>
>> >>> Hi Jean,
>> >>>
>> >>> Thanks for the fast response!
>> >>> My comments inline:
>> >>>
>> >>>
>> >>> Jean-Baptiste Onofré wrote:
>> >>>>
>> >>>> Hi Santiago,
>> >>>>
>> >>>> my comments inline:
>> >>>>
>> >>>>>
>> >>>>> Am I taking the right steps to install these bundles or am i
>> missing
>> >>>>> something?
>> >>>> Yes, you can make a mvn install to install the bundle in your local
>> m2
>> >>>> repo. After ogsi:install -s
>> mvn:groupId/artifactId/classifier/version
>> >>>>
>> >>>> You check the log if the bundle can't be started.
>> >>>>
>> >>>>>>>> The problem is that no error was shown in the log when the
>> bundle
>> >>>>>>>> is
>> >>>>>>>> not started
>> >>>>
>> >>>> If you have a lot of bundle to deploy you can "describe" it in a
>> >>>> feature
>> >>>> XML. In the feature XML, you can describe all the bundles that you
>> need
>> >>>> to deploy. You can use feature:addUrl and feature:install to deploy
>> it.
>> >>>>
>> >>>>>>>> Ok i understand i will try it to make things simple
>> >>>>
>> >>>>> smontico@santiago
>> :~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>> >>>>> ./servicemix
>> >>>>> ERROR: Error starting
>> >>>>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>> >>>>> (org.osgi.framework.BundleException: Activator start error in
>> bundle
>> >>>>> org.springframework.osgi.extender [30].)
>> >>>>> java.lang.NoClassDefFoundError:
>> org/springframework/core/io/Resource
>> >>>>>     at
>> >>>>>
>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>> >>>>>     at
>> >>>>>
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>> >>>>>     at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> >>>>>     at java.lang.Thread.run(Thread.java:619)
>> >>>>> Caused by: java.lang.ClassNotFoundException:
>> >>>>> org.springframework.core.io.Resource
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>> >>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> >>>>>     at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>> >>>>>     ... 13 more
>> >>>>> ERROR: Error starting
>> >>>>>
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>> >>>>> (org.osgi.framework.BundleException: Unable to resolve due to
>> >>>>> constraint
>> >>>>> violation.)
>> >>>>> org.osgi.framework.BundleException: Unable to resolve due to
>> >>>>> constraint
>> >>>>> violation.
>> >>>>>     at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>> >>>>>     at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> >>>>>     at java.lang.Thread.run(Thread.java:619)
>> >>>>> ERROR: Error starting
>> >>>>>
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>> >>>>> (org.osgi.framework.BundleException: Unable to resolve due to
>> >>>>> constraint
>> >>>>> violation.)
>> >>>>> org.osgi.framework.BundleException: Unable to resolve due to
>> >>>>> constraint
>> >>>>> violation.
>> >>>>>     at
>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>> >>>>>     at
>> org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> >>>>>     at
>> >>>>>
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> >>>>>     at java.lang.Thread.run(Thread.java:619)
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> What could be wrong?
>> >>>>
>> >>>> It looks like the spring feature is not installed. Could you send a
>> >>>> osgi:list to see the list of deployed bundles ?
>> >>>>
>> >>>>>>>> After i try to install all my bundles servicemix show the error
>> i
>> >>>>>>>> have attached and the shell of servicemix doesnt appear anymore,
>> i
>> >>>>>>>> have to "re-install" servicemix :(
>> >>>> This is what the log is showing:
>> >>>>
>> >>>> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor
>> >>>> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the
>> >>>> deploy
>> >>>> directory:
>> >>>>
>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
>> >>>> every 500 millis
>> >>>> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor
>> >>>> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
>> >>>>
>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
>> >>>> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor
>> >>>> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles from
>> >>>> expanded source directories to:
>> >>>>
>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
>> >>>> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener
>> >>>> | .activator.ContextLoaderListener  361 | Starting
>> >>>> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
>> >>>> 17:04:17,662 | INFO  | FelixStartLevel  | jetty
>> >>>> | .service.internal.util.JCLLogger  102 | Logging to
>> >>>> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
>> >>>> org.ops4j.pax.web.service.internal.util.JCLLogger
>> >>>> 17:04:17,662 | INFO  | FelixStartLevel  | Activator
>> >>>> | x.web.service.internal.Activator   63 | Starting pax http service
>> >>>> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl
>> >>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
>> >>>> property
>> >>>> org.ops4j.pax.web.session.timeout has failed
>> >>>> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl
>> >>>> | ce.internal.ServerControllerImpl   65 | configuring server:
>> >>>> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
>> >>>> enabled=true,http port=8080,http secure enabled=false,http secure
>> >>>> port=8443,ssl keystore=/home/smontico/.keystore,ssl
>> >>>> keystoreType=null,session timeout=null,listening
>> >>>> addresses=[Ljava.lang.String;@d6ee28}
>> >>>> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl
>> >>>> | ce.internal.ServerControllerImpl   53 | starting server:
>> >>>> ServerControllerImpl{state=STOPPED}
>> >>>> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl
>> >>>> | service.internal.JettyServerImpl   98 | adding
>> >>>> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
>> >>>> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl
>> >>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
>> >>>> property
>> >>>> org.ops4j.pax.web.session.timeout has failed
>> >>>> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl
>> >>>> | service.internal.JettyServerImpl   62 | starting JettyServerImpl{}
>> >>>> 17:04:17,703 | INFO  | guration Updater | jetty
>> >>>> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
>> >>>> 17:04:17,730 | INFO  | guration Updater | jetty
>> >>>> | .service.internal.util.JCLLogger  102 | Started
>> >>>> NIOSocketConnectorWrapper@0.0.0.0:8080
>> >>>> 17:04:17,733 | INFO  | FelixStartLevel  | Activator
>> >>>> | x.web.service.internal.Activator   67 | Started pax http service
>> >>>>
>> >>>>
>> >>>>
>> >>>>>>>>> This is the complete list of the bundles i'm trying to install:
>> >>>>
>> >>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
>> >>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
>> >>>> osgi/install -s
>> >>>>
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
>> >>>> osgi/install -s
>> mvn:com.crs.servicemix.examples/hibernate-classes/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
>> >>>> osgi/install -s
>> >>>> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
>> >>>>
>> >>>>
>> >>>> Thanks, Santiago.
>> >>>>
>> >>>>
>> >>>> Thanks
>> >>>> Regards
>> >>>> JB
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27355445.html
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > -----
>> > ---
>> > Gert Vanthienen
>> > http://gertvanthienen.blogspot.com
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27404678.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Charles Moulliard
> SOA Architect
> 
> My Blog : http://cmoulliard.blogspot.com/  
> 

-- 
View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27407236.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4 installation bundles

Posted by Charles Moulliard <cm...@gmail.com>.
Hi Santiago,

I see that you have installed this OSGI bundle for Spring DM :

[  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)

Can you install the version 1.2.0 and retest please ?

Here is the feature created in karaf feature file for that

<feature name="spring-dm" version="1.2.0">
<feature version="2.5.6.SEC01">spring</feature>
<bundle>
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_4
</bundle>
<bundle>mvn:org.springframework.osgi/spring-osgi-io/1.2.0</bundle>
<bundle>
mvn:org.springframework.osgi/spring-osgi-core/1.2.0
</bundle>
<bundle>
mvn:org.springframework.osgi/spring-osgi-extender/1.2.0
</bundle>
<bundle>
mvn:org.springframework.osgi/spring-osgi-annotation/1.2.0
</bundle>
<bundle>
mvn:org.apache.felix.karaf.deployer/org.apache.felix.karaf.deployer.spring/1.2.0
</bundle>
</feature>


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 Mon, Feb 1, 2010 at 3:03 PM, smontico <sm...@gmail.com> wrote:

>
> Hi,
>
> Well after playing for a while i was able to install all my bundles and
> they
> are all active/started:
>
> START LEVEL 100
>   ID   State         Spring     Level  Name
> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
> (1.0.2)
> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
> jaxp-ri-1.4.2 (1.4.2.2)
> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
> 1.4 (1.3.0)
> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
> Service (1.0.4)
> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
> Core (1.1.0)
> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
> Deployer (1.1.0)
> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> mina-1.1.7
> (1.1.7.1)
> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Modules (1.1.0)
> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-jexl-1.1 (1.1.0.1)
> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Features (1.1.0)
> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-httpclient-3.1 (3.1.0.1)
> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> ConfigAdmin Commands (1.1.0)
> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Config (1.1.0)
> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-vfs-1.0 (1.0.0.1)
> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> [  28] [Active     ] [       ] [   30] Unnamed -
> com.google.code.sshd:sshd:bundle:0.1 (0.1)
> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-codec-1.2 (1.2.0.1)
> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> cglib-2.1_3 (2.1.0.3_1)
> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> jline-0.9.94 (0.9.94.1)
> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> aopalliance-1.0 (1.0.0.1)
> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> PackageAdmin Commands (1.1.0)
> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8
> (2.0.8.1)
> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Log Commands (1.1.0)
> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> OSGi Commands (1.1.0)
> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> Admin (1.1.0)
> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> Management (1.1.0)
> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
> Monitor (1.1.0)
> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
> (2.0.0)
> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> howl-1.0.1-1 (1.0.1.1_1)
> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
> (2.2.0.r634076)
> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
> [  49] [Active     ] [Started] [   60] Apache ServiceMix Transaction
> (1.0.0)
> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
> (2.2.0.r634076)
> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jencks-2.1
> (2.1.0.1)
> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
> (1.0.1)
> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
> [  60] [Active     ] [Started] [   60] Apache ServiceMix Features ::
> ActiveMQ Commands (4.0.0)
> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX API
> 1.0 (1.3.0)
> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> ACTIVATION
> API 1.4 (1.3.0)
> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
> 2.1 (1.3.0)
> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jaxb-impl-2.1.6 (2.1.6.1)
> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
> 1.0 (1.3.0)
> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring (1.0.0)
> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
> (1.0.0)
> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
> (1.0.0)
> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
> API 1.4 (1.3.0)
> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> woodstox-3.2.7 (3.2.7.1)
> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wsdl4j-1.6.1 (1.6.1.1)
> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles: ant-1.7.0
> (1.7.0.1)
> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
> (1.0.0)
> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
> (1.0.0)
> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
> (1.0.0)
> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Requestor (1.0.0)
> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Engine (1.0.0)
> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Config (1.0.0)
> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jetty-6.1.14 (6.1.14.1)
> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.5.2)
> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
> (0.5.2)
> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.5.0)
> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
> (0.5.0)
> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.3.3)
> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
> (4.0.0)
> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
> (1.1.2)
> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
> 1.3 (1.3.0)
> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS API
> 2.1 (1.3.0)
> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles: asm-2.2.3
> (2.2.3.1)
> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> FastInfoset-1.2.2 (1.2.2.1)
> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> neethi-2.0.4 (2.0.4.1)
> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlschema-1.4.3 (1.4.3.1)
> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlresolver-1.2 (1.2.0.1)
> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311
> API
> 0.8 (1.3.0)
> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlsec-1.3.0 (1.3.0.1)
> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wss4j-1.5.4 (1.5.4.1)
> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding Component
> (2009.01)
> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> commons-net-1.4.1 (1.4.1.1)
> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jsmpp-2.0
> (2.0.0.1)
> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> snmp4j-1.8.1 (1.8.1.1)
> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
> (2.1.4)
> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
> (2.1.4)
> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
> (2009.01)
> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> core-3.2.3.v_686_R32x (3.2.3.1)
> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-runtime-3.0.1 (3.0.1.1)
> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> drools-4.0.7 (4.0.7.1)
> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service Engine
> (2009.01)
> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-3.0.1 (3.0.1.1)
> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> quartz-1.6.1 (1.6.1.1)
> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> oscore-2.2.4 (2.2.4.1)
> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> propertyset-1.3 (1.3.0.1)
> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> osworkflow-2.7.0 (2.7.0.1)
> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs :: Scripting
> API 1.0 (1.3.0)
> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> groovy-1.5.6 (1.5.6.1)
> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles: js-1.7R1
> (1.0.0.7R1_1)
> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jruby-1.1.2 (1.1.2.1)
> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
> Service Engine (2009.01)
> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> saxon-9.1.0.1 (9.1.0.1_1)
> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
> (2009.01)
> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
> Service
> Engine (2009.01)
> [ 158] [Resolved   ] [       ] [   60] Logger Properties Fragment (0.0.1)
>                                       Hosts: 179
> [ 159] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport for
> OSGi (4.0.0)
> [ 160] [Active     ] [       ] [   60] CGLIB Code Generation Library
> (2.1.3)
> [ 161] [Active     ] [       ] [   60] Jdbc Plug-in (1.0.0)
> [ 162] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
> [ 163] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
> (5.1.6)
> [ 164] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
> [ 165] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
> (1.0.0)
> [ 166] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
> [ 167] [Active     ] [       ] [   60] Apache Velocity Engine (1.6.2)
> [ 168] [Active     ] [       ] [   60] Apache Commons Lang (2.4.0)
> [ 169] [Active     ] [       ] [   60] Apache Commons Collections (3.2.1)
> [ 170] [Active     ] [       ] [   60] Spring JDBC (2.5.6)
> [ 171] [Active     ] [       ] [   60] Spring ORM (2.5.6)
> [ 172] [Active     ] [       ] [   60] JasperReports Reporting Framework
> (2.0.5)
> [ 173] [Active     ] [       ] [   60] Lowagie iText (2.0.8)
> [ 174] [Active     ] [       ] [   60] Apache Commons Bean Utilities
> (1.8.0)
> [ 175] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
> [ 176] [Active     ] [       ] [   60] Hibernate Classes (3.2.6.ga)
> [ 177] [Active     ] [       ] [   60] Apache Commons Digester (1.8.1)
> [ 178] [Active     ] [       ] [   60] ExcepcionBundle (1.0.0)
> [ 179] [Active     ] [       ] [   60] Logger Plug-in (0.0.1)
>                                       Fragments: 158
> [ 180] [Active     ] [Started] [   60] Test de hibernate (1.0.0)
> [ 181] [Active     ] [Started] [   60] Business Plug-in (1.0.0)
> [ 182] [Active     ] [Started] [   60] Webservice Plug-in (1.0.0)
> [ 183] [Active     ] [Started] [   60] Hibernate Plug-in (0.0.1)
> [ 184] [Active     ] [Started] [   60] GMI Core Plug-in (0.0.1)
> [ 185] [Active     ] [       ] [   60] Jasperreport (1.0.0)
> [ 186] [Active     ] [       ] [   60] AspectJ Weaver (1.6.5.RELEASE)
>
>
>
> My new :) problem is that when I'm trying to execute a webservice I
> deployed, the following error is shown:
>
>
> java.lang.ClassCastException: java.lang.IllegalAccessException cannot be
> cast to java.lang.RuntimeException
>        at
>
> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:67)
>        at
>
> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
>        at
>
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
>        at
>
> org.springframework.orm.hibernate3.HibernateTransactionManager$$EnhancerByCGLIB$$26682a6a.doGetTransaction(<generated>)
>        at
>
> org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:341)
>        at
>
> org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
>        at
>
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
>        at
>
> com.crs.uy.business.BattaBusiness$$EnhancerByCGLIB$$3e91fc25.executeService(<generated>)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
>
> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
>        at
>
> org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
>        at
>
> org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
>        at
>
> org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
>        at
>
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
>
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>        at $Proxy77.executeService(Unknown Source)
>        at
>
> org.apache.servicemix.examples.cxf.HelloWorldImpl.sayHi(HelloWorldImpl.java:56)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
>
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:165)
>        at
>
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
>        at
> org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
>        at
>
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
>        at
>
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
>        at
>
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
>        at
>
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
>        at
>
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
>        at
>
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
>        at
>
> org.apache.servicemix.cxf.transport.http_osgi.OsgiDestination.doMessage(OsgiDestination.java:83)
>        at
>
> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invokeDestination(OsgiServlet.java:289)
>        at
>
> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invoke(OsgiServlet.java:185)
>        at
>
> org.apache.servicemix.cxf.transport.http_osgi.SpringOsgiServlet.invoke(SpringOsgiServlet.java:48)
>        at
>
> org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.doPost(OsgiServlet.java:71)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>        at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
>        at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
>        at
>
> org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
>        at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>        at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>        at
>
> org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:108)
>        at
>
> org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
>        at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>        at org.mortbay.jetty.Server.handle(Server.java:324)
>        at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
>        at
>
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
>        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
>        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
>        at
>
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
>        at
>
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
>
>
> This is my xml configuration:
>
> <?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.
> -->
> <!-- START SNIPPET: beans -->
> <beans xmlns="http://www.springframework.org/schema/beans"
>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>       xmlns:jaxws="http://cxf.apache.org/jaxws"
>           xmlns:ctx="http://www.springframework.org/schema/context"
>       xmlns:osgi="http://www.springframework.org/schema/osgi"
>       xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
>       xmlns:util="http://www.springframework.org/schema/util"
>       xsi:schemaLocation="
>  http://www.springframework.org/schema/beans
>  http://www.springframework.org/schema/beans/spring-beans.xsd
>  http://cxf.apache.org/jaxws
>  http://cxf.apache.org/schemas/jaxws.xsd
>  http://www.springframework.org/schema/context
>  http://www.springframework.org/schema/context/spring-context.xsd
>  http://www.springframework.org/schema/util
>  http://www.springframework.org/schema/util/spring-util.xsd
>  http://www.springframework.org/schema/osgi
>  http://www.springframework.org/schema/osgi/spring-osgi.xsd
>  http://www.springframework.org/schema/osgi-compendium
>
>
> http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd
> ">
>
>
>    <import resource="classpath:META-INF/cxf/cxf.xml" />
>    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
>    <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
>    <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />
>
>        <jaxws:endpoint id="helloWorld"
>                        implementor="#pepe"
>                        address="/HelloWorld"/>
>
>        <bean id="pepe"
>                class="org.apache.servicemix.examples.cxf.HelloWorldImpl">
>                <property name="bussinesService"
> ref="osgibattaBusiness"></property>
>        </bean>
>
>        <osgi:reference id="osgibattaBusiness" cardinality="1..1"
>                interface="com.crs.uy.business.IBattaBusiness">
>        </osgi:reference>
> </beans>
>
>
> The object osgibattaBusiness seems to be correctly exposed by another
> bundle....
>
> The method of the webservice is correctly executed, the problem appears
> when
> it tries to execute a method (executeService) of the object inyected by
> spring.
> The executeService method is never executed...
>
> package org.apache.servicemix.examples.cxf;
>
> import java.lang.reflect.Method;
>
> import javax.jws.WebService;
>
> import com.crs.uy.business.IBattaBusiness;
>
> @WebService(endpointInterface =
> "org.apache.servicemix.examples.cxf.HelloWorld")
> public class HelloWorldImpl implements HelloWorld {
>
>        private IBattaBusiness bussinesService;
>
>        public IBattaBusiness getBussinesService() {
>                return bussinesService;
>        }
>
>        public void setBussinesService(IBattaBusiness bussinesService) {
>                this.bussinesService = bussinesService;
>        }
>
>        public String sayHi(String text) {
>                try {
>                        System.out.println("parametro : " + text);
>                        this.bussinesService.executeService(null);
>                } catch (Exception e) {
>                        e.printStackTrace();
>                }
>                return "************************** ServiceMix 4 a FULL = " +
> text;
>        }
> }
>
> Could it be a bundle conflict even if they are all active and started?
>
> Thanks again....
>
> Santiago.
>
>
> Gert Vanthienen wrote:
> >
> > Santiago,
> >
> > I think at least some of these bundles are failing to start because of
> > conflicting exports in other bundles we already ship with.  An
> > example: the pax-logging bundle exports all the commonly used logging
> > APIs, so when you add another log4j bundle you might run into a
> > situation where the framework is no longer able to determine what the
> > correct class space should look like.  Once you remove these
> > duplicates, you will probably also resolve a few of the 'Unable to
> > resolve due to constraint violation.' errors you are seeing.
> >
> > Could you give this approach a try so we can look into whatever
> > problems are unresolved after that?
> >
> > Regards,
> >
> > Gert Vanthienen
> > ------------------------
> > Open Source SOA: http://fusesource.com
> > Blog: http://gertvanthienen.blogspot.com/
> >
> >
> >
> > On 28 January 2010 13:51, smontico <sm...@gmail.com> wrote:
> >>
> >> Hi Jean,
> >>
> >> I have created a feature just like you told me:
> >>
> >> <feature name="target-platform" version="1.0.0">
> >>
> >> <bundle>mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0</bundle>
> >>
> >> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0</bundle>
> >>
> >>
>  <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0</bundle>
> >>
> >>  <bundle>mvn:com.crs.servicemix.examples/hibernate-classes/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.aop/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.beans/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.context/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.orm/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0</bundle>
> >>
> >>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.eclipse.jdt.core.compiler.batch/1.0</bundle>
> >>    </feature>
> >>
> >> After that i refreshed the url and installed the target platform.
> >>
> >> The installation process shows an error:
> >>
> >> org.osgi.framework.BundleException: Fragment bundles can not be started.
> >>
> >>
> >> Do I have to remove the fragments bundles from the feature list?
> >> Anyway... after that i execute osgi/list in order to see what happened,
> >> and
> >> some bundles are not active.
> >>
> >> After the osgi/list command, i execute the exit command and then when i
> >> try
> >> to start servicemix again i can't !!!
> >> What could be wrong? Maybe some of my bundles are not compatible with
> the
> >> ones provided by servicemix??
> >>
> >> The steps i'm following:
> >>
> >> smx@root:features> install target-platform
> >> ERROR CommandLineExecutionFailed:
> >> org.apache.geronimo.gshell.command.CommandException:
> >> org.osgi.framework.BundleException: Fragment bundles can not be started.
> >> smx@root:features> osgi/list
> >> START LEVEL 100
> >>   ID   State         Spring     Level  Name
> >> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
> >> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
> >> (1.0.2)
> >> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
> >> jaxp-ri-1.4.2 (1.4.2.2)
> >> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
> >> (1.1.1)
> >> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP
> >> API
> >> 1.4 (1.3.0)
> >> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> >> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
> >> Service (1.0.4)
> >> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
> >> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel ::
> GShell
> >> Core (1.1.0)
> >> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
> >> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
> >> (1.3.0)
> >> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> >> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> >> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> >> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
> Spring
> >> Deployer (1.1.0)
> >> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> mina-1.1.7
> >> (1.1.7.1)
> >> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
> >> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> >> Modules (1.1.0)
> >> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> commons-jexl-1.1 (1.1.0.1)
> >> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
> GShell
> >> Features (1.1.0)
> >> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> commons-httpclient-3.1 (3.1.0.1)
> >> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
> >> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> >> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
> GShell
> >> ConfigAdmin Commands (1.1.0)
> >> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> >> Config (1.1.0)
> >> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> >> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> commons-vfs-1.0 (1.0.0.1)
> >> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> >> [  28] [Active     ] [       ] [   30] Unnamed -
> >> com.google.code.sshd:sshd:bundle:0.1 (0.1)
> >> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> commons-codec-1.2 (1.2.0.1)
> >> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> >> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> cglib-2.1_3 (2.1.0.3_1)
> >> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> jline-0.9.94 (0.9.94.1)
> >> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> aopalliance-1.0 (1.0.0.1)
> >> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> >> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
> GShell
> >> PackageAdmin Commands (1.1.0)
> >> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> >> oro-2.0.8
> >> (2.0.8.1)
> >> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
> GShell
> >> Log Commands (1.1.0)
> >> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> >> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> GShell
> >> OSGi Commands (1.1.0)
> >> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> GShell
> >> Admin (1.1.0)
> >> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> >> Management (1.1.0)
> >> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
> >> Monitor (1.1.0)
> >> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
> >> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
> >> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
> >> (2.0.0)
> >> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> howl-1.0.1-1 (1.0.1.1_1)
> >> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
> >> (2.2.0.r634076)
> >> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
> >> [  49] [Active     ] [       ] [   60] Apache ServiceMix Transaction
> >> (1.0.0)
> >> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
> >> (2.2.0.r634076)
> >> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
> >> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> jencks-2.1
> >> (2.1.0.1)
> >> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
> >> (1.0.1)
> >> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
> >> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
> >> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
> >> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
> >> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
> >> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
> >> [  60] [Active     ] [       ] [   60] Apache ServiceMix Features ::
> >> ActiveMQ Commands (4.0.0)
> >> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX
> >> API
> >> 1.0 (1.3.0)
> >> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> >> ACTIVATION
> >> API 1.4 (1.3.0)
> >> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB
> >> API
> >> 2.1 (1.3.0)
> >> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> jaxb-impl-2.1.6 (2.1.6.1)
> >> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
> >> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
> >> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
> >> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
> >> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
> >> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI
> API
> >> 1.0 (1.3.0)
> >> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils
> (1.1.0)
> >> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document
> (1.0.0)
> >> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
> >> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core
> (1.0.0)
> >> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi
> (1.0.0)
> >> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
> >> (1.0.0)
> >> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
> >> (1.0.0)
> >> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
> >> (1.0.0)
> >> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> >> JAVAMAIL
> >> API 1.4 (1.3.0)
> >> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
> >> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> woodstox-3.2.7 (3.2.7.1)
> >> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> wsdl4j-1.6.1 (1.6.1.1)
> >> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> ant-1.7.0
> >> (1.7.0.1)
> >> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
> >> (1.0.0)
> >> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi
> (1.0.0)
> >> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
> >> (1.0.0)
> >> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
> >> (1.0.0)
> >> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
> >> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> >> Requestor (1.0.0)
> >> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> >> Engine (1.0.0)
> >> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> >> Config (1.0.0)
> >> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> jetty-6.1.14 (6.1.14.1)
> >> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
> >> (0.5.2)
> >> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
> >> (0.5.2)
> >> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
> >> (0.5.0)
> >> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
> >> Whiteboard
> >> (0.5.0)
> >> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
> >> (0.3.3)
> >> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
> >> (4.0.0)
> >> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
> >> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
> >> (1.1.2)
> >> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ
> >> API
> >> 1.3 (1.3.0)
> >> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS
> >> API
> >> 2.1 (1.3.0)
> >> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> asm-2.2.3
> >> (2.2.3.1)
> >> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> FastInfoset-1.2.2 (1.2.2.1)
> >> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> neethi-2.0.4 (2.0.4.1)
> >> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> xmlschema-1.4.3 (1.4.3.1)
> >> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> xmlresolver-1.2 (1.2.0.1)
> >> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311
> >> API
> >> 0.8 (1.3.0)
> >> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> xmlsec-1.3.0 (1.3.0.1)
> >> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> wss4j-1.5.4 (1.5.4.1)
> >> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
> >> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
> >> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding
> >> Component
> >> (2009.01)
> >> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
> >> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> commons-net-1.4.1 (1.4.1.1)
> >> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
> >> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
> >> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
> >> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
> >> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
> >> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
> >> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> jsmpp-2.0
> >> (2.0.0.1)
> >> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
> >> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> snmp4j-1.8.1 (1.8.1.1)
> >> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
> >> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
> >> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
> >> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
> >> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
> >> (2.1.4)
> >> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
> >> (2.1.4)
> >> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
> >> (2009.01)
> >> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> core-3.2.3.v_686_R32x (3.2.3.1)
> >> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> antlr-runtime-3.0.1 (3.0.1.1)
> >> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> drools-4.0.7 (4.0.7.1)
> >> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service
> >> Engine
> >> (2009.01)
> >> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
> >> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> antlr-3.0.1 (3.0.1.1)
> >> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
> >> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> quartz-1.6.1 (1.6.1.1)
> >> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> oscore-2.2.4 (2.2.4.1)
> >> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> propertyset-1.3 (1.3.0.1)
> >> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> osworkflow-2.7.0 (2.7.0.1)
> >> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow
> (2009.01)
> >> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
> >> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
> >> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> >> Scripting
> >> API 1.0 (1.3.0)
> >> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> groovy-1.5.6 (1.5.6.1)
> >> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> js-1.7R1
> >> (1.0.0.7R1_1)
> >> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> jruby-1.1.2 (1.1.2.1)
> >> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
> >> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
> >> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
> >> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
> >> Service Engine (2009.01)
> >> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation
> (2009.01)
> >> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> >> saxon-9.1.0.1 (9.1.0.1_1)
> >> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service
> Engine
> >> (2009.01)
> >> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
> >> Service
> >> Engine (2009.01)
> >> [ 158] [Active     ] [       ] [   60] Driver Plug-in (1.0.0)
> >> [ 159] [Active     ] [       ] [   60] com.crs.gmi.core (1.0.0)
> >> [ 160] [Resolved   ] [       ] [   60] ExcepcionBundle (1.0.0)
> >> [ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
> >> [ 162] [Active     ] [       ] [   60] com.crs.gmi.core.logger (1.0.0)
> >> [ 163] [Active     ] [       ] [   60] com.crs.gmi.core.loggerconfig
> >> (1.0.0)
> >> [ 164] [Resolved   ] [       ] [   60]
> >> com.crs.gmi.core.report.jasperreport
> >> (1.0.0)
> >> [ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
> >> [ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
> >>                                       Hosts: 180
> >> [ 167] [Resolved   ] [       ] [   60] Lowagie iText (2.0.8)
> >> [ 168] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
> >> [ 169] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
> >> (5.1.6)
> >> [ 170] [Active     ] [       ] [   60] Java SOAP API (1.3.0)
> >> [ 171] [Active     ] [       ] [   60] CGLIB Code Generation Library
> >> (2.1.3)
> >> [ 172] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
> >> [ 173] [Active     ] [       ] [   60] JasperReports Reporting Framework
> >> (2.0.5)
> >> [ 174] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
> >> (1.0.0)
> >> [ 175] [Active     ] [       ] [   60] AOP Alliance API (1.0.0)
> >> [ 176] [Resolved   ] [       ] [   60] Apache Commons Bean Utilities
> >> (1.8.0)
> >> [ 177] [Resolved   ] [       ] [   60] Apache Commons Collections
> (3.2.1)
> >> [ 178] [Resolved   ] [       ] [   60] Apache Commons Digester (1.8.1)
> >> [ 179] [Resolved   ] [       ] [   60] Apache Commons Lang (2.4.0)
> >> [ 180] [Resolved   ] [       ] [   60] Apache Log4J (1.2.15)
> >>                                       Fragments: 166
> >> [ 181] [Resolved   ] [       ] [   60] Apache Velocity Engine (1.6.2)
> >> [ 182] [Resolved   ] [       ] [   60] dom4j DOM Processor (1.6.1)
> >> [ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
> >>                                       Fragments: 184
> >> [ 184] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
> >>                                       Hosts: 183,183
> >> [ 185] [Resolved   ] [       ] [   60] Hibernate Classes (3.2.6.ga)
> >> [ 186] [Resolved   ] [       ] [   60] Spring AOP (2.5.6.A)
> >> [ 187] [Resolved   ] [       ] [   60] Spring Beans (2.5.6.A)
> >> [ 188] [Resolved   ] [       ] [   60] Spring Context (2.5.6.A)
> >> [ 189] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6.A)
> >> [ 190] [Resolved   ] [       ] [   60] Spring ORM (2.5.6.A)
> >> [ 191] [Resolved   ] [       ] [   60] Spring Transaction (2.5.6.A)
> >> [ 192] [Active     ] [       ] [   60] Spring Web (2.5.6.A)
> >> [ 193] [Active     ] [       ] [   60] Spring Web Servlet (2.5.6.A)
> >> [ 194] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
> >> smx@root:features> exit
> >> smontico@santiago
> :~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
> >> ./servicemix
> >> ERROR: Error starting
> >> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
> >> (org.osgi.framework.BundleException: Activator start error in bundle
> >> org.springframework.osgi.extender [30].)
> >> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
> >>        at
> >>
> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
> >>        at
> >>
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
> >>        at
> >>
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
> >>        at
> >>
> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
> >>        at
> >>
> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
> >>        at
> >>
> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
> >>        at
> >>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
> >>        at
> >>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
> >>        at
> >>
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
> >>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
> >>        at
> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> >>        at
> >> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> >>        at java.lang.Thread.run(Thread.java:619)
> >> Caused by: java.lang.ClassNotFoundException:
> >> org.springframework.core.io.Resource
> >>        at
> >>
> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
> >>        at
> >>
> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
> >>        at
> >>
> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
> >>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> >>        ... 13 more
> >> ERROR: Error starting
> >>
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
> >> (org.osgi.framework.BundleException: Unable to resolve due to constraint
> >> violation.)
> >> org.osgi.framework.BundleException: Unable to resolve due to constraint
> >> violation.
> >>        at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
> >>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> >>        at
> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> >>        at
> >> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> >>        at java.lang.Thread.run(Thread.java:619)
> >> ERROR: Error starting
> >>
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
> >> (org.osgi.framework.BundleException: Unable to resolve due to constraint
> >> violation.)
> >> org.osgi.framework.BundleException: Unable to resolve due to constraint
> >> violation.
> >>        at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
> >>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> >>        at
> >> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> >>        at
> >> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> >>        at java.lang.Thread.run(Thread.java:619)
> >>
> >> I'll appreciate any comment or suggestion...
> >>
> >> Thanks in advance, Santiago.
> >>
> >>
> >>
> >>
> >> smontico wrote:
> >>>
> >>> Hi Jean,
> >>>
> >>> Thanks for the fast response!
> >>> My comments inline:
> >>>
> >>>
> >>> Jean-Baptiste Onofré wrote:
> >>>>
> >>>> Hi Santiago,
> >>>>
> >>>> my comments inline:
> >>>>
> >>>>>
> >>>>> Am I taking the right steps to install these bundles or am i missing
> >>>>> something?
> >>>> Yes, you can make a mvn install to install the bundle in your local m2
> >>>> repo. After ogsi:install -s mvn:groupId/artifactId/classifier/version
> >>>>
> >>>> You check the log if the bundle can't be started.
> >>>>
> >>>>>>>> The problem is that no error was shown in the log when the bundle
> >>>>>>>> is
> >>>>>>>> not started
> >>>>
> >>>> If you have a lot of bundle to deploy you can "describe" it in a
> >>>> feature
> >>>> XML. In the feature XML, you can describe all the bundles that you
> need
> >>>> to deploy. You can use feature:addUrl and feature:install to deploy
> it.
> >>>>
> >>>>>>>> Ok i understand i will try it to make things simple
> >>>>
> >>>>> smontico@santiago
> :~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
> >>>>> ./servicemix
> >>>>> ERROR: Error starting
> >>>>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
> >>>>> (org.osgi.framework.BundleException: Activator start error in bundle
> >>>>> org.springframework.osgi.extender [30].)
> >>>>> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
> >>>>>     at
> >>>>>
> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
> >>>>>     at
> >>>>>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
> >>>>>     at
> >>>>>
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
> >>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
> >>>>>     at
> >>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> >>>>>     at
> >>>>>
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> >>>>>     at java.lang.Thread.run(Thread.java:619)
> >>>>> Caused by: java.lang.ClassNotFoundException:
> >>>>> org.springframework.core.io.Resource
> >>>>>     at
> >>>>>
> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
> >>>>>     at
> >>>>>
> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
> >>>>>     at
> >>>>>
> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
> >>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> >>>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> >>>>>     ... 13 more
> >>>>> ERROR: Error starting
> >>>>>
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
> >>>>> (org.osgi.framework.BundleException: Unable to resolve due to
> >>>>> constraint
> >>>>> violation.)
> >>>>> org.osgi.framework.BundleException: Unable to resolve due to
> >>>>> constraint
> >>>>> violation.
> >>>>>     at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
> >>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> >>>>>     at
> >>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> >>>>>     at
> >>>>>
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> >>>>>     at java.lang.Thread.run(Thread.java:619)
> >>>>> ERROR: Error starting
> >>>>>
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
> >>>>> (org.osgi.framework.BundleException: Unable to resolve due to
> >>>>> constraint
> >>>>> violation.)
> >>>>> org.osgi.framework.BundleException: Unable to resolve due to
> >>>>> constraint
> >>>>> violation.
> >>>>>     at
> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
> >>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> >>>>>     at
> >>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> >>>>>     at
> >>>>>
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> >>>>>     at java.lang.Thread.run(Thread.java:619)
> >>>>>
> >>>>>
> >>>>>
> >>>>> What could be wrong?
> >>>>
> >>>> It looks like the spring feature is not installed. Could you send a
> >>>> osgi:list to see the list of deployed bundles ?
> >>>>
> >>>>>>>> After i try to install all my bundles servicemix show the error i
> >>>>>>>> have attached and the shell of servicemix doesnt appear anymore, i
> >>>>>>>> have to "re-install" servicemix :(
> >>>> This is what the log is showing:
> >>>>
> >>>> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor
> >>>> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the
> >>>> deploy
> >>>> directory:
> >>>>
> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
> >>>> every 500 millis
> >>>> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor
> >>>> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
> >>>>
> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
> >>>> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor
> >>>> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles from
> >>>> expanded source directories to:
> >>>>
> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
> >>>> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener
> >>>> | .activator.ContextLoaderListener  361 | Starting
> >>>> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
> >>>> 17:04:17,662 | INFO  | FelixStartLevel  | jetty
> >>>> | .service.internal.util.JCLLogger  102 | Logging to
> >>>> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
> >>>> org.ops4j.pax.web.service.internal.util.JCLLogger
> >>>> 17:04:17,662 | INFO  | FelixStartLevel  | Activator
> >>>> | x.web.service.internal.Activator   63 | Starting pax http service
> >>>> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl
> >>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
> >>>> property
> >>>> org.ops4j.pax.web.session.timeout has failed
> >>>> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl
> >>>> | ce.internal.ServerControllerImpl   65 | configuring server:
> >>>> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
> >>>> enabled=true,http port=8080,http secure enabled=false,http secure
> >>>> port=8443,ssl keystore=/home/smontico/.keystore,ssl
> >>>> keystoreType=null,session timeout=null,listening
> >>>> addresses=[Ljava.lang.String;@d6ee28}
> >>>> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl
> >>>> | ce.internal.ServerControllerImpl   53 | starting server:
> >>>> ServerControllerImpl{state=STOPPED}
> >>>> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl
> >>>> | service.internal.JettyServerImpl   98 | adding
> >>>> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
> >>>> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl
> >>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
> >>>> property
> >>>> org.ops4j.pax.web.session.timeout has failed
> >>>> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl
> >>>> | service.internal.JettyServerImpl   62 | starting JettyServerImpl{}
> >>>> 17:04:17,703 | INFO  | guration Updater | jetty
> >>>> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
> >>>> 17:04:17,730 | INFO  | guration Updater | jetty
> >>>> | .service.internal.util.JCLLogger  102 | Started
> >>>> NIOSocketConnectorWrapper@0.0.0.0:8080
> >>>> 17:04:17,733 | INFO  | FelixStartLevel  | Activator
> >>>> | x.web.service.internal.Activator   67 | Started pax http service
> >>>>
> >>>>
> >>>>
> >>>>>>>>> This is the complete list of the bundles i'm trying to install:
> >>>>
> >>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
> >>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
> >>>> osgi/install -s
> >>>>
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
> >>>> osgi/install -s mvn:com.crs.servicemix.examples/hibernate-classes/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
> >>>> osgi/install -s
> >>>> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
> >>>>
> >>>>
> >>>> Thanks, Santiago.
> >>>>
> >>>>
> >>>> Thanks
> >>>> Regards
> >>>> JB
> >>>>
> >>>>
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27355445.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > -----
> > ---
> > Gert Vanthienen
> > http://gertvanthienen.blogspot.com
> >
>
> --
> View this message in context:
> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27404678.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: ServiceMix 4 installation bundles

Posted by smontico <sm...@gmail.com>.
Hi,

Well after playing for a while i was able to install all my bundles and they
are all active/started:

START LEVEL 100
   ID   State         Spring     Level  Name
[   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
[   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
(1.0.2)
[   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
jaxp-ri-1.4.2 (1.4.2.2)
[   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
[   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
1.4 (1.3.0)
[   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
[   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
Service (1.0.4)
[   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
[   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
Core (1.1.0)
[   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
[  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
[  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
[  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
[  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
[  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
Deployer (1.1.0)
[  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles: mina-1.1.7
(1.1.7.1)
[  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
[  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
Modules (1.1.0)
[  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-jexl-1.1 (1.1.0.1)
[  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
Features (1.1.0)
[  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-httpclient-3.1 (3.1.0.1)
[  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
[  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
[  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
ConfigAdmin Commands (1.1.0)
[  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
Config (1.1.0)
[  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
[  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-vfs-1.0 (1.0.0.1)
[  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
[  28] [Active     ] [       ] [   30] Unnamed -
com.google.code.sshd:sshd:bundle:0.1 (0.1)
[  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-codec-1.2 (1.2.0.1)
[  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
[  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
cglib-2.1_3 (2.1.0.3_1)
[  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
jline-0.9.94 (0.9.94.1)
[  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
aopalliance-1.0 (1.0.0.1)
[  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
[  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
PackageAdmin Commands (1.1.0)
[  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8
(2.0.8.1)
[  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
Log Commands (1.1.0)
[  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
[  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
OSGi Commands (1.1.0)
[  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
Admin (1.1.0)
[  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
Management (1.1.0)
[  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
Monitor (1.1.0)
[  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
[  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
[  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
(2.0.0)
[  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
howl-1.0.1-1 (1.0.1.1_1)
[  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
(2.2.0.r634076)
[  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
[  49] [Active     ] [Started] [   60] Apache ServiceMix Transaction (1.0.0)
[  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
(2.2.0.r634076)
[  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
[  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jencks-2.1
(2.1.0.1)
[  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
(1.0.1)
[  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
[  55] [Active     ] [       ] [   60] xbean-spring (3.5)
[  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
[  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
[  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
[  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
[  60] [Active     ] [Started] [   60] Apache ServiceMix Features ::
ActiveMQ Commands (4.0.0)
[  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX API
1.0 (1.3.0)
[  62] [Active     ] [       ] [   60] Apache ServiceMix Specs :: ACTIVATION
API 1.4 (1.3.0)
[  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
2.1 (1.3.0)
[  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jaxb-impl-2.1.6 (2.1.6.1)
[  65] [Active     ] [       ] [   60] camel-core (1.6.0)
[  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
[  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
[  68] [Active     ] [       ] [   60] xbean-naming (3.5)
[  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
[  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
1.0 (1.3.0)
[  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
[  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
[  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
[  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
[  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
[  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring (1.0.0)
[  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
(1.0.0)
[  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
(1.0.0)
[  79] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
API 1.4 (1.3.0)
[  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
[  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
woodstox-3.2.7 (3.2.7.1)
[  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
wsdl4j-1.6.1 (1.6.1.1)
[  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles: ant-1.7.0
(1.7.0.1)
[  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime (1.0.0)
[  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
[  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
(1.0.0)
[  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
(1.0.0)
[  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
[  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Requestor (1.0.0)
[  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Engine (1.0.0)
[  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Config (1.0.0)
[  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jetty-6.1.14 (6.1.14.1)
[  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.5.2)
[  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container (0.5.2)
[  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.5.0)
[  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
(0.5.0)
[  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.3.3)
[  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
(4.0.0)
[  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
[ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec (1.1.2)
[ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
1.3 (1.3.0)
[ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS API
2.1 (1.3.0)
[ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles: asm-2.2.3
(2.2.3.1)
[ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
FastInfoset-1.2.2 (1.2.2.1)
[ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
neethi-2.0.4 (2.0.4.1)
[ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlschema-1.4.3 (1.4.3.1)
[ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlresolver-1.2 (1.2.0.1)
[ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311 API
0.8 (1.3.0)
[ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlsec-1.3.0 (1.3.0.1)
[ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
wss4j-1.5.4 (1.5.4.1)
[ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
[ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
[ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding Component
(2009.01)
[ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
[ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
commons-net-1.4.1 (1.4.1.1)
[ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
[ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
[ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
[ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
[ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
[ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
[ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jsmpp-2.0
(2.0.0.1)
[ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
[ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
snmp4j-1.8.1 (1.8.1.1)
[ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
[ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
[ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
[ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
[ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
(2.1.4)
[ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
(2.1.4)
[ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
(2009.01)
[ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
core-3.2.3.v_686_R32x (3.2.3.1)
[ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
antlr-runtime-3.0.1 (3.0.1.1)
[ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
drools-4.0.7 (4.0.7.1)
[ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service Engine
(2009.01)
[ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
[ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
antlr-3.0.1 (3.0.1.1)
[ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
[ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
quartz-1.6.1 (1.6.1.1)
[ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
oscore-2.2.4 (2.2.4.1)
[ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
propertyset-1.3 (1.3.0.1)
[ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
osworkflow-2.7.0 (2.7.0.1)
[ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
[ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
[ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
[ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs :: Scripting
API 1.0 (1.3.0)
[ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
groovy-1.5.6 (1.5.6.1)
[ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles: js-1.7R1
(1.0.0.7R1_1)
[ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jruby-1.1.2 (1.1.2.1)
[ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
[ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
[ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
[ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
Service Engine (2009.01)
[ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
[ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
saxon-9.1.0.1 (9.1.0.1_1)
[ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
(2009.01)
[ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification Service
Engine (2009.01)
[ 158] [Resolved   ] [       ] [   60] Logger Properties Fragment (0.0.1)
                                       Hosts: 179
[ 159] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport for
OSGi (4.0.0)
[ 160] [Active     ] [       ] [   60] CGLIB Code Generation Library (2.1.3)
[ 161] [Active     ] [       ] [   60] Jdbc Plug-in (1.0.0)
[ 162] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
[ 163] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
(5.1.6)
[ 164] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
[ 165] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
(1.0.0)
[ 166] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
[ 167] [Active     ] [       ] [   60] Apache Velocity Engine (1.6.2)
[ 168] [Active     ] [       ] [   60] Apache Commons Lang (2.4.0)
[ 169] [Active     ] [       ] [   60] Apache Commons Collections (3.2.1)
[ 170] [Active     ] [       ] [   60] Spring JDBC (2.5.6)
[ 171] [Active     ] [       ] [   60] Spring ORM (2.5.6)
[ 172] [Active     ] [       ] [   60] JasperReports Reporting Framework
(2.0.5)
[ 173] [Active     ] [       ] [   60] Lowagie iText (2.0.8)
[ 174] [Active     ] [       ] [   60] Apache Commons Bean Utilities (1.8.0)
[ 175] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
[ 176] [Active     ] [       ] [   60] Hibernate Classes (3.2.6.ga)
[ 177] [Active     ] [       ] [   60] Apache Commons Digester (1.8.1)
[ 178] [Active     ] [       ] [   60] ExcepcionBundle (1.0.0)
[ 179] [Active     ] [       ] [   60] Logger Plug-in (0.0.1)
                                       Fragments: 158
[ 180] [Active     ] [Started] [   60] Test de hibernate (1.0.0)
[ 181] [Active     ] [Started] [   60] Business Plug-in (1.0.0)
[ 182] [Active     ] [Started] [   60] Webservice Plug-in (1.0.0)
[ 183] [Active     ] [Started] [   60] Hibernate Plug-in (0.0.1)
[ 184] [Active     ] [Started] [   60] GMI Core Plug-in (0.0.1)
[ 185] [Active     ] [       ] [   60] Jasperreport (1.0.0)
[ 186] [Active     ] [       ] [   60] AspectJ Weaver (1.6.5.RELEASE)



My new :) problem is that when I'm trying to execute a webservice I
deployed, the following error is shown:


java.lang.ClassCastException: java.lang.IllegalAccessException cannot be
cast to java.lang.RuntimeException
	at
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:67)
	at
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
	at
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
	at
org.springframework.orm.hibernate3.HibernateTransactionManager$$EnhancerByCGLIB$$26682a6a.doGetTransaction(<generated>)
	at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:341)
	at
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
	at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
	at
com.crs.uy.business.BattaBusiness$$EnhancerByCGLIB$$3e91fc25.executeService(<generated>)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
	at
org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
	at
org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at
org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
	at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy77.executeService(Unknown Source)
	at
org.apache.servicemix.examples.cxf.HelloWorldImpl.sayHi(HelloWorldImpl.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:165)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
	at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:54)
	at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
	at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
	at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
	at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
	at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
	at
org.apache.servicemix.cxf.transport.http_osgi.OsgiDestination.doMessage(OsgiDestination.java:83)
	at
org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invokeDestination(OsgiServlet.java:289)
	at
org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invoke(OsgiServlet.java:185)
	at
org.apache.servicemix.cxf.transport.http_osgi.SpringOsgiServlet.invoke(SpringOsgiServlet.java:48)
	at
org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.doPost(OsgiServlet.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
	at
org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at
org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:108)
	at
org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)


This is my xml configuration:

<?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.
-->
<!-- START SNIPPET: beans -->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:jaxws="http://cxf.apache.org/jaxws"
	   xmlns:ctx="http://www.springframework.org/schema/context"
       xmlns:osgi="http://www.springframework.org/schema/osgi"
       xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="
  http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans.xsd
  http://cxf.apache.org/jaxws
  http://cxf.apache.org/schemas/jaxws.xsd
  http://www.springframework.org/schema/context
  http://www.springframework.org/schema/context/spring-context.xsd
  http://www.springframework.org/schema/util
  http://www.springframework.org/schema/util/spring-util.xsd
  http://www.springframework.org/schema/osgi
  http://www.springframework.org/schema/osgi/spring-osgi.xsd
  http://www.springframework.org/schema/osgi-compendium
 
http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd">


    <import resource="classpath:META-INF/cxf/cxf.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
    <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
    <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />

	<jaxws:endpoint id="helloWorld"
	                implementor="#pepe"
	                address="/HelloWorld"/>

	<bean id="pepe"
		class="org.apache.servicemix.examples.cxf.HelloWorldImpl">
		<property name="bussinesService" ref="osgibattaBusiness"></property>
	</bean>
	
	<osgi:reference id="osgibattaBusiness" cardinality="1..1"
		interface="com.crs.uy.business.IBattaBusiness">
	</osgi:reference>
</beans>


The object osgibattaBusiness seems to be correctly exposed by another
bundle....

The method of the webservice is correctly executed, the problem appears when
it tries to execute a method (executeService) of the object inyected by
spring.
The executeService method is never executed...

package org.apache.servicemix.examples.cxf;

import java.lang.reflect.Method;

import javax.jws.WebService;

import com.crs.uy.business.IBattaBusiness;

@WebService(endpointInterface =
"org.apache.servicemix.examples.cxf.HelloWorld")
public class HelloWorldImpl implements HelloWorld {

	private IBattaBusiness bussinesService;

	public IBattaBusiness getBussinesService() {
		return bussinesService;
	}

	public void setBussinesService(IBattaBusiness bussinesService) {
		this.bussinesService = bussinesService;
	}

	public String sayHi(String text) {
		try {
			System.out.println("parametro : " + text);
			this.bussinesService.executeService(null);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return "************************** ServiceMix 4 a FULL = " + text;
	}
}

Could it be a bundle conflict even if they are all active and started?

Thanks again....

Santiago.


Gert Vanthienen wrote:
> 
> Santiago,
> 
> I think at least some of these bundles are failing to start because of
> conflicting exports in other bundles we already ship with.  An
> example: the pax-logging bundle exports all the commonly used logging
> APIs, so when you add another log4j bundle you might run into a
> situation where the framework is no longer able to determine what the
> correct class space should look like.  Once you remove these
> duplicates, you will probably also resolve a few of the 'Unable to
> resolve due to constraint violation.' errors you are seeing.
> 
> Could you give this approach a try so we can look into whatever
> problems are unresolved after that?
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 28 January 2010 13:51, smontico <sm...@gmail.com> wrote:
>>
>> Hi Jean,
>>
>> I have created a feature just like you told me:
>>
>> <feature name="target-platform" version="1.0.0">
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0</bundle>
>>      
>>  <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0</bundle>
>>      
>>  <bundle>mvn:com.crs.servicemix.examples/hibernate-classes/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.aop/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.beans/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.context/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.orm/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0</bundle>
>>
>> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.eclipse.jdt.core.compiler.batch/1.0</bundle>
>>    </feature>
>>
>> After that i refreshed the url and installed the target platform.
>>
>> The installation process shows an error:
>>
>> org.osgi.framework.BundleException: Fragment bundles can not be started.
>>
>>
>> Do I have to remove the fragments bundles from the feature list?
>> Anyway... after that i execute osgi/list in order to see what happened,
>> and
>> some bundles are not active.
>>
>> After the osgi/list command, i execute the exit command and then when i
>> try
>> to start servicemix again i can't !!!
>> What could be wrong? Maybe some of my bundles are not compatible with the
>> ones provided by servicemix??
>>
>> The steps i'm following:
>>
>> smx@root:features> install target-platform
>> ERROR CommandLineExecutionFailed:
>> org.apache.geronimo.gshell.command.CommandException:
>> org.osgi.framework.BundleException: Fragment bundles can not be started.
>> smx@root:features> osgi/list
>> START LEVEL 100
>>   ID   State         Spring     Level  Name
>> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
>> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
>> (1.0.2)
>> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
>> jaxp-ri-1.4.2 (1.4.2.2)
>> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
>> (1.1.1)
>> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP
>> API
>> 1.4 (1.3.0)
>> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
>> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
>> Service (1.0.4)
>> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
>> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
>> Core (1.1.0)
>> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
>> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
>> (1.3.0)
>> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
>> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
>> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
>> Deployer (1.1.0)
>> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> mina-1.1.7
>> (1.1.7.1)
>> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
>> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>> Modules (1.1.0)
>> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-jexl-1.1 (1.1.0.1)
>> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> Features (1.1.0)
>> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-httpclient-3.1 (3.1.0.1)
>> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
>> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
>> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> ConfigAdmin Commands (1.1.0)
>> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>> Config (1.1.0)
>> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
>> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-vfs-1.0 (1.0.0.1)
>> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
>> [  28] [Active     ] [       ] [   30] Unnamed -
>> com.google.code.sshd:sshd:bundle:0.1 (0.1)
>> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> commons-codec-1.2 (1.2.0.1)
>> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
>> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> cglib-2.1_3 (2.1.0.3_1)
>> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> jline-0.9.94 (0.9.94.1)
>> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> aopalliance-1.0 (1.0.0.1)
>> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
>> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> PackageAdmin Commands (1.1.0)
>> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>> oro-2.0.8
>> (2.0.8.1)
>> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
>> Log Commands (1.1.0)
>> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
>> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
>> OSGi Commands (1.1.0)
>> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
>> Admin (1.1.0)
>> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>> Management (1.1.0)
>> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
>> Monitor (1.1.0)
>> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
>> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
>> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
>> (2.0.0)
>> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> howl-1.0.1-1 (1.0.1.1_1)
>> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
>> (2.2.0.r634076)
>> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
>> [  49] [Active     ] [       ] [   60] Apache ServiceMix Transaction
>> (1.0.0)
>> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
>> (2.2.0.r634076)
>> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
>> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jencks-2.1
>> (2.1.0.1)
>> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
>> (1.0.1)
>> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
>> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
>> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
>> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
>> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
>> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
>> [  60] [Active     ] [       ] [   60] Apache ServiceMix Features ::
>> ActiveMQ Commands (4.0.0)
>> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX
>> API
>> 1.0 (1.3.0)
>> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> ACTIVATION
>> API 1.4 (1.3.0)
>> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB
>> API
>> 2.1 (1.3.0)
>> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jaxb-impl-2.1.6 (2.1.6.1)
>> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
>> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
>> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
>> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
>> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
>> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
>> 1.0 (1.3.0)
>> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
>> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
>> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
>> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
>> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
>> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring
>> (1.0.0)
>> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
>> (1.0.0)
>> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
>> (1.0.0)
>> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> JAVAMAIL
>> API 1.4 (1.3.0)
>> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
>> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> woodstox-3.2.7 (3.2.7.1)
>> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> wsdl4j-1.6.1 (1.6.1.1)
>> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> ant-1.7.0
>> (1.7.0.1)
>> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime
>> (1.0.0)
>> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
>> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
>> (1.0.0)
>> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
>> (1.0.0)
>> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
>> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>> Requestor (1.0.0)
>> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>> Engine (1.0.0)
>> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
>> Config (1.0.0)
>> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jetty-6.1.14 (6.1.14.1)
>> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
>> (0.5.2)
>> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
>> (0.5.2)
>> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
>> (0.5.0)
>> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
>> Whiteboard
>> (0.5.0)
>> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
>> (0.3.3)
>> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
>> (4.0.0)
>> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
>> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
>> (1.1.2)
>> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ
>> API
>> 1.3 (1.3.0)
>> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS
>> API
>> 2.1 (1.3.0)
>> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> asm-2.2.3
>> (2.2.3.1)
>> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> FastInfoset-1.2.2 (1.2.2.1)
>> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> neethi-2.0.4 (2.0.4.1)
>> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> xmlschema-1.4.3 (1.4.3.1)
>> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> xmlresolver-1.2 (1.2.0.1)
>> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311
>> API
>> 0.8 (1.3.0)
>> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> xmlsec-1.3.0 (1.3.0.1)
>> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> wss4j-1.5.4 (1.5.4.1)
>> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
>> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
>> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding
>> Component
>> (2009.01)
>> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
>> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> commons-net-1.4.1 (1.4.1.1)
>> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
>> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
>> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
>> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
>> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
>> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
>> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jsmpp-2.0
>> (2.0.0.1)
>> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
>> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> snmp4j-1.8.1 (1.8.1.1)
>> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
>> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
>> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
>> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
>> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
>> (2.1.4)
>> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
>> (2.1.4)
>> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
>> (2009.01)
>> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> core-3.2.3.v_686_R32x (3.2.3.1)
>> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> antlr-runtime-3.0.1 (3.0.1.1)
>> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> drools-4.0.7 (4.0.7.1)
>> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service
>> Engine
>> (2009.01)
>> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
>> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> antlr-3.0.1 (3.0.1.1)
>> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
>> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> quartz-1.6.1 (1.6.1.1)
>> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> oscore-2.2.4 (2.2.4.1)
>> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> propertyset-1.3 (1.3.0.1)
>> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> osworkflow-2.7.0 (2.7.0.1)
>> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
>> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
>> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
>> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>> Scripting
>> API 1.0 (1.3.0)
>> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> groovy-1.5.6 (1.5.6.1)
>> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> js-1.7R1
>> (1.0.0.7R1_1)
>> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> jruby-1.1.2 (1.1.2.1)
>> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
>> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
>> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
>> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
>> Service Engine (2009.01)
>> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
>> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>> saxon-9.1.0.1 (9.1.0.1_1)
>> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
>> (2009.01)
>> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification
>> Service
>> Engine (2009.01)
>> [ 158] [Active     ] [       ] [   60] Driver Plug-in (1.0.0)
>> [ 159] [Active     ] [       ] [   60] com.crs.gmi.core (1.0.0)
>> [ 160] [Resolved   ] [       ] [   60] ExcepcionBundle (1.0.0)
>> [ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
>> [ 162] [Active     ] [       ] [   60] com.crs.gmi.core.logger (1.0.0)
>> [ 163] [Active     ] [       ] [   60] com.crs.gmi.core.loggerconfig
>> (1.0.0)
>> [ 164] [Resolved   ] [       ] [   60]
>> com.crs.gmi.core.report.jasperreport
>> (1.0.0)
>> [ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
>> [ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
>>                                       Hosts: 180
>> [ 167] [Resolved   ] [       ] [   60] Lowagie iText (2.0.8)
>> [ 168] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
>> [ 169] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
>> (5.1.6)
>> [ 170] [Active     ] [       ] [   60] Java SOAP API (1.3.0)
>> [ 171] [Active     ] [       ] [   60] CGLIB Code Generation Library
>> (2.1.3)
>> [ 172] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
>> [ 173] [Active     ] [       ] [   60] JasperReports Reporting Framework
>> (2.0.5)
>> [ 174] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
>> (1.0.0)
>> [ 175] [Active     ] [       ] [   60] AOP Alliance API (1.0.0)
>> [ 176] [Resolved   ] [       ] [   60] Apache Commons Bean Utilities
>> (1.8.0)
>> [ 177] [Resolved   ] [       ] [   60] Apache Commons Collections (3.2.1)
>> [ 178] [Resolved   ] [       ] [   60] Apache Commons Digester (1.8.1)
>> [ 179] [Resolved   ] [       ] [   60] Apache Commons Lang (2.4.0)
>> [ 180] [Resolved   ] [       ] [   60] Apache Log4J (1.2.15)
>>                                       Fragments: 166
>> [ 181] [Resolved   ] [       ] [   60] Apache Velocity Engine (1.6.2)
>> [ 182] [Resolved   ] [       ] [   60] dom4j DOM Processor (1.6.1)
>> [ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
>>                                       Fragments: 184
>> [ 184] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
>>                                       Hosts: 183,183
>> [ 185] [Resolved   ] [       ] [   60] Hibernate Classes (3.2.6.ga)
>> [ 186] [Resolved   ] [       ] [   60] Spring AOP (2.5.6.A)
>> [ 187] [Resolved   ] [       ] [   60] Spring Beans (2.5.6.A)
>> [ 188] [Resolved   ] [       ] [   60] Spring Context (2.5.6.A)
>> [ 189] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6.A)
>> [ 190] [Resolved   ] [       ] [   60] Spring ORM (2.5.6.A)
>> [ 191] [Resolved   ] [       ] [   60] Spring Transaction (2.5.6.A)
>> [ 192] [Active     ] [       ] [   60] Spring Web (2.5.6.A)
>> [ 193] [Active     ] [       ] [   60] Spring Web Servlet (2.5.6.A)
>> [ 194] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
>> smx@root:features> exit
>> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>> ./servicemix
>> ERROR: Error starting
>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>> (org.osgi.framework.BundleException: Activator start error in bundle
>> org.springframework.osgi.extender [30].)
>> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>>        at
>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>>        at
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>>        at
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>>        at
>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>>        at
>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>>        at
>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>>        at
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>>        at
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>>        at
>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>        at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>        at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>        at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.ClassNotFoundException:
>> org.springframework.core.io.Resource
>>        at
>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>>        at
>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>>        at
>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>>        ... 13 more
>> ERROR: Error starting
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.)
>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.
>>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>        at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>        at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>        at java.lang.Thread.run(Thread.java:619)
>> ERROR: Error starting
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.)
>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.
>>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>        at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>        at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>        at java.lang.Thread.run(Thread.java:619)
>>
>> I'll appreciate any comment or suggestion...
>>
>> Thanks in advance, Santiago.
>>
>>
>>
>>
>> smontico wrote:
>>>
>>> Hi Jean,
>>>
>>> Thanks for the fast response!
>>> My comments inline:
>>>
>>>
>>> Jean-Baptiste Onofré wrote:
>>>>
>>>> Hi Santiago,
>>>>
>>>> my comments inline:
>>>>
>>>>>
>>>>> Am I taking the right steps to install these bundles or am i missing
>>>>> something?
>>>> Yes, you can make a mvn install to install the bundle in your local m2
>>>> repo. After ogsi:install -s mvn:groupId/artifactId/classifier/version
>>>>
>>>> You check the log if the bundle can't be started.
>>>>
>>>>>>>> The problem is that no error was shown in the log when the bundle
>>>>>>>> is
>>>>>>>> not started
>>>>
>>>> If you have a lot of bundle to deploy you can "describe" it in a
>>>> feature
>>>> XML. In the feature XML, you can describe all the bundles that you need
>>>> to deploy. You can use feature:addUrl and feature:install to deploy it.
>>>>
>>>>>>>> Ok i understand i will try it to make things simple
>>>>
>>>>> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>>>>> ./servicemix
>>>>> ERROR: Error starting
>>>>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>>>>> (org.osgi.framework.BundleException: Activator start error in bundle
>>>>> org.springframework.osgi.extender [30].)
>>>>> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>>>>>     at
>>>>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>>>>>     at
>>>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>>>>>     at
>>>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>>>>     at
>>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>>>>     at
>>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>>>     at java.lang.Thread.run(Thread.java:619)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> org.springframework.core.io.Resource
>>>>>     at
>>>>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>>>>>     at
>>>>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>>>>>     at
>>>>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>>>>>     ... 13 more
>>>>> ERROR: Error starting
>>>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>>>>> (org.osgi.framework.BundleException: Unable to resolve due to
>>>>> constraint
>>>>> violation.)
>>>>> org.osgi.framework.BundleException: Unable to resolve due to
>>>>> constraint
>>>>> violation.
>>>>>     at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>>>>     at
>>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>>>>     at
>>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>>>     at java.lang.Thread.run(Thread.java:619)
>>>>> ERROR: Error starting
>>>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>>>>> (org.osgi.framework.BundleException: Unable to resolve due to
>>>>> constraint
>>>>> violation.)
>>>>> org.osgi.framework.BundleException: Unable to resolve due to
>>>>> constraint
>>>>> violation.
>>>>>     at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>>>>     at
>>>>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>>>>     at
>>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>>>     at java.lang.Thread.run(Thread.java:619)
>>>>>
>>>>>
>>>>>
>>>>> What could be wrong?
>>>>
>>>> It looks like the spring feature is not installed. Could you send a
>>>> osgi:list to see the list of deployed bundles ?
>>>>
>>>>>>>> After i try to install all my bundles servicemix show the error i
>>>>>>>> have attached and the shell of servicemix doesnt appear anymore, i
>>>>>>>> have to "re-install" servicemix :(
>>>> This is what the log is showing:
>>>>
>>>> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor
>>>> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the
>>>> deploy
>>>> directory:
>>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
>>>> every 500 millis
>>>> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor
>>>> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
>>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
>>>> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor
>>>> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles from
>>>> expanded source directories to:
>>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
>>>> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener
>>>> | .activator.ContextLoaderListener  361 | Starting
>>>> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
>>>> 17:04:17,662 | INFO  | FelixStartLevel  | jetty
>>>> | .service.internal.util.JCLLogger  102 | Logging to
>>>> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
>>>> org.ops4j.pax.web.service.internal.util.JCLLogger
>>>> 17:04:17,662 | INFO  | FelixStartLevel  | Activator
>>>> | x.web.service.internal.Activator   63 | Starting pax http service
>>>> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl
>>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
>>>> property
>>>> org.ops4j.pax.web.session.timeout has failed
>>>> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl
>>>> | ce.internal.ServerControllerImpl   65 | configuring server:
>>>> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
>>>> enabled=true,http port=8080,http secure enabled=false,http secure
>>>> port=8443,ssl keystore=/home/smontico/.keystore,ssl
>>>> keystoreType=null,session timeout=null,listening
>>>> addresses=[Ljava.lang.String;@d6ee28}
>>>> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl
>>>> | ce.internal.ServerControllerImpl   53 | starting server:
>>>> ServerControllerImpl{state=STOPPED}
>>>> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl
>>>> | service.internal.JettyServerImpl   98 | adding
>>>> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
>>>> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl
>>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration
>>>> property
>>>> org.ops4j.pax.web.session.timeout has failed
>>>> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl
>>>> | service.internal.JettyServerImpl   62 | starting JettyServerImpl{}
>>>> 17:04:17,703 | INFO  | guration Updater | jetty
>>>> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
>>>> 17:04:17,730 | INFO  | guration Updater | jetty
>>>> | .service.internal.util.JCLLogger  102 | Started
>>>> NIOSocketConnectorWrapper@0.0.0.0:8080
>>>> 17:04:17,733 | INFO  | FelixStartLevel  | Activator
>>>> | x.web.service.internal.Activator   67 | Started pax http service
>>>>
>>>>
>>>>
>>>>>>>>> This is the complete list of the bundles i'm trying to install:
>>>>
>>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
>>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
>>>> osgi/install -s mvn:com.crs.servicemix.examples/hibernate-classes/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
>>>> osgi/install -s
>>>> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
>>>>
>>>>
>>>> Thanks, Santiago.
>>>>
>>>>
>>>> Thanks
>>>> Regards
>>>> JB
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27355445.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27404678.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4 installation bundles

Posted by Gert Vanthienen <ge...@gmail.com>.
Santiago,

I think at least some of these bundles are failing to start because of
conflicting exports in other bundles we already ship with.  An
example: the pax-logging bundle exports all the commonly used logging
APIs, so when you add another log4j bundle you might run into a
situation where the framework is no longer able to determine what the
correct class space should look like.  Once you remove these
duplicates, you will probably also resolve a few of the 'Unable to
resolve due to constraint violation.' errors you are seeing.

Could you give this approach a try so we can look into whatever
problems are unresolved after that?

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 28 January 2010 13:51, smontico <sm...@gmail.com> wrote:
>
> Hi Jean,
>
> I have created a feature just like you told me:
>
> <feature name="target-platform" version="1.0.0">
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0</bundle>
>        <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0</bundle>
>        <bundle>mvn:com.crs.servicemix.examples/hibernate-classes/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.aop/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.beans/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.context/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.orm/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0</bundle>
>
> <bundle>mvn:com.crs.servicemix.examples/com.springsource.org.eclipse.jdt.core.compiler.batch/1.0</bundle>
>    </feature>
>
> After that i refreshed the url and installed the target platform.
>
> The installation process shows an error:
>
> org.osgi.framework.BundleException: Fragment bundles can not be started.
>
>
> Do I have to remove the fragments bundles from the feature list?
> Anyway... after that i execute osgi/list in order to see what happened, and
> some bundles are not active.
>
> After the osgi/list command, i execute the exit command and then when i try
> to start servicemix again i can't !!!
> What could be wrong? Maybe some of my bundles are not compatible with the
> ones provided by servicemix??
>
> The steps i'm following:
>
> smx@root:features> install target-platform
> ERROR CommandLineExecutionFailed:
> org.apache.geronimo.gshell.command.CommandException:
> org.osgi.framework.BundleException: Fragment bundles can not be started.
> smx@root:features> osgi/list
> START LEVEL 100
>   ID   State         Spring     Level  Name
> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
> (1.0.2)
> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
> jaxp-ri-1.4.2 (1.4.2.2)
> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
> 1.4 (1.3.0)
> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
> Service (1.0.4)
> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
> Core (1.1.0)
> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
> Deployer (1.1.0)
> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles: mina-1.1.7
> (1.1.7.1)
> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Modules (1.1.0)
> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-jexl-1.1 (1.1.0.1)
> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Features (1.1.0)
> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-httpclient-3.1 (3.1.0.1)
> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> ConfigAdmin Commands (1.1.0)
> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Config (1.1.0)
> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-vfs-1.0 (1.0.0.1)
> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> [  28] [Active     ] [       ] [   30] Unnamed -
> com.google.code.sshd:sshd:bundle:0.1 (0.1)
> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-codec-1.2 (1.2.0.1)
> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> cglib-2.1_3 (2.1.0.3_1)
> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> jline-0.9.94 (0.9.94.1)
> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> aopalliance-1.0 (1.0.0.1)
> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> PackageAdmin Commands (1.1.0)
> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8
> (2.0.8.1)
> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Log Commands (1.1.0)
> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> OSGi Commands (1.1.0)
> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> Admin (1.1.0)
> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> Management (1.1.0)
> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
> Monitor (1.1.0)
> [  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
> [  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
> [  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
> (2.0.0)
> [  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> howl-1.0.1-1 (1.0.1.1_1)
> [  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
> (2.2.0.r634076)
> [  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
> [  49] [Active     ] [       ] [   60] Apache ServiceMix Transaction (1.0.0)
> [  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
> (2.2.0.r634076)
> [  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jencks-2.1
> (2.1.0.1)
> [  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
> (1.0.1)
> [  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
> [  55] [Active     ] [       ] [   60] xbean-spring (3.5)
> [  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
> [  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
> [  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
> [  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
> [  60] [Active     ] [       ] [   60] Apache ServiceMix Features ::
> ActiveMQ Commands (4.0.0)
> [  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX API
> 1.0 (1.3.0)
> [  62] [Active     ] [       ] [   60] Apache ServiceMix Specs :: ACTIVATION
> API 1.4 (1.3.0)
> [  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
> 2.1 (1.3.0)
> [  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jaxb-impl-2.1.6 (2.1.6.1)
> [  65] [Active     ] [       ] [   60] camel-core (1.6.0)
> [  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
> [  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
> [  68] [Active     ] [       ] [   60] xbean-naming (3.5)
> [  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
> [  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
> 1.0 (1.3.0)
> [  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
> [  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
> [  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
> [  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
> [  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
> [  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring (1.0.0)
> [  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
> (1.0.0)
> [  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
> (1.0.0)
> [  79] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
> API 1.4 (1.3.0)
> [  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> woodstox-3.2.7 (3.2.7.1)
> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wsdl4j-1.6.1 (1.6.1.1)
> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles: ant-1.7.0
> (1.7.0.1)
> [  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime (1.0.0)
> [  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
> [  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
> (1.0.0)
> [  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
> (1.0.0)
> [  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
> [  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Requestor (1.0.0)
> [  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Engine (1.0.0)
> [  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
> Config (1.0.0)
> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jetty-6.1.14 (6.1.14.1)
> [  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.5.2)
> [  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container (0.5.2)
> [  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.5.0)
> [  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
> (0.5.0)
> [  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.3.3)
> [  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
> (4.0.0)
> [  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
> [ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec (1.1.2)
> [ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
> 1.3 (1.3.0)
> [ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS API
> 2.1 (1.3.0)
> [ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles: asm-2.2.3
> (2.2.3.1)
> [ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> FastInfoset-1.2.2 (1.2.2.1)
> [ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> neethi-2.0.4 (2.0.4.1)
> [ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlschema-1.4.3 (1.4.3.1)
> [ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlresolver-1.2 (1.2.0.1)
> [ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311 API
> 0.8 (1.3.0)
> [ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlsec-1.3.0 (1.3.0.1)
> [ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wss4j-1.5.4 (1.5.4.1)
> [ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
> [ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
> [ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding Component
> (2009.01)
> [ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
> [ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> commons-net-1.4.1 (1.4.1.1)
> [ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
> [ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
> [ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
> [ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
> [ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
> [ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
> [ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jsmpp-2.0
> (2.0.0.1)
> [ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
> [ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> snmp4j-1.8.1 (1.8.1.1)
> [ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
> [ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
> [ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
> [ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
> [ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
> (2.1.4)
> [ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
> (2.1.4)
> [ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
> (2009.01)
> [ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> core-3.2.3.v_686_R32x (3.2.3.1)
> [ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-runtime-3.0.1 (3.0.1.1)
> [ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> drools-4.0.7 (4.0.7.1)
> [ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service Engine
> (2009.01)
> [ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
> [ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-3.0.1 (3.0.1.1)
> [ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
> [ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> quartz-1.6.1 (1.6.1.1)
> [ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> oscore-2.2.4 (2.2.4.1)
> [ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> propertyset-1.3 (1.3.0.1)
> [ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> osworkflow-2.7.0 (2.7.0.1)
> [ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
> [ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
> [ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs :: Scripting
> API 1.0 (1.3.0)
> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> groovy-1.5.6 (1.5.6.1)
> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles: js-1.7R1
> (1.0.0.7R1_1)
> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jruby-1.1.2 (1.1.2.1)
> [ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
> [ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
> [ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
> [ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
> Service Engine (2009.01)
> [ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> saxon-9.1.0.1 (9.1.0.1_1)
> [ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
> (2009.01)
> [ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification Service
> Engine (2009.01)
> [ 158] [Active     ] [       ] [   60] Driver Plug-in (1.0.0)
> [ 159] [Active     ] [       ] [   60] com.crs.gmi.core (1.0.0)
> [ 160] [Resolved   ] [       ] [   60] ExcepcionBundle (1.0.0)
> [ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
> [ 162] [Active     ] [       ] [   60] com.crs.gmi.core.logger (1.0.0)
> [ 163] [Active     ] [       ] [   60] com.crs.gmi.core.loggerconfig (1.0.0)
> [ 164] [Resolved   ] [       ] [   60] com.crs.gmi.core.report.jasperreport
> (1.0.0)
> [ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
> [ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
>                                       Hosts: 180
> [ 167] [Resolved   ] [       ] [   60] Lowagie iText (2.0.8)
> [ 168] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
> [ 169] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
> (5.1.6)
> [ 170] [Active     ] [       ] [   60] Java SOAP API (1.3.0)
> [ 171] [Active     ] [       ] [   60] CGLIB Code Generation Library (2.1.3)
> [ 172] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
> [ 173] [Active     ] [       ] [   60] JasperReports Reporting Framework
> (2.0.5)
> [ 174] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
> (1.0.0)
> [ 175] [Active     ] [       ] [   60] AOP Alliance API (1.0.0)
> [ 176] [Resolved   ] [       ] [   60] Apache Commons Bean Utilities (1.8.0)
> [ 177] [Resolved   ] [       ] [   60] Apache Commons Collections (3.2.1)
> [ 178] [Resolved   ] [       ] [   60] Apache Commons Digester (1.8.1)
> [ 179] [Resolved   ] [       ] [   60] Apache Commons Lang (2.4.0)
> [ 180] [Resolved   ] [       ] [   60] Apache Log4J (1.2.15)
>                                       Fragments: 166
> [ 181] [Resolved   ] [       ] [   60] Apache Velocity Engine (1.6.2)
> [ 182] [Resolved   ] [       ] [   60] dom4j DOM Processor (1.6.1)
> [ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
>                                       Fragments: 184
> [ 184] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
>                                       Hosts: 183,183
> [ 185] [Resolved   ] [       ] [   60] Hibernate Classes (3.2.6.ga)
> [ 186] [Resolved   ] [       ] [   60] Spring AOP (2.5.6.A)
> [ 187] [Resolved   ] [       ] [   60] Spring Beans (2.5.6.A)
> [ 188] [Resolved   ] [       ] [   60] Spring Context (2.5.6.A)
> [ 189] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6.A)
> [ 190] [Resolved   ] [       ] [   60] Spring ORM (2.5.6.A)
> [ 191] [Resolved   ] [       ] [   60] Spring Transaction (2.5.6.A)
> [ 192] [Active     ] [       ] [   60] Spring Web (2.5.6.A)
> [ 193] [Active     ] [       ] [   60] Spring Web Servlet (2.5.6.A)
> [ 194] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
> smx@root:features> exit
> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
> ./servicemix
> ERROR: Error starting
> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
> (org.osgi.framework.BundleException: Activator start error in bundle
> org.springframework.osgi.extender [30].)
> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>        at
> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>        at
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>        at
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>        at
> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>        at
> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>        at
> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>        at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>        at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>        at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException:
> org.springframework.core.io.Resource
>        at
> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>        at
> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>        at
> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>        ... 13 more
> ERROR: Error starting
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
> (org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.)
> org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.
>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>        at java.lang.Thread.run(Thread.java:619)
> ERROR: Error starting
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
> (org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.)
> org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.
>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>        at java.lang.Thread.run(Thread.java:619)
>
> I'll appreciate any comment or suggestion...
>
> Thanks in advance, Santiago.
>
>
>
>
> smontico wrote:
>>
>> Hi Jean,
>>
>> Thanks for the fast response!
>> My comments inline:
>>
>>
>> Jean-Baptiste Onofré wrote:
>>>
>>> Hi Santiago,
>>>
>>> my comments inline:
>>>
>>>>
>>>> Am I taking the right steps to install these bundles or am i missing
>>>> something?
>>> Yes, you can make a mvn install to install the bundle in your local m2
>>> repo. After ogsi:install -s mvn:groupId/artifactId/classifier/version
>>>
>>> You check the log if the bundle can't be started.
>>>
>>>>>>> The problem is that no error was shown in the log when the bundle is
>>>>>>> not started
>>>
>>> If you have a lot of bundle to deploy you can "describe" it in a feature
>>> XML. In the feature XML, you can describe all the bundles that you need
>>> to deploy. You can use feature:addUrl and feature:install to deploy it.
>>>
>>>>>>> Ok i understand i will try it to make things simple
>>>
>>>> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>>>> ./servicemix
>>>> ERROR: Error starting
>>>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>>>> (org.osgi.framework.BundleException: Activator start error in bundle
>>>> org.springframework.osgi.extender [30].)
>>>> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>>>>     at
>>>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>>>>     at
>>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>>>>     at
>>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>>>>     at
>>>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>>>>     at
>>>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>>>>     at
>>>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>>>>     at
>>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>>>>     at
>>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>>>>     at
>>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>>>     at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>>>     at
>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>>     at java.lang.Thread.run(Thread.java:619)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> org.springframework.core.io.Resource
>>>>     at
>>>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>>>>     at
>>>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>>>>     at
>>>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>>>>     ... 13 more
>>>> ERROR: Error starting
>>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>>>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>>>> violation.)
>>>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>>>> violation.
>>>>     at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>>>     at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>>>     at
>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>>     at java.lang.Thread.run(Thread.java:619)
>>>> ERROR: Error starting
>>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>>>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>>>> violation.)
>>>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>>>> violation.
>>>>     at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>>>     at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>>>     at
>>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>>>     at java.lang.Thread.run(Thread.java:619)
>>>>
>>>>
>>>>
>>>> What could be wrong?
>>>
>>> It looks like the spring feature is not installed. Could you send a
>>> osgi:list to see the list of deployed bundles ?
>>>
>>>>>>> After i try to install all my bundles servicemix show the error i
>>>>>>> have attached and the shell of servicemix doesnt appear anymore, i
>>>>>>> have to "re-install" servicemix :(
>>> This is what the log is showing:
>>>
>>> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor
>>> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the deploy
>>> directory:
>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
>>> every 500 millis
>>> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor
>>> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
>>> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor
>>> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles from
>>> expanded source directories to:
>>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
>>> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener
>>> | .activator.ContextLoaderListener  361 | Starting
>>> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
>>> 17:04:17,662 | INFO  | FelixStartLevel  | jetty
>>> | .service.internal.util.JCLLogger  102 | Logging to
>>> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
>>> org.ops4j.pax.web.service.internal.util.JCLLogger
>>> 17:04:17,662 | INFO  | FelixStartLevel  | Activator
>>> | x.web.service.internal.Activator   63 | Starting pax http service
>>> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl
>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration property
>>> org.ops4j.pax.web.session.timeout has failed
>>> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl
>>> | ce.internal.ServerControllerImpl   65 | configuring server:
>>> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
>>> enabled=true,http port=8080,http secure enabled=false,http secure
>>> port=8443,ssl keystore=/home/smontico/.keystore,ssl
>>> keystoreType=null,session timeout=null,listening
>>> addresses=[Ljava.lang.String;@d6ee28}
>>> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl
>>> | ce.internal.ServerControllerImpl   53 | starting server:
>>> ServerControllerImpl{state=STOPPED}
>>> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl
>>> | service.internal.JettyServerImpl   98 | adding
>>> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
>>> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl
>>> | rvice.internal.ConfigurationImpl  341 | Reading configuration property
>>> org.ops4j.pax.web.session.timeout has failed
>>> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl
>>> | service.internal.JettyServerImpl   62 | starting JettyServerImpl{}
>>> 17:04:17,703 | INFO  | guration Updater | jetty
>>> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
>>> 17:04:17,730 | INFO  | guration Updater | jetty
>>> | .service.internal.util.JCLLogger  102 | Started
>>> NIOSocketConnectorWrapper@0.0.0.0:8080
>>> 17:04:17,733 | INFO  | FelixStartLevel  | Activator
>>> | x.web.service.internal.Activator   67 | Started pax http service
>>>
>>>
>>>
>>>>>>>> This is the complete list of the bundles i'm trying to install:
>>>
>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
>>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
>>> osgi/install -s mvn:com.crs.servicemix.examples/hibernate-classes/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
>>> osgi/install -s
>>> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
>>>
>>>
>>> Thanks, Santiago.
>>>
>>>
>>> Thanks
>>> Regards
>>> JB
>>>
>>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27355445.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: ServiceMix 4 installation bundles

Posted by smontico <sm...@gmail.com>.
Hi Jean,

I have created a feature just like you told me:

<feature name="target-platform" version="1.0.0">
       
<bundle>mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0</bundle>
       
<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0</bundle>
       
<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0</bundle>
	<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0</bundle>
	<bundle>mvn:com.crs.servicemix.examples/hibernate-classes/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.aop/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.beans/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.context/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.orm/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.web/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0</bundle>

<bundle>mvn:com.crs.servicemix.examples/com.springsource.org.eclipse.jdt.core.compiler.batch/1.0</bundle>
    </feature>

After that i refreshed the url and installed the target platform.

The installation process shows an error:

org.osgi.framework.BundleException: Fragment bundles can not be started.


Do I have to remove the fragments bundles from the feature list?
Anyway... after that i execute osgi/list in order to see what happened, and
some bundles are not active.

After the osgi/list command, i execute the exit command and then when i try
to start servicemix again i can't !!!
What could be wrong? Maybe some of my bundles are not compatible with the
ones provided by servicemix??

The steps i'm following:

smx@root:features> install target-platform
ERROR CommandLineExecutionFailed:
org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Fragment bundles can not be started.
smx@root:features> osgi/list              
START LEVEL 100
   ID   State         Spring     Level  Name
[   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
[   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
(1.0.2)
[   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
jaxp-ri-1.4.2 (1.4.2.2)
[   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
[   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
1.4 (1.3.0)
[   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
[   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin
Service (1.0.4)
[   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
[   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell
Core (1.1.0)
[   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
[  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
[  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
[  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
[  13] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
[  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
Deployer (1.1.0)
[  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles: mina-1.1.7
(1.1.7.1)
[  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
[  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
Modules (1.1.0)
[  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-jexl-1.1 (1.1.0.1)
[  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
Features (1.1.0)
[  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-httpclient-3.1 (3.1.0.1)
[  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
[  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
[  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
ConfigAdmin Commands (1.1.0)
[  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
Config (1.1.0)
[  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
[  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-vfs-1.0 (1.0.0.1)
[  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
[  28] [Active     ] [       ] [   30] Unnamed -
com.google.code.sshd:sshd:bundle:0.1 (0.1)
[  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
commons-codec-1.2 (1.2.0.1)
[  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
[  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
cglib-2.1_3 (2.1.0.3_1)
[  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
jline-0.9.94 (0.9.94.1)
[  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
aopalliance-1.0 (1.0.0.1)
[  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
[  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
PackageAdmin Commands (1.1.0)
[  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8
(2.0.8.1)
[  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
Log Commands (1.1.0)
[  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
[  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
OSGi Commands (1.1.0)
[  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
Admin (1.1.0)
[  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
Management (1.1.0)
[  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
Monitor (1.1.0)
[  43] [Active     ] [Started] [   60] activemq-broker.xml (0.0.0)
[  44] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
[  45] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
(2.0.0)
[  46] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
howl-1.0.1-1 (1.0.1.1_1)
[  47] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
(2.2.0.r634076)
[  48] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
[  49] [Active     ] [       ] [   60] Apache ServiceMix Transaction (1.0.0)
[  50] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
(2.2.0.r634076)
[  51] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
[  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jencks-2.1
(2.1.0.1)
[  53] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
(1.0.1)
[  54] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
[  55] [Active     ] [       ] [   60] xbean-spring (3.5)
[  56] [Active     ] [       ] [   60] activemq-core (5.2.0)
[  57] [Active     ] [       ] [   60] activemq-ra (5.2.0)
[  58] [Active     ] [       ] [   60] activemq-console (5.2.0)
[  59] [Active     ] [       ] [   60] activemq-pool (5.2.0)
[  60] [Active     ] [       ] [   60] Apache ServiceMix Features ::
ActiveMQ Commands (4.0.0)
[  61] [Active     ] [       ] [   60] Apache ServiceMix Specs :: STAX API
1.0 (1.3.0)
[  62] [Active     ] [       ] [   60] Apache ServiceMix Specs :: ACTIVATION
API 1.4 (1.3.0)
[  63] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
2.1 (1.3.0)
[  64] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jaxb-impl-2.1.6 (2.1.6.1)
[  65] [Active     ] [       ] [   60] camel-core (1.6.0)
[  66] [Active     ] [       ] [   60] camel-osgi (1.6.0)
[  67] [Active     ] [       ] [   60] camel-spring (1.6.0)
[  68] [Active     ] [       ] [   60] xbean-naming (3.5)
[  69] [Active     ] [Started] [   60] Apache ServiceMix Naming (1.0.0)
[  70] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JBI API
1.0 (1.3.0)
[  71] [Active     ] [       ] [   60] Apache ServiceMix :: Utils (1.1.0)
[  72] [Active     ] [Started] [   60] Apache ServiceMix Document (1.0.0)
[  73] [Active     ] [       ] [   60] Apache ServiceMix NMR API (1.0.0)
[  74] [Active     ] [       ] [   60] Apache ServiceMix NMR Core (1.0.0)
[  75] [Active     ] [Started] [   60] Apache ServiceMix NMR OSGi (1.0.0)
[  76] [Active     ] [       ] [   60] Apache ServiceMix NMR Spring (1.0.0)
[  77] [Active     ] [Started] [   60] Apache ServiceMix NMR Commands
(1.0.0)
[  78] [Active     ] [Started] [   60] Apache ServiceMix NMR Management
(1.0.0)
[  79] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
API 1.4 (1.3.0)
[  80] [Active     ] [       ] [   60] xbean-classloader (3.5)
[  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
woodstox-3.2.7 (3.2.7.1)
[  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
wsdl4j-1.6.1 (1.6.1.1)
[  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles: ant-1.7.0
(1.7.0.1)
[  84] [Active     ] [       ] [   60] Apache ServiceMix JBI Runtime (1.0.0)
[  85] [Active     ] [Started] [   60] Apache ServiceMix JBI OSGi (1.0.0)
[  86] [Active     ] [Started] [   60] Apache ServiceMix JBI Deployer
(1.0.0)
[  87] [Active     ] [Started] [   60] Apache ServiceMix JBI Commands
(1.0.0)
[  88] [Active     ] [       ] [   60] Spring JMS (2.5.6)
[  89] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Requestor (1.0.0)
[  90] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Engine (1.0.0)
[  91] [Active     ] [Started] [   60] Apache ServiceMix JBI Clustering
Config (1.0.0)
[  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jetty-6.1.14 (6.1.14.1)
[  93] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.5.2)
[  94] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container (0.5.2)
[  95] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.5.0)
[  96] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
(0.5.0)
[  97] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.3.3)
[  98] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
(4.0.0)
[  99] [Active     ] [Started] [   60] ServiceMix :: Common (2009.01)
[ 100] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec (1.1.2)
[ 101] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
1.3 (1.3.0)
[ 102] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS API
2.1 (1.3.0)
[ 103] [Active     ] [       ] [   60] Apache ServiceMix Bundles: asm-2.2.3
(2.2.3.1)
[ 104] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
FastInfoset-1.2.2 (1.2.2.1)
[ 105] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
neethi-2.0.4 (2.0.4.1)
[ 106] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlschema-1.4.3 (1.4.3.1)
[ 107] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlresolver-1.2 (1.2.0.1)
[ 108] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JSR311 API
0.8 (1.3.0)
[ 109] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
xmlsec-1.3.0 (1.3.0.1)
[ 110] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
wss4j-1.5.4 (1.5.4.1)
[ 111] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.4)
[ 112] [Active     ] [Started] [   60] ServiceMix :: SOAP2 (2009.01)
[ 113] [Active     ] [Started] [   60] ServiceMix :: CXF Binding Component
(2009.01)
[ 114] [Active     ] [Started] [   60] ServiceMix :: File (2009.01)
[ 115] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
commons-net-1.4.1 (1.4.1.1)
[ 116] [Active     ] [Started] [   60] ServiceMix :: FTP (2009.01)
[ 117] [Active     ] [Started] [   60] ServiceMix :: SOAP (2009.01)
[ 118] [Active     ] [Started] [   60] ServiceMix :: HTTP (2009.01)
[ 119] [Active     ] [Started] [   60] ServiceMix :: JMS (2009.01)
[ 120] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
geronimo-javamail_1.4_provider-1.8-r755222 (1.8.0.r755222_1)
[ 121] [Active     ] [Started] [   60] ServiceMix :: Mail (2009.01)
[ 122] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jsmpp-2.0
(2.0.0.1)
[ 123] [Active     ] [Started] [   60] ServiceMix :: SMPP (2009.01)
[ 124] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
snmp4j-1.8.1 (1.8.1.1)
[ 125] [Active     ] [Started] [   60] ServiceMix :: SNMP (2009.01)
[ 126] [Active     ] [Started] [   60] ServiceMix :: VFS (2009.01)
[ 127] [Active     ] [Started] [   60] ServiceMix :: Bean (2009.01)
[ 128] [Active     ] [Started] [   60] ServiceMix :: Camel (2009.01)
[ 129] [Active     ] [       ] [   60] Apache CXF Runtime JBI Binding
(2.1.4)
[ 130] [Active     ] [       ] [   60] Apache CXF Runtime JBI Transport
(2.1.4)
[ 131] [Active     ] [Started] [   60] ServiceMix :: CXF Service Engine
(2009.01)
[ 132] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
core-3.2.3.v_686_R32x (3.2.3.1)
[ 133] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
antlr-runtime-3.0.1 (3.0.1.1)
[ 134] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
drools-4.0.7 (4.0.7.1)
[ 135] [Active     ] [Started] [   60] ServiceMix :: Drools Service Engine
(2009.01)
[ 136] [Active     ] [Started] [   60] ServiceMix :: EIP (2009.01)
[ 137] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
antlr-3.0.1 (3.0.1.1)
[ 138] [Active     ] [       ] [   60] Commons Collections (3.2.1)
[ 139] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
quartz-1.6.1 (1.6.1.1)
[ 140] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
oscore-2.2.4 (2.2.4.1)
[ 141] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
propertyset-1.3 (1.3.0.1)
[ 142] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
osworkflow-2.7.0 (2.7.0.1)
[ 143] [Active     ] [Started] [   60] ServiceMix :: OSWorkflow (2009.01)
[ 144] [Active     ] [       ] [   60] Spring Context Support (2.5.6)
[ 145] [Active     ] [Started] [   60] ServiceMix :: Quartz (2009.01)
[ 146] [Active     ] [       ] [   60] Apache ServiceMix Specs :: Scripting
API 1.0 (1.3.0)
[ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
groovy-1.5.6 (1.5.6.1)
[ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles: js-1.7R1
(1.0.0.7R1_1)
[ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
jruby-1.1.2 (1.1.2.1)
[ 150] [Active     ] [       ] [   60] ScriptEngines :: Groovy (1.1)
[ 151] [Active     ] [       ] [   60] ScriptEngines :: JavaScript (1.1)
[ 152] [Active     ] [       ] [   60] ScriptEngines :: JRuby (1.1)
[ 153] [Active     ] [Started] [   60] ServiceMix :: JSR-223 Scripting
Service Engine (2009.01)
[ 154] [Active     ] [Started] [   60] ServiceMix :: Validation (2009.01)
[ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
saxon-9.1.0.1 (9.1.0.1_1)
[ 156] [Active     ] [Started] [   60] ServiceMix :: Saxon Service Engine
(2009.01)
[ 157] [Active     ] [Started] [   60] ServiceMix :: WS-Notification Service
Engine (2009.01)
[ 158] [Active     ] [       ] [   60] Driver Plug-in (1.0.0)
[ 159] [Active     ] [       ] [   60] com.crs.gmi.core (1.0.0)
[ 160] [Resolved   ] [       ] [   60] ExcepcionBundle (1.0.0)
[ 161] [Installed  ] [       ] [   60] Fragment (1.0.0)
[ 162] [Active     ] [       ] [   60] com.crs.gmi.core.logger (1.0.0)
[ 163] [Active     ] [       ] [   60] com.crs.gmi.core.loggerconfig (1.0.0)
[ 164] [Resolved   ] [       ] [   60] com.crs.gmi.core.report.jasperreport
(1.0.0)
[ 165] [Installed  ] [       ] [   60] com.crs.gmi.hibernate (1.0.0)
[ 166] [Resolved   ] [       ] [   60] Log4JConfig Fragment (0.0.1)
                                       Hosts: 180
[ 167] [Resolved   ] [       ] [   60] Lowagie iText (2.0.8)
[ 168] [Active     ] [       ] [   60] c3p0 Connection Pool (0.9.1.2)
[ 169] [Active     ] [       ] [   60] MySQL AB's JDBC Driver for MySQL
(5.1.6)
[ 170] [Active     ] [       ] [   60] Java SOAP API (1.3.0)
[ 171] [Active     ] [       ] [   60] CGLIB Code Generation Library (2.1.3)
[ 172] [Active     ] [       ] [   60] EHCache Cache (1.5.0)
[ 173] [Active     ] [       ] [   60] JasperReports Reporting Framework
(2.0.5)
[ 174] [Active     ] [       ] [   60] JSR107 (JCACHE) Java caching API
(1.0.0)
[ 175] [Active     ] [       ] [   60] AOP Alliance API (1.0.0)
[ 176] [Resolved   ] [       ] [   60] Apache Commons Bean Utilities (1.8.0)
[ 177] [Resolved   ] [       ] [   60] Apache Commons Collections (3.2.1)
[ 178] [Resolved   ] [       ] [   60] Apache Commons Digester (1.8.1)
[ 179] [Resolved   ] [       ] [   60] Apache Commons Lang (2.4.0)
[ 180] [Resolved   ] [       ] [   60] Apache Log4J (1.2.15)
                                       Fragments: 166
[ 181] [Resolved   ] [       ] [   60] Apache Velocity Engine (1.6.2)
[ 182] [Resolved   ] [       ] [   60] dom4j DOM Processor (1.6.1)
[ 183] [Resolved   ] [       ] [   60] SLF4J API (1.5.0)
                                       Fragments: 184
[ 184] [Resolved   ] [       ] [   60] SLF4J Log4J Binding (1.5.0)
                                       Hosts: 183,183
[ 185] [Resolved   ] [       ] [   60] Hibernate Classes (3.2.6.ga)
[ 186] [Resolved   ] [       ] [   60] Spring AOP (2.5.6.A)
[ 187] [Resolved   ] [       ] [   60] Spring Beans (2.5.6.A)
[ 188] [Resolved   ] [       ] [   60] Spring Context (2.5.6.A)
[ 189] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6.A)
[ 190] [Resolved   ] [       ] [   60] Spring ORM (2.5.6.A)
[ 191] [Resolved   ] [       ] [   60] Spring Transaction (2.5.6.A)
[ 192] [Active     ] [       ] [   60] Spring Web (2.5.6.A)
[ 193] [Active     ] [       ] [   60] Spring Web Servlet (2.5.6.A)
[ 194] [Active     ] [       ] [   60] Eclipse JDT Batch Compile (3.3.0)
smx@root:features> exit                   
smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
./servicemix 
ERROR: Error starting
mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
(org.osgi.framework.BundleException: Activator start error in bundle
org.springframework.osgi.extender [30].)
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
	at
org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
	at
org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
	at
org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
	at
org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
	at
org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
	at
org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
	at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
	at
org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
	at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
	at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException:
org.springframework.core.io.Resource
	at
org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
	at
org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
	at
org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
	... 13 more
ERROR: Error starting
mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
(org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
	at java.lang.Thread.run(Thread.java:619)
ERROR: Error starting
mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
(org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.)
org.osgi.framework.BundleException: Unable to resolve due to constraint
violation.
	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
	at java.lang.Thread.run(Thread.java:619)

I'll appreciate any comment or suggestion...

Thanks in advance, Santiago.




smontico wrote:
> 
> Hi Jean,
> 
> Thanks for the fast response!
> My comments inline:
> 
> 
> Jean-Baptiste Onofré wrote:
>> 
>> Hi Santiago,
>> 
>> my comments inline:
>> 
>>>
>>> Am I taking the right steps to install these bundles or am i missing
>>> something?
>> Yes, you can make a mvn install to install the bundle in your local m2 
>> repo. After ogsi:install -s mvn:groupId/artifactId/classifier/version
>> 
>> You check the log if the bundle can't be started.
>> 
>>>>>> The problem is that no error was shown in the log when the bundle is
>>>>>> not started
>> 
>> If you have a lot of bundle to deploy you can "describe" it in a feature 
>> XML. In the feature XML, you can describe all the bundles that you need 
>> to deploy. You can use feature:addUrl and feature:install to deploy it.
>> 
>>>>>> Ok i understand i will try it to make things simple
>> 
>>> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>>> ./servicemix 
>>> ERROR: Error starting
>>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>>> (org.osgi.framework.BundleException: Activator start error in bundle
>>> org.springframework.osgi.extender [30].)
>>> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>>> 	at
>>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>>> 	at
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>>> 	at
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>>> 	at
>>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>>> 	at
>>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>>> 	at
>>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>>> 	at
>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>>> 	at
>>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>>> 	at
>>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> 	at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> 	at java.lang.Thread.run(Thread.java:619)
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.springframework.core.io.Resource
>>> 	at
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>>> 	at
>>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>>> 	at
>>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>>> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>>> 	... 13 more
>>> ERROR: Error starting
>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>>> violation.)
>>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>>> violation.
>>> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> 	at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> 	at java.lang.Thread.run(Thread.java:619)
>>> ERROR: Error starting
>>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>>> violation.)
>>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>>> violation.
>>> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>>> 	at
>>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>>> 	at java.lang.Thread.run(Thread.java:619)
>>> 
>>> 
>>> 
>>> What could be wrong?
>> 
>> It looks like the spring feature is not installed. Could you send a 
>> osgi:list to see the list of deployed bundles ?
>> 
>>>>>> After i try to install all my bundles servicemix show the error i
>>>>>> have attached and the shell of servicemix doesnt appear anymore, i
>>>>>> have to "re-install" servicemix :(
>> This is what the log is showing:
>> 
>> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor                     
>> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the deploy
>> directory:
>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
>> every 500 millis
>> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor                     
>> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
>> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor                     
>> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles from
>> expanded source directories to:
>> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
>> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener           
>> | .activator.ContextLoaderListener  361 | Starting
>> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
>> 17:04:17,662 | INFO  | FelixStartLevel  | jetty                           
>> | .service.internal.util.JCLLogger  102 | Logging to
>> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
>> org.ops4j.pax.web.service.internal.util.JCLLogger
>> 17:04:17,662 | INFO  | FelixStartLevel  | Activator                       
>> | x.web.service.internal.Activator   63 | Starting pax http service
>> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl               
>> | rvice.internal.ConfigurationImpl  341 | Reading configuration property
>> org.ops4j.pax.web.session.timeout has failed
>> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl            
>> | ce.internal.ServerControllerImpl   65 | configuring server:
>> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
>> enabled=true,http port=8080,http secure enabled=false,http secure
>> port=8443,ssl keystore=/home/smontico/.keystore,ssl
>> keystoreType=null,session timeout=null,listening
>> addresses=[Ljava.lang.String;@d6ee28}
>> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl            
>> | ce.internal.ServerControllerImpl   53 | starting server:
>> ServerControllerImpl{state=STOPPED}
>> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl                 
>> | service.internal.JettyServerImpl   98 | adding
>> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
>> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl               
>> | rvice.internal.ConfigurationImpl  341 | Reading configuration property
>> org.ops4j.pax.web.session.timeout has failed
>> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl                 
>> | service.internal.JettyServerImpl   62 | starting JettyServerImpl{}
>> 17:04:17,703 | INFO  | guration Updater | jetty                           
>> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
>> 17:04:17,730 | INFO  | guration Updater | jetty                           
>> | .service.internal.util.JCLLogger  102 | Started
>> NIOSocketConnectorWrapper@0.0.0.0:8080
>> 17:04:17,733 | INFO  | FelixStartLevel  | Activator                       
>> | x.web.service.internal.Activator   67 | Started pax http service
>> 
>> 
>> 
>>>>>>> This is the complete list of the bundles i'm trying to install:
>> 
>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
>> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
>> osgi/install -s mvn:com.crs.servicemix.examples/hibernate-classes/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
>> osgi/install -s
>> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
>> 
>> 
>> Thanks, Santiago.
>> 
>> 
>> Thanks
>> Regards
>> JB
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27355445.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4 installation bundles

Posted by smontico <sm...@gmail.com>.
Hi Jean,

Thanks for the fast response!
My comments inline:


Jean-Baptiste Onofré wrote:
> 
> Hi Santiago,
> 
> my comments inline:
> 
>>
>> Am I taking the right steps to install these bundles or am i missing
>> something?
> Yes, you can make a mvn install to install the bundle in your local m2 
> repo. After ogsi:install -s mvn:groupId/artifactId/classifier/version
> 
> You check the log if the bundle can't be started.
> 
>>>>> The problem is that no error was shown in the log when the bundle is
>>>>> not started
> 
> If you have a lot of bundle to deploy you can "describe" it in a feature 
> XML. In the feature XML, you can describe all the bundles that you need 
> to deploy. You can use feature:addUrl and feature:install to deploy it.
> 
>>>>> Ok i understand i will try it to make things simple
> 
>> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
>> ./servicemix 
>> ERROR: Error starting
>> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
>> (org.osgi.framework.BundleException: Activator start error in bundle
>> org.springframework.osgi.extender [30].)
>> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
>> 	at
>> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
>> 	at
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
>> 	at
>> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
>> 	at
>> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
>> 	at
>> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
>> 	at
>> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
>> 	at
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
>> 	at
>> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
>> 	at
>> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> 	at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> 	at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.ClassNotFoundException:
>> org.springframework.core.io.Resource
>> 	at
>> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
>> 	at
>> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
>> 	at
>> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
>> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
>> 	... 13 more
>> ERROR: Error starting
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.)
>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.
>> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> 	at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> 	at java.lang.Thread.run(Thread.java:619)
>> ERROR: Error starting
>> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
>> (org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.)
>> org.osgi.framework.BundleException: Unable to resolve due to constraint
>> violation.
>> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>> 	at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>> 	at java.lang.Thread.run(Thread.java:619)
>> 
>> 
>> 
>> What could be wrong?
> 
> It looks like the spring feature is not installed. Could you send a 
> osgi:list to see the list of deployed bundles ?
> 
>>>>> After i try to install all my bundles servicemix show the error i have
>>>>> attached and the shell of servicemix doesnt appear anymore, i have to
>>>>> "re-install" servicemix :(
> This is what the log is showing:
> 
> 17:03:10,152 | INFO  | FelixStartLevel  | FileMonitor                     
> | x.kernel.filemonitor.FileMonitor  155 | Starting to monitor the deploy
> directory:
> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/deploy
> every 500 millis
> 17:03:10,155 | INFO  | FelixStartLevel  | FileMonitor                     
> | x.kernel.filemonitor.FileMonitor  158 | Config directory is at:
> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/etc
> 17:03:10,156 | INFO  | FelixStartLevel  | FileMonitor                     
> | x.kernel.filemonitor.FileMonitor  160 | Will generate bundles from
> expanded source directories to:
> /home/smontico/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/data/generated-bundles
> 17:04:17,035 | INFO  | FelixStartLevel  | ContextLoaderListener           
> | .activator.ContextLoaderListener  361 | Starting
> [org.springframework.osgi.extender] bundle v.[1.2.0.m2]
> 17:04:17,662 | INFO  | FelixStartLevel  | jetty                           
> | .service.internal.util.JCLLogger  102 | Logging to
> org.ops4j.pax.web.service.internal.util.JCLLogger@4e5056 via
> org.ops4j.pax.web.service.internal.util.JCLLogger
> 17:04:17,662 | INFO  | FelixStartLevel  | Activator                       
> | x.web.service.internal.Activator   63 | Starting pax http service
> 17:04:17,680 | WARN  | guration Updater | ConfigurationImpl               
> | rvice.internal.ConfigurationImpl  341 | Reading configuration property
> org.ops4j.pax.web.session.timeout has failed
> 17:04:17,680 | INFO  | guration Updater | ServerControllerImpl            
> | ce.internal.ServerControllerImpl   65 | configuring server:
> ServerControllerImpl{state=UNCONFIGURED} -> ConfigurationImpl{http
> enabled=true,http port=8080,http secure enabled=false,http secure
> port=8443,ssl keystore=/home/smontico/.keystore,ssl
> keystoreType=null,session timeout=null,listening
> addresses=[Ljava.lang.String;@d6ee28}
> 17:04:17,681 | INFO  | guration Updater | ServerControllerImpl            
> | ce.internal.ServerControllerImpl   53 | starting server:
> ServerControllerImpl{state=STOPPED}
> 17:04:17,701 | INFO  | guration Updater | JettyServerImpl                 
> | service.internal.JettyServerImpl   98 | adding
> connectorNIOSocketConnectorWrapper@0.0.0.0:8080
> 17:04:17,702 | WARN  | guration Updater | ConfigurationImpl               
> | rvice.internal.ConfigurationImpl  341 | Reading configuration property
> org.ops4j.pax.web.session.timeout has failed
> 17:04:17,702 | INFO  | guration Updater | JettyServerImpl                 
> | service.internal.JettyServerImpl   62 | starting JettyServerImpl{}
> 17:04:17,703 | INFO  | guration Updater | jetty                           
> | .service.internal.util.JCLLogger  102 | jetty-6.1.x
> 17:04:17,730 | INFO  | guration Updater | jetty                           
> | .service.internal.util.JCLLogger  102 | Started
> NIOSocketConnectorWrapper@0.0.0.0:8080
> 17:04:17,733 | INFO  | FelixStartLevel  | Activator                       
> | x.web.service.internal.Activator   67 | Started pax http service
> 
> 
> 
>>>>>> This is the complete list of the bundles i'm trying to install:
> 
> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.db2.jdbc/1.0
> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.core/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.exception.fragment/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.logger/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.loggerconfig/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.crs.gmi.core.report.jasperreport/1.0
> osgi/install -s mvn:com.crs.servicemix.examples/com.crs.gmi.hibernate/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.crs.gmi.log4jconfig/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.com.lowagie.text/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.com.mchange.v2.c3p0/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.com.mysql.jdbc/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.javax.xml.soap/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.net.sf.cglib/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.net.sf.ehcache/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jasperreports/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.net.sf.jsr107cache/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.aopalliance/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.beanutils/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.collections/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.digester/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.commons.lang/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.log4j/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.apache.velocity/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.org.dom4j/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.slf4j.api/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/com.springsource.slf4j.log4j/1.0
> osgi/install -s mvn:com.crs.servicemix.examples/hibernate-classes/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.aop/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.beans/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.context/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.jdbc/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.orm/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.transaction/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.web/1.0
> osgi/install -s
> mvn:com.crs.servicemix.examples/org.springframework.web.servlet/1.0
> 
> 
> Thanks, Santiago.
> 
> 
> Thanks
> Regards
> JB
> 
> 

-- 
View this message in context: http://old.nabble.com/ServiceMix-4-installation-bundles-tp27344706p27345117.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: ServiceMix 4 installation bundles

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Santiago,

my comments inline:

>
> Am I taking the right steps to install these bundles or am i missing
> something?
Yes, you can make a mvn install to install the bundle in your local m2 
repo. After ogsi:install -s mvn:groupId/artifactId/classifier/version

You check the log if the bundle can't be started.

If you have a lot of bundle to deploy you can "describe" it in a feature 
XML. In the feature XML, you can describe all the bundles that you need 
to deploy. You can use feature:addUrl and feature:install to deploy it.

> smontico@santiago:~/Desktop/smontico/software/ESB/ServiceMix/apache-servicemix-4.0.0/bin>
> ./servicemix 
> ERROR: Error starting
> mvn:org.springframework.osgi/spring-osgi-extender/1.2.0-m2
> (org.osgi.framework.BundleException: Activator start error in bundle
> org.springframework.osgi.extender [30].)
> java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
> 	at
> org.springframework.beans.factory.xml.DelegatingEntityResolver.<init>(DelegatingEntityResolver.java:61)
> 	at
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:77)
> 	at
> org.springframework.osgi.extender.internal.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
> 	at
> org.springframework.osgi.extender.internal.support.NamespacePlugins.addHandler(NamespacePlugins.java:104)
> 	at
> org.springframework.osgi.extender.internal.support.NamespaceManager.addHandler(NamespaceManager.java:151)
> 	at
> org.springframework.osgi.extender.internal.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:107)
> 	at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:659)
> 	at
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:380)
> 	at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException:
> org.springframework.core.io.Resource
> 	at
> org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:558)
> 	at
> org.apache.felix.framework.searchpolicy.ModuleImpl.access$100(ModuleImpl.java:59)
> 	at
> org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1427)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
> 	... 13 more
> ERROR: Error starting
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.engine/1.0.0
> (org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.)
> org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.
> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> 	at java.lang.Thread.run(Thread.java:619)
> ERROR: Error starting
> mvn:org.apache.servicemix.jbi.cluster/org.apache.servicemix.jbi.cluster.config/1.0.0
> (org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.)
> org.osgi.framework.BundleException: Unable to resolve due to constraint
> violation.
> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3066)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
> 	at java.lang.Thread.run(Thread.java:619)
> 
> 
> 
> What could be wrong?

It looks like the spring feature is not installed. Could you send a 
osgi:list to see the list of deployed bundles ?

Thanks
Regards
JB