Hi,
    I have JNDI and JMS running over HTTP. All fine. But I would like to move on to 
HTTPS and am facing problems. Any help would be gr8. Kinda stuck. I have modified the 
SSl connector configuration in jboss-service.xml in jbossweb-tomcat41.sar\META-INF
Its now as shown below. 

************************************************************
Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
                 address="" port = "8443" scheme = "https" secure = "true">
                 Factory className = 
"org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
                   keystoreFile="/conf/server.keystore"
                   keystorePass="changeit"
                   protocol = "TLS"/>
                          
************************************************************

I am able to telnet into my machine on port 8443 from another machine, and when i 
start up the browser and try going to 
https://192.168.x.y:8443/ from that remote machine, it shows up the "Security Alert" 
prompting me abt the certificate, though it goes on to say 
"HTTP Status 500 - No Context configured to process this request", which shouldnt be a 
problem I guess. Atleast the server is accepting https reuqests.
However, when I startup my JMS client and try to connect to the server, I get the 
following exception, when I try to do a JNDI lookup using the file
jndi.properties shown below

javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is 
java.io.IOException]

                                    jndi.properties
************************************************************
#java.naming.provider.url=http://192.168.3.42:8080/invoker/JNDIFactory
java.naming.provider.url=https://192.168.3.42:8443/invoker/JNDIFactory
java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
************************************************************

The  JNDI lookup works with the http line tho if the https one is commented.

I would be grateful if someone could guide me along a lil.
Thanks a lot,
Rajesh Mathew.


<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825120#3825120";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825120>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to