I deployed my ear in the jboss 6.1 folder deployment and now I am trying to lunch the web application.
The ear inside have ongli this file :
the application.xml has :
I would like to lunch this web application from browser with this url http://localhost:9990/ServiceAssurance but on the console it write :
15:41:49,823 FINE [com.sun.net.httpserver] (HttpManagementService-threads - 15) GET /ServiceAssurance HTTP/1.1 [404 Not Found] ()
The default port for JBoss is 8080, not 9990. Are you sure this is the port you should be using? As a previous poster has already said, you need to provide more information about any errors the server log may contain.
Dora Di Donato
posted 6 years ago
thank you but I solve my problem, now I see my login page, yes I use 8080 port and I configure the consol too and in this case I use 9990 port.
Do you suggest me to use the console to deployment or it is better to use the manual folder?
But I am trying to deployer an other ear and I would like to understand how it start.
This ear contains inside this a :
-package java - folder > META-INF > jboss-deployment-structure.xml and a MANIFEST.MF
- one jar (csm-dal.jar)
- one war (csm-dal.war)
It is possible to start the war application?
That's not how web-app works. You need to have corresponding servlet-mapping for that servlet to be accessible from a specific URL. You should check with whoever wrote that application on what the URL is, which acts as the entry point for the application. Typically it's just http://server:port/context-root. The context-root for the web-app will be listed in the application.xml of the .ear.
thanks I think it doesn't function like a web application, inside the ear I have a folder META-INF whit this file :
If you don't have an application.xml in the .ear's META-INF folder, then the context root of the web application is the name of the war without the .war suffix. The context root is even logged in the server.log or the server startup console log. I guess in your case the context root is csm-dal.