Admin rights and privileges

How to determine if my Jetty6 service is running as an administrator?

I need to configure Jetty on my XP dev box to run as a service. http://docs.codehaus.org/display/JETTY/Win32Wrapper

It installs OK, and I see the Jetty6 service in the Windows Service Manager.

But when I try to run it, I get this error in the log file:

STATUS | wrapper  | 2010/02/26 10:17:10 | Launching a JVM...
INFO   | jvm 2    | 2010/02/26 10:17:10 | Error occurred during initialization of VM
INFO   | jvm 2    | 2010/02/26 10:17:10 | Too small initial heap for new size specified
ERROR  | wrapper  | 2010/02/26 10:17:10 | JVM exited while loading the application.

from above link:
Note: The above application (Jetty-Service.exe) must execute with administrator rights otherwise, it fails.

I have local administrative access to my XP dev box. And when I start the berth server as standalone from cmd.exe, then it works fine. (java -jar start.jar etc / jetty.xml)

Does anyone know how to solve this problem / where to look? / Thanks.

+3
source share

Source: https://habr.com/ru/post/1734530/


All Articles