Database name does not get updated in database-ds.xml

  • 3001585
  • 25-May-2006
  • 26-Apr-2012

Environment

Novell User Application
Novell DirXML Identity Manager 3.0
Novell exteNd JBoss Application Server 4.0.2

Situation

When you perform a Custom installation of the user application, the database name is not updated in the database-ds.xml file.

Resolution

To work around this problem:
1) Shut down the JBoss server.
2) Open the file %APPLICATION_NAME%-ds.xml under %INSTALL_DIR%/jboss/server/%APPLICATION_NAME%/deploy.
3) In the tag, change the text"DatabaseName=IDM" to "DatabaseName=%your_database_name%".
4) Save your modification.
5) Start the JBoss server.

Additional Information

The following example shows the MyApp-ds.xml file. In this example, the database name is "mydatabase":
         
                        MyApp
                       jdbc:microsoft:sqlserver://Contusion:1433;DatabaseName=mydatabase
                        com.microsoft.jdbc.sqlserver.SQLServerDriver
                                      mydatabase
                                                        mydatabase