Wildfly 8.2: missing .CREATE component

I just upgraded my installation of Wildfly-8.1.0.Final to 8.2.0.Final and deployed the WAR application and encountered a deployment error. He said

 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "MYAPPNAME.war")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => [ 

and then listed all my EJB as follows:

 "jboss.deployment.unit.\"MYAPPNAME.war\".component.EJBNAME.CREATE is missing [jboss.security.security-domain.java:/jaas/MYSECURITYDOMAIN]" 

When I returned to 8.1.0.Final , everything worked again as expected.

All my EJB declared using @Stateless and there is empty beans.xml for CDI , for EJB or CDI there are no other special configurations besides compontents.xml , with the following contents

 <components> <component name="org.jboss.seam.core.init"> <!-- JNDI name pattern for JBoss EJB 3.0 --> <property name="jndiPattern">#{ejbName}/local</property> </component> </components> 

Has anyone come across this case and could give me a hint how to solve it?

+5
source share
1 answer

Take a look at this Wildfly issue;

https://issues.jboss.org/browse/WFLY-4116

This issue applies to:

"Failed to deploy WAR in the absence of security in the security domain"

and contains error traces in the output log that are similar in nature to those reported.

In particular, designs such as:

 <jboss-web> <security-domain>java:/jaas/haa-portal</security-domain> </jboss-web> 

should be replaced by:

 <jboss-web> <security-domain>haa-portal</security-domain> </jboss-web> 

I had a similar problem and the advice on this issue fixed it for me.

+16
source

Source: https://habr.com/ru/post/1207990/


All Articles