Cannot start TomEE on Windows?

This is the cmd output...

----------------------------------------------------------------

Installing the service 'TomEE' ...
Using CATALINA_HOME:    "C:\tomee"
Using CATALINA_BASE:    "C:\tomee"
Using JAVA_HOME:        "C:\program files\Java\jdk1.6.0_26"
Using JRE_HOME:         "C:\program files\Java\jdk1.6.0_26\jre"
Using JVM:              "C:\program files\Java\jdk1.6.0_26\jre\bin\server\jvm.dl
l"
""C:\tomee\bin\TomEE.x86.exe"" //IS//TomEE
[2013-04-09 16:16:39] [error] Unrecognized cmd option C:\tomee\bin\TomEE.x86.exe

[2013-04-09 16:16:39] [error] The specified module could not be found.
[2013-04-09 16:16:39] [error] Invalid command line arguments
[2013-04-09 16:16:39] [error] The specified module could not be found.
[2013-04-09 16:16:39] [error] Commons Daemon procrun failed with exit value: 1 (
Failed to parse command line arguments)
[2013-04-09 16:16:39] [error] The specified module could not be found.
Failed installing 'TomEE' service

------------------------------------------------------------------

I did not configure any of the files. But Startup.bat works and expose localhost:8080. But when I tried to open Tomee Gui from the webpage. It didn't load.

Answers


I just configured my TomEE v1.6.0 as a Windows service doing as follows:

1 - Run Windows CMD as an Administrator 2 - Go to TomEE bin folder (${tomee}\bin) 3 - Execute this command:

service.bat install

4 - Now just run your TomEE and test it

Hope this helps


Need Your Help

NULL Characters in Firebird VARCHAR

sql database null firebird varchar

Im trying to find records in a VARCHAR column that may contain a NUL (0x00), and I cannot find a way to locate the NUL character.

Python: use mysqldb to import a MySQL table as a dictionary?

python mysql dictionary

Anyone know how I can use mysqldb to turn a MySQL table, with lots of rows, into a list of dictionary objects in Python?