0 Replies Latest reply on Nov 20, 2002 8:59 AM by Matthias Lakämper

    Connection to Sapdb

    Matthias Lakämper Newbie

      Hi,

      i have a little Problem with the Connection-Url of Sapdb (www.sapdb.org).

      The isolation-Level and the connection-Timeout can be set in the Connection-Url:

      jdbc:sapdb://computer/DBName?timeout=0&isolation=1

      when i set that in xxx-service.xml there is a Problem on Startup of JBoss.

      14:03:02,952 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@c34ea2b5{ url=file:/C:/JBoss/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/sapdb-service.xml, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Exception getting document; - nested throwable: (org.xml.sax.SAXParseException: Next character must be ";" terminating reference to entity "isolation".)
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:635)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:150)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:673)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:609)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      ...

      Afaik this is the only way to set timeout and isolation-Level in Sapdb.
      Is it perhaps possible, to change the parse-rules ?

      Regards Matthias