Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OSEE » OSEE Quickstart - Tutorial to get you up and running...
OSEE Quickstart - Tutorial to get you up and running... [message #12757] Mon, 20 April 2009 20:54 Go to next message
Donald Dunne is currently offline Donald DunneFriend
Messages: 194
Registered: July 2009
Senior Member
For those interested in getting OSEE up and running, we have posted our
tutorial slides from EcipseCon 2009 that brought attendees from eclipse
installation all the way through deploying OSEE with artifact/relation
types configuration and ATS configuration.

This presentation uses a fictitious company "T. Rex" as an example of
how to migrate and use OSEE.

http://www.eclipse.org/osee/OSEE_eclipsecon2009_tutorial_sli des.pdf
Re: OSEE Quickstart - Tutorial to get you up and running... [message #12837 is a reply to message #12757] Tue, 21 April 2009 12:58 Go to previous messageGo to next message
Trent Johnson is currently offline Trent JohnsonFriend
Messages: 14
Registered: July 2009
Junior Member
What/where is the "PostgreSql folder" mentioned in the tutorial"? And
therefore related what/where are the osee batch and script files mentioned
in the tutorial (note that many of them are not mentioned in the
installation documentation)?

Trent
Re: OSEE Quickstart - Tutorial to get you up and running... [message #12852 is a reply to message #12837] Tue, 21 April 2009 14:02 Go to previous messageGo to next message
Trent Johnson is currently offline Trent JohnsonFriend
Messages: 14
Registered: July 2009
Junior Member
Found them.

But the application server scripts (osee_app_server.bat) must be refering
to a newer version of the application server than the one on microdoc
( http://osee.microdoc.com/downloads/osee/server/0.7.0/server_ 0.7.0-2009-02-19_08_49.zip)
as the application jar file is "org.eclipse.osgi_3.4.0.v20080326.jar"
compared to the one in the batch file
"org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar"

Any hints of a way forward for getting the application server running?

Thanks,
Trent
Re: OSEE Quickstart - Tutorial to get you up and running... [message #13429 is a reply to message #12852] Tue, 21 April 2009 15:02 Go to previous messageGo to next message
Trent Johnson is currently offline Trent JohnsonFriend
Messages: 14
Registered: July 2009
Junior Member
I took a chance and assumed the Application Server was running and
executed the OSEE Demo Database initialization - it worked (with SEVERE
errors being reported, see below) and I was able to spin up the tutorial
version of eclipse and start working through the slides.


Results of db init:

C:\all-in-one>eclipsec -application
org.eclipse.osee.framework.database.configClient -vmargs -Xmx512m
-Dosee.log.default=INFO -Dosee.application.server=http
://localhost:8089
-Dosee.authentication.protocol=trustAllDosee.prompt.on.db.in it=false
-Dosee.choice.on.db.init="OSEE Demo Database"
Adding:
org.eclipse.osee.framework.core.client.internal.ClientDataba seProvider @132ae7
OSEE Application Server Validation [PASSED]
Tue Apr 21 11:27:06 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
INFO
org.eclipse.osee.framework.core.client.server.HttpServer$Int ernalHttpServer
run (136)
Starting HttpServer on port: [18001]


Are you sure you want to configure: OSEE:osee
Enter: [Y|N]

Y
Tue Apr 21 11:27:12 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
execute (94)
Configuring Database...

Tue Apr 21 11:27:12 ADT 2009
org.eclipse.osee.framework.db.connection.internal.InternalAc tivator
INFO org.eclipse.osee.framework.db.connection.OseeConnectionPool
getConnection (71)
getConnection - jdbc:postgresql://localhost:5432/OSEE - connection pool
size [1]

...
many INFO messages
...

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
runDbInitTasks (219)
Starting [org.eclipse.osee.framework.skynet.core.PostDbUserCleanUp]
execution rule [Default]

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.skynet.core.SkynetActivator
INFO org.eclipse.osee.framework.skynet.core.dbinit.PostDbUserClea nUp
run (39)
Post Initialization User Clean-up

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
INFO
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager
internalReleaseSession (163)
Session [AAABIMkSsNIBewmYQk6vaw] released.

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
SEVERE
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager
ensureSessionCreated (139)
http://localhost:8089/osee/session?operation=create
org.eclipse.osee.framework.core.exception.OseeAuthentication Exception:
http://localhost:8089/osee/session?operation=create
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.internalAcquireSession(InternalClientSessio nManager.java:215)
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.authenticate(InternalClientSessionManager.j ava:111)
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.ensureSessionCreated(InternalClientSessionM anager.java:128)
at
org.eclipse.osee.framework.core.client.ClientSessionManager. ensureSessionCreated(ClientSessionManager.java:38)
at
org.eclipse.osee.framework.skynet.core.ClientUser.populateCu rrentUser(ClientUser.java:58)
at
org.eclipse.osee.framework.skynet.core.ClientUser.getMainUse r(ClientUser.java:48)
at
org.eclipse.osee.framework.skynet.core.UserManager.getUser(U serManager.java:69)
at
org.eclipse.osee.framework.skynet.core.dbinit.PostDbUserClea nUp.run(PostDbUserCleanUp.java:61)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.runDbInitTasks(DatabaseInitializationOper ation.java:224)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.processTask(DatabaseInitializationOperati on.java:126)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.execute(DatabaseInitializationOperation.j ava:99)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.executeConfigureFromJvmProperties(Databas eInitializationOperation.
java:294)
at
org.eclipse.osee.framework.database.ConfigDatabase.start(Con figDatabase.java:32)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.io.IOException: Error during POST
[http://localhost:8089/osee/session?operation=create] - status code: [500]
at
org.eclipse.osee.framework.jdk.core.util.HttpProcessor.post( HttpProcessor.java:116)
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.internalAcquireSession(InternalClientSessio nManager.java:210)
... 24 more
Caused by: java.lang.Exception: HTTP/1.1 500 Internal Server Error
at
org.eclipse.osee.framework.jdk.core.util.HttpProcessor.post( HttpProcessor.java:108)
... 25 more

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.skynet.core.SkynetActivator
INFO org.eclipse.osee.framework.skynet.core.ClientUser setCurrentUser
(91)
You are logged into OSEE as "Guest". If this is unexpected notify your
OSEE admin

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
runDbInitTasks (219)
Starting [org.eclipse.osee.framework.skynet.core.SkynetDbBranchDataIm port]
execution rule [Default]

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
runDbInitTasks (219)
Starting [org.eclipse.osee.framework.database.PostDbInitializationPro cess]
execution rule [Default]

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
INFO
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
run (35)
Running Post-Initialization Process...

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
INFO
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
run (39)
Vacuumiing PostgreSQL

Tue Apr 21 11:27:51 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
processTask (136)
Database Initialization Complete.

Database Configurationg completed in [38.625 secs] ms
Removing:
org.eclipse.osee.framework.core.client.internal.ClientDataba seProvider @132ae7
Tue Apr 21 11:27:51 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
INFO
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager
internalReleaseSession (163)
Session [AAABIMkTV7ABgu9rSXachA] released.
Re: OSEE Quickstart - Tutorial to get you up and running... [message #15272 is a reply to message #13429] Sun, 17 May 2009 19:24 Go to previous message
Ray Joseph is currently offline Ray JosephFriend
Messages: 87
Registered: July 2009
Member
Trent,

Were you able to get up and running yet? If so, please tell how.

Thanks,
Ray
Re: OSEE Quickstart - Tutorial to get you up and running... [message #572759 is a reply to message #12757] Tue, 21 April 2009 12:58 Go to previous message
Trent Johnson is currently offline Trent JohnsonFriend
Messages: 14
Registered: July 2009
Junior Member
What/where is the "PostgreSql folder" mentioned in the tutorial"? And
therefore related what/where are the osee batch and script files mentioned
in the tutorial (note that many of them are not mentioned in the
installation documentation)?

Trent
Re: OSEE Quickstart - Tutorial to get you up and running... [message #572778 is a reply to message #12837] Tue, 21 April 2009 14:02 Go to previous message
Trent Johnson is currently offline Trent JohnsonFriend
Messages: 14
Registered: July 2009
Junior Member
Found them.

But the application server scripts (osee_app_server.bat) must be refering
to a newer version of the application server than the one on microdoc
( http://osee.microdoc.com/downloads/osee/server/0.7.0/server_ 0.7.0-2009-02-19_08_49.zip)
as the application jar file is "org.eclipse.osgi_3.4.0.v20080326.jar"
compared to the one in the batch file
"org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar"

Any hints of a way forward for getting the application server running?

Thanks,
Trent
Re: OSEE Quickstart - Tutorial to get you up and running... [message #572796 is a reply to message #12852] Tue, 21 April 2009 15:02 Go to previous message
Trent Johnson is currently offline Trent JohnsonFriend
Messages: 14
Registered: July 2009
Junior Member
I took a chance and assumed the Application Server was running and
executed the OSEE Demo Database initialization - it worked (with SEVERE
errors being reported, see below) and I was able to spin up the tutorial
version of eclipse and start working through the slides.


Results of db init:

C:\all-in-one>eclipsec -application
org.eclipse.osee.framework.database.configClient -vmargs -Xmx512m
-Dosee.log.default=INFO -Dosee.application.server=http
://localhost:8089
-Dosee.authentication.protocol=trustAllDosee.prompt.on.db.in it=false
-Dosee.choice.on.db.init="OSEE Demo Database"
Adding:
org.eclipse.osee.framework.core.client.internal.ClientDataba seProvider @132ae7
OSEE Application Server Validation [PASSED]
Tue Apr 21 11:27:06 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
INFO
org.eclipse.osee.framework.core.client.server.HttpServer$Int ernalHttpServer
run (136)
Starting HttpServer on port: [18001]


Are you sure you want to configure: OSEE:osee
Enter: [Y|N]

Y
Tue Apr 21 11:27:12 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
execute (94)
Configuring Database...

Tue Apr 21 11:27:12 ADT 2009
org.eclipse.osee.framework.db.connection.internal.InternalAc tivator
INFO org.eclipse.osee.framework.db.connection.OseeConnectionPool
getConnection (71)
getConnection - jdbc:postgresql://localhost:5432/OSEE - connection pool
size [1]

...
many INFO messages
...

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
runDbInitTasks (219)
Starting [org.eclipse.osee.framework.skynet.core.PostDbUserCleanUp]
execution rule [Default]

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.skynet.core.SkynetActivator
INFO org.eclipse.osee.framework.skynet.core.dbinit.PostDbUserClea nUp
run (39)
Post Initialization User Clean-up

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
INFO
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager
internalReleaseSession (163)
Session [AAABIMkSsNIBewmYQk6vaw] released.

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
SEVERE
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager
ensureSessionCreated (139)
http://localhost:8089/osee/session?operation=create
org.eclipse.osee.framework.core.exception.OseeAuthentication Exception:
http://localhost:8089/osee/session?operation=create
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.internalAcquireSession(InternalClientSessio nManager.java:215)
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.authenticate(InternalClientSessionManager.j ava:111)
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.ensureSessionCreated(InternalClientSessionM anager.java:128)
at
org.eclipse.osee.framework.core.client.ClientSessionManager. ensureSessionCreated(ClientSessionManager.java:38)
at
org.eclipse.osee.framework.skynet.core.ClientUser.populateCu rrentUser(ClientUser.java:58)
at
org.eclipse.osee.framework.skynet.core.ClientUser.getMainUse r(ClientUser.java:48)
at
org.eclipse.osee.framework.skynet.core.UserManager.getUser(U serManager.java:69)
at
org.eclipse.osee.framework.skynet.core.dbinit.PostDbUserClea nUp.run(PostDbUserCleanUp.java:61)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.runDbInitTasks(DatabaseInitializationOper ation.java:224)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.processTask(DatabaseInitializationOperati on.java:126)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.execute(DatabaseInitializationOperation.j ava:99)
at
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation.executeConfigureFromJvmProperties(Databas eInitializationOperation.
java:294)
at
org.eclipse.osee.framework.database.ConfigDatabase.start(Con figDatabase.java:32)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.io.IOException: Error during POST
[http://localhost:8089/osee/session?operation=create] - status code: [500]
at
org.eclipse.osee.framework.jdk.core.util.HttpProcessor.post( HttpProcessor.java:116)
at
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager.internalAcquireSession(InternalClientSessio nManager.java:210)
... 24 more
Caused by: java.lang.Exception: HTTP/1.1 500 Internal Server Error
at
org.eclipse.osee.framework.jdk.core.util.HttpProcessor.post( HttpProcessor.java:108)
... 25 more

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.skynet.core.SkynetActivator
INFO org.eclipse.osee.framework.skynet.core.ClientUser setCurrentUser
(91)
You are logged into OSEE as "Guest". If this is unexpected notify your
OSEE admin

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
runDbInitTasks (219)
Starting [org.eclipse.osee.framework.skynet.core.SkynetDbBranchDataIm port]
execution rule [Default]

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
runDbInitTasks (219)
Starting [org.eclipse.osee.framework.database.PostDbInitializationPro cess]
execution rule [Default]

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
INFO
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
run (35)
Running Post-Initialization Process...

Tue Apr 21 11:27:49 ADT 2009
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
INFO
org.eclipse.osee.framework.database.initialize.tasks.PostDat abaseInitialization
run (39)
Vacuumiing PostgreSQL

Tue Apr 21 11:27:51 ADT 2009
org.eclipse.osee.framework.database.DatabaseActivator
INFO
org.eclipse.osee.framework.database.initialize.DatabaseIniti alizationOperation
processTask (136)
Database Initialization Complete.

Database Configurationg completed in [38.625 secs] ms
Removing:
org.eclipse.osee.framework.core.client.internal.ClientDataba seProvider @132ae7
Tue Apr 21 11:27:51 ADT 2009
org.eclipse.osee.framework.core.client.CoreClientActivator
INFO
org.eclipse.osee.framework.core.client.internal.InternalClie ntSessionManager
internalReleaseSession (163)
Session [AAABIMkTV7ABgu9rSXachA] released.
Re: OSEE Quickstart - Tutorial to get you up and running... [message #573803 is a reply to message #13429] Sun, 17 May 2009 19:24 Go to previous message
Ray Joseph is currently offline Ray JosephFriend
Messages: 87
Registered: July 2009
Member
Trent,

Were you able to get up and running yet? If so, please tell how.

Thanks,
Ray
Previous Topic:Problems when running with remote app server
Next Topic:Getting client/server running - worked for me
Goto Forum:
  


Current Time: Fri Mar 29 11:49:45 GMT 2024

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

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

Back to the top