Automatic upgrade from 5.2 to 6.1

Questions and answers for all installation-related topics for Servoy products

Automatic upgrade from 5.2 to 6.1

Postby m.vanklink » Wed Nov 20, 2013 10:39 am

Because we have a lot of installations we are trying to create an izpack-jar that upgrades an existing installation from servoy 5.2 to servoy 6.1. What this jar basically does is copy a clean 6.1 installation (without database and configuration and log files) over the existing 5.2 installation. After that the server is started with the upgrade-repository flag.
When after this I start the application server the .service_log.txt shows promissing:

Code: Select all
STATUS | wrapper  | 2013/11/20 09:25:07 | Vision Application Server installed.
STATUS | wrapper  | 2013/11/20 09:30:04 | --> Wrapper Started as Service
STATUS | wrapper  | 2013/11/20 09:30:04 | Java Service Wrapper Standard Edition 32-bit 3.3.5
STATUS | wrapper  | 2013/11/20 09:30:04 |   Copyright (C) 1999-2009 Tanuki Software, Ltd.  All Rights Reserved.
STATUS | wrapper  | 2013/11/20 09:30:04 |     http://wrapper.tanukisoftware.org
STATUS | wrapper  | 2013/11/20 09:30:04 |   Licensed to Servoy for ServoyApplicationServer
STATUS | wrapper  | 2013/11/20 09:30:04 |
STATUS | wrapper  | 2013/11/20 09:30:05 | Launching a JVM...
INFO   | jvm 1    | 2013/11/20 09:30:06 | WrapperManager: Initializing...
INFO   | jvm 1    | 2013/11/20 09:30:16 | LogServer started


But there's an error in the servoy_log.txt:
Code: Select all
2013-11-20 09:30:26,453 ERROR [WrapperSimpleAppMain] com.servoy.j2db.server.main.WebServer - Exception during http server startup processing
java.lang.SecurityException: class "org.apache.catalina.util.LifecycleSupport"'s signer information does not match signer information of other classes in the same package
   at java.lang.ClassLoader.checkCerts(Unknown Source)
   at java.lang.ClassLoader.preDefineClass(Unknown Source)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$100(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   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 java.lang.ClassLoader.loadClass(Unknown Source)
   at org.apache.catalina.core.StandardService.<init>(StandardService.java:78)
   at org.apache.catalina.startup.Embedded.<init>(Embedded.java:128)
   at org.apache.catalina.startup.Embedded.<init>(Embedded.java:115)
   at org.apache.catalina.startup.Catalina.<init>(Catalina.java:67)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance(Unknown Source)
   at com.servoy.j2db.server.main.WebServer.startWebServer(WebServer.java:34)
   at com.servoy.j2db.server.main.ApplicationServer.startWebServer(ApplicationServer.java:352)
   at com.servoy.j2db.server.main.ApplicationServer.main(ApplicationServer.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
   at java.lang.Thread.run(Unknown Source)


All jars are signed using the latest signtester with our own key. Anyone knows where this error comes from?
Michel van Klink
Vision Development
m.vanklink
 
Posts: 70
Joined: Thu Feb 23, 2012 9:15 am
Location: The Netherlands

Re: Automatic upgrade from 5.2 to 6.1

Postby m.vanklink » Wed Nov 20, 2013 10:49 am

Found it!
Have to delete catalina-deployer.jar and jasper-jdt.jar from application_server\server\lib directory. These where used by 5.2 but not by 6.1.
Michel van Klink
Vision Development
m.vanklink
 
Posts: 70
Joined: Thu Feb 23, 2012 9:15 am
Location: The Netherlands


Return to Installation

Who is online

Users browsing this forum: No registered users and 7 guests

cron