-
1. Re: How to migrate from FUSE 3 to FUSE 4
davsclaus Oct 2, 2010 7:56 AM (in response to eruiz_eruiz)Look at all the migration guides for FUSE ESB.
Start with FUSE ESB 4.1 and then up till the ESB version you use.
For example the migration guide to ESB 4.1 talks about how to migrate from 3.x
http://fusesource.com/documentation/fuse-esb-documentation/fuse-esb-4-1-documentation/
-
2. Re: How to migrate from FUSE 3 to FUSE 4
eruiz_eruiz Oct 7, 2010 2:12 AM (in response to davsclaus)Many thanks.
Claus, I would like to install my JBI components in FUSE 4.x without migration, do you know any doc that can help me?
Thanks
-
3. Re: How to migrate from FUSE 3 to FUSE 4
davsclaus Oct 7, 2010 2:41 AM (in response to eruiz_eruiz)There is some JBI documentation here
http://fusesource.com/products/enterprise-servicemix/#documentation
-
4. Re: How to migrate from FUSE 3 to FUSE 4
eruiz_eruiz Oct 8, 2010 2:27 AM (in response to davsclaus)Thanks Claus,
I reviewed them, but I didn't found anything about the JBI wrapper ... or how to install JBI components, for example https://open-jbi-components.dev.java.net/
Any suggestion about the right doc?
Best regards
Edited by: eruiz on Oct 8, 2010 8:27 AM
-
5. Re: How to migrate from FUSE 3 to FUSE 4
davsclaus Oct 8, 2010 9:55 AM (in response to eruiz_eruiz)If you have a JBI SA you should be able to deploy it using the shell as if its just another JAR file.
Or you can drop it in the /deploy holder which is a hot deploy folder.
-
6. Re: How to migrate from FUSE 3 to FUSE 4
eruiz_eruiz Oct 8, 2010 10:37 AM (in response to davsclaus)Thanks Claus,
That is the 1st thing I tried but it didn't work. I tried to deploy the SA ZIP file, is it right?
Thanks
-
7. Re: How to migrate from FUSE 3 to FUSE 4
davsclaus Oct 9, 2010 1:27 AM (in response to eruiz_eruiz)What error do you get?
And did you follow the JBI documentation from
http://fusesource.com/docs/esb/4.3/jbi/index.html to install the jbi-cluster feature etc.
-
8. Re: How to migrate from FUSE 3 to FUSE 4
eruiz_eruiz Oct 11, 2010 4:56 AM (in response to davsclaus)I paste the warning below:
10:51:07,115 | WARN | use-00-00/deploy | Deployer | cemix.jbi.deployer.impl.Deployer 339 | 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not met for JBI artifact in bundle null (Acuses-sa). Installation pending. org.apache.servicemix.jbi.deployer.impl.PendingException: Component not installed: servicemix-cxf-bc
Full log below:
10:51:06,518 | INFO | heckpoint Worker | MessageDatabase | emq.store.kahadb.MessageDatabase 702 | 42 - org.apache.activemq.activemq-core - 5.4.0.fuse-00-00 | Slow KahaDB access: cleanup took 1163
10:51:07,112 | INFO | use-00-00/deploy | Deployer | cemix.jbi.deployer.impl.Deployer 323 | 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Deploying bundle 'null (Acuses-sa)' as a JBI service assembly
10:51:07,115 | WARN | use-00-00/deploy | Deployer | cemix.jbi.deployer.impl.Deployer 339 | 93 - org.apache.servicemix.jbi.deployer - 1.3.0.fuse-00-00 | Requirements not met for JBI artifact in bundle null (Acuses-sa). Installation pending. org.apache.servicemix.jbi.deployer.impl.PendingException: Component not installed: servicemix-cxf-bc
10:51:11,052 | INFO | heckpoint Worker | MessageDatabase | emq.store.kahadb.MessageDatabase 702 | 42 - org.apache.activemq.activemq-core - 5.4.0.fuse-00-00 | Slow KahaDB access: cleanup took 532About cluster, is it needed to run JBI components?
Thanks
Edited by: eruiz on Oct 11, 2010 10:55 AM
Edited by: eruiz on Oct 11, 2010 10:55 AM
-
9. Re: How to migrate from FUSE 3 to FUSE 4
eruiz_eruiz Oct 11, 2010 5:14 AM (in response to davsclaus)I solved one problem by changing the component name as say in http://fusesource.com/forums/thread.jspa?messageID=7579.
Now, the BC is deployed and I have another problem to deploy SE. Below the thrown error:
Caused by: javax.jbi.management.DeploymentException: <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-cxf-se</component-name>
<component-task-result-details>
<task-result-details>
...
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token />
<loc-message>Error creating bean with name 'org.springframework.aop.config.internalAutoProxyCreator': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class : Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory</loc-message>
<stack-trace><![CDATA[org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.config.internalAutoProxyCreator': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class : Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:955)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:901)
...
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class : Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:71)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:948)
... 28 more
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
Thanks
-
10. Re: How to migrate from FUSE 3 to FUSE 4
eruiz_eruiz Oct 11, 2010 5:25 AM (in response to eruiz_eruiz)Last error solved. For some reason FUSE 3.X includes commons-logging in classpath, I have to modify my SE to add commons-logging as dependency and it worked.
Claus, thanks for you help.