JBoss AS7 Service Wrapper problems
I'm trying to use Java Service Wrapper 3.3.5 32 bit community release with JBoss AS7 on a Windows 7 64 bit machine.  I have a hunch the reason I'm having problems is due our 32 bit version, but we have been able to use the 32 bit version of jsw with other applications (ActiveMQ) successfully, so I thought I'd try the 32 bit version first.  If it's advisable to upgrade to the pro version we will do so.

I'm pasting my wrapper.log and wrapper.conf below.  Right now the service is not able to start normally.  I tried troubleshooting the UnsatisfiedLinkError: no wrapper-windows-x86-32 in java.library.path error by making sure jsw was finding my java.library.path by hard coding paths for JAVA_HOME and JBOSS_HOME in my conf.  

wrapper.log...

    STATUS | wrapper  | 2011/09/07 09:05:22 | --> Wrapper Started as Console
    DEBUG  | wrapper  | 2011/09/07 09:05:22 | Using tick timer.
    DEBUG  | wrapperp | 2011/09/07 09:05:22 | server listening on port 32001.
    STATUS | wrapper  | 2011/09/07 09:05:23 | Launching a JVM...
    INFO   | wrapper  | 2011/09/07 09:05:23 | command: "C:\Program             Files\Java\jdk1.6.0_16\bin\java" -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.tanukisoftware.wrapper.WrapperManager.mbean=false -Dlogging.configuration=file:D:\jboss-as-7.0.0.Final/standalone/configuration/logging.properties -Djava.library.path="D:\jboss-as-7.0.0.Final/lib" -classpath "D:\jboss-as-7.0.0.Final/lib/wrapper.jar;C:\Program Files\Java\jdk1.6.0_16/lib/tools.jar;D:\jboss-as-7.0.0.Final/bin/run.jar;D:\jboss-as-7.0.0.Final/jboss-modules.jar" -Dwrapper.key="c7WXvNwvC0k2XClM" -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.debug="TRUE" -Dwrapper.pid=4660 -Dwrapper.version="3.2.3" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp -mp "D:\jboss-as-7.0.0.Final\modules" -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | JVM started (PID=4676)
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@11b86e7
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: JVM #1
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Running a 32-bit JVM.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: Registering shutdown hook
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: Using wrapper
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Loading native library failed: wrapper-windows-x86-32.dll  Cause: java.lang.UnsatisfiedLinkError: no wrapper-windows-x86-32 in java.library.path
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Loaded native library: wrapper.dll
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Calling native initialization method.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Initializing WrapperManager native library.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Java Executable: C:\Program Files\Java\jdk1.6.0_16\bin\java.exe
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Windows version: 5.2.3790
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Java Version   : 1.6.0_16-b01 Java HotSpot(TM) Client VM
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Java VM Vendor : Sun Microsystems Inc.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperSimpleApp: Unable to locate the class -mp: java.lang.ClassNotFoundException: -mp
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperSimpleApp Usage:
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Where:
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   app_class:      The fully qualified class name of the application to run.
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   app_arguments:  The arguments that would normally be passed to the
    INFO   | jvm 1    | 2011/09/07 09:05:23 |                   application.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperManager.stop(1) called by thread: main
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Control event monitor thread started.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Startup runner thread started.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Communications runner thread started.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Open socket to wrapper...Wrapper-Connection
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Failed attempt to bind using local port 31000
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Opened Socket from 31001 to 32001
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Send a packet KEY : c7WXvNwvC0k2XClM
    INFO   | jvm 1    | 2011/09/07 09:05:23 | handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=31001])
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Send a packet STOP : 1
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | accepted a socket from 127.0.0.1 on port 31001
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | read a packet KEY : c7WXvNwvC0k2XClM
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | Got key from JVM: c7WXvNwvC0k2XClM
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet LOW_LOG_LEVEL : 1
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet PING_TIMEOUT : 30
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet PROPERTIES : (Property Values)
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | read a packet STOP : 1
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | JVM requested a shutdown. (1)
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | wrapperStopProcess(1) called.
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | Sending stop signal to JVM
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet STOP : NULL
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet LOW_LOG_LEVEL : 1
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: LowLogLevel from Wrapper is 1
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet PING_TIMEOUT : 30
    INFO   | jvm 1    | 2011/09/07 09:05:23 | PingTimeout from Wrapper is 30000
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet PROPERTIES : (Property Values)
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet STOP : 
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Thread, main, handling the shutdown process.
    INFO   | jvm 1    | 2011/09/07 09:05:24 | shutdownJVM(1) Thread:main
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Send a packet STOPPED : 1
    DEBUG  | wrapperp | 2011/09/07 09:05:24 | read a packet STOPPED : 1
    DEBUG  | wrapper  | 2011/09/07 09:05:24 | JVM signalled that it was stopped.
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Closing socket.
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Closed socket: java.net.SocketException: socket closed
    DEBUG  | wrapperp | 2011/09/07 09:05:24 | socket read no code (closed?).
    DEBUG  | wrapperp | 2011/09/07 09:05:24 | server listening on port 32002.
    INFO   | jvm 1    | 2011/09/07 09:05:25 | Server daemon shut down
    INFO   | jvm 1    | 2011/09/07 09:05:25 | calling System.exit(1)
    DEBUG  | wrapper  | 2011/09/07 09:05:25 | JVM process exited with a code of 1, however the wrapper exit code was already 1.
    DEBUG  | wrapper  | 2011/09/07 09:05:25 | JVM exited normally.
    STATUS | wrapper  | 2011/09/07 09:05:25 | <-- Wrapper Stopped

