[jbosstools-issues] [JBoss JIRA] Created: (RHDS-228) RHDS should not deploy EAR AND WAR to JBoss, EAR is enough!
a a (JIRA)
jira-events at lists.jboss.org
Fri Oct 12 05:40:04 EDT 2007
RHDS should not deploy EAR AND WAR to JBoss, EAR is enough!
-----------------------------------------------------------
Key: RHDS-228
URL: http://jira.jboss.com/jira/browse/RHDS-228
Project: Red Hat Developer Studio
Issue Type: Bug
Components: seam
Affects Versions: 1.0.0.beta2
Environment: win xp,
JDK1.6
Reporter: a a
steps:
1.create a seam project:
file->new-> seam web project->project name="ybxiang"->select "Java persistence"->next->next->( set SqlServer JDBC Driver correctly)...->In JSF Capability dialog select "Server supplied JSF implementation"->next->Seam runtime =jboss-seam-1.2.1.GA, Deploy as ="ear"-->Finish
2.select menu "project->build all"
3.Run it:
"Run as"->"Run on Server"->"JBoss 4.2 Server"->next->
Now, in this window, you can find two table. I add project "ybxiang" and "ybxiang-ear" to right table. Obviously, the project "ybxiang-ear" contains project "ybxiang" which is the WAR and project "ybxiang-ejb" which is the EJB. Now, i should be allowed to remove project "ybxiang" to left table and only have project "ybxiang-ear" left in the right table!!! But, i am not allowed to remove it!!!
.--Now, put "Finish" button, you will find that the ybxiang-ear.ear(EAR) and ybxiang.war(WAR) are both deployed into "D:\java\jboss-4.2.1.GA\server\default\deploy"!!!
It's not right!!!
This is the bug(1).
4.Now, i shut down JbossAS, and delete EAR and WAR file. I want to redeploy it.
I push "Run"->"Run on server" again, neither EAR nor WAR is redeployed to "D:\java\jboss-4.2.1.GA\server\default\deploy"!!!
Please notice that, I have shut down JBOssAS and deleted the deployed files!!! Now, i want JBOssAS run MyProject again from RHDS!
This is the bug(2)
5.right click on "ybxiang-ear" in RHDS-->export->general->Ant buildfiles->select all items-->Finish.
You can not find build.xml in ybxinag-ear project or its directory. You do can find build.xml files for ybxiang and ybxiang-ejb!!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list