Thanks a lot Jaikiran... It worked !!!!!!!
It also worked when i added <module-name> in jboss-ejb3.xml
thanks a tonn !!!
Hi Jaikiran,
I am getting another issue... actually this is a xsd issue...
My application.xml uses this xsd:
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" version="1.4">
and under this <application-name> doesnot work...
Earlier i had modified this file directly and so it had worked...
and now i am modifying this in eclipse...
please help me in this
Use the new xsd:
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6"> .... </application>
i tried this out but it didn't work... still i am unable to add the <application-name> tag..
the following error is there :
cvc-complex-type.2.4.a: Invalid content was found starting with element 'application-name'. One of '{"http://
java.sun.com/xml/ns/javaee":display-name, "http://java.sun.com/xml/ns/javaee":icon, "http://java.sun.com/
xml/ns/javaee":initialize-in-order, "http://java.sun.com/xml/ns/javaee":module}' is expected.
am i missing anything?
Finally it is working..
thanks a lot