wrapper.conf...

    #encoding=UTF-8
    # Configuration files must begin with a line specifying the encoding
    #  of the the file.

    #********************************************************************
    # Wrapper License Properties (Ignored by Community Edition)
    #********************************************************************
    # Professional and Standard Editions of the Wrapper require a valid
    #  License Key to start.  Licenses can be purchased or a trial license
    #  requested on the following pages:
    # http://wrapper.tanukisoftware.com/purchase
    # http://wrapper.tanukisoftware.com/trial

    # Include file problems can be debugged by removing the first '#'
    #  from the following line:
    ##include.debug
    
    # The Wrapper will look for either of the following optional files for a
    #  valid License Key.  License Key properties can optionally be included
    #  directly in this configuration file.
    #include ../conf/wrapper-license.conf
    #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf
    
    # The following property will output information about which License Key(s)
    #  are being found, and can aid in resolving any licensing problems.
    #wrapper.license.debug=TRUE
    
    #********************************************************************
    # Wrapper Localization
    #********************************************************************
    # Specify the locale which the Wrapper should use.  By default the system
    #  locale is used.
    #wrapper.lang=en_US # en_US or ja_JP
    
    # Specify the location of the Wrapper's language resources.  If these are
    #  missing, the Wrapper will default to the en_US locale.
    wrapper.lang.folder=../lang

    #********************************************************************
    # Wrapper Java Properties
    #********************************************************************
    # Java Application
    #  Locate the java binary on the system PATH:
    #wrapper.java.command=java
    #  Specify a specific java binary:
    
    set.JBOSS_HOME=D:\jboss-as-7.0.0.Final
    set.JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16
    wrapper.java.command=%JAVA_HOME%/bin/java
    
    # Tell the Wrapper to log the full generated Java command line.
    wrapper.java.command.loglevel=INFO
    
    # Java Main class.  This class must implement the WrapperListener interface
    #  or guarantee that the WrapperManager class is initialized.  Helper
    #  classes are provided to do this for you.  See the Integration section
    #  of the documentation for details.
    wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

    # Java Classpath (include wrapper.jar)  Add class path elements as
    #  needed starting from 1
    wrapper.java.classpath.1=%JBOSS_HOME%/lib/wrapper.jar
    wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar
    wrapper.java.classpath.3=%JBOSS_HOME%/bin/run.jar
    wrapper.java.classpath.4=%JBOSS_HOME%/jboss-modules.jar
    
    # Java Library Path (location of Wrapper.DLL or libwrapper.so)
    wrapper.java.library.path.1=%JBOSS_HOME%/lib
    
    # Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
    wrapper.java.additional.auto_bits=TRUE
    
    # Java Additional Parameters
    #wrapper.java.additional.1=-server
    wrapper.java.additional.1=-XX:MaxPermSize=256m
    wrapper.java.additional.2=-Dorg.jboss.resolver.warning=true
    wrapper.java.additional.3=-Dsun.rmi.dgc.client.gcInterval=3600000
    wrapper.java.additional.4=-Dsun.rmi.dgc.server.gcInterval=3600000
    wrapper.java.additional.5=-Djboss.modules.system.pkgs=org.jboss.byteman
    wrapper.java.additional.6=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=false
    wrapper.java.additional.7=-        Dlogging.configuration=file:%JBOSS_HOME%/standalone/configuration/logging.properties

    # Initial Java Heap Size (in MB)
    #wrapper.java.initmemory=128
    
    # Maximum Java Heap Size (in MB)
    #wrapper.java.maxmemory=512
    
    # Application parameters.  Add parameters as needed starting from 1
    wrapper.app.parameter.1=-mp "%JBOSS_HOME%\modules"
    wrapper.app.parameter.2=-logmodule org.jboss.logmanager
    wrapper.app.parameter.3=-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone


    #********************************************************************
    # Wrapper Logging Properties
    #********************************************************************
    # Enables Debug output from the Wrapper.
    wrapper.debug=TRUE
    
    # Format of output for the console.  (See docs for formats)
    wrapper.console.format=PM
    
    # Log Level for console output.  (See docs for log levels)
    wrapper.console.loglevel=INFO

    # Log file to use for wrapper output logging.
    wrapper.logfile=../standalone/log/wrapper.log
    
    # Format of output for the log file.  (See docs for formats)
    wrapper.logfile.format=LPTM
    
    # Log Level for log file output.  (See docs for log levels)
    wrapper.logfile.loglevel=INFO
    
    # Maximum size that the log file will be allowed to grow to before
    #  the log is rolled. Size is specified in bytes.  The default value
    #  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
    #  'm' (mb) suffix.  For example: 10m = 10 megabytes.
    wrapper.logfile.maxsize=0

    # Maximum number of rolled log files which will be allowed before old
    #  files are deleted.  The default value of 0 implies no limit.
    wrapper.logfile.maxfiles=0

    # Log Level for sys/event log output.  (See docs for log levels)
    wrapper.syslog.loglevel=NONE

    #********************************************************************
    # Wrapper General Properties
    #********************************************************************
    # Allow for the use of non-contiguous numbered properties
    #wrapper.ignore_sequence_gaps=TRUE

    # Title to use when running as a console
    #wrapper.console.title=@app.long.name@

    #********************************************************************
    # Wrapper JVM Checks
    #********************************************************************
    # Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
    #wrapper.check.deadlock=TRUE
    #wrapper.check.deadlock.interval=60
    #wrapper.check.deadlock.action=RESTART
    #wrapper.check.deadlock.output=FULL
    
    # Out Of Memory detection.
    # (Simple match)
    #wrapper.filter.trigger.1000=java.lang.OutOfMemoryError
    # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
    #wrapper.filter.trigger.1000=Exception in thread "*" java.lang.OutOfMemoryError
    #wrapper.filter.allow_wildcards.1000=TRUE
    #wrapper.filter.action.1000=RESTART
    #wrapper.filter.message.1000=The JVM has run out of memory.

