aspose file tools*
The moose likes JBoss/WildFly and the fly likes Shut Down a SSL Enabled JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Shut Down a SSL Enabled JBOSS" Watch "Shut Down a SSL Enabled JBOSS" New topic
Author

Shut Down a SSL Enabled JBOSS

Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 563
    
    3

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

Joined: Dec 26, 2011
Posts: 73
Did you Check if your Jboss Process is running?

Could you please Post complete Command?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

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.


JBoss In Action
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 563
    
    3

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

Joined: May 14, 2008
Posts: 5843
    
    7

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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Shut Down a SSL Enabled JBOSS