JNDI binding from JBOSS to WildFlay

Discussão em 'StackOverflow' iniciado por Stack, Fevereiro 3, 2021.

  1. Stack

    Stack Membro Participativo

    I have Jbss 4.2.3 and upgrade to wildflay 20. In Jboss I have -service.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <mbean code="org.jboss.naming.JNDIBindingServiceMgr"
    name="wrd-jndi-bindings:service=JNDIBindingServiceMgr,app=framework">
    <attribute name="BindingsConfig" serialDataType="jbxb">
    <jndi:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:jndi="urn:jboss:jndi-binding-service:1.0"
    xs:schemaLocation="urn:jboss:jndi-binding-service:1.0 resource:jndi-binding-service_1_0.xsd">
    <jndi:binding name="url/FrameworkWRD">
    <jndi:value type="java.net.URL">${jboss.server.config.url}/wrd</jndi:value>
    </jndi:binding>
    </jndi:bindings>
    </attribute>
    <depends>jboss:service=Naming</depends>


    how to move to wildflay, becouse i have exception when i deploy app

    ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "51-xxx.ear")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.resources.FrameworkWRD"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
    "jboss.naming.context.java.comp.51-FrameworkWRD.FrameworkWRD_ejb.PermissionConfigurationBean.env.FrameworkWRD is missing [jboss.naming.context.java.jboss.resources.FrameworkWRD]",

    Continue reading...

Compartilhe esta Página