geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Patel (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMODEVTOOLS-56) URLProvider.getModuleRootURL() returning "WebApp_ID"
Date Fri, 03 Feb 2006 04:34:04 GMT
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-56?page=all ]
     
Sachin Patel resolved GERONIMODEVTOOLS-56:
------------------------------------------

    Resolution: Fixed
     Assign To: Sachin Patel

The problem should be fixed now.

> 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
>     Assignee: Sachin Patel

>
> 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