Jump to content

Any solution for the Getting SAXParseException?


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...