-
1. Re: What are the external JARs that should be added to the build path?
spindipr Aug 17, 2009 1:41 AM (in response to indikap)Hi indika,
We don't have any specific document with the list of external jars for different components.
To run the EIP with Processors or patterns in the FID1.2.1, we don't require any external jars to be added to the build path.
I have listed the jars that are need to be added to the classpath for different endpoints.
File Endpoint: There is no need of adding the specific jars to the project build path.
JMS Endpoint: You have to add activemq-all.jar from fuse-message-broker installation.
CXF Endpoint: you have to add the below jars
cxf-<Service Mix Version>-fuse.jar fuse-services-framework installation
cxf-manifest.jar from fuse-services-framework installation
Stax.jar from fuse-message-broker installation.
Jaxb-impl.jar from fuse-message-broker installation.
And also we add the project if the service implementation is available in different project.
FTP Endpoint: you have to add commons-net-2.0.jar
HTTP Endpoint you have to add the below jars
commons-io.jar from fuse-esb installation
commons-httpclient.jar from fuse-services-framework installation
commons-codec.jar from fuse-services-framework installation
camel-http.jar from fuse-mediation-router installation
To deploy the EIP in the FUSE ESB Server we don't have exact jars to be added.It depends on the route we build.
But to work with some patterns like CBR, Aggregator etc in FUSE ESB 4.x version we need to add below jars
activemq-all.jar from fuse-message-broker installation.
spring-2.5.5.jar from fuse-services-framework installation
Hope this helps.
Thanks,
Sailaja.
-
2. Re: What are the external JARs that should be added to the build path?
bobyetman Aug 17, 2009 7:21 AM (in response to spindipr)Can you list similar requirements for Fuse ESB 3.4.0.3? I keep stumbling across the same type of problem. Right now I'm trying to use the Aggregator.
-
3. Re: What are the external JARs that should be added to the build path?
spindipr Aug 17, 2009 8:49 AM (in response to bobyetman)There is no separate set of requirement for FUSE ESB server.
Based on the endpoints you use in your route, you have to add the jars mentioned in the above list to the build path.
Thanks,
Sailaja.
-
4. Re: What are the external JARs that should be added to the build path?
dandries Aug 20, 2009 10:03 AM (in response to spindipr)Hi !
I installed Fuse ESB and Fuse IDE.
I'm trying to add activemq-all.jar to my buildpath in order to use a jms-endpoint.
Maybe a stupid question, but where can I find this jar? Do I need to install Fuse Message Broker, just to have this file?
Other question, I installed Fuse Message Broker and I'm trying to add the jar that I found here? Is it just by adding an external jar to the project doing "> Configure Build Path > Libraries > Add External Jar"?
Do I need to do something else so that this jar is added to my bundle or does it refresh automatically on the fuse server?
-
5. Re: What are the external JARs that should be added to the build path?
spindipr Aug 20, 2009 10:18 AM (in response to dandries)Hi,
Yeah, what you have done is perfect and once your route is valid you can deploy (Drag and Drop Project from Project Explorer to Server View) the project into FUSE ESB.
Thanks,
Sailaja.
-
6. Re: What are the external JARs that should be added to the build path?
dandries Aug 21, 2009 8:52 AM (in response to spindipr) -
7. Re: What are the external JARs that should be added to the build path?
spindipr Aug 21, 2009 9:05 AM (in response to dandries)Can you just try by adding camel-jms.jar also to your build path?
Thanks,
Sailaja
Edited by: spindipr on Aug 21, 2009 1:05 PM
-
8. Re: What are the external JARs that should be added to the build path?
dandries Aug 21, 2009 5:03 PM (in response to spindipr)YES! This made it. But I don't understand why for the other persons it worked with activemq-all.jar and for me it works with only the camel-jms.jar?
Thanks for your advice Sailaja.
-
9. Re: What are the external JARs that should be added to the build path?
sivaram Aug 24, 2009 6:20 AM (in response to dandries)Hi All,
What are the jars required for TCP endpoint (Generic endpoint - tcp://localhost:8888)? I tried adding the below jars but no success.
1. camel-mina-1.6.1.2-fuse.jar
2. camel-spring-1.6.1.2-fuse.jar
exception:
org.apache.camel.NoSuchEndpointException: No endpoint could be found for: tcp://localhost:8888, please check your classpath contains the needed camel component jar.
Also, let me know the jars for SQL endpoint (sql:insert into ....).
Thanks for your help.
Edited by: sivaram on Aug 24, 2009 3:49 PM
-
10. Re: What are the external JARs that should be added to the build path?
veraniego Aug 24, 2009 6:27 AM (in response to spindipr)and which would be the necesary JARs for the JBI endpoints??
Because I got this exception when I run my EIP Project:
org.apache.camel.NoSuchEndpointException: No endpoint could be found for: jbi:service:http://localhost:8084/ProcesadorInfoWebApp/ProcesadorInfoWS?operation=initHelper
thank you!!!
-
11. Re: What are the external JARs that should be added to the build path?
sivanaresh Aug 24, 2009 6:37 AM (in response to sivaram)Hi Sivaram,
Can you try generic endpoint uri as 'mina:tcp://localhost:8888' instead of
'tcp://localhost:8888' with the same jars.
Regards,
Siva Naresh.
-
12. Re: What are the external JARs that should be added to the build path?
oisin Aug 24, 2009 6:37 AM (in response to sivaram)What are the jars required for TCP endpoint (Generic endpoint - tcp://localhost:8888)? I tried adding the below jars but no success.
1. camel-mina-1.6.1.2-fuse.jar
2. camel-spring-1.6.1.2-fuse.jar
The camel-mina component provides for the tcp, udp, mcast, multicast and vm protocols, so you have picked the correct Camel component jar. This component depends on Apache Mina, so you should also include the mina-core jar on the classpath.
-
13. Re: What are the external JARs that should be added to the build path?
oisin Aug 24, 2009 6:43 AM (in response to veraniego)and which would be the necesary JARs for the JBI endpoints??
Access to JBI endpoints means living in a JBI container - for Camel, there's an integration with ServiceMix, some links with more information are below, check these out first.
-
14. Re: What are the external JARs that should be added to the build path?
sivaram Aug 24, 2009 8:28 AM (in response to oisin)Thank you Oisin for the response!
I added the following jars to make TCP work
1. camel-mina-1.6.1.2-fuse.jar
2. mina-core-1.1.7.jar
3. slf4j-api-1.5.8.jar
4. slf4j-simple-1.5.8.jar
2, 3 & 4 were not present in any of the FUSE installation (ESB, MQ, CXF & Router). Copying of such libraries (not present in FUSE installation) is expected?