You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kathy Chan (JIRA)" <ji...@apache.org> on 2006/01/31 19:52:33 UTC

[jira] Created: (GERONIMODEVTOOLS-56) URLProvider.getModuleRootURL() returning "WebApp_ID"

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


[jira] Resolved: (GERONIMODEVTOOLS-56) URLProvider.getModuleRootURL() returning "WebApp_ID"

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Closed: (GERONIMODEVTOOLS-56) URLProvider.getModuleRootURL() returning "WebApp_ID"

Posted by "Kathy Chan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-56?page=all ]
     
Kathy Chan closed GERONIMODEVTOOLS-56:
--------------------------------------


Verified on WTP M101 02070438 and Geronimo plugin 0206.

> 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