I have just tested it with 5.2.2 and see no problem karaf@root> features:install activemq-web-console karaf@root> list -t 0 | grep activemq-web [ 193] [Active ] [ ] [ ] [ 50] activemq-web-console (5.10.2) karaf@root> stop 193 You are about to access system bundle 193. Do you wish to continue (yes/no): yes karaf@root> dynamic-import 193 Enabling dynamic imports on bundle org.apache.activemq.activemq-web-console [193] Should not skip: ^ Should not skip: ^ Should not skip: ^ karaf@root> start 193 You are about to access system bundle 193. Do you wish to continue (yes/no): yes karaf@root> list -t 0 | grep activemq-web [ 193] [Active ] [ ] [ ] [ 50] activemq-web-console (5.10.2) karaf@root>
Are you sure you use 5.2.2? I see from your previous email you use ActiveMQ 5.10.0, but ServiceMix 5.2.2 uses 5.10.2. Regards Krzysztof On 14.10.2015 13:32, Bartłomiej Kruczyk wrote: > It's active: > >> karaf@root> list | grep activemq >> [ 97] [Active ] [Created ] [ ] [ 50] activemq-osgi (5.10.0) >> [ 98] [Active ] [Created ] [ ] [ 50] activemq-karaf (5.10.0) >> [ 134] [Active ] [ ] [ ] [ 50] activemq-camel (5.10.0) >> [ 287] [Active ] [ ] [ ] [ 50] activemq-web-console >> (5.10.0) >> karaf@root> stop 287 >> You are about to access system bundle 287. Do you wish to continue (yes/no): >> yes >> karaf@root> dynamic-import 287 >> Enabling dynamic imports on bundle org.apache.activemq.activemq-web-console >> [287] >> Should not skip: ^ >> Should not skip: ^ >> Should not skip: ^ >> karaf@root> start 287 >> You are about to access system bundle 287. Do you wish to continue (yes/no): >> yes >> karaf@root> list | grep activemq >> [ 97] [Active ] [Created ] [ ] [ 50] activemq-osgi (5.10.0) >> [ 98] [Active ] [Created ] [ ] [ 50] activemq-karaf (5.10.0) >> [ 134] [Active ] [ ] [ ] [ 50] activemq-camel (5.10.0) >> [ 287] [Active ] [ ] [ ] [ 50] activemq-web-console >> (5.10.0) > W dniu 14.10.2015, śro o godzinie 11∶13 +0200, użytkownik Sobkowiak > Krzysztof napisał: >> What's the status of the ActiveMQ Web Console bundle after you start >> it? >> >> On 14.10.2015 11:11, Bartłomiej Kruczyk wrote: >>> Yes, I can enable dynamic import on stopped bundle and then start >>> it >>> just fine, but I'm still getting 404 on localhost:8181/activemqweb. >>> >>> W dniu 13.10.2015, wto o godzinie 00∶12 +0200, użytkownik Krzysztof >>> Sobkowiak napisał: >>>> I'm not sure if this is the same problem I had in ServiceMix 6. I >>>> tried to add dynamic import to the activemq-web bundle and the >>>> bundle >>>> hang in status stopping. Could you try to stop the bundle, before >>>> you >>>> enable the dynamic import and start it again after it is enabled? >>>> >>>> Regards >>>> Krzysztof >>>> >>>> On 01.10.2015 13:08, Bartłomiej Kruczyk wrote: >>>>> I'm using ServiceMix 5.2.2 but it does not have command >>>>> bundle:dynamic >>>>> -import. However, it has dev:dynamic-import command. This is >>>>> the >>>>> output: >>>>> >>>>> karaf@root> dev:dynamic-import 287 >>>>> Enabling dynamic imports on bundle >>>>> org.apache.activemq.activemq-web >>>>> -console [287] >>>>> Should not skip: ^ >>>>> Should not skip: ^ >>>>> Should not skip: ^ >>>>> karaf@root> >>>>> >>>>> But when I'm enabling dynamic import on web-console package I >>>>> can't >>>>> access localhost:8181 page anymore. I'm getting 404 error page >>>>> from >>>>> jetty. >>>>> >>>>> Dnia 2015-09-30, śro o godzinie 18:38 +0200, Bartłomiej Kruczyk >>>>> pisze: >>>>>> Oh, I get it now :) I'll try this tomorrow and then let you >>>>>> know >>>>>> how >>>>>> it >>>>>> worked. >>>>>> >>>>>> Dnia 2015-09-30, śro o godzinie 14:33 +0200, Jean-Baptiste >>>>>> Onofré >>>>>> pisze: >>>>>>> bundle:dynamic-import command. >>>>>>> >>>>>>> I will reply to you longer asap. >>>>>>> >>>>>>> Regards >>>>>>> JB >>>>>>> >>>>>>> On 09/30/2015 01:20 PM, Bartłomiej Kruczyk wrote: >>>>>>>> I'm not sure if I understand correctly. There is a way to >>>>>>>> import >>>>>>>> package via ActiveMQ web console? >>>>>>>> >>>>>>>> Or do you mean something else? >>>>>>>> >>>>>>>> Dnia 2015-09-30, śro o godzinie 13:03 +0200, Jean- >>>>>>>> Baptiste >>>>>>>> Onofré >>>>>>>> pisze: >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> Did you try a dynamic import in web console to the >>>>>>>>> package >>>>>>>>> ? >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> JB >>>>>>>>> >>>>>>>>> On 09/30/2015 01:00 PM, Bartłomiej Kruczyk wrote: >>>>>>>>>> Hi, I'm using ActiveMQ on ServiceMix with Camel. >>>>>>>>>> Messaging works fine but I can't preview Java Object >>>>>>>>>> messages >>>>>>>>>> in >>>>>>>>>> ActiveMQ web console. I'm getting following error: >>>>>>>>>> >>>>>>>>>> javax.jms.JMSException: Failed to build body from >>>>>>>>>> content. >>>>>>>>>> Serializable >>>>>>>>>> class not available to broker. Reason: >>>>>>>>>> java.lang.ClassNotFoundException: >>>>>>>>>> com.mypackage.MyMessage >>>>>>>>>> not >>>>>>>>>> found >>>>>>>>>> by >>>>>>>>>> org.apache.activemq.activemq-web-console [287]. >>>>>>>>>> >>>>>>>>>> What should do to make MyMessage class visible for >>>>>>>>>> web >>>>>>>>>> console? >>>>>>>>>> -- Krzysztof Sobkowiak JEE & OSS Architect, Integration Architect Apache Software Foundation Member (http://apache.org/) Apache ServiceMix Committer & PMC Member (http://servicemix.apache.org/) Senior Solution Architect @ Capgemini SSC (http://www.capgeminisoftware.pl/) 33rd Degree 4charity (http://2015.33degree.org/)
