[
https://issues.jboss.org/browse/WFLY-12462?page=com.atlassian.jira.plugin...
]
Alexey Usharovski updated WFLY-12462:
-------------------------------------
Description:
Wired exception for very simple EJB with @Remote annotated interface in time of deploy to
WildFly 17.0.1.Final
{code:java}
@Stateless
public class UserServiceImpl implements UserServiceRemote {
@Override
public List<UserRepr> getAllUsers() {
return null;
}
}
@Remote
public interface UserServiceRemote {
List<UserRepr> getAllUsers();
}
{code}
The exception is
{code}
Caused by: java.lang.IllegalArgumentException: WFLYEE0047: Incompatible conflicting
binding at
java:jboss/exported/simple-webapp/UserServiceImpl!ru.geekbrains.jsf.UserServiceRemote
source:
org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor$2@6aba1c4b"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"simple-webapp.war\".beanmanager",
"jboss.deployment.unit.\"simple-webapp.war\".WeldStartService" ],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"simple-webapp.war\".batch.artifact.factory is
missing [jboss.deployment.unit.\"simple-webapp.war\".beanmanager]",
"jboss.deployment.unit.\"simple-webapp.war\".weld.weldClassIntrospector is
missing [jboss.deployment.unit.\"simple-webapp.war\".beanmanager,
jboss.deployment.unit.\"simple-webapp.war\".WeldStartService]" ] }
{code}
Notice 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.
Full application code on GitHub
https://github.com/usharik/simplewebapp/tree/lesson-6-ejb
was:
Wired exception for very simple EJB with @Remote annotated interface in time of deploy to
WildFly 17.0.1.Final
{code:java}
@Stateless
public class UserServiceImpl implements UserServiceRemote {
@Override
public List<UserRepr> getAllUsers() {
return null;
}
}
@Remote
public interface UserServiceRemote {
List<UserRepr> getAllUsers();
}
{code}
The exception is
{code}
Caused by: java.lang.IllegalArgumentException: WFLYEE0047: Incompatible conflicting
binding at
java:jboss/exported/simple-webapp/UserServiceImpl!ru.geekbrains.jsf.UserServiceRemote
source:
org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor$2@6aba1c4b"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"simple-webapp.war\".beanmanager",
"jboss.deployment.unit.\"simple-webapp.war\".WeldStartService" ],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"simple-webapp.war\".batch.artifact.factory is
missing [jboss.deployment.unit.\"simple-webapp.war\".beanmanager]",
"jboss.deployment.unit.\"simple-webapp.war\".weld.weldClassIntrospector is
missing [jboss.deployment.unit.\"simple-webapp.war\".beanmanager,
jboss.deployment.unit.\"simple-webapp.war\".WeldStartService]" ] }
{code}
Full application code on GitHub
https://github.com/usharik/simplewebapp/tree/lesson-6-ejb
Incompatible conflicting binding Exception and EJB naming
---------------------------------------------------------
Key: WFLY-12462
URL:
https://issues.jboss.org/browse/WFLY-12462
Project: WildFly
Issue Type: Feature Request
Components: CDI / Weld, EJB
Affects Versions: 17.0.1.Final
Environment: MacOS
Reporter: Alexey Usharovski
Assignee: Matěj Novotný
Priority: Major
Attachments: server.log.zip, war-content.txt.zip
Wired exception for very simple EJB with @Remote annotated interface in time of deploy to
WildFly 17.0.1.Final
{code:java}
@Stateless
public class UserServiceImpl implements UserServiceRemote {
@Override
public List<UserRepr> getAllUsers() {
return null;
}
}
@Remote
public interface UserServiceRemote {
List<UserRepr> getAllUsers();
}
{code}
The exception is
{code}
Caused by: java.lang.IllegalArgumentException: WFLYEE0047: Incompatible conflicting
binding at
java:jboss/exported/simple-webapp/UserServiceImpl!ru.geekbrains.jsf.UserServiceRemote
source:
org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor$2@6aba1c4b"},
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.unit.\"simple-webapp.war\".beanmanager",
"jboss.deployment.unit.\"simple-webapp.war\".WeldStartService" ],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.deployment.unit.\"simple-webapp.war\".batch.artifact.factory is
missing [jboss.deployment.unit.\"simple-webapp.war\".beanmanager]",
"jboss.deployment.unit.\"simple-webapp.war\".weld.weldClassIntrospector is
missing [jboss.deployment.unit.\"simple-webapp.war\".beanmanager,
jboss.deployment.unit.\"simple-webapp.war\".WeldStartService]" ] }
{code}
Notice 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.
Full application code on GitHub
https://github.com/usharik/simplewebapp/tree/lesson-6-ejb
--
This message was sent by Atlassian Jira
(v7.13.5#713005)