• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multiple application in JBoss

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All.

I am using JBoss4.0.4. Actually its an old version but that is the demand.

I have a couple of questions.

1) Can we have multile war deployed in JBoss ? I think it is, but i want to confirm.

2) Can we have these configurations for the root application and the other applications outside the war.
The problem is that i do not want to make changes in the war once its ported on the server.
So i do not have access to the web.xml in my application war.

I have access to the tomcat----.sar and files contained in it.

I need help urgently.


Varnita
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

varnita gupte wrote:

I have a couple of questions.

1) Can we have multile war deployed in JBoss ? I think it is, but i want to confirm.


Yes you can

varnita gupte wrote:
2) Can we have these configurations for the root application and the other applications outside the war.
The problem is that i do not want to make changes in the war once its ported on the server.
So i do not have access to the web.xml in my application war.


What kind of configurations?

varnita gupte wrote:
I have access to the tomcat----.sar and files contained in it.


Can you explain in more detail what you are trying to do?

varnita gupte wrote:
I need help urgently.


Please be patient when you post to forums driven by volunteers. Asking for "urgent" help is usually going to produce the opposite result.
 
varnita gupte
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jaikiran Pai,

Thanks for your quick response.


Now regarding my problem.

I have my application as root application, as a result i simple have of give the https://somedomain/
and my site is accessed.

Now some changes are done in the war of the application and the site should not be accessible to the public for 3 days.

I had thought of changing the index.html to index1.html so as to redirect to hit to some other page, but that is not acceptable.
The .war is not to be changed.

So i want to know is there a way by which i can redirect the hit to this https://somedomain/ to another page without modifying the contents in the .war for my application.

Varnita
 
varnita gupte
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Sorry for the usage of the word "urgent"


Varnita.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

varnita gupte wrote:
Now some changes are done in the war of the application and the site should not be accessible to the public for 3 days.

I had thought of changing the index.html to index1.html so as to redirect to hit to some other page, but that is not acceptable.
The .war is not to be changed.

So i want to know is there a way by which i can redirect the hit to this https://somedomain/ to another page without modifying the contents in the .war for my application.



For things like this, usually JBoss is fronted with Apache HTTPD or something similar which can be configured to redirect the requests to some sort of maintenance page when the site is down.
 
varnita gupte
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jaikiran Pai,

Thanks for the response.


Varnita
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic