[jbosstools-issues] [JBoss JIRA] (JBIDE-22878) EAR deployed from DevStudio to EAP contains errorneously named ejbs

Mikhail Kalkov (JIRA) issues at jboss.org
Tue Aug 30 06:05:00 EDT 2016


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

Mikhail Kalkov edited comment on JBIDE-22878 at 8/30/16 6:04 AM:
-----------------------------------------------------------------

I mean that since I get JBIDE-18697 in DevStudio 8.1.0.GA (includes 4.2.3.Final) it could not have been completely fixed in 4.2.1. However, I don't get that bug i 10.0.0.GA (includes 4.4.0.Final) so it must have been fixed by now anyway.

I'm testing with a stock version of DevStudio 10.0.0.GA, which has m2e-wtp installed. See a screenshot with deployment assembly properties for test-ear attached.

See my copy of test-ear attached. I get this problem 100% of attempts. I actually don't mind if GUI shows wrong name as long as the end result in test-ear is correct.


was (Author: mkalkov):
I meant that since I get JBIDE-18697 in DevStudio 8.1.0.GA (includes 4.2.3.Final??) it wasn't fixed in 4.2.1. However, I don't get that bug i 10.0.0.GA (includes 4.4.0.Final) so it must have been fixed anyway by now.

I'm testing with a stock version of DevStudio 10.0.0.GA, which has m2e-wtp installed. See a screenshot with deployment assembly properties for test-ear attached.

See my copy of test-ear attached. I get this problem 100% of attempts. I actually don't mind if GUI shows wrong name as long as the end result in test-ear is correct.

> EAR deployed from DevStudio to EAP contains errorneously named ejbs
> -------------------------------------------------------------------
>
>                 Key: JBIDE-22878
>                 URL: https://issues.jboss.org/browse/JBIDE-22878
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.3.Final, 4.4.0.Final
>         Environment: I've observed this problem on a Win7 64 bit machine with Oracle JRE 1.8.0_102 64 bit. It was present in both JBoss Developer Studio 8.1.0.GA and 10.0.0.GA when used in conjunction with embedded Maven installation and JBoss EAP 6.4 target runtime.
>            Reporter: Mikhail Kalkov
>            Assignee: Rob Stryker
>             Fix For: 4.4.1.Final
>
>         Attachments: JBIDE-22878-deployment-assembly.png, screendump.png, test-ear.ear, test-projects.zip
>
>
> I've created a maven-based EAR project that contains serveral ejb modules some of which come from workspace whereas others are downloaded from binary artifact repository. All modules have bundleFileName specified as module-name.jar in order to override the default module-name-version.jar.
> When I right-click on an EAR project and choose Export..., a correct EAR file is built, which looks exactly the same as when I build it from command line. However, when I add this project to an EAP 6.4 server, and check "Deploy projects as compressed archives" option, an EAR with erroneously named ejbs is deployed. the bundleFileName option is namely ignored for EJBs that come from binary artifact repository. See attached screenshot.
> This problem makes it extremely difficult to debug issues that arise only with zipped ear deployments. The only workaround is to comment out bundleFileName lines in test-ear pom.xml as well as possibly fix filenames in persistence.xml, and remember to revert these changes before committing!



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list