A JDBC application can establish a connection to a data source using the JDBC. See 'Properties for the IBM Data Server Driver for JDBC and SQLJ' for the. Use this information to configure a DB2 database for use with Alfresco Content Services. • Install the DB2 database connector. The database connector allows DB2 database to talk to the server. • Obtain a copy of db2jcc4.jar. This should be available in the /java or /jdbc directory of your DB2 installation. • Copy the JAR file into the /lib directory for Tomcat. • Increase the available connections in DB2. • Follow these instructions to increase the max_connections setting to 275: • Run the following command: update dbm cfg using max_connections 275 automatic • Create a database named alfresco. Create the database with a larger page size of 32 KB. Ensure that the database is created with the UTF-8 character set. If you do not create the database with these settings, you will see error SQL0286N ( sqlCode -286, sqlstate 42727) because the schema is created for tables that do not fit the page size. ![]() • Ensure that the cur_commit database configuration parameter is set to ON. Removing dassault systemes software prerequisites is forbidden. Cisco air lap521g a k9 manual lymphatic drainage. For new databases, this parameter is set to ON, by default. If you have upgraded from a previous DB2 release, you must set this parameter manually. • Create a user named alfresco and set the associated schema. This user must have write permissions on all tables and sequences. DB2 only integrates with the operating system security. You can not add a database user with a password in the DB2 database as you can with some other databases, for example the Oracle database. • Open the /alfresco-global.properties.sample file. • Locate the following line: dir.root=./alf_data • Edit the line with an absolute path to point to the directory in which you want to store Alfresco Content Services data. For example: dir.root=C:/Alfresco/alf_data • When using a schema which does not match the DB2 username, set the currentSchema and hibernate.default_schema properties as shown below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |