windows installer service wrapper jetty update

Description

Testing windows service install - does not start:

Error Service Control Manager "The GeoServer 2.9-beta2 service terminated with service-specific error Incorrect function.."

Could not find logs, taking a wild guess and changing permissions on the data directory did not fix anything.

Found the wrapper logs:

STATUS | wrapper | 2016/04/20 09:30:18 | GeoServer 2.9-beta2 installed.
STATUS | wrapper | 2016/04/20 09:30:18 | Starting the GeoServer 2.9-beta2 service...
STATUS | wrapper | 2016/04/20 09:30:18 | --> Wrapper Started as Service
STATUS | wrapper | 2016/04/20 09:30:18 | Java Service Wrapper Community Edition 3.3.3
STATUS | wrapper | 2016/04/20 09:30:18 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2016/04/20 09:30:18 | http://wrapper.tanukisoftware.org
STATUS | wrapper | 2016/04/20 09:30:18 |
STATUS | wrapper | 2016/04/20 09:30:18 | Launching a JVM...
INFO | wrapper | 2016/04/20 09:30:23 | Waiting to start...
INFO | jvm 1 | 2016/04/20 09:30:24 | WrapperManager: Initializing...
INFO | jvm 1 | 2016/04/20 09:30:25 | WrapperSimpleApp: Unable to locate the class org.mortbay.start.Main: java.lang.ClassNotFoundException: org.mortbay.start.Main
INFO | jvm 1 | 2016/04/20 09:30:25 |
INFO | jvm 1 | 2016/04/20 09:30:25 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2016/04/20 09:30:25 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
INFO | jvm 1 | 2016/04/20 09:30:25 |
INFO | jvm 1 | 2016/04/20 09:30:25 | Where:
INFO | jvm 1 | 2016/04/20 09:30:25 | app_class: The fully qualified class name of the application to run.
INFO | jvm 1 | 2016/04/20 09:30:25 | app_arguments: The arguments that would normally be passed to the
INFO | jvm 1 | 2016/04/20 09:30:25 | application.
ERROR | wrapper | 2016/04/20 09:30:27 | JVM exited while loading the application.

Environment

None

Activity

Show:
Jody Garnett
May 20, 2016, 6:35 PM
Edited

Tested on a fresh windows 7 machine successfully.

  • wrapper.conf has wrapper.java.additional.3=-Djava.io.tmpdir=./work

  • the work directory has been created (has Geotools EPSG database etc...)

Consider asking geoserver-devel and geoserver-users mailing list for additional testing?

Jody Garnett
May 20, 2016, 7:00 PM

Testing uninstall, results in "Warning: Some files and folders could not be removed from: C:\Program Files (x86)\GeoServer 2.9-RC1.

When checking the directory contents:

I was able to delete the folder manually after the uninstaller had finished.

Andrea Aime
July 9, 2016, 11:52 AM

Jody, was this fixed?

Jody Garnett
July 9, 2016, 3:52 PM
Edited

Path was fixed for new jetty, we did not update service wrapper.

Andrea Aime
February 15, 2017, 11:47 AM

Mass closing all resolved issues not modified in the last 4 weeks

Fixed

Assignee

Unassigned

Reporter

Jody Garnett

Triage

Fix versions

Affects versions

Components

Priority

Medium
Configure