[jbosstools-issues] [JBoss JIRA] (JBIDE-13340) An EJB project cannot be deployed to a server if it is also into Deployement Assembly of another Dynamic Web Project

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Jan 7 04:05:08 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-13340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743706#comment-12743706 ] 

Rob Stryker commented on JBIDE-13340:
-------------------------------------

This is a well-known issue with webtools. The same can be replicated with a web project inside an ear project. You can no longer deploy teh web project standalone. 

Unfortunately it seems to me that a lot of wtp depends on this situation. For example, when determining what url to run, it would depend on if the web project is running standalone or inside an ear (or in this case the esb is inside the war or not). The current API seems to depend on this functionality, and I think the odds of it getting changed are very very slim. 

A workaround is to close your web project if you want to deploy the ESB standalone. 
                
> An EJB project cannot be deployed to a server if it is also into Deployement Assembly of another Dynamic Web Project
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13340
>                 URL: https://issues.jboss.org/browse/JBIDE-13340
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 4.0.0.Final
>         Environment: Windows 7
> Eclipse Juno 64 bit
> Jdk 1.7 64 bit
>            Reporter: andrea tomassi
>            Assignee: Rob Stryker
>              Labels: jboss
>         Attachments: Img0.png, img1.png, Img2.png
>
>
> 1) Install JBoss Tools version 4.0 (Juno)
> 2) Create a new workspace
> 3) Select Java EE Eclipse perspective
> 3) Define a new JBoss Server and new JBoss Runtime with 6.x server adapter from JBoss Tools (using jboss-6.1.0.final)
> 4) Create an EJB Project (Targeted runtime: JBoss 6.x, EJB module version: 3.1, default options)
> 5) Click with right mouse button on the server, than select "Add and Remove...". 
> 6) The EJB project on the left list. It is still possible to deploy the EJB project into the server (See image 0)
> 7) Create a Dynamic Web Project (default options)
> 8) Put the EJB project in the Deployement Assembly of the Dynamic Web Project (see image 1)
> 9) Click again with right mouse button on the server, than select "Add and Remove...". 
> 10) The EJB project is no more present in the left list. It isn't possible to deploy the EJB project into the server (See image 2)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list