Anyone know what's going on?  Any advice appreciated.
JBoss AS7 Service Wrapper problems
===

I'm trying to use Java Service Wrapper 3.3.5 32 bit community release with JBoss AS7 on a Windows 7 64 bit machine.  I have a hunch the reason I'm having problems is due our 32 bit version, but we have been able to use the 32 bit version of jsw with other applications (ActiveMQ) successfully, so I thought I'd try the 32 bit version first.  If it's advisable to upgrade to the pro version we will do so.

I'm pasting my wrapper.log and wrapper.conf below.  Right now the service is not able to start normally.  I tried troubleshooting the UnsatisfiedLinkError: no wrapper-windows-x86-32 in java.library.path error by making sure jsw was finding my java.library.path by hard coding paths for JAVA_HOME and JBOSS_HOME in my conf.  

wrapper.log...

    STATUS | wrapper  | 2011/09/07 09:05:22 | --> Wrapper Started as Console
    DEBUG  | wrapper  | 2011/09/07 09:05:22 | Using tick timer.
    DEBUG  | wrapperp | 2011/09/07 09:05:22 | server listening on port 32001.
    STATUS | wrapper  | 2011/09/07 09:05:23 | Launching a JVM...
    INFO   | wrapper  | 2011/09/07 09:05:23 | command: "C:\Program             Files\Java\jdk1.6.0_16\bin\java" -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.tanukisoftware.wrapper.WrapperManager.mbean=false -Dlogging.configuration=file:D:\jboss-as-7.0.0.Final/standalone/configuration/logging.properties -Djava.library.path="D:\jboss-as-7.0.0.Final/lib" -classpath "D:\jboss-as-7.0.0.Final/lib/wrapper.jar;C:\Program Files\Java\jdk1.6.0_16/lib/tools.jar;D:\jboss-as-7.0.0.Final/bin/run.jar;D:\jboss-as-7.0.0.Final/jboss-modules.jar" -Dwrapper.key="c7WXvNwvC0k2XClM" -Dwrapper.port=32001 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.debug="TRUE" -Dwrapper.pid=4660 -Dwrapper.version="3.2.3" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp -mp "D:\jboss-as-7.0.0.Final\modules" -logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | JVM started (PID=4676)
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperManager class initialized by thread: main  Using classloader: sun.misc.Launcher$AppClassLoader@11b86e7
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: JVM #1
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Running a 32-bit JVM.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: Registering shutdown hook
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: Using wrapper
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Load native library.  One or more attempts may fail if platform specific libraries do not exist.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Loading native library failed: wrapper-windows-x86-32.dll  Cause: java.lang.UnsatisfiedLinkError: no wrapper-windows-x86-32 in java.library.path
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Loaded native library: wrapper.dll
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Calling native initialization method.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Initializing WrapperManager native library.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Java Executable: C:\Program Files\Java\jdk1.6.0_16\bin\java.exe
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Windows version: 5.2.3790
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Java Version   : 1.6.0_16-b01 Java HotSpot(TM) Client VM
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Java VM Vendor : Sun Microsystems Inc.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperSimpleApp: Unable to locate the class -mp: java.lang.ClassNotFoundException: -mp
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperSimpleApp Usage:
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
    INFO   | jvm 1    | 2011/09/07 09:05:23 | 
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Where:
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   app_class:      The fully qualified class name of the application to run.
    INFO   | jvm 1    | 2011/09/07 09:05:23 |   app_arguments:  The arguments that would normally be passed to the
    INFO   | jvm 1    | 2011/09/07 09:05:23 |                   application.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | WrapperManager.stop(1) called by thread: main
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Control event monitor thread started.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Startup runner thread started.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Communications runner thread started.
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Open socket to wrapper...Wrapper-Connection
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Failed attempt to bind using local port 31000
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Opened Socket from 31001 to 32001
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Send a packet KEY : c7WXvNwvC0k2XClM
    INFO   | jvm 1    | 2011/09/07 09:05:23 | handleSocket(Socket[addr=/127.0.0.1,port=32001,localport=31001])
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Send a packet STOP : 1
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | accepted a socket from 127.0.0.1 on port 31001
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | read a packet KEY : c7WXvNwvC0k2XClM
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | Got key from JVM: c7WXvNwvC0k2XClM
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet LOW_LOG_LEVEL : 1
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet PING_TIMEOUT : 30
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet PROPERTIES : (Property Values)
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | read a packet STOP : 1
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | JVM requested a shutdown. (1)
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | wrapperStopProcess(1) called.
    DEBUG  | wrapper  | 2011/09/07 09:05:23 | Sending stop signal to JVM
    DEBUG  | wrapperp | 2011/09/07 09:05:23 | send a packet STOP : NULL
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet LOW_LOG_LEVEL : 1
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Wrapper Manager: LowLogLevel from Wrapper is 1
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet PING_TIMEOUT : 30
    INFO   | jvm 1    | 2011/09/07 09:05:23 | PingTimeout from Wrapper is 30000
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet PROPERTIES : (Property Values)
    INFO   | jvm 1    | 2011/09/07 09:05:23 | Received a packet STOP : 
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Thread, main, handling the shutdown process.
    INFO   | jvm 1    | 2011/09/07 09:05:24 | shutdownJVM(1) Thread:main
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Send a packet STOPPED : 1
    DEBUG  | wrapperp | 2011/09/07 09:05:24 | read a packet STOPPED : 1
    DEBUG  | wrapper  | 2011/09/07 09:05:24 | JVM signalled that it was stopped.
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Closing socket.
    INFO   | jvm 1    | 2011/09/07 09:05:24 | Closed socket: java.net.SocketException: socket closed
    DEBUG  | wrapperp | 2011/09/07 09:05:24 | socket read no code (closed?).
    DEBUG  | wrapperp | 2011/09/07 09:05:24 | server listening on port 32002.
    INFO   | jvm 1    | 2011/09/07 09:05:25 | Server daemon shut down
    INFO   | jvm 1    | 2011/09/07 09:05:25 | calling System.exit(1)
    DEBUG  | wrapper  | 2011/09/07 09:05:25 | JVM process exited with a code of 1, however the wrapper exit code was already 1.
    DEBUG  | wrapper  | 2011/09/07 09:05:25 | JVM exited normally.
    STATUS | wrapper  | 2011/09/07 09:05:25 | <-- Wrapper Stopped

