[JBoss JIRA] Created: (JBIDE-6830) Cannot recreate a service created by the wizard
by Lukas Jungmann (JIRA)
Cannot recreate a service created by the wizard
-----------------------------------------------
Key: JBIDE-6830
URL: https://jira.jboss.org/browse/JBIDE-6830
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.M2
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
-have a dynamic web project
1) create a sample web service in the project using default values in the wizard
2) delete created file
3) delete entries added to web.xml by the wizard
4) save all changes
5) create a sample web service using default values in the wizard again
6) open web.xml file
=> contains:
<servlet>
<display-name>HelloWorld</display-name>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</servlet-name>
<url-pattern>/HelloWorld</url-pattern>
</servlet-mapping>
<servlet>
<display-name>HelloWorld1</display-name>
<servlet-name>HelloWorld1</servlet-name>
<servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld1</servlet-name>
<url-pattern>/HelloWorld1</url-pattern>
</servlet-mapping>
but since we did step 3 it should contain only:
<servlet>
<display-name>HelloWorld1</display-name>
<servlet-name>HelloWorld1</servlet-name>
<servlet-class>org.jboss.samples.webservices.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld1</servlet-name>
<url-pattern>/HelloWorld1</url-pattern>
</servlet-mapping>
7) delete all created files from the project, remove servlet related entries from the web.xml and save all files
8) create a sample web service using "HelloWorld" as the web service name
=> see attached screenshot - web.xml is empty but wizard says that web.xml already contains servlet "HelloWorld"
--
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
14 years, 10 months
[JBoss JIRA] Created: (JBIDE-8642) RESTEasy wizard produces app that doesn't deploy
by Joshua Wulf (JIRA)
RESTEasy wizard produces app that doesn't deploy
------------------------------------------------
Key: JBIDE-8642
URL: https://issues.jboss.org/browse/JBIDE-8642
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: JBoss Developer Studio 4
Reporter: Joshua Wulf
I follow the instructions to create a basic Seam CRUD app [http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/...], then follow the instructions to create a REST webservice [http://docs.redhat.com/docs/en-US/JBoss_Developer_Studio/4.0/html-single/...] specifying the Seam CRUD App as the Dynamic Web Project for the RESTEasy wizard.
1. The resultant project will not deploy to the Dev Studio's EAP. The RESTEasy wizard creates the REST class in src/hot instead of src/main, and it doesn't deploy to the server. As a result the webapp fails on deploy with a "Class Not Found" error generated by RESTEasy.
Manually copying the org.jboss.samples.rs.webservices package from src/hot to src/main resolves this problem, and the app deploys successfully.
I'm not sure why it was created in src/hot, but it seems that the wizard should create it in src/main.
2. Once the app deploys, however, neither the webservice nor the seam app work. The RESTEasy wizard adds:
<servlet-mapping>
<servlet-name>Resteasy</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
to the deployment descriptor, and the Seam wizard adds:
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
I fixed this by modifying the Resteasy url-pattern to /webservice/* and setting @Path("/webservice") on the HelloWorldResource class created by the RESTEasy wizard.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months
[JBoss JIRA] Created: (JBIDE-8463) Ensure that the Struts Project wizard opens the Web Development perspective
by Brian Fitzpatrick (JIRA)
Ensure that the Struts Project wizard opens the Web Development perspective
----------------------------------------------------------------------------
Key: JBIDE-8463
URL: https://issues.jboss.org/browse/JBIDE-8463
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: struts/shale
Affects Versions: 3.2.0.Final
Reporter: Brian Fitzpatrick
Fix For: 3.2.1, 3.3.0.M1
This task is an extension of JBDS-1554. When creating a new Struts Project, we need to make sure that the Web Development perspective is set as the "final" and "preferred" perspective ID. This can be done by updating the Struts Project wizard's "newWizard" extension point and setting the "preferredPerspectives" and "finalPerspective" properties. In order to see these properties, you'll need to grab the Eclipse SDK and Eclipse Platform SDKs to be installed if they aren't already or they won't appear as options in the plugin editor.
This will help make sure that the correct perspective is opened when a user creates a new Struts Project from the new JBDS Welcome Screen.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 10 months