# This is a Spring Boot application properties file with iKnowBase extensions # See Spring Boot documentation for details and available common options # - http://docs.spring.io/spring-boot/docs/2.1.11.RELEASE/reference/htmlsingle/ # Database connectivity for iKnowBase embedded application # -------------------------------------------------------------------- # NOTE: If you are deploying to WebLogic do not specify any spring.datasource options (it should use JNDI) spring.datasource.url=jdbc:oracle:thin:@//localhost:1521/ORCL # - You can also use the Oracle*Net connection descriptor syntax (recommended if connecting through firewall) #spring.datasource.url=jdbc:oracle:thin:@(DESCRIPTION = (ENABLE = BROKEN)(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = ORCL)(FAILOVER_MODE =(TYPE = SESSION)(METHOD = BASIC)))) spring.datasource.username= spring.datasource.password= # Datasource Tuning (defaults are shown) # See https://github.com/brettwooldridge/HikariCP/wiki/Configuration details #spring.datasource.hikari.maximumPoolSize=50 #spring.datasource.hikari.minimumIdle=1 #spring.datasource.hikari.maxLifetime=1800000 #spring.datasource.hikari.idleTimeout=600000 #spring.datasource.hikari.connectionTimeout=3000 #spring.datasource.hikari.validationTimeout=2000 # Setup utility configuration # -------------------------------------------------------------------- #com.iknowbase.setup.database.sysUser= #com.iknowbase.setup.database.sysPassword= #com.iknowbase.setup.database.sysPrivilege=sysdba #com.iknowbase.setup.database.dataPumpDirectory=DATA_PUMP_DIR #com.iknowbase.setup.database.useMultipleTablespaces=false #com.iknowbase.setup.database.defaultTablespace= #com.iknowbase.setup.database.allowDropUserCascade=false #com.iknowbase.setup.database.zipFile=${quickstart.home}/etc/iknowbase-database-8.0.1.zip #com.iknowbase.setup.database.failOnSqlError= #com.iknowbase.setup.database.dataPumpVersion=LATEST #com.iknowbase.setup.database.dataPumpXmltypeClob=false #com.iknowbase.setup.database.dataPumpJobName=DATAPUMP_QUICKSTART #com.iknowbase.setup.database.connectionProperties.key=value #com.iknowbase.setup.log.logDirectory=./work/logs #com.iknowbase.setup.log.filePrefix=log-${date}- #com.iknowbase.setup.log.fileDefaultExtension=.log.html # Logging # -------------------------------------------------------------------- # Log directory # Tip: Disable logging.path and logging.config to get CONSOLE log only logging.path=./work/logs # Log configuration logging.config=classpath:log4j2-default.properties #logging.config=classpath:log4j2-all.properties #logging.config=classpath:log4j2-console-all.properties #logging.config=classpath:log4j2-development.properties #logging.config=classpath:log4j2-memory.properties #logging.config=classpath:log4j2-quiet.properties #logging.config=classpath:log4j2-stdout.properties #logging.config=classpath:log4j2-trace.properties # Truncate log files on server start #com.iknowbase.log4j.truncate=false # iKnowBase Database Appender (Specialized logger logging to iKnowBase database repository) #com.iknowbase.log4j.appenders.database.enabled=true #com.iknowbase.log4j.appenders.database.threshold=WARN # Spring Boot's banner (off, console, log) spring.main.banner-mode=off # Example setting log levels #logging.level.org.springframework=INFO #logging.level.org.eclipse.jetty=INFO #logging.level.com.iknowbase=INFO # Access log (iKnowBase Embedded Jetty only) # - Enabled and adds iknowbase.request.yyyy_mm_dd.log to ./work/logs by default # - Note that static resources will not be logged with a username for performance reasons #com.iknowbase.server.jetty.accessLog.enabled=true #com.iknowbase.server.jetty.accessLog.directory= (defaults to logging.path property if not explicitly set) #com.iknowbase.server.jetty.accessLog.dailyRollingEnabled=true #com.iknowbase.server.jetty.accessLog.dailyRollingRetainDays=0 #com.iknowbase.server.jetty.accessLog.logCookies=false #com.iknowbase.server.jetty.accessLog.logExtendedFormat=false #com.iknowbase.server.jetty.accessLog.logServer=false # Spring Boot's debug logging feature (default disabled) #debug=false # Embedded server # -------------------------------------------------------------------- # For HTTP (non-SSL) #server.port=8080 # For HTTPS (SSL/TLS) # NOTE: If you want to have both HTTP and HTTPS active at the same time set # - server.* to HTTPS configuration # - com.iknowbase.server.jetty.* to additional HTTP configuration #server.port=8443 #server.ssl.key-store= #server.ssl.key-store-password= #server.ssl.key-password= # For HTTP/2 (enabling requires SSL/TLS config) #server.http2.enabled=false # iKnowBase Embedded Jetty extensions # Add HTTP listener (in addition to HTTPS listener in server.*) #com.iknowbase.server.jetty.httpListener.port= #com.iknowbase.server.jetty.threadPool.maxThreads=200 #com.iknowbase.server.jetty.threadPool.minThreads=8 #com.iknowbase.server.jetty.threadPool.idleTimeout=60000 #com.iknowbase.server.jetty.maxRequestHeaderSize=32768 # Support for X-Forwarded-* headers from a reverse proxy #server.use-forward-headers=false # Compression # server.compression.enabled=true # server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript # com.iknowbase.server.jetty.gzip.excludedPaths=/ikbInstant/* # Static resource handling # .pathPatterns (required): # Spring Ant Path Pattern (comma delimited) # .locations (required): # Actual locations of the static files. Typical with "classpath:" or "file:" prefix. (comma delimited) # .nonVersionedCacheControlResponse # Cache-Control response header to send for a non-versioned resource (iknowbase.css). Defaults are shown below. # .versionedCacheControlResponse # Cache-Control response header to send for a versioned resource (iknowbase-.css). Defaults are shown below. # .cacheResourceResolution # Cache resolved resources. Enable for increased performance. Note that if this cache is enabled any changes made to # existing files will not be picked up without server restart. # iKnowBase standard embedded resources # - Embedded resource handler#0: /** for classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ # - Excludes /ressurs/**, /plugin-resources/** and /webjars/** paths from security and session handling, which means that # resources located here are public and have less overhead compared to a "generic" resource served elsewhere by this handler. #com.iknowbase.server.resource.embedded.handlers[0].nonVersionedCacheControlResponse=max-age=3600, public #com.iknowbase.server.resource.embedded.handlers[0].versionedCacheControlResponse=max-age=2592000, public # You may add custom handlers like this (map /custom-resources to a file system directory) # All custom resources are excluded from security and session handling, which means that resources located here are # public and have less overhead compared to a "generic" resource served elsewhere by the embedded handler. #com.iknowbase.server.resource.custom.defaultCacheResourceResolutionEnabled=true #com.iknowbase.server.resource.custom.handlers[0].pathPatterns=/custom-resources/** #com.iknowbase.server.resource.custom.handlers[0].locations=file:customResources/ #com.iknowbase.server.resource.custom.handlers[0].nonVersionedCacheControlResponse=max-age=3600, public #com.iknowbase.server.resource.custom.handlers[0].versionedCacheControlResponse=max-age=2592000, public #com.iknowbase.server.resource.custom.handlers[0].cacheResourceResolution=true # Enable shutdown capabilities # - Will send shutdown to any other server on same port before starting (HTTP POST). This allows for significant faster # restart compared to normal stop + start since the new server will be close to ready when the shutdown signal is sent. # - The internal token (password) used to shutdown the server (capability is disabled if token is not set) #com.iknowbase.server.jetty.shutdown.token= # Plugin deployment service # - This service simplifies remote deployment of plugins by enabling upload of iKnowBase plugin .jar files + restart of # iKnowBase without server login access. # The directory plugins are uploaded to. The actual directories loaded by iKnowBase is configured in "loader.path". #com.iknowbase.server.deploy.pluginDirectory=./plugins # How iKnowBase is restarted. Hot-restart with "Enable shutdown capabilities" is recommended to minimize downtime. #com.iknowbase.server.deploy.restartCommand= # Authorization: The global deployment token that allows the request to be processed #com.iknowbase.server.deploy.authorization.deploymentToken= # Authorization: Allow deployments using admin credentials (default denied). This also enables deployment through /ikb$console. #com.iknowbase.server.deploy.authorization.allowAdminDeployment=false # Authorization: Regular expression restriction matching against the host name of the server to which the request was sent. #com.iknowbase.server.deploy.authorization.serverNameExpr= # Authorization: Regular expression restriction matching against the end client's IP address. #com.iknowbase.server.deploy.authorization.remoteAddrExpr= # Authorization: Regular expression restriction matching against the immediate client's IP address (typically a reverse proxy). ONLY available for iKnowBase web server. #com.iknowbase.server.deploy.authorization.realRemoteAddrExpr= # Authorization: Restriction defining required HTTP request header name (if any), see requestHeaderExpr for validation expr of value. #com.iknowbase.server.deploy.authorization.requestHeaderName= # Authorization: Regular expression restriction matching against the HTTP request header specified in requestHeaderName. #com.iknowbase.server.deploy.authorization.requestHeaderExpr= # Session # -------------------------------------------------------------------- # Session idle timeout in seconds #com.iknowbase.spring.session.maxInactiveInterval=2100 # Name of session cookie #com.iknowbase.spring.session.cookieName=IKBSESSION # Path of seession cookie (defaults to context root of application) #com.iknowbase.spring.session.cookiePath=/ # Session cookie timeout in seconds. -1 means at end of browser session (close browser). #com.iknowbase.spring.session.cookieMaxAge=-1 # Session cookie domain (explicit set) #com.iknowbase.spring.session.domainName= # Session cookie domain using regular expression (more dynamic and supports multiple domains). Will use first grouped match. # Example: ^.+?\\.(\\w+\\.[a-z]+)$ # Will match iknowbase.com for requests to example.iknowbase.com and another.example.iknowbase.com. # Will not match localhost and for localhost it will not override the cookie domain name either. #com.iknowbase.spring.session.domainNamePattern= # JVM settings used by iknowbase.sh for starting the application (Linux only): # -------------------------------------------------------------------- # Java executable (defaults to use "java" resolved by environment) #JAVA_PROGRAM=java # JVM options #JAVA_OPTIONS=-Xmx1024m # Plugins (*.jar or directory containing *.jar) to add to classpath. Comma delimited # - Does not nest to sub directories. # - Does not support relative parent directory (../). #loader.path=./plugins # -------------------------------------------------------------------- # Additional iKnowBase configuration # -------------------------------------------------------------------- # Example: # com.iknowbase.viewer.enabled=true