Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-79

Error In pm-ds.xml file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.7.00-RC1
    • None
    • Install, PM Cell
    • None
    • Centos 6.4 in VM using postgres 9.1 1.7.0 RC2 is what I have but it's not in upur Version list in Jira
    • Rank:
      0|i000pz:

    Description

      In doing my first deploy of the PM module I received the following error in the JBoss log :

      I needed to change the pool-name to something different ( I used PMBootStrapDSPool , below ) than the jndi-name and redeploy this file , then it worked :

      Log of failure :

      5 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment i2b2.war
      11:28:27,994 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found i2b2.war in deployment directory. To trigger deployment create a file called i2b2.war.dodeploy
      11:28:28,035 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      11:28:28,061 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Operation ("add") failed - address: ([("deployment" => "pm-ds.xml")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"pm-ds.xml\")]"
      11:28:28,065 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      11:28:28,066 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 3606ms - Started 133 of 208 services (74 services are passive or on-demand)

      File that worked with new pool name :

      <?xml version="1.0" encoding="UTF-8"?>
      <datasources xmlns="http://www.jboss.org/ironjacamar/schema">
              <datasource jta="false" jndi-name="java:/PMBootStrapDS" pool-name="PMBootStrapDSPool" enabled="true" use-ccm="false">
                      <connection-url>jdbc:postgresql://xxx.xxx.xxx.xxx:5432/postgres?searchpath=i2b2pm&lt;/connection-url>
                      <driver>postgresql-9.2-1002.jdbc4.jar</driver>
                      <security>
                              <user-name>i2b2pm</user-name>
                              <password>demouser</password>
                      </security>
                      <validation>
                              <validate-on-match>false</validate-on-match>
                              <background-validation>false</background-validation>
                      </validation>
                      <statement>
                              <share-prepared-statements>false</share-prepared-statements>
                      </statement>
              </datasource>
      </datasources>

      Attachments

        Activity

          People

            mem61 Mike Mendis
            kowalskg George Kowalski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: