-
1. Re: Incompatible conflicting binding Exception and EJB naming
jaikiran Aug 26, 2019 11:54 AM (in response to usharik)Could you post the complete exception stacktrace or even attach the server.log file?
-
2. Re: Incompatible conflicting binding Exception and EJB naming
usharik Aug 26, 2019 12:28 PM (in response to jaikiran)Here is a part of my log file. Also logs are in my question at stackoverflow java - WFLYEE0047: Incompatible conflicting binding at - Stack Overflow
-
server.log.zip 1.8 KB
-
-
3. Re: Incompatible conflicting binding Exception and EJB naming
jaikiran Aug 27, 2019 12:58 AM (in response to usharik)I can't reproduce this with the sample code you pasted. Are you sure the application that you are deploying isn't having another bean (class) with that same name? Maybe your packaging is accidentally packaging the bean in multiple locations/jars?
Can you post the output of:
jar -tf simple-webapp.war
-
4. Re: Incompatible conflicting binding Exception and EJB naming
usharik Aug 27, 2019 6:39 AM (in response to jaikiran)Here is it! And thanks for your attention to my issue)
-
war-content.txt.zip 517 bytes
-
-
5. Re: Incompatible conflicting binding Exception and EJB naming
jaikiran Aug 27, 2019 7:58 AM (in response to usharik)I have to say, I don't see anything odd in that attached war file content. Would it be possible for you to attach the source version of this project? One that can be locally built to reproduce this issue?
By the way, what are the contents of the beans.xml that's packaged in this war?
-
6. Re: Incompatible conflicting binding Exception and EJB naming
usharik Aug 27, 2019 8:49 AM (in response to jaikiran)The whole code is here GitHub - usharik/simplewebapp at lesson-6-ejb
Only point to reproduce the bug you should rename class simplewebapp/UserServiceBean toUserServiceImpl
and interface UserServiceRemoteBean to UserServiceRemote.
Also worth to mention that I run the Wildfly with standalone-full.xml as a config.
-
7. Re: Incompatible conflicting binding Exception and EJB naming
usharik Aug 30, 2019 5:27 AM (in response to jaikiran)Some new workaround. Found that problem could be resolved by undeploy and Wildfly server restart. May be something wrong with JNDI content?
I've tried to look through the web console but found nothing interesting. -
8. Re: Incompatible conflicting binding Exception and EJB naming
brian.stansberry Aug 30, 2019 8:32 AM (in response to usharik)Hi Alexey,
Could you file a bug at - JBoss Issue Tracker ? I haven't had a chance to use your reproducer but looking at the code there is nothing I saw wrong with it so this seems worth investigating as a bug.
Thanks for the report!
- Brian
-
9. Re: Incompatible conflicting binding Exception and EJB naming
usharik Aug 30, 2019 8:58 AM (in response to brian.stansberry)Done [WFLY-12462] Incompatible conflicting binding Exception and EJB naming - JBoss Issue Tracker
Hope it would be helpful for the whole community!