-
1. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
wchico2 Jan 31, 2002 6:50 AM (in response to wchico2)Sorry,
I just read that it´s a billionth time you answered
this. So I read you need to read
the forum FAQ and use
http://localhost:8080/jboss
Sorry again,
The Wolf -
2. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
li_zjun Feb 5, 2002 4:06 AM (in response to wchico2)I encountered the same problem as yours. Who can help me?
-
3. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
mlapolla Aug 2, 2002 11:11 PM (in response to wchico2)I have this same problem and still cannot find an answer. I would like to know what the problem is.
Basically, how does one get a .html page displayed?
Thanks,
M. -
4. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
mtran Aug 7, 2002 1:14 PM (in response to wchico2)I have the same problem as well...
Help is appreciated!
Thx,
Meg -
5. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
winghoe Aug 8, 2002 11:51 PM (in response to wchico2)Hi Meg,
Assuming that you have an EAR file that contains the WAR file like below:
myapp.ear
- web.war
- ejb.jar
- META-INF
- application.xml
It should contains a META-INF directory that contains the xml file called application.xml.
The content of this file is as below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<display-name>My Application</display-name>
<web-uri>web.war</web-uri>
<context-root>/myweb</context-root>
ejb.jar
Notice that the <context-root> tag is /myweb.
In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.
To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.
The sample is as below:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Hope this helps.
Wing Hoe -
6. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
winghoe Aug 8, 2002 11:52 PM (in response to wchico2)Hi Meg,
Assuming that you have an EAR file that contains the WAR file like below:
myapp.ear
- web.war
- ejb.jar
- META-INF
- application.xml
It should contains a META-INF directory that contains the xml file called application.xml.
The content of this file is as below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<display-name>My Application</display-name>
<web-uri>web.war</web-uri>
<context-root>/myweb</context-root>
ejb.jar
Notice that the <context-root> tag is /myweb.
In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.
To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.
The sample is as below:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Hope this helps.
Wing Hoe -
7. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
winghoe Aug 8, 2002 11:53 PM (in response to wchico2)Hi,
Assuming that you have an EAR file that contains the WAR file like below:
myapp.ear
- web.war
- ejb.jar
- META-INF
- application.xml
It should contains a META-INF directory that contains the xml file called application.xml.
The content of this file is as below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<display-name>My Application</display-name>
<web-uri>web.war</web-uri>
<context-root>/myweb</context-root>
ejb.jar
Notice that the <context-root> tag is /myweb.
In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.
To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.
The sample is as below:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Hope this helps.
Wing Hoe -
8. Re: JBoss 2.4.4 Tomcat 4.0.1: localhost:8080 unaccessible
winghoe Aug 8, 2002 11:53 PM (in response to wchico2)Hi,
Assuming that you have an EAR file that contains the WAR file like below:
myapp.ear
- web.war
- ejb.jar
- META-INF
- application.xml
It should contains a META-INF directory that contains the xml file called application.xml.
The content of this file is as below:
<?xml version="1.0" encoding="ISO-8859-1"?>
<display-name>My Application</display-name>
<web-uri>web.war</web-uri>
<context-root>/myweb</context-root>
ejb.jar
Notice that the <context-root> tag is /myweb.
In this case, when you want to access the web, you should type in http://localhost:8080/myweb. If you want it to be default to http://localhost:8080, then the <context-root> tag should just have /. That's all.
To find out which file will get loaded, i.e. the default page like index.html, you should modify the web.xml file in the WEB-INF directory of your WAR package.
The sample is as below:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Hope this helps.
Wing Hoe