Results 1 to 2 of 2

Thread: TC Server won't start as a windows service

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    12

    Default TC Server won't start as a windows service

    I have successfully installed TC Server and can get it to run from the command line. I can browser to localhost:8080 and see the TC server landing screen. The next thing I tried to do was install it as a windows service so I can start it from the Services console in Windows.

    When I try to start from the services console I get the following error:
    "Could not start the SpringSource tc Runtime isntance - tcruntime-C-tcserver-myserver sercice on Local Computer

    Error 1: Incorrect Function"

    It generates the following error in the log:
    STATUS | wrapper | 2011/11/14 11:55:31 | --> Wrapper Started as Service
    STATUS | wrapper | 2011/11/14 11:55:32 | Launching a JVM...
    INFO | jvm 1 | 2011/11/14 11:55:32 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
    INFO | jvm 1 | 2011/11/14 11:55:32 |
    INFO | jvm 1 | 2011/11/14 11:55:32 |
    INFO | jvm 1 | 2011/11/14 11:55:32 | WrapperSimpleApp: Encountered an error running main: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    INFO | jvm 1 | 2011/11/14 11:55:32 | java.lang.UnsupportedClassVersionError: Bad version number in .class file
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.ClassLoader.defineClass1(Native Method)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.ClassLoader.defineClass(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.security.SecureClassLoader.defineClass(Unknow n Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.net.URLClassLoader.defineClass(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.net.URLClassLoader.access$100(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.net.URLClassLoader$1.run(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.security.AccessController.doPrivileged(Native Method)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.net.URLClassLoader.findClass(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.ClassLoader.loadClass(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.ClassLoader.loadClass(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at net.covalent.tomcat.wrapper.ThreadDumpWrapper.main (ThreadDumpWrapper.java:74)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.reflect.Method.invoke(Unknown Source)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(Wr apperSimpleApp.java:197)
    INFO | jvm 1 | 2011/11/14 11:55:32 | at java.lang.Thread.run(Unknown Source)
    STATUS | wrapper | 2011/11/14 11:55:34 | <-- Wrapper Stopped


    Any suggestions on what is wrong?

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    What version of the JVM are you using? That exception tells me that it's too old to read tc Server runtime's classes.
    Andy Wilkinson
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •