apache-servicemix

Camel component endpoints options for password is altered, how to prevent this?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 16:11:23
问题 In Camel I am using the http4 component to make REST request on a remote server. The component documentation states that the credentials should be put in the options on the endpoint like this: https4://myremote.server.com/?authUsername=xxx&authPassword=yyy This was working well until someone put a password with a '+' character on another environment. We notice that the '+' character is transmitted as a space in the server which generates an error. By searching deeper in the Camel

java.lang.NoClassDefFoundError: javax/crypto/Cipher

╄→гoц情女王★ 提交于 2019-12-11 16:08:57
问题 I am implementing SNMP traps in JBOSS FUSE using log4j and unfortunately getting into an issue as follows. Can any one please advise on what bundle/dependency I need to install to resolve this issue Caused by: java.lang.NoClassDefFoundError: javax/crypto/Cipher at org.snmp4j.security.SecurityProtocols.addDefaultProtocols(SecurityProtocols.java:152)[244:AbstractionAPI:1.0.0] at org.snmp4j.Snmp.initMessageDispatcher(Snmp.java:225)[244:AbstractionAPI:1.0.0] at org.snmp4j.Snmp.(Snmp.java:251)[244

Apache ServiceMix 5.x full version

余生长醉 提交于 2019-12-11 12:17:54
问题 I need to run Apache ServiceMix on servers with no direct connection to the internet. I am unable to find a "full" assembly for Apache ServiceMix 5.1.4. An older version of ServiceMix (4.5.3) has a full version available for download. Is a full version of 5.1.4 is available and if so where? http://servicemix.apache.org/downloads/servicemix-5.1.4.html http://servicemix.apache.org/downloads/servicemix-4.5.3.html 回答1: Starting with ServiceMix 5.0.0 we have removed the full and minimal assemblies

two dependency chains OSGI

馋奶兔 提交于 2019-12-11 06:51:41
问题 I have the following error: in text : Error executing command: Error restarting bundles: Unable to start bundle 278: Uses constraint violation. Unable to resolve resource demo-persistence-jpa [demo-persistence-jpa [278](R 278.0)] because it is exposed to package 'javax.persistence' from resources javax.persistence [javax.persistence [248](R 248.0)] and org.apache.geronimo.specs.geronimo-jpa_2.0_spec [org.apache.geronimo.specs.geronimo-jpa_2.0_spec [266](R 266.0)] via two dependency chains.

Fuse ESB - ODE installation

孤者浪人 提交于 2019-12-11 06:33:58
问题 In the FUSE ESB, I tried to install the ODE feature using the command (install ode), but got an error as below. Any help is appreciated FuseESB:karaf@root> features:install ode Error executing command: No feature named 'ode' with version '0.0.0' available 回答1: Apache ODE is not supported by Fuse ESB any longer. Apache ODE does not work with OSGi and its a project that is not active maintained and we do not recommend using it, as well JBI is also dead. And the command is correct it says there

Servicemix Camel Activiti Integration and H2 Database configuration

北战南征 提交于 2019-12-08 11:39:36
问题 I have configured Activiti on Servicemix 5.1.1 and got it working with Camel. I need to configure Activiti to use SQL Server instead of the default inbuilt H2 which comes with servicemix for Activiti during feature installation. I am not finding any config files related to activiti to change the DB credentials either. Any help on how to configure the Activiti DB with Servicemix is highly appreciated. 回答1: There's no easy way to configuring another database at the moment. The solution would be

How to load external properties file through OSGi blueprint property-placeholder and Java DSL

依然范特西╮ 提交于 2019-12-08 04:43:20
问题 I have a bundle installed in Apache servicemix that is using apache blueprint for configuration. I am using an external properties file abc.cfg located in /config folder and is being loaded as follows: via blueprint <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camel-cxf="http://camel.apache.org/schema/blueprint/cxf" xmlns:jaxrs="http://cxf.apache.org/jaxrs" xmlns:cxf="http://cxf.apache.org/blueprint/core" xsi

Clustering in ServiceMix 4

♀尐吖头ヾ 提交于 2019-12-07 09:51:30
问题 I'm trying to configure Apache ServiceMix 4 to provide load balancing feature mentioned in it's documentation (for example here: http://servicemix.apache.org/clustering.html). Although it's mentioned, I couldn't find the exact way how to do it. The idea is to have 2 ServiceMixes (in LAN, for example) with the same OSGi service installed in them. When client tries to use the service, the load balancer takes him to appropriate service instance on one of the ServiceMixes. Is there an easy way to

what's the scope of a static field?

穿精又带淫゛_ 提交于 2019-12-07 09:00:44
问题 I meet a problem in static field. I think the root cause must be the scope of the static field. The project is based on Apache servicemix and consists of many sub-projects. In sub-project 'A', I defined a static list field 'reg' in class 'Registration' and some static method to operate the field like 'add' and 'getAll'. Once the sub-projectA is deployed, the name of the project 'A' will be added into the static list for registration. The problem is when it comes to sub-project 'B', when the

Administration and Monitoring of Apache-Camel routes in ServiceMix

孤街浪徒 提交于 2019-12-07 03:25:16
问题 Being a user of Camel and ServiceMix I frequently need to monitor those tools for development purposes. I mainly use JConsole to access MBeans from ServiceMix and Camel. It gives a few really helpful metrics for an ESB developer. I also use karaf (web)console to track my route and bundles status. Looking around StackOverflow I found an interesting link that explains how to setup Hyperic HQ for ServiceMix 4: Monitoring Servicemix with Hyperic HQ. Are they other tools you would consider worthy