Aware/Tomcat does not run as a Windows service

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
robleer
Posts: 285
Joined: Wed Jul 14, 2010 7:01 pm

Aware/Tomcat does not run as a Windows service

Post by robleer »

Hi,

I've installed version 6 onto a Windows 2012 R2 Server. Running on a MySQL database.
When I start Aware manually, it works fine. Both Aware and Tomcat start and the system works.

I've also ran the .bat file to register Tomcat and Aware as a Windows service, but they wont start.

When I start the Tomcat from the Services windows it says:

Windows could not start the Tomcat service on Local Computer.
Error 1: Incorrect function.


The wrapper.log says:

| --> Wrapper Started as Service
STATUS | wrapper | 2015/04/16 10:27:46 | Launching a JVM...
INFO | jvm 1 | 2015/04/16 10:27:46 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2015/04/16 10:27:46 |
INFO | jvm 1 | 2015/04/16 10:27:46 | WrapperStartStopApp: Unable to locate the class org.apache.catalina.startup.Bootstrap: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
INFO | jvm 1 | 2015/04/16 10:27:46 |
INFO | jvm 1 | 2015/04/16 10:27:46 | WrapperStartStopApp Usage:
INFO | jvm 1 | 2015/04/16 10:27:46 | java org.tanukisoftware.wrapper.WrapperStartStopApp {start_class} {start_arg_count} [start_arguments] {stop_class} {stop_wait} {stop_arg_count} [stop_arguments]
INFO | jvm 1 | 2015/04/16 10:27:46 |
INFO | jvm 1 | 2015/04/16 10:27:46 | Where:
INFO | jvm 1 | 2015/04/16 10:27:46 | start_class: The fully qualified class name to run to start the
INFO | jvm 1 | 2015/04/16 10:27:46 | application.
INFO | jvm 1 | 2015/04/16 10:27:46 | start_arg_count: The number of arguments to be passed to the start class's
INFO | jvm 1 | 2015/04/16 10:27:46 | main method.
INFO | jvm 1 | 2015/04/16 10:27:46 | stop_class: The fully qualified class name to run to stop the
INFO | jvm 1 | 2015/04/16 10:27:46 | application.
INFO | jvm 1 | 2015/04/16 10:27:46 | stop_wait: When stopping, should the Wrapper wait for all threads to
INFO | jvm 1 | 2015/04/16 10:27:46 | complete before exiting (true/false).
INFO | jvm 1 | 2015/04/16 10:27:46 | stop_arg_count: The number of arguments to be passed to the stop class's
INFO | jvm 1 | 2015/04/16 10:27:46 | main method.
INFO | jvm 1 | 2015/04/16 10:27:46 | app_parameters: The parameters that would normally be passed to the
INFO | jvm 1 | 2015/04/16 10:27:46 | application.
STATUS | wrapper | 2015/04/16 10:27:48 | <-- Wrapper Stopped


Any clue??
Using 8.7 Professional 3025 on MySQL/Windows
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Aware/Tomcat does not run as a Windows service

Post by BenHayat »

Did you install it as "Administrator"?
After install, the first time, just Go to Aware Service and START. It will automatically start Tomcat.
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Aware/Tomcat does not run as a Windows service

Post by BenHayat »

Also, be sure to upgrade to Aware build 2030. The earlier builds had some issues with service. But I use it on Win8.1 during development.

To start manually: Start Aware.
To stop manually: Stop Tomcat
Post Reply