OpenJMS HTTPS configuration and client connection
Ingo Pak <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <D1D50F9C5151D2119FF000104BB3F9B70456E8A1@NL-ROT-MAIL02> |
I have got a little trouble connecting to OpenJMS 0.7.4 with HTTPS. My OpenJMS server is running the default HTTPS configuration (https_jms.xml). However, when I try to connect to port 8443 with my client, this results in a NamingException: 'Connection refused'. In a way this is logical, because when I check with netstat if there is something listening on port 8443, this is not the case. When starting up OpenJMS, it only says 'Started TCP JNDI Server on port 3035'. My guess is the server configuration is incorrect, but I have no idea how I can make it work. The configuration file contains two connectors the first is TCP and the second is HTTPS. When I switch these and put HTTPS first, OpenJMS won't start anymore. Does only the first connector in the config file work?? In my client I am using the following context factory: org.exolab.jms.jndi.http.SslHttpJndiInitialContextFactory. Has anyone got any ideas how to solve this? Regards, Ingo Pak