• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shut Down a SSL Enabled JBOSS

 
Prasad Krishnegowda
Ranch Hand
Posts: 670
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are using Jboss-5.1.0 and SSL is enabled, everything is working fine, but when we use shutdown.sh(i use sutdown.sh -S command) to shutdown the server, we get the below exception


Can anyone please help me, in solving this issue..
 
Ifteqar Ald
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you Check if your Jboss Process is running?

Could you please Post complete Command?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you start JBoss AS? The IP bindings used for startup must be used with the shutdown command (the shutdown command used localhost by default). Also, did you change the ports used by JNDI or other services? That also has to be reflected in shutdown.
 
Prasad Krishnegowda
Ranch Hand
Posts: 670
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.. The JBOSS process is running, I started the JBOSS using the command, run.sh -c web -b 0.0.0.0. Also, I made change to jboss-service.xml as below



If i don't make the above change, JBOSS without SSL enabled also, won't get stopped. After this, JBOSS shuts down correctly, when SSL is not enabled, when it is enabled, i get the described error.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that the issue is that you need supply the SSL certificate to the JVM so that it can use it tries to communicate with JBoss AS. This might help (we use a similar mechanism to access our Nexus repository which runs on HTTPS):
http://blogs.sun.com/andreas/entry/no_more_unable_to_find
Drat, Oracle didn't remap that post when they shut down the sun.com domain. But this one looks to be similar (or at least replicates Andreas' blog post):
http://nodsw.com/blog/leeland/2006/12/06-no-more-unable-find-valid-certification-path-requested-target

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic