Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows XP
Description
Driver:
- WTP 1.0.1 M20060131_1015,
- Geronimo Server 1.0,
- Geronimo plugin 0130_0958
For a Web project called "g1Client", the context root is return as "WebApp_ID" rather than "g1Client". Here's the code:
IURLProvider urlProvider = (IURLProvider) serverInstance.loadAdapter(IURLProvider.class, null);
URL url = urlProvider.getModuleRootURL(module);
url is returned as:
http://localhost:8080/WebApp_ID/
I was expecting:
http://localhost:8080/g1Client/
The problem can easily be reproduced by going through a Web Service Client scenario with "test Web service". Notice that the URL for the TestClient is wrong, it should be:
http://localhost:8080/g1Client/sampleEchoProxy/TestClient.jsp
rather than the current URL:
http://localhost:8080/WebApp_ID/sampleEchoProxy/TestClient.jsp