Version 7.9.10 Command Line Utility

It’s isn’t that it can’t find gwcmd.bat. It is that something in gwcmd.bat cannot be found.

I understand but why can’t it even display the help?

Below is an example of what you should see based on inspecting your “gwcmd.bat” file and validating that java.exe is a valid Java installation:

If not valid, you’ll get the error you’re seeing:

The batch file is just a very simple script to invoke a Java process. All the flags, including help, require an actual Java process to be successfully created. You're not even getting that far - thus, no functionality.

1 Like

OK I finally made it passed this step. I copied the complete path from windows and pasted it in the gwcmd and then it worked. I still have some problems that I will need help with but I will have to get organized.

Great to hear, @dcamp1 ! I'll take this moment to also share a helpful tip for Windows users--Shift-Right-Click presents some additional useful options in various contexts, such as Copy as path:

... useful for making sure that there are no typos.

1 Like

Thanks, I’m just nervous at present.

Here is my new error, it attempts to restore the backup but I get this error.
“ignition gateway not responding to restoration request”

Any clues as to this error?

If the gateway is not running, there is a fallback mechanism that places a GWBK in a special location that will be absorbed on startup. It should have let you know about that upon the restore attempt.

When you start Ignition, that gateway backup file will be restored on startup.

OK well then I have another problem as my gateway will not start it gives me error “Net HelpMsg 3547”
error.

There should be some helpful “evidence” of what might have happened in the logs/wrapper.log file.

My guess would be that your Java installation is still giving you trouble here…

Here a copy of my wrapper.log
‘’’
STATUS | wrapper | 2022/02/07 12:01:01 | → Wrapper Started as Service
STATUS | wrapper | 2022/02/07 12:01:01 | Java Service Wrapper Standard Edition 64-bit 3.5.35
STATUS | wrapper | 2022/02/07 12:01:01 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2022/02/07 12:01:01 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2022/02/07 12:01:01 | Licensed to Inductive Automation for Inductive Automation
STATUS | wrapper | 2022/02/07 12:01:01 |
STATUS | wrapper | 2022/02/07 12:01:01 | Launching a JVM…
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: Initializing…
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager:
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: ERROR - Unable to load the Wrapper’s native library because none of the
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: following files:
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: wrapper-windows-x86-32.dll (Mine has the 64.dll version)
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: wrapper.dll
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: could be located on the following java.library.path:
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: C:\Program Files\Inductive Automation\Ignition\lib
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: Please see the documentation for the wrapper.java.library.path
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager: configuration property.
INFO | jvm 1 | 2022/02/07 12:01:01 | WrapperManager:
STATUS | wrapper | 2022/02/07 12:01:03 | ← Wrapper Stopped
‘’’
Do you see anything that I can fix?

It looks like the Java Service Wrapper is detecting running on a 32-bit OS? Can you verify by looking at msinfo32 and check your OS type?

2022-02-07 at 12.48 PM

Your installation of Ignition must match the architecture bit depth (32/64). For 7.9 you can download either 32 or 64-bit versions (as of 8.0, 64-bit is required).

EDIT: Additionally, make sure that your installation of Java (for 7.9, since 8.x embeds the correct version with the installation) matches that same bit depth.

it say x64-based PC

So could I do a reinstall and then restore my backup? Are should I try to figure out what is going on?

I’d verify that your installation of Java is 64-bits as well. You should be able to check by inspecting the output of java -version:

Mine does NOT say win64 it does say mixed mode (I am running version 1.8.0_211)
OK may be on to something, in control panel my java is listed as 32-bit.

So I should reinstall the 64-bit version?

Making headway.

The web server now starts but the gateway is showing faulted.

Ok, I think I am back up and running (I guess I had wrong version of java install) this was actually due to our IT department doing some security updates on this machine when they are not suppose to touch this computer.

I forgot how to create a desktop short to the designer from the sever desktop. Can someone give me an example please?

Nah, I wouldn't blame them. Security updates for Windows are absolutely necessary. An IT group that didn't do appropriate patching on your server would be crucified after a hacking incident. If you don't want that disturbance, don't use Windows.

1 Like

That’s not the problem “They are suppose to inform me when they are working on this server” that’s just common courtesy!

You can have 2 parties managing a server without communication between the 2.