1 Reply Latest reply on Sep 19, 2002 1:37 AM by s3ma4

    Newbie problems: PGSQL, JBOSS3.0.2, RH7.2,  Cannot Start JBo

    s3ma4

      Hi,

      I'm having a problem starting the JBoss server after I modify the config as described in the template and in this forum.
      These are the steps I took:
      - copy postgres-service.xml into the 'deploy' dir , and adjust the settings in the file as instructed (more below, this may be where my problem lies)
      - adjust the login-config.xml
      - copy the pg jdbc driver to the lib directory.

      When I start my JBoss server after making these modifications, here is the error I get:
      23:17:46,068 INFO [HypersonicDatabase] Starting
      23:17:46,133 INFO [HypersonicDatabase] Started
      23:17:46,135 INFO [MainDeployer] Deployed package: file:/opt/dev/jboss/jboss-3.0.2/server/default/deploy/hsqldb-service.xml
      23:17:46,137 INFO [MainDeployer] Starting deployment of package: file:/opt/dev/jboss/jboss-3.0.2/server/default/deploy/postgres-service.xml
      23:17:46,219 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@c8addbdc{ url=file:/opt/dev/jboss/jboss-3.0.2/server/default/deploy/postgres-service.xml, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Exception getting document; - nested throwable: (org.xml.sax.SAXParseException: Illegal character or entity reference syntax.)
      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:668)
      ...


      Here is what my postgres-service.xml looks like:



      PostgresDbRealm

      <depends optional-attribute-name="ManagedConnectionFactoryName">
      <!--embedded mbean-->

      <!-- ========== Set the JndiName ======================= -->
      PostgresDS


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:postgresql://localhost:5423/rpmaster</config-property>
      <config-property name="DriverClass" type="java.lang.String">org.postgresql.Driver</config-property>
      <!--set these only if you want only default logins, not through JAAS -->
      <config-property name="UserName" type="java.lang.String"></config-property>
      <config-property name="Password" type="java.lang.String"></config-property>




      <!--Below here are advanced properties -->

      (file unmodified below)



      any ideas ?

      thanks