jcarlos wrote:Unfortunately, it did not work.C:\Servoy\application_server>servoy_server.bat -upgradeRepository
server starting
Exception in thread "main" java.lang.NoClassDefFoundError: com/servoy/j2db/server/main/ApplicationServer-upgradeRepository
Caused by: java.lang.ClassNotFoundException: com.servoy.j2db.server.main.ApplicationServer-upgradeRepository
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.servoy.j2db.server.main.ApplicationServer-upgradeRepository. Program will exit.
The postgres.exe process started, but not Servoy server.
And of course, when I run the servoy_server.bat -upgradeRepository again, I get same error but with the warning about another pg_ctl server running.
- Code: Select all
C:\Servoy\application_server>servoy_server.bat -upgradeRepository
pg_ctl: another server might be running; trying to start server anyway
server starting
The process cannot access the file because it is being used by another process.
Exception in thread "main" java.lang.NoClassDefFoundError: com/servoy/j2db/server/main/ApplicationServer-upgradeRepository
Caused by: java.lang.ClassNotFoundException: com.servoy.j2db.server.main.ApplicationServer-upgradeRepository
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.servoy.j2db.server.main.ApplicationServer-upgradeRepository. Program will exit.
C:\Servoy\application_server>
Should I add a case for this in support? Could this be a bug?
What about the message in the postgres_log.txt file?LOG: database system was shut down at 2012-09-11 05:30:48 PDT
FATAL: the database system is starting up
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
FATAL: role "scac-team" does not exist
LOG: received smart shutdown request
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
What does the line FATAL: role "scac-team" does not exist mean?
Thanks Johan.
Simply: The "scac-team" role not exist into the postgres database. I suppose scac-team is user of your server.
To solve you can add this role in postgres via pgadmin.