Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7661115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:33:20+00:00 2026-05-31T13:33:20+00:00

We are trying to rewrite an IIS web server handler for JBoss 5 app

  • 0

We are trying to rewrite an IIS web server handler for JBoss 5 app server, but I could not find the similar concept for JBoss. Could you, please, give some advice or direction how we should implement the handler, or what should we google for?

To be clear, the final goal is to have an application which does not need a name in url in order to be invoked and runs every time I access just the IP address or server name.
e.g. http://13.10.15.48

The application (handler) should grab the request, process it and pass over to other default handlers or web server.

Should I search for Tomcat handlers instead?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:33:21+00:00Added an answer on May 31, 2026 at 1:33 pm

    By default JBoss has a the root context point to a default app. In order to point you application to the root context you need to do the following

    If you are deploying you application as a WAR file, the add the following content to your /WEB-INF/jboss-web.xml (if it does not already exist)

    <?xml version="1.0" encoding="UTF-8"?>
    <jboss-web>
        <context-root>/</context-root>
    </jboss-web>
    

    If you are deploying your application as an EAR file, then you need to set the context-root in your /META-INF/application.xml file as follows

    <application version="5" xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="
          http://java.sun.com/xml/ns/javaee
          http://java.sun.com/xml/ns/javaee/application_5.xsd">
    
       ...
    
       <module>
          <web>
             <web-uri>my-webapp.war</web-uri>
             <context-root>/</context-root>
          </web>
       </module>
    </application>
    

    For more information please refer [1]

    Hope this helps.

    Good luck!

    [1] https://community.jboss.org/wiki/HowDoIOverrideTheWebContextRoot

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Isapi Rewrite 3 (mod rewrite clone for IIS) and trying to rewrite
I am trying to exclude a directory with ISAPI-Rewrite (note: this is a windows/iis
I am trying to setup rewrite rules for my site in iis 7 with
I'm trying to use IIS Isapi Rewrite to do the following... I need seo-friendly
I don't understand anything about IIS, but am trying to solve this problem of
im trying to rewrite a url like page.php?sort=66&search=s&category=2,3,4&archive=june&page=3 to page-sort-1-search(s)-category-1,2,3-archive(june)-page3 but the thing is
I'm basically trying to rewrite math.pow, I have the following obviously I'm not getting
I have been trying to get the IIS URL Rewrite engine to work for
I'm trying to rewrite search results page url to something like /search/query-1.html but when
I'm trying to rewrite following snippet in clojure, but it all comes out ugly,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.