Hi, I'm using deployment descriptor for ejb2.0 on websphere application server. I needs to use timer service(non persistent property) in the deployment descriptor. But while running the build to create a deployable jar, i'm getting below exception. "org.xml.sax.SAXParseException: Element type "timer" must be declared." I'm having the doubt that non persistent timer property is available from ejb 3.1, but i'm using ejb 2.0 DTD in my descriptor code. <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/...ejb-jar_2_0.dtd"> Can anyone tell me whether i'm correct? if not let me know the solution...
Any solution for the Getting SAXParseException?
in XML
Posted
Hi, I'm using deployment descriptor for ejb2.0 on websphere application server. I needs to use timer service(non persistent property) in the deployment descriptor. But while running the build to create a deployable jar, i'm getting below exception. "org.xml.sax.SAXParseException: Element type "timer" must be declared." I'm having the doubt that non persistent timer property is available from ejb 3.1, but i'm using ejb 2.0 DTD in my descriptor code. <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/...ejb-jar_2_0.dtd"> Can anyone tell me whether i'm correct? if not let me know the solution...