[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, 11 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, 11 months
[JBoss JIRA] Created: (JBIDE-8053) Incomplete instructions for ESB File Action example
by Libor Zoubek (JIRA)
Incomplete instructions for ESB File Action example
---------------------------------------------------
Key: JBIDE-8053
URL: https://issues.jboss.org/browse/JBIDE-8053
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb, project-examples
Affects Versions: 3.2.0.CR1
Reporter: Libor Zoubek
Assignee: Brian Fitzpatrick
Description of ESB File Action example says :Before deploy the project, please change some properties according to the readme.txt file.
None of readme's does not say anything. I don't know how to run this example. I assume, that I should run client project to create a file *somewhere* and deployed esb will process it.
What to pass to CreateTestFile's main method?
Could this be exaplained in readme files?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months