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/)
