[ 
https://issues.apache.org/activemq/browse/SMX4-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57579#action_57579
 ] 

Jean-Baptiste Onofré commented on SMX4-462:
-------------------------------------------

I made a try using karaf 1.3.0-SNAPSHOT (revision 910202).

I made:

ka...@root> features:addUrl 
mvn:org.apache.camel.karaf/features/2.1.0/xml/features
ka...@root> features:install camel-cxf

In that case, there is no console refresh, the feature is correctly installed 
and the console still operational.

In the log file, I can see:

Feb 15, 2010 1:09:34 PM org.apache.felix.karaf.main.SimpleFileLock lock
INFO: locking
13:09:44,271 | INFO  | Thread-7         | FeaturesServiceImpl              | 
res.internal.FeaturesServiceImpl  268 | Bundles to refresh: 
13:09:46,001 | INFO  | pool-2-thread-3  | SecurityUtils                    | 
e.sshd.common.util.SecurityUtils   80 | BouncyCastle not registered, using the 
default JCE provider
13:14:20,314 | INFO  | l Console Thread | FeaturesServiceImpl              | 
res.internal.FeaturesServiceImpl  268 | Bundles to refresh: 
13:14:20,808 | INFO  | l Console Thread | ContextLoaderListener            | 
.activator.ContextLoaderListener  356 | Starting 
[org.springframework.osgi.extender] bundle v.[1.2.0]
13:14:21,450 | INFO  | l Console Thread | ExtenderConfiguration            | 
al.support.ExtenderConfiguration  150 | No custom extender configuration 
detected; using defaults...
13:14:21,486 | INFO  | l Console Thread | TimerTaskExecutor                | 
heduling.timer.TimerTaskExecutor   90 | Initializing Timer
13:14:23,100 | INFO  | l Console Thread | Activator                        | 
org.apache.camel.osgi.Activator   190 | Camel activator starting
13:14:23,244 | INFO  | l Console Thread | Activator                        | 
org.apache.camel.osgi.Activator   199 | Camel activator started
13:14:23,367 | INFO  | l Console Thread | Activator                        | 
x.web.service.internal.Activator   80 | Pax Web started
13:14:23,630 | INFO  | guration Updater | JettyServerImpl                  | 
e.jetty.internal.JettyServerImpl  100 | Pax Web available at [0.0.0.0]:[8181]
13:14:25,335 | INFO  | l Console Thread | ultOsgiApplicationContextCreator | 
ultOsgiApplicationContextCreator   67 | Discovered configurations 
{osgibundle:/META-INF/spring/*.xml} in bundle [Apache CXF Bundle Jar 
(org.apache.cxf.bundle)]
13:14:25,546 | INFO  | ExtenderThread-1 | OsgiBundleXmlApplicationContext  | 
pport.AbstractApplicationContext  411 | Refreshing 
org.springframework.osgi.context.support.osgibundlexmlapplicationcont...@12fb063:
 display name [OsgiBundleXmlApplicationContext(bundle=org.apache.cxf.bundle, 
config=osgibundle:/META-INF/spring/*.xml)]; startup date [Mon Feb 15 13:14:25 
CET 2010]; root of context hierarchy
13:14:25,556 | INFO  | ExtenderThread-1 | OsgiBundleXmlApplicationContext  | 
ractOsgiBundleApplicationContext  359 | Unpublishing application context OSGi 
service for bundle Apache CXF Bundle Jar (org.apache.cxf.bundle)
13:14:25,944 | INFO  | ExtenderThread-1 | XmlBeanDefinitionReader          | 
tory.xml.XmlBeanDefinitionReader  323 | Loading XML bean definitions from URL 
[bundle://92.0:0/META-INF/spring/cxf-transport-osgi.xml]
13:14:26,400 | INFO  | ExtenderThread-1 | OsgiBundleXmlApplicationContext  | 
pport.AbstractApplicationContext  426 | Bean factory for application context 
[org.springframework.osgi.context.support.osgibundlexmlapplicationcont...@12fb063]:
 org.springframework.beans.factory.support.defaultlistablebeanfact...@67a232
13:14:26,601 | INFO  | ExtenderThread-1 | WaiterApplicationContextExecutor | 
WaiterApplicationContextExecutor  252 | No outstanding OSGi service 
dependencies, completing initialization for 
OsgiBundleXmlApplicationContext(bundle=org.apache.cxf.bundle, 
config=osgibundle:/META-INF/spring/*.xml)
13:14:26,615 | INFO  | ExtenderThread-2 | DefaultListableBeanFactory       | 
pport.DefaultListableBeanFactory  414 | Pre-instantiating singletons in 
org.springframework.beans.factory.support.defaultlistablebeanfact...@67a232: 
defining beans 
[cxfOsgiProperties,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,destinationRegistry,osgiServlet,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#1];
 root of factory hierarchy
13:14:26,705 | INFO  | ExtenderThread-2 | OsgiServiceFactoryBean           | 
r.support.OsgiServiceFactoryBean  301 | Publishing service under classes 
[{javax.servlet.Servlet}]
13:14:26,713 | INFO  | ExtenderThread-2 | OsgiServiceFactoryBean           | 
r.support.OsgiServiceFactoryBean  301 | Publishing service under classes 
[{org.apache.cxf.transport.http_osgi.OsgiDestinationRegistryIntf}]
13:14:26,715 | INFO  | ExtenderThread-2 | OsgiBundleXmlApplicationContext  | 
ractOsgiBundleApplicationContext  327 | Publishing application context as OSGi 
service with properties 
{org.springframework.context.service.name=org.apache.cxf.bundle, 
Bundle-SymbolicName=org.apache.cxf.bundle, Bundle-Version=2.2.5}
13:14:26,725 | INFO  | ExtenderThread-2 | ContextLoaderListener            | 
BundleApplicationContextListener   45 | Application context successfully 
refreshed (OsgiBundleXmlApplicationContext(bundle=org.apache.cxf.bundle, 
config=osgibundle:/META-INF/spring/*.xml))

So, regarding SMX 4.1.0-SNAPSHOT, I suspect a kind of collision between 
servicemix-cxf-bc component and camel-cxf feature.

> Installing camel-cxf breaks the console
> ---------------------------------------
>
>                 Key: SMX4-462
>                 URL: https://issues.apache.org/activemq/browse/SMX4-462
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Vincent Girard-Reydet
>             Fix For: 4.2.0
>
>         Attachments: servicemix.log
>
>
> As soon as I install camel-cxf (which by the way won't install correctly, it 
> freezes SMX4), the console looses its refresh capacity. So I the display gets 
> messed when I:
> - use the delete key to edit a command
> - hit the up arrow to reuse previous commands
> - use the left/right arrow / home key to navigate in a command I am editing.
> Still present in SVN rev 900406.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to