wrapper.conf...

    #encoding=UTF-8
    # Configuration files must begin with a line specifying the encoding
    #  of the the file.

    #********************************************************************
    # Wrapper License Properties (Ignored by Community Edition)
    #********************************************************************
    # Professional and Standard Editions of the Wrapper require a valid
    #  License Key to start.  Licenses can be purchased or a trial license
    #  requested on the following pages:
    # http://wrapper.tanukisoftware.com/purchase
    # http://wrapper.tanukisoftware.com/trial

    # Include file problems can be debugged by removing the first '#'
    #  from the following line:
    ##include.debug
    
    # The Wrapper will look for either of the following optional files for a
    #  valid License Key.  License Key properties can optionally be included
    #  directly in this configuration file.
    #include ../conf/wrapper-license.conf
    #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf
    
    # The following property will output information about which License Key(s)
    #  are being found, and can aid in resolving any licensing problems.
    #wrapper.license.debug=TRUE
    
    #********************************************************************
    # Wrapper Localization
    #********************************************************************
    # Specify the locale which the Wrapper should use.  By default the system
    #  locale is used.
    #wrapper.lang=en_US # en_US or ja_JP
    
    # Specify the location of the Wrapper's language resources.  If these are
    #  missing, the Wrapper will default to the en_US locale.
    wrapper.lang.folder=../lang

    #********************************************************************
    # Wrapper Java Properties
    #********************************************************************
    # Java Application
    #  Locate the java binary on the system PATH:
    #wrapper.java.command=java
    #  Specify a specific java binary:
    
    set.JBOSS_HOME=D:\jboss-as-7.0.0.Final
    set.JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16
    wrapper.java.command=%JAVA_HOME%/bin/java
    
    # Tell the Wrapper to log the full generated Java command line.
    wrapper.java.command.loglevel=INFO
    
    # Java Main class.  This class must implement the WrapperListener interface
    #  or guarantee that the WrapperManager class is initialized.  Helper
    #  classes are provided to do this for you.  See the Integration section
    #  of the documentation for details.
    wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

    # Java Classpath (include wrapper.jar)  Add class path elements as
    #  needed starting from 1
    wrapper.java.classpath.1=%JBOSS_HOME%/lib/wrapper.jar
    wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar
    wrapper.java.classpath.3=%JBOSS_HOME%/bin/run.jar
    wrapper.java.classpath.4=%JBOSS_HOME%/jboss-modules.jar
    
    # Java Library Path (location of Wrapper.DLL or libwrapper.so)
    wrapper.java.library.path.1=%JBOSS_HOME%/lib
    
    # Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
    wrapper.java.additional.auto_bits=TRUE
    
    # Java Additional Parameters
    #wrapper.java.additional.1=-server
    wrapper.java.additional.1=-XX:MaxPermSize=256m
    wrapper.java.additional.2=-Dorg.jboss.resolver.warning=true
    wrapper.java.additional.3=-Dsun.rmi.dgc.client.gcInterval=3600000
    wrapper.java.additional.4=-Dsun.rmi.dgc.server.gcInterval=3600000
    wrapper.java.additional.5=-Djboss.modules.system.pkgs=org.jboss.byteman
    wrapper.java.additional.6=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=false
    wrapper.java.additional.7=-        Dlogging.configuration=file:%JBOSS_HOME%/standalone/configuration/logging.properties

    # Initial Java Heap Size (in MB)
    #wrapper.java.initmemory=128
    
    # Maximum Java Heap Size (in MB)
    #wrapper.java.maxmemory=512
    
    # Application parameters.  Add parameters as needed starting from 1
    wrapper.app.parameter.1=-mp "%JBOSS_HOME%\modules"
    wrapper.app.parameter.2=-logmodule org.jboss.logmanager
    wrapper.app.parameter.3=-jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone


    #********************************************************************
    # Wrapper Logging Properties
    #********************************************************************
    # Enables Debug output from the Wrapper.
    wrapper.debug=TRUE
    
    # Format of output for the console.  (See docs for formats)
    wrapper.console.format=PM
    
    # Log Level for console output.  (See docs for log levels)
    wrapper.console.loglevel=INFO

    # Log file to use for wrapper output logging.
    wrapper.logfile=../standalone/log/wrapper.log
    
    # Format of output for the log file.  (See docs for formats)
    wrapper.logfile.format=LPTM
    
    # Log Level for log file output.  (See docs for log levels)
    wrapper.logfile.loglevel=INFO
    
    # Maximum size that the log file will be allowed to grow to before
    #  the log is rolled. Size is specified in bytes.  The default value
    #  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
    #  'm' (mb) suffix.  For example: 10m = 10 megabytes.
    wrapper.logfile.maxsize=0

    # Maximum number of rolled log files which will be allowed before old
    #  files are deleted.  The default value of 0 implies no limit.
    wrapper.logfile.maxfiles=0

    # Log Level for sys/event log output.  (See docs for log levels)
    wrapper.syslog.loglevel=NONE

    #********************************************************************
    # Wrapper General Properties
    #********************************************************************
    # Allow for the use of non-contiguous numbered properties
    #wrapper.ignore_sequence_gaps=TRUE

    # Title to use when running as a console
    #wrapper.console.title=@app.long.name@

    #********************************************************************
    # Wrapper JVM Checks
    #********************************************************************
    # Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
    #wrapper.check.deadlock=TRUE
    #wrapper.check.deadlock.interval=60
    #wrapper.check.deadlock.action=RESTART
    #wrapper.check.deadlock.output=FULL
    
    # Out Of Memory detection.
    # (Simple match)
    #wrapper.filter.trigger.1000=java.lang.OutOfMemoryError
    # (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
    #wrapper.filter.trigger.1000=Exception in thread "*" java.lang.OutOfMemoryError
    #wrapper.filter.allow_wildcards.1000=TRUE
    #wrapper.filter.action.1000=RESTART
    #wrapper.filter.message.1000=The JVM has run out of memory.

Anyone know what's going on?  Any advice appreciated.