geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathy Chan (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMODEVTOOLS-56) URLProvider.getModuleRootURL() returning "WebApp_ID"
Date Tue, 31 Jan 2006 18:52:33 GMT
URLProvider.getModuleRootURL() returning "WebApp_ID"
----------------------------------------------------

         Key: GERONIMODEVTOOLS-56
         URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-56
     Project: Geronimo-Devtools
        Type: Bug
  Components: eclipse-plugin  
 Environment: Windows XP
    Reporter: Kathy Chan


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message