[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1081) RHDS should not deploy EAR AND WAR to JBoss, EAR is enough!

Max Andersen (JIRA) jira-events at lists.jboss.org
Fri Oct 12 12:12:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1081?page=comments#action_12382195 ] 
            
Max Andersen commented on JBIDE-1081:
-------------------------------------

bug 1: double deploy of war/ear should be fixed now afaik. (rob?)

bug2: I think this is simply how WTP behaves. did you try and enable the synchronize servers on startup option we discussed in the forum ?

bug3: never seen that feature be used ;) looks cool....does that work for any other EAR projects ? e..g with other adapters ?

> RHDS should not deploy EAR AND WAR to JBoss, EAR is enough!
> -----------------------------------------------------------
>
>                 Key: JBIDE-1081
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1081
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 2.0.0.Beta4
>         Environment: win xp,
> JDK1.6
>            Reporter: a a
>         Assigned To: Rob Stryker
>             Fix For: 2.0.0.CR1
>
>   Original Estimate: 4 days, 6 hours, 30 minutes
>  Remaining Estimate: 4 days, 6 hours, 30 minutes
>
> 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