Warning message

A translation for your language preference does not exist.

Does EJB 3.1 applications require both annotations and ejb-jar.xml to deploy correctly in JBoss EAP 6?

Solution In Progress - 업데이트됨 - 한국어 번역 요청

문제

  • Does EJB 3.1 applications require annotations as well as ejb-jar.xml to deploy correctly in JBoss EAP 6. In my case I have to use both to run project. In my project when I don't use ejb-jar .xml, then it shows the below error :
16:49:42,459 ERROR  [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014612: Operation ("full-replace-deployment") failed- address: ([]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"ejb3.1.ear\".\"ejb3.1.jar\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"ejb3.1.ear\".\"ejb3.1.jar\".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment
\"ejb3.1.jar\" of deployment \"ejb3.1.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014551: <session-type> not specified for ejb ejb3.1. This must be present in ejb-jar.xml"}}

환경

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content