Application server starts with errors [message #534670] |
Wed, 19 May 2010 15:41  |
Eclipse User |
|
|
|
Hello,
i tried to start the application server (oseeAppServer_postgres_0.9.1)
with the following :
java -Dosee.log.default=INFO -Declipse.ignoreApp=true -Dorg.osgi.service.http.port=8089 -Dosgi.compatibility.bootdelegation=true -Xms40m -Xmx512m -Dosee.db.cid=postgresqlLocalhost -Dosee.application.server.data=/home/michael/Eclipse/osee_da ta -Dequinox.ds.debug=true -jar org.eclipse.osgi.jar -console
Then i got the following console output:
osgi> Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
INFO org.eclipse.osee.framework.database.internal.DbConnectionInf ormation bind (70)
binding org.eclipse.osee.demo.db.connection.DemoDbConnectionInfo@67071c84
Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
INFO org.eclipse.osee.framework.database.internal.parser.DbConfig Parser getAllDbServices (50)
in getAllDbServices 3
Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
INFO org.eclipse.osee.framework.database.internal.DbConnectionInf ormation bind (74)
osee.microdoc: jdbc:postgresql://78.46.71.230:5432/OSEE : user=osee
Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
INFO org.eclipse.osee.framework.database.internal.DbConnectionInf ormation bind (74)
postgresqlLocalhost: jdbc:postgresql://localhost:5432/OSEE : user=osee
Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
INFO org.eclipse.osee.framework.database.internal.DbConnectionInf ormation bind (74)
derby: jdbc:derby://127.0.0.1:1621/DerbyDatabase; : user=osee
Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
INFO org.eclipse.osee.framework.database.internal.DbConnectionInf ormation bind (70)
binding org.eclipse.osee.framework.database.internal.UriDbConnection Info @44ea5461
Adding: org.eclipse.osee.framework.core.server.internal.ServerDataba seProvider @37b994de
Wed May 19 21:30:51 CEST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.internal.ServerTaskSc heduler addServerTask (41)
Adding task: Clean up join tables
Wed May 19 21:30:52 CEST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.OseeServerProperties getOseeApplicationServerData (69)
Application Server Data: [/home/michael/Eclipse/osee_data]
Registered servlet '/osee/manager'
Registered servlet '/osee/resource'
Registered servlet '/GET.ARTIFACT'
Registered servlet '/osee/artifact'
Registered servlet '/index'
Registered servlet '/osee/branch/exchange'
Registered servlet '/osee/branch'
Registered servlet '/osee/search'
Registered servlet '/osee/search/tagger'
Registered servlet '/osee/server/lookup'
Registered servlet '/osee/session'
Registered servlet '/osee/client/loopback'
Registered servlet '/osee/install/info'
Registered servlet '/osee/cache'
Registered servlet '/osee/model'
Wed May 19 21:30:54 CEST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.internal.ApplicationS erverDataStore getOseeVersionsByServerId (195)
Server lookup table is not initialized
Wed May 19 21:30:54 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
SCHWERWIEGEND org.eclipse.osee.framework.database.internal.core.OseeDataba seServiceImpl runBatchUpdate (158)
This is the nested exception
org.postgresql.util.PSQLException: FEHLER: Relation »osee_server_lookup« existiert nicht
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorRespons e(QueryExecutorImpl.java:1608)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(Quer yExecutorImpl.java:1343)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecut orImpl.java:343)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(Abs tractJdbc2Statement.java:2668)
at org.eclipse.osee.framework.database.internal.core.OseeDataba seServiceImpl.runBatchUpdate(OseeDatabaseServiceImpl.java:14 9)
at org.eclipse.osee.framework.database.internal.core.OseeDataba seServiceImpl.runBatchUpdate(OseeDatabaseServiceImpl.java:17 2)
at org.eclipse.osee.framework.database.core.ConnectionHandler.r unBatchUpdate(ConnectionHandler.java:81)
at org.eclipse.osee.framework.core.server.internal.ApplicationS erverDataStore.deregisterWithDb(ApplicationServerDataStore.j ava:74)
at org.eclipse.osee.framework.core.server.internal.InternalOsee ServerInfo.writeToDataStore(InternalOseeServerInfo.java:114)
at org.eclipse.osee.framework.core.server.internal.InternalOsee ServerInfo.updateRegistration(InternalOseeServerInfo.java:12 2)
at org.eclipse.osee.framework.core.server.internal.ApplicationS erverManager.executeLookupRegistration(ApplicationServerMana ger.java:87)
at org.eclipse.osee.framework.core.server.internal.ApplicationS erverManager$1.run(ApplicationServerManager.java:56)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Wed May 19 21:30:54 CEST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.internal.ApplicationS erverDataStore deregisterWithDb (77)
Server lookup table not initialized
Wed May 19 21:30:54 CEST 2010 org.eclipse.osee.framework.database.internal.InternalActivat or
SCHWERWIEGEND org.eclipse.osee.framework.database.internal.core.OseeDataba seServiceImpl runBatchUpdate (158)
This is the nested exception
org.postgresql.util.PSQLException: FEHLER: Relation »osee_server_lookup« existiert nicht
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorRespons e(QueryExecutorImpl.java:1608)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(Quer yExecutorImpl.java:1343)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecut orImpl.java:343)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(Abs tractJdbc2Statement.java:2668)
at org.eclipse.osee.framework.database.internal.core.OseeDataba seServiceImpl.runBatchUpdate(OseeDatabaseServiceImpl.java:14 9)
at org.eclipse.osee.framework.database.internal.core.OseeDataba seServiceImpl.runBatchUpdate(OseeDatabaseServiceImpl.java:17 2)
at org.eclipse.osee.framework.database.core.ConnectionHandler.r unBatchUpdate(ConnectionHandler.java:81)
at org.eclipse.osee.framework.core.server.internal.ApplicationS erverDataStore.registerWithDb(ApplicationServerDataStore.jav a:94)
at org.eclipse.osee.framework.core.server.internal.InternalOsee ServerInfo.writeToDataStore(InternalOseeServerInfo.java:115)
at org.eclipse.osee.framework.core.server.internal.InternalOsee ServerInfo.updateRegistration(InternalOseeServerInfo.java:12 2)
at org.eclipse.osee.framework.core.server.internal.ApplicationS erverManager.executeLookupRegistration(ApplicationServerMana ger.java:87)
at org.eclipse.osee.framework.core.server.internal.ApplicationS erverManager$1.run(ApplicationServerManager.java:56)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Wed May 19 21:30:54 CEST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.internal.ApplicationS erverDataStore registerWithDb (97)
Server lookup table not initialized
Wed May 19 21:30:56 CEST 2010 org.eclipse.osee.framework.search.engine.internal.SearchEngi neTagger
INFO org.eclipse.osee.framework.search.engine.internal.StartUpRun nable run (45)
Tagging on Server Startup was not run.
With that it is not possible to initialize the database.
I have configured the postgresql database like describes in the "Getting Stated" guide.
Any ideas?
Best regards,
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Application server starts with errors [message #577028 is a reply to message #534670] |
Fri, 02 July 2010 17:51  |
Eclipse User |
|
|
|
Dear Michael,
Because of the issues that you and other Linux users have been experiencing, I decided to do a test using my home computer which runs Mandriva 2010.
Please verify the steps you have been through against the following, which I have confirmed works up to the point of successfully creating a demo database.
Install Eclipse 3.5.2
Download the 0.9.4 client from the OSEE downloads page
Choose it as an archive in the Eclipse update manager and install it
This will install the OSEE client and everything else it needs EXCEPT the PostgreSQL driver
Download the PostgreSQL driver from the OSEE downloads page
Choose it as an archive in the Eclipse update manager and install it
Download the 0.9.4 server from the OSEE downloads page and unzip it
Unzip the PostgreSQL driver
Copy the two files from the plugins folder in the PostgreSQL driver to the plugins folder of the server
Create an empty PostgreSQL database per the instructions on the OSEE web site
Start the application server, ignoring any messages about tables not existing
In the directory containing your OSEE eclipse, execute the following:
eclipse -application org.eclipse.osee.framework.database.init.configClient -vmargs -Xmx512m -Dosee.log.default=INFO -Dosee.application.server=http://localhost:8089 -Dosee.authentication.protocol=trustAll -Dosee.prompt.on.db.init=false -Dosee.choice.on.db.init="OSEE Demo Database"
This is proven to create a functional demo database under both Windows and Linux (tested on Mandriva 2010)
I have not yet connected an OSEE client to this database under Linux, but this is the output you should then get on next starting the server:
[mailto:mark@quiet org.eclipse.osee.server_postgresql_0.9.4_incubation]$ ./runPostgresqlLocal.sh
osgi> Fri Jul 02 22:47:53 BST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.internal.ServerTaskSc heduler addServerTask (41)
Adding task: Clean up join tables
Fri Jul 02 22:47:53 BST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.OseeServerProperties getOseeApplicationServerData (69)
Application Server Data: [/home/mark]
Registered servlet '/osee/manager'
Registered servlet '/osee/resource'
Registered servlet '/GET.ARTIFACT'
Registered servlet '/osee/artifact'
Registered servlet '/index'
Registered servlet '/osee/branch/exchange'
Registered servlet '/osee/branch'
Registered servlet '/osee/search'
Registered servlet '/osee/search/tagger'
Registered servlet '/osee/server/lookup'
Registered servlet '/osee/session'
Registered servlet '/osee/client/loopback'
Registered servlet '/osee/install/info'
Registered servlet '/osee/cache'
Registered servlet '/osee/model'
Registered servlet '/osee/unsubscribe'
Registered servlet '/osee/ats'
Fri Jul 02 22:47:56 BST 2010 org.eclipse.osee.framework.search.engine.internal.SearchEngi neTagger
INFO org.eclipse.osee.framework.search.engine.internal.StartUpRun nable run (42)
Tagging on Server Startup was not run.
Fri Jul 02 22:47:58 BST 2010 org.eclipse.osee.framework.database.internal.Activator
INFO org.eclipse.osee.framework.database.internal.core.OseeConnec tionPoolImpl getConnection (77)
DbConnection: [jdbc:postgresql://localhost:5432/OSEE] - [1]
Fri Jul 02 22:47:58 BST 2010 org.eclipse.osee.framework.database.internal.Activator
INFO org.eclipse.osee.framework.database.internal.core.OseeConnec tionPoolImpl getConnection (77)
DbConnection: [jdbc:postgresql://localhost:5432/OSEE] - [2]
Fri Jul 02 22:47:58 BST 2010 org.eclipse.osee.framework.core.server.CoreServerActivator
INFO org.eclipse.osee.framework.core.server.internal.ApplicationS erverManager executeLookupRegistration (92)
Application Server: [f694be1eb779113f05692b171146a61d] registered.
All the best,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.05139 seconds