KP-Lab Portal Properties

Currently there are two properties files there. One for connecting to the KP-Lab database by using the really not cool way of JDBC connections and the other is for connection to the SWKM server.

Currently these files under portal source. The exact location is portal/src/webapp/WEB-INF/conf. Filenames are kplab-connection.properties and services.properties.

Usage

Both of these should be placed somewhere on Java classpath. A good and handy place is shared/classes under the Tomcat installation.

Samples

kplab-connection.properties:


# KP-Lab connection properties org.kplab.db.user = root org.kplab.db.pass = root org.kplab.db.kplab.string = jdbc:mysql://localhost/kplab org.kplab.db.js.string = jdbc:mysql://localhost/j2 org.kplab.db.driver = com.mysql.jdbc.Driver

Change as needed per the local mysql installation.

services.properties:


# Declaration of services' wsdl locations for EVTEK server rdfsuite.services.importer.wsdl = http://kr.mobile.evtek.fi:3027/SwkmMiddlewareWS/importer?wsdl rdfsuite.services.exporter.wsdl = http://kr.mobile.evtek.fi:3027/SwkmMiddlewareWS/exporter?wsdl rdfsuite.services.debug.wsdl = http://kr.mobile.evtek.fi:3027/SwkmMiddlewareWS/debug?wsdl rdfsuite.services.query.wsdl = http://kr.mobile.evtek.fi:3027/SwkmMiddlewareWS/query?wsdl rdfsuite.services.update.wsdl = http://kr.mobile.evtek.fi:3027/SwkmMiddlewareWS/update?wsdl kms-re.service.wsdl = http://kr.mobile.evtek.fi:8080/kms-re-server/KMSRequestEngineServer?wsdl # Declaration of services' wsdl locations for FORTH server rdfsuite.services.importer.wsdl = http://139.91.183.100:3027/SwkmMiddlewareWS_ISA_1/importer?wsdl rdfsuite.services.exporter.wsdl = http://139.91.183.100:3027/SwkmMiddlewareWS_ISA_1/exporter?wsdl rdfsuite.services.debug.wsdl = http://139.91.183.100:3027/SwkmMiddlewareWS_ISA_1/debug?wsdl rdfsuite.services.query.wsdl = http://139.91.183.100:3027/SwkmMiddlewareWS_ISA_1/query?wsdl rdfsuite.services.update.wsdl = http://139.91.183.100:3027/SwkmMiddlewareWS_ISA_1/update?wsdl kms-re.service.wsdl = http://kplab.fei.tuke.sk:8080/kms-re-server/KMSRequestEngineServer?wsdl

This example includes strings for connecting both the EVTEK's kr server and Forth's swkm server. Use only ONE of these. Comment the one you are not using, that is place a # character at the beginning of the lines (or remove them).

Development Development tools

  Page Info My Prefs Log in
This page (revision-2) last changed on 18:24 25-Mar-2017 by Mikko Wuokko.
 

Referenced by
...nobody

JSPWiki v2.4.102
[RSS]