I'm crazy trying to fix this exception: javax.naming.NameNotFoundException: without any obligation
This is a Strippers web app built in Intelligence and is being deployed at Jeff 4.2.3 (4.2.3 because there are problems with the later versions in the St. I have successfully used 4.2.3 , So I know that this is not a problem). I have a session bean called "LismanGearbin". I checked jboss jndi tree, and can not be found anywhere else. So it seems that the problem is that the jar is not being deployed. I saw my ear in the file, and it has both war and jar. The structure of the ear looks like this:
married Air | - Laurel Homer | - LaurenceWire | - [A bunch of other jars] | - Meta-INF | - application.xml | - MANIFEST.MF
application.xml looks like this:
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Application xmlns = "http://java.sun.com/xml/ns/javaee" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" XSI: schema location = "http: / /java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd "version =" 5 "& gt; & Lt; Display-name & gt; Lawless & lt; / Display-name & gt; & Lt; Module id = "useless-ejb" & gt; & Lt; EJB & gt; Lawless.jar & lt; / EJB & gt; & Lt; / Module & gt; & Lt; Module id = "useless-web" & gt; & Lt; Web & gt; & Lt; Web uri & gt; Lawless.war & lt; / Web uri & gt; & Lt; Context root & gt; / & Lt; / Reference root & gt; & Lt; / Web & gt; & Lt; / Module & gt; & Lt; / Application & gt;
Am I missing something? help please.
You can view the server logfile and follow the deployment of your ear file. If the jar file can not be deployed, you will get more or less meaningful error message, in which the error will be searched.
Comments
Post a Comment