Jump to content

Any solution for the Getting SAXParseException?


sattanathan

Recommended Posts

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...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...