Announcement Announcement Module
Collapse
No announcement yet.
wrapper.dll: %1 is not a valid Win32 application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • wrapper.dll: %1 is not a valid Win32 application

    I've installed tc server on the second web server and it will not start. Everything is basically identical to our other web server which starts fine.

    Environment Variable
    JAVA_HOME
    D:\apps\Java\jdk1.6.0_21

    C:\Windows\system32>java -version
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

    Windows Server 2008 R2 x64

    I installed with this command

    d:\apps\tcserver\tcruntime-instance.bat -s website -a
    d:\apps\tcserver\website\bin\tcruntime-ctl.bat install

    The error in wrapper.log is

    STATUS | wrapper | 2010/09/23 15:27:08 | SpringSource tc Runtime - tcruntime-D-apps-tcserver-website installed.
    STATUS | wrapper | 2010/09/23 15:27:12 | --> Wrapper Started as Service
    STATUS | wrapper | 2010/09/23 15:27:12 | Launching a JVM...
    INFO | jvm 1 | 2010/09/23 15:27:13 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO | jvm 1 | 2010/09/23 15:27:13 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
    INFO | jvm 1 | 2010/09/23 15:27:13 |
    INFO | jvm 1 | 2010/09/23 15:27:13 |
    INFO | jvm 1 | 2010/09/23 15:27:13 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
    INFO | jvm 1 | 2010/09/23 15:27:13 | The file is located on the path at the following location but
    INFO | jvm 1 | 2010/09/23 15:27:13 | could not be loaded:
    INFO | jvm 1 | 2010/09/23 15:27:13 | D:\apps\tcserver\tomcat-6.0.29.A.RELEASE\bin\winx86_64\wrapper.dll
    INFO | jvm 1 | 2010/09/23 15:27:13 | Please verify that the file is readable by the current user
    INFO | jvm 1 | 2010/09/23 15:27:13 | and that the file has not been corrupted in any way.
    INFO | jvm 1 | 2010/09/23 15:27:13 | One common cause of this problem is running a 32-bit version
    INFO | jvm 1 | 2010/09/23 15:27:13 | of the Wrapper with a 64-bit version of Java, or vica versa.
    INFO | jvm 1 | 2010/09/23 15:27:13 | This is a 32-bit JVM.
    INFO | jvm 1 | 2010/09/23 15:27:13 | Reported cause:
    INFO | jvm 1 | 2010/09/23 15:27:13 | D:\apps\tcserver\tomcat-6.0.29.A.RELEASE\bin\winx86_64\wrapper.dll: %1 is not a valid Win32 application
    INFO | jvm 1 | 2010/09/23 15:27:13 | System signals will not be handled correctly.
    INFO | jvm 1 | 2010/09/23 15:27:13 |
    INFO | jvm 1 | 2010/09/23 15:27:13 | WrapperSimpleApp: Unable to locate the class net.covalent.tomcat.wrapper.ThreadDumpWrapper: java.lang.UnsupportedClassVersionError: net/covalent/tomcat/wrapper/ThreadDumpWrapper (Unsupported major.minor version 49.0)
    INFO | jvm 1 | 2010/09/23 15:27:13 |
    INFO | jvm 1 | 2010/09/23 15:27:13 | WrapperSimpleApp Usage:
    INFO | jvm 1 | 2010/09/23 15:27:13 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
    INFO | jvm 1 | 2010/09/23 15:27:13 |
    INFO | jvm 1 | 2010/09/23 15:27:13 | Where:
    INFO | jvm 1 | 2010/09/23 15:27:13 | app_class: The fully qualified class name of the application to run.
    INFO | jvm 1 | 2010/09/23 15:27:13 | app_arguments: The arguments that would normally be passed to the
    INFO | jvm 1 | 2010/09/23 15:27:13 | application.
    STATUS | wrapper | 2010/09/23 15:27:15 | <-- Wrapper Stopped

    --

    If this is accurate, I'm not sure why the wrapper is 32 bit when I specified "-a winx86_64" above.

  • #2
    Unfortunately, an update applied Java 2 Runtime environment, SE v1.4.2_13 on the web server. After uninstalling this, the tc instance started.

    Comment

    Working...
    X