You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2007/10/08 09:40:23 UTC
[jira] Updated: (SM-945) ConsumerProcessor error when find KeyStore
("server.keyStore")
[ https://issues.apache.org/activemq/browse/SM-945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-945:
-------------------------------
Fix Version/s: 3.2
3.1.3
I've just seen this bug. It sounds like we should use the SU classloader instead of getClass().getClassLoader() which causes the component classloader to be use instead.
> ConsumerProcessor error when find KeyStore ("server.keyStore")
> --------------------------------------------------------------
>
> Key: SM-945
> URL: https://issues.apache.org/activemq/browse/SM-945
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-http
> Affects Versions: 3.1
> Environment: Servicemix 3.1
> Reporter: Jorge Rodríguez Pedrianes
> Fix For: 3.1.3, 3.2
>
>
> Hello, this days I try to use HttpComponent whith "https". I follow the examples that I find in source code. When I configure the HttpComponent I put the SSlParameters, like this:
> {noformat}
> <http:endpoint service="form:FormService" endpoint="Form"
> role="consumer"
> locationURI="https://0.0.0.0:8077/Form/"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
> soap="true">
> <http:ssl>
> <http:sslParameters keyStore="classpath:server.jks" keyStorePassword="password"/>
> </http:ssl>
> </http:endpoint>
> {noformat}
> When I try to use this SU in Servicemix 3.1 this throw that the file server.jks is not found. But this file is in ____-su.xml.
> I saw that in ComponetProcessor class, in start method, you put
> {noformat}
> public void start() throws Exception {
> Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); // <--- It's ok¿?¿??
> ...
> {noformat}
> I remove this, and recompile the component the https is ok.
> This is a bug or Thread.current ..... its ok¿?¿?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.