sorry for asking "where the application.xml has to be created".
I got it from various websites...
Let me explain my directory structure.
Mine was a sample application with the following directory structure which properly served
from JBoss server (that is when i make a request for http:// localhost:8080/TestApp/ )
Previous Directory Structure (WAR)
TestApp.war
| | /venkatesh.jsp
| | /showname.jsp
| | /db.jsp
| | /MET-INF
| | /Manifest.mf
| | /WEB-INF
| | /web.xml
|
|
But Now, i have changed the directory structure in order to include the application.xml
and made it TestApp.EAR as follows,
This is also properly served from JBoss server. So i think i have included the
application.xml correctly.
Current Directory structure (EAR)
TestApp.ear
| |
| |----/META-INF/application.xml
| |
| |----/TestApp.war
| | /venkatesh.jsp
| | /showname.jsp
| | /db.jsp
| | /MET-INF
| | /Manifest.mf
| | /WEB-INF
| | /web.xml
|
|
|
Hope, it is correct.
BUT Painfully.
...
....
....i failed Again!!!!!, even with the following (suggested) modifications...
1. Modified workers.properties as per the suggestion.
2. Removed the unnecessary modification in uriworkermap.properties file
3. included application.xml with the following content
<?xml version="1.0" encoding="UTF-8"?>
|
| <application>
| <module>
| <web>
| <web-uri>TestApp.war</web-uri>
| <context-root>/TestApp</context-root>
| </web>
| </module>
| </application>
4.included the disributable tag in web.xmlas follows
<?xml version="1.0" encoding="UTF-8"?>
| <web-app version="2.4"
|
xmlns="http://java.sun.com/xml/ns/j2ee"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
context-path="/TestApp">
| <distributable/>
| <welcome-file-list>
| <welcome-file>
| venkatesh.jsp
| </welcome-file>
| </welcome-file-list>
| </web-app>
still the page-index.html which is inside htdocs/TestApp/ folder appeears when i try
http://TestApp;
Kindly help...
with regards
sree
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017553#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...