9.6 command line Installer

How can you install webMethods 9.6 from the command line using an image?

When I am trying to do this, I can’t find the right option and it makes to connect to the external installer server. :oops:

Hi Avner,

What is the command you are using while installing webMethods 9.6?

Can you share your OS details?

Linux 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

Here are the screens which I get:
[webMethods@cmtolpcipgwm02 96]$ java -jar SoftwareAGInstaller20140415.jar
Exception in thread “Thread-0” java.lang.InternalError: Can’t connect to X11 window server using ‘10.115.111.176:0’ as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
at sun.awt.X11.XToolkit.(XToolkit.java:119)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at java.awt.Toolkit$2.run(Toolkit.java:868)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:860)
at com.wm.distman.install.DistManLaunchUtils$HeadlessTester.run(DistManLaunchUtils.java:1168)
Exception in thread “Thread-1” java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at java.awt.Toolkit$2.run(Toolkit.java:868)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:860)
at com.wm.distman.install.DistManLaunchUtils$HeadlessTester.run(DistManLaunchUtils.java:1168)

Welcome to the Software AG Installer

Release 2014-03

Build 9.6.0.0.172

Copyright (c) 2001 - 2014 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and or/its affiliates and/or their licensors.

The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or Software AG USA Inc. and/or its subsidiaries and or/its affiliates and/or their licensors. Other company and product names mentioned herein may be trademarks of their respective owners.

Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at http://techcommunity.softwareag.com/ecosystem/documentation/legal/.

This software may include portions of third-party products. For third-party copyright notices and license terms, please refer to “License Texts, Copyright Notices and Disclaimers of Third Party Products”. This document is part of the product documentation, located at http://techcommunity.softwareag.com/ecosystem/documentation/legal/ and/or in the root installation directory of the licensed product(s).

Before installing or upgrading, see readmes, release notes, and installation or upgrade guides at
http://techcommunity.softwareag.com/ecosystem/documentation

You might need to shut down running products before continuing. For details, see the installation or upgrade guide for your products.

For product releases not available on the installer, contact the Software AG Logistics Center.

N) Next X) Exit

Enter: [ N ] ?N

If your company connects to the Internet through an HTTP or Socks proxy server, you must use that proxy server to install. Use AutoDetect Proxy to automatically detect proxies using WPAD.

Checking network connectivity …

Use SSL to connect to the Software AG Installer Server?

Y (Yes) / N (No) [ N ] ?N

Checking direct connection …

The installer cannot connect to the installer server. Use the AutoDetect option to automatically detect proxies or manually configure proxy settings. Options are:

A) AutoDetect proxy using WPAD
H) Configure HTTP proxy
S) Configure Socks proxy
N) Next B) Back X) Exit

Select proxy option: [ N ] ?N

Use SSL to connect to the Software AG Installer Server?

Y (Yes) / N (No) [ N ] ? N

A) AutoDetect proxy using WPAD
H) Configure HTTP proxy
S) Configure Socks proxy
N) Next B) Back X) Exit

Select proxy option: [ N ] ?N

Hi Avner,

your command should like this:

java -jar SoftwareAGInstaller20140415.jar -console -readImage -installDir

The first option forces the CommandLine mode, so that the X11-Messages will disapear.
The second specifies the location and name of your prepared image.
The third identifies the directory in to which you will be installing.

There more options available.
See “java -jar SoftwareAGInstaller20140415.jar -console -help” for details.

Or refer to the Installation Guide which is available from Empower or via this community service.

Regards,
Holger

1 Like