aspose file tools*
The moose likes JBoss/WildFly and the fly likes Disable web server in JBoss5.1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Disable web server in JBoss5.1.0" Watch "Disable web server in JBoss5.1.0" New topic
Author

Disable web server in JBoss5.1.0

N Jain
Greenhorn

Joined: Aug 11, 2007
Posts: 14
Hello Forum,

Please advise me on the configuration changes that I need to make to the application server to disable JBossWeb.

Thank you,
Nitin
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

So you do not plan to deploy any WAR files? Nor provide any web services? What kinds of apps do you intend to deploy?


JBoss In Action
N Jain
Greenhorn

Joined: Aug 11, 2007
Posts: 14
Hello Peter,

I plan to deploy the WAR files in separate webserver on a different machine. I am not sure if you will agree, but I plan to use the JBoss AS for the EJB files. The application is security sensitive and the requirement is to separate out the FE from the middle-ware.

Your advice will be highly appreciated.

Thank you,
Nitin
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

I just wanted to make sure what it was that you were doing before i gave any advice. And before I start, let me say that I have not done this myself so there might be things that I overlook. Anyway, here is information that will help:

* The embedded JBoss Web is located at server/xxx/deploy/jbossweb.sar, remove that.

* You will want to remove the included WAR files:
- server/xxx/deploy/admin-console.war
- server/xxx/deploy/jmx-console.war
- server/xxx/deploy/management (this directory holds the deprecated web-console)
- ROOT.war

* The WAR deployer is located at server/xxx/deployers/jbossweb.deployer

* You will also want to remove the web services deployer at server/xxx/deployers/jbossws.deployer

If, after removing the above, you get errors in startup, then it is a matter of finding the xml config file causing the error and correcting its settings. In other words, I suspect that there will be some settings in other config files that depend on the stuff that was removed, and you'll have to fix that up also.
N Jain
Greenhorn

Joined: Aug 11, 2007
Posts: 14
Thank you Peter.

JBoss has started without any issues.

Regards,
Nitin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disable web server in JBoss5.1.0