• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Disable web server in JBoss5.1.0

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Forum,

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

Thank you,
Nitin
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So you do not plan to deploy any WAR files? Nor provide any web services? What kinds of apps do you intend to deploy?
 
N Jain
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Peter.

JBoss has started without any issues.

Regards,
Nitin
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic