Menu

I cannot run dbsql2xml in a Servlet.

Help
Corky
2005-11-02
2013-04-02
  • Corky

    Corky - 2005-11-02

    Hi Stepan,

    Love your product - it fits my needs perfectly. I can and have run it as a Java app quite well against my Postgres DB, and it is really good. Beautiful.

    But I cannot get it to run as a Servlet!

    I am getting quite a few errors, the most common of which is something like this:

    javax.servlet.ServletException: Servlet execution threw an exception:

    java.lang.NoSuchMethodError: org.w3c.dom.Document.normalizeDocument()V
        com.dbsql2xml.doExport(dbsql2xml.java:224)
        com.dbsql2xml.doExportIntoString(dbsql2xml.java:306)
        com.dataServlet.service(dataServlet.java:47)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

    I am using Eclipse 3.1.0, JDK1.5.0_02 & Tomcat 5.0.29

    I've just about gone crazy adding all sorts of libraries to the build path, but nothing has made a difference.

    Any pointers would be most welcome, and thanks for your time,

    Corky.

     
    • Stepan RYBAR

      Stepan RYBAR - 2005-12-08

      Hi Corky!

      I am sorry I did not answer to You, byt I did not mentioned e-mail from SourceForge.net about Your post among spam and e-mail discussions posts.

      Well, to Your question - are You sure, that Your Tomcat 5.0.29 is using Java 1.5.x? So, that system Java is only one and it is 1.5.x? This error looks like Tomcat is using Java 1.4.x.
      Tomcat 5.0.x is designed for Java 1.4.x opposite to Tomcat 5.5.x, which is designed for Java 1.5.x. In other words, there is no support of up-to-date JAXP (Java API for XML).

      Hope, this helps You, although so long after Your post.

      Stepan, "xrybs01@seznam.cz"

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.