I am trying to upgrade from Lucee 4.5 to 5 on Windows 7. First I tried simply replacing the lucee.jar as explained here:
But after doing it and restarting the Lucee service, I could no longer access my lucee apps. Instead of troubleshooting, or reverting, I decided to install from the Windows installer. Before doing that, I did the following:
1. Lucee Service wouldn't stop, so I set it to startup manually and restarted my machine.
2. After restarting, I renamed my old lucee folder to lucee-old because I need to restore some tomcat settings.
3. Then I ran the Windows installer, which failed to start the Lucee service.
Now I have a fresh C:\lucee directory, but I cannot start the service. When I try, it stops immediately. Looking at tomcat logs, I get:
lucee-stdout.2016-09-23.log
2016-09-23 16:57:28 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
agent library failed to init: instrument
lucee-stderr.2016-09-23.log:
The specified service already exists.
Failed to install service
2016-09-23 16:53:54 Commons Daemon procrun stderr initialized
Error opening zip file or JAR manifest missing : C:\lucee\tomcat\lib\lucee-inst.jar
2016-09-23 16:57:28 Commons Daemon procrun stderr initialized
Error opening zip file or JAR manifest missing : C:\lucee\tomcat\lib\lucee-inst.jar
commons-daemon.2016-09-23.log
[2016-09-23 16:53:47] [info] [10472] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-09-23 16:53:47] [info] [10472] Service Lucee name Lucee
[2016-09-23 16:53:47] [error] [10472] The specified service already exists.
[2016-09-23 16:53:47] [error] [10472] Failed installing 'Lucee' service
[2016-09-23 16:53:47] [error] [10472] The specified service already exists.
[2016-09-23 16:53:47] [error] [10472] Commons Daemon procrun failed with exit value: 8 (Failed to install service)
[2016-09-23 16:53:47] [error] [10472] The specified service already exists.
[2016-09-23 16:53:47] [info] [10304] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-09-23 16:53:47] [info] [10304] Updating service...
[2016-09-23 16:53:47] [info] [10304] Service 'Lucee' updated
[2016-09-23 16:53:47] [info] [10304] Update service finished.
[2016-09-23 16:53:47] [info] [10304] Commons Daemon procrun finished
[2016-09-23 16:53:54] [info] [ 7944] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-09-23 16:53:54] [info] [ 7944] Running 'Lucee' Service...
[2016-09-23 16:53:54] [info] [11064] Starting service...
[2016-09-23 16:57:28] [info] [ 7416] Commons Daemon procrun (1.0.15.0 64-bit) started
[2016-09-23 16:57:29] [info] [ 7416] Running 'Lucee' Service...
[2016-09-23 16:57:29] [info] [ 7564] Starting service...