[
https://jira.jboss.org/browse/JBIDE-6756?page=com.atlassian.jira.plugin.s...
]
Nick Boldt commented on JBIDE-6756:
-----------------------------------
e361-wtp322.target file is now updated w/ newer versions of the IUs. This should ensure
that WTP 3.2.2 is used in not just JBDS, but JBT too.
Update to WTP 3.2.1 or later (was Run On Server on annotated servlet
(3.0 spec) opens invalid url)
--------------------------------------------------------------------------------------------------
Key: JBIDE-6756
URL:
https://jira.jboss.org/browse/JBIDE-6756
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS, UpStream
Affects Versions: 3.2.0.M1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 3.2.0.Beta1
Attachments: JBIDE-6756.patch
Steps to reproduce :
- create JBoss AS 6.0 M4 runtime and server
- create a Dynamic Web project with Web Module version 3.0
- add a servlet
- right-click the servlet and call Run As>Run On Server
Eclipse will open a url like :
http://localhost:8080/<your_project_name>/servlet/<servletPackag...
The correct URL is :
http://localhost:8080/<your_project_name>/<yourServletMapping>
<yourServletMapping> is defined when creating a servlet. It is defined as an
annotation for Web Module 3.0 (@WebServlet)
The problem can't be reproduced if servlet mappings is defined in web.xml.
I think this is a webtools problem. Will create a bug against webtools and add a patch.
I will also make a workaround that will work on JBoss Tools servers.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira