Ubik Batch Server FAQ

From UbikWiki

(Difference between revisions)
(How do I change the retension period for Batches History in Database)
(I have the following messages in the logs)

Line 36:

Line 36:

</source>
</source>
 +
=== My database type is not correctly detected ===
 +
Open <INSTALL_DIR>/config/config.properties and set HIBERNATE_CONFIGURED_DIALECT:
 +
<source lang="text">
 +
# Force a dialect for Hibernate to override auto detection
 +
# For DB2 : com.ubikingenierie.console.persistance.hibernate.DB2ExtendedDialect (see [http://opensource.atlassian.com/projects/hibernate/browse/HHH-1753])
 +
HIBERNATE_CONFIGURED_DIALECT=org.hibernate.dialect.MySQL5InnoDBDialect
 +
</source>
=== I have the following messages in the logs ===
=== I have the following messages in the logs ===
<source lang="text">
<source lang="text">

Line 44:

Line 51:

<source lang="text">org.hibernate.engine.loading.LoadContexts=ERROR</source>
<source lang="text">org.hibernate.engine.loading.LoadContexts=ERROR</source>
In <INSTALL_DIR>/config/log.properties
In <INSTALL_DIR>/config/log.properties
 +
=== Authors ===
=== Authors ===
* Philippe Mouawad
* Philippe Mouawad

Revision as of 17:35, 18 November 2007

Contents

Administration

How do I change the retension period for Batches History in Database

Open the file <INSTALL_DIR>/config/config.properties and change:

# Cleanup delay in days for tables BATCH_HEAD and BATCH_TRT
CLEANUP_DELAY=30

How do I setup my mail server parameters

Open the file <INSTALL_DIR>/config/mail.xml and change:

<?xml version="1.0" encoding="UTF-8"?>
<!-- #Release @VERSION@ at @DATE@ -->
<mail>
	<mailHost>smtp.ubik-ingenierie.com</mailHost>
	<mailer>UbikBatch</mailer>
	<mailPort>25</mailPort>
</mail>

How do I declare my custom extension

Open the file <INSTALL_DIR>/config/extension-manager.xml and add:

<extension className="com.ubikingenierie.console.si3si.extension.SI3SIExtension" >
  </extension>

I get the following message on deployment of a big BAR

java.lang.OutOfMemoryError: PermGen space

Ensure you use the last JDK 5 available version Open <INSTALL_DIR>/bin/setEnv.bat or <INSTALL_DIR>/bin/setenv.cfg and set correctly the PermGen space using JAVA_OPTS:

-XX:MaxPermSize=128M

My database type is not correctly detected

Open <INSTALL_DIR>/config/config.properties and set HIBERNATE_CONFIGURED_DIALECT:

# Force a dialect for Hibernate to override auto detection
# For DB2 : com.ubikingenierie.console.persistance.hibernate.DB2ExtendedDialect (see [http://opensource.atlassian.com/projects/hibernate/browse/HHH-1753])
HIBERNATE_CONFIGURED_DIALECT=org.hibernate.dialect.MySQL5InnoDBDialect

I have the following messages in the logs

11:49:27,464 WARN LoadContexts? fail-safe cleanup (collections)... org.hibernate.engine.loading.CollectionLoadContext@cd7045<rs=org.hsqldb.jdbc.jdbcResultSet@192e6b6>

Nothing's wrong, it's a small issue that will be resolved in future versions of Hibernate, since it's indirectly a logging issue, you can hide those messages by adding:

org.hibernate.engine.loading.LoadContexts=ERROR

In <INSTALL_DIR>/config/log.properties

Authors

  • Philippe Mouawad

History

  • Page created by Pmouawad, 18 November 2007: New page: === Authors === * Philippe Mouawad === History ===
  • Last modified by Pmouawad, 10 January 2014: /* What is the difference between SUPER ADMIN and ADMIN in Mail notifications ? */
Personal tools