Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OSEE » Getting client/server running - worked for me
Getting client/server running - worked for me [message #573821] Mon, 18 May 2009 12:09
Mark D-B is currently offline Mark D-BFriend
Messages: 188
Registered: July 2009
Senior Member
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.
Previous Topic:OSEE Quickstart - Tutorial to get you up and running...
Next Topic:Prerequisites for MS Word edit to work for client/server?
Goto Forum:
  


Current Time: Sun Nov 23 19:17:56 GMT 2014

Powered by FUDForum. Page generated in 0.02283 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software