# HG changeset patch # User jurzua # Date 1414589455 0 # Node ID 8ce07918ec8a7512e513cd3817ecf5720964c046 # Parent 1e4835334837a91c83fe2017a3ff70eb83bb6f37 diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/build.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/build.xml Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ### SCRIPTS COMMANDS ### + + *** commands list *** + ShowRepositoryName: show the amount of Repositories without name attribute. + RepositoryName: create an attribute name for all repositories without one. + NormalizeOWEntities: generate the normalizedOW for the entities marked as CURRENT_VERSION. + NormalizeOWAttributes: generate the normalizedOW for the attributes marked as CURRENT_VERSION. + DoubleRelationsShow + DoubleRelationsReduce + GenerateWitnessOwnValue + CurrentVersionForRelations + RoleToRelation use -DfilePath to set location of the definition's file. + + + + + diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/hibernate.cfg.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/hibernate.cfg.xml Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,55 @@ + + + + + + + 1 + 300 + 120 + 25 + 1 + 0 + select 1; + + org.hibernate.connection.C3P0ConnectionProvider + + + + + org.mpi.openmind.repository.utils.CustomMysqlDialect + com.mysql.jdbc.Driver + jdbc:mysql://localhost/openmind?characterEncoding=UTF-8 + UTF-8 + root + admin + + + + thread + + + + + + + + + + + + + + + + + + + + + diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/hibernate.cfg.xml.template --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/hibernate.cfg.xml.template Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,39 @@ + + + + + + + true + org.hibernate.cache.EhCacheProvider + true + false + true + + + org.mpi.openmind.repository.utils.CustomMysqlDialect + com.mysql.jdbc.Driver + jdbc:mysql://localhost/openmind?characterEncoding=UTF-8 + root + admin + UTF-8 + + thread + org.hibernate.cache.NoCacheProvider + + + + + + + + + + + + + + + + + diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/log4j.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/log4j.properties Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,41 @@ +### direct log messages to stdout ### +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.Target=System.out +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n + +### direct messages to file hibernate.log ### +log4j.appender.file=org.apache.log4j.FileAppender +log4j.appender.file.File=${catalina.home}/logs/hibernate.log +log4j.appender.file.layout=org.apache.log4j.PatternLayout +log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n + +log4j.appender.persistenceServiceFile=org.apache.log4j.FileAppender +log4j.appender.persistenceServiceFile.File=${catalina.home}/logs/persistenceService.log +log4j.appender.persistenceServiceFile.layout=org.apache.log4j.PatternLayout +log4j.appender.persistenceServiceFile.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n + +### set log levels - for more verbose logging change 'info' to 'debug' ## + +log4j.rootLogger=info, file + +log4j.logger.org.mpi.openmind.repository.services.PersistenceService=info, persistenceServiceFile +log4j.logger.org.mpi.openmind.search.SearchService=info, persistenceServiceFile + +#log4j.logger.net.sf.hibernate=debug, stdout +#Hibernate +#log4j.logger.org.hibernate.cfg=debug, file +#log4j.logger.org.hibernate.cfg.annotations.Version=info, stdout +#log4j.logger.org.hibernate.cfg.Environment=info, stdout +#log4j.logger.org.hibernate.cfg.AnnotationBinder=info, stdout + + +### enable the following line if you want to track down connection ### +### leakages when using DriverManagerConnectionProvider ### +#log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace + +### log JDBC bind parameters ### +#log4j.logger.net.sf.hibernate.type=debug + +### log prepared statement cache activity ### +#log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/openmind-context.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/openmind-context.xml Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/openmind.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/openmind.properties Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,2 @@ +scheduling-path=/home/jurzua/ismi-backup +scheduling-enable=true \ No newline at end of file diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/own-value.cfg.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/own-value.cfg.xml Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 1e4835334837 -r 8ce07918ec8a src/main/resources/own-value.cfg.xml.template --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/resources/own-value.cfg.xml.template Wed Oct 29 13:30:55 2014 +0000 @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +