Getting client/server running - worked for me [message #573821] |
Mon, 18 May 2009 08:09 |
Eclipse User |
|
|
|
This assumes you have created an empty OSEE PostgreSQL database already
and have downloaded the "all-in-one" package.
Create a connection.xml file (located in C:\Program Files\OSEE\Application
Server in my case) with the following content, where "OSEEServer" is the
DNS/hosts file name for the machine that is going to be running the app
server.
<DbConnection>
<DatabaseInfo id="postgresqlInfo">
<DatabaseHome key="#DBHOME#"/>
<DatabaseName key="#DBNAME#" value="OSEE" />
<DatabaseType key="#TYPE#" value="postgresql" />
<Prefix key="#PREFIX#" value="jdbc:postgresql" />
<UserName key="#USERNAME#" value="osee" />
<Password key="#PASSWORD#" value="osee" />
<Host key="#HOST#" value="@AvailableDbServices.hostAddress" />
<Port key="#PORT#" value="@AvailableDbServices.port" />
</DatabaseInfo>
<ConnectionDescription id="postgresql" >
<Driver>org.postgresql.Driver</Driver>
<Url>#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#</Url>
</ConnectionDescription>
<AvailableDbServices>
<Server id="OSEE" dbInfo="postgresqlInfo"
hostAddress="OSEEServer" port="5432"
connectsWith="postgresql" isProduction="false" />
</AvailableDbServices>
</DbConnection>
Then execute the following command line:
java -Dosee.log.default=INFO -Dorg.osgi.service.http.port=8089
-Dosgi.compatibility.bootdelegation=true -Xmx512m -Dequinox.ds.debug=true
-Dosee.connection.info.uri="C:\Program Files\OSEE\Application
Server\connection.xml" -Dosee.db.connection.id=OSEE -jar
org.eclipse.osgi_3.4.0.v20080326.jar -console
The server is now up and running.
Modify the oseeDbInitRemotec.ini file so it contains:
-startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819. jar
--launcher.library
plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101 .R34x_v20080731
-application
org.eclipse.osee.framework.database.configClient
-showsplash
org.eclipse.osee.framework.ui.product
--launcher.XXMaxPermSize
256m
-console
-debug
-vmargs
-Xms40m
-Xmx700m
-Dosee.choice.on.db.init=OSEE Demo Database
-Dosee.prompt.on.db.init=false
-Dosee.log.default=INFO
-Dosee.application.server=http://OSEEServer:8089
-Dosee.authentication.protocol=trustAll
Execute oseeDbInitRemotec.exe - this will initialise the database.
Modify the oseeAppServerRemotec.ini file so it contains:
-startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819. jar
--launcher.library
plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101 .R34x_v20080731
-product
org.eclipse.osee.framework.ui.product.osee
-showsplash
org.eclipse.osee.framework.ui.product
--launcher.XXMaxPermSize
256m
-console
-vmargs
-Xms40m
-Xmx700m
-Dosee.log.default=INFO
-Dosee.application.server=http://OSEEServer:8089
-Dosee.authentication.protocol=trustAll
Execute oseeAppServerRemotec.exe to run the client.
|
|
|
Powered by
FUDForum. Page generated in 0.03562 seconds