-
Bug
-
Resolution: Not a Bug
-
Major
-
fuse-7.8-GA
-
None
-
False
-
False
-
%
-
-
Undefined
-
-
Application using camel-ssh component doesn't work with Red Hat Fuse on EAP 7.x. It can be a documentation issue as well where some steps are missing for installation in EAP.
It throws error like following. We followed steps mentioned in this EAP article to register bcprov. But following exception is observed with all these configurations.
17:54:42,302 WARN [org.apache.camel.component.timer.TimerConsumer] (Camel (spring-context) thread #1 - timer://something) Error processing exchange. Exchange[ID-cpandey-pnq-csb-1610021740282-0-37]. Caused by: [org.apache.camel.CamelExchangeException - Cannot execute command: touch ~/12345.txt. Exchange[ID-cpandey-pnq-csb-1610021740282-0-37]. Caused by: [java.lang.IllegalStateException - BouncyCastle must be registered as a JCE provider]]: org.apache.camel.CamelExchangeException: Cannot execute command: touch ~/12345.txt. Exchange[ID-cpandey-pnq-csb-1610021740282-0-37]. Caused by: [java.lang.IllegalStateException - BouncyCastle must be registered as a JCE provider]17:54:42,302 WARN [org.apache.camel.component.timer.TimerConsumer] (Camel (spring-context) thread #1 - timer://something) Error processing exchange. Exchange[ID- cpandey-pnq-csb-1610021740282-0-37]. Caused by: [org.apache.camel.CamelExchangeException - Cannot execute command: touch ~/12345.txt. Exchange[ID-cpandey-pnq-csb-1610021740282-0-37]. Caused by: [java.lang.IllegalStateException - BouncyCastle must be registered as a JCE provider]]: org.apache.camel.CamelExchangeException: Cannot execute command: touch ~/12345.txt. Exchange[ID-cpandey-pnq-csb-1610021740282-0-37]. Caused by: [java.lang.IllegalStateException - BouncyCastle must be registered as a JCE provider] at org.apache.camel.component.ssh.SshProducer.process(SshProducer.java:73) at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) at org.apache.camel.processor.Pipeline.process(Pipeline.java:138) at org.apache.camel.processor.Pipeline.process(Pipeline.java:101) at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:197) at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:79) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)Caused by: java.lang.IllegalStateException: BouncyCastle must be registered as a JCE provider at org.apache.camel.component.ssh.ResourceHelperKeyPairProvider.loadKeys(ResourceHelperKeyPairProvider.java:100) at org.apache.sshd.common.keyprovider.KeyPairProvider.loadKey(KeyPairProvider.java:108) at org.apache.camel.component.ssh.SshHelper.sendExecCommand(SshHelper.java:88) at org.apache.camel.component.ssh.SshProducer.process(SshProducer.java:68) ... 11 more
- is blocked by
-
ENTESB-15356 Upgrade to EAP-7.4.0.CD21
- Closed