Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2008-02-05T20:15:31Z by hong_fbct
hong_fbct
hong_fbct
14 Posts
ACCEPTED ANSWER

Pinned topic help needed for WASX7015E

‏2008-02-01T15:20:37Z |
As you can see below, $AdminConfig help is the only command that succeeded when I use wsadmin for AdminConfig.

Would you please suggest a solution for WASX7015E errors?
Thanks
wsadmin>$AdminConfig save
WASX7015E: Exception running command: "$AdminConfig save"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.

wsadmin>$AdminConfig validate
WASX7015E: Exception running command: "$AdminConfig validate"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.

wsadmin>$AdminConfig help
WASX7053I: The AdminConfig object communicates with the
Config Service in a WebSphere server to manipulate configuration data
for a WebSphere installation. AdminConfig has commands to list, create,
remove, display, and modify configuration data, as well as commands to
display information about configuration data types.

Most of the commands supported by AdminConfig operate in two modes:
the default mode is one in which AdminConfig communicates with the
WebSphere server to accomplish its tasks. A local mode is also
possible, in which no server communication takes place. The local
mode of operation is invoked by bringing up the scripting client with
no server connected using the command line "-conntype NONE" option
or setting the "com.ibm.ws.scripting.connectionType=NONE" property in
the wsadmin.properties.

The following commands are supported by AdminConfig; more detailed
information about each of these commands is available by using the
"help" command of AdminConfig and supplying the name of the command
as an argument.

attributes Show the attributes for a given type
checkin Check a file into the the config repository.
convertToCluster
converts a server to be the first member of a
new ServerCluster
create Creates a configuration object, given a type, a parent, and
a list of attributes, and optionally an attribute name for the
new object
createClusterMember
Creates a new server that is a member of an
existing cluster.
createDocument Creates a new document in the config repository.
createUsingTemplate
Creates an object using a particular template type.
defaults Displays the default values for attributes of a given type.
deleteDocument Deletes a document from the config repository.
existsDocument Tests for the existence of a document in the config repository.
extract Extract a file from the config repository.
getCrossDocumentValidationEnabled
Returns true if cross-document validation is enabled.
getid Show the configId of an object, given a string version of
its containment
getObjectName Given a config id, return a string version of the ObjectName
for the corresponding running MBean, if any.
getSaveMode Returns the mode used when "save" is invoked
getValidationLevel
Returns the validation used when files are extracted from the
repository.
getValidationSeverityResult
Returns the number of messages of a given
severity from the most recent validation.
hasChanges Returns true if unsaved configuration changes exist
help Show help information
installResourceAdapter
Installs a J2C resource adapter with the given rar
file name and an option string in the node.
list Lists all configuration objects of a given type
listTemplates Lists all available configuration templates of a given
type.
modify Change specified attributes of a given configuration object
parents Show the objects which contain a given type
queryChanges Returns a list of unsaved files
remove Removes the specified configuration object
required Displays the required attributes of a given type.
reset Discard unsaved configuration changes
save Commit unsaved changes to the configuration repository
setCrossDocumentValidationEnabled
Sets the cross-document validation enabled mode.
setSaveMode Changes the mode used when "save" is invoked
setValidationLevel
Sets the validation used when files are extracted from the
repository.
show Show the attributes of a given configuration object
showall Recursively show the attributes of a given configuration
object, and all the objects contained within each attribute.
showAttribute Displays only the value for the single attribute specified.
types Show the possible types for configuration
uninstallResourceAdapter
Uninstalls a J2C resource adapter with the given
resource adapter config id.
validate Invokes validation
wsadmin>
Updated on 2008-02-05T20:15:31Z at 2008-02-05T20:15:31Z by hong_fbct
  • SystemAdmin
    SystemAdmin
    37422 Posts
    ACCEPTED ANSWER

    Re: help needed for WASX7015E

    ‏2008-02-01T15:48:48Z  in response to hong_fbct
    hong.zhuang@fmr.com wrote:
    As you can see below, $AdminConfig help is the only command that succeeded when I use wsadmin for AdminConfig.

    Would you please suggest a solution for WASX7015E errors?
    Thanks
    wsadmin>$AdminConfig save
    WASX7015E: Exception running command: "$AdminConfig save"; exception information:
    com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.

    wsadmin>$AdminConfig validate
    WASX7015E: Exception running command: "$AdminConfig validate"; exception information:
    com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.


    snip

    Sounds like you're not connected to a running server. Make sure you have
    the right port numbers.

    Ken
    • hong_fbct
      hong_fbct
      14 Posts
      ACCEPTED ANSWER

      Re: help needed for WASX7015E

      ‏2008-02-01T17:27:04Z  in response to SystemAdmin
      Thank so much Ken.

      The default port is wrong. How can I overwrite the default port when starting wsadmin?

      Again thanks,
      • SystemAdmin
        SystemAdmin
        37422 Posts
        ACCEPTED ANSWER

        Re: help needed for WASX7015E

        ‏2008-02-01T18:22:09Z  in response to hong_fbct
        hong.zhuang@fmr.com wrote:
        Thank so much Ken.

        The default port is wrong. How can I overwrite the default port when starting wsadmin?

        Again thanks,
        Hmm, sometimes reading the documentation does help :-)

        http://publib.bo ulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/txml_launchscript.html
      • SystemAdmin
        SystemAdmin
        37422 Posts
        ACCEPTED ANSWER

        Re: help needed for WASX7015E

        ‏2008-02-01T18:59:20Z  in response to hong_fbct
        If I recall correctly, there's a wsadmin.properties file in your %{was_home}/properties in which the port it uses by default is configured. Otherwise, use wsadmin's -port argument.

        Wkr,
        Sven Vermeulen
        • hong_fbct
          hong_fbct
          14 Posts
          ACCEPTED ANSWER

          Re: help needed for WASX7015E

          ‏2008-02-05T20:15:31Z  in response to SystemAdmin
          I still have the sam porblem as shown below where I failed $AdminConfig and $AdminApp while succeeding $AdminControl:

          ************
          wsadmin>$AdminControl getPort
          15033
          wsadmin>$AdminConfig save
          WASX7015E: Exception running command: "$AdminConfig save"; exception information:
          com.ibm.ws.scripting.ScriptingException: WASX7070E: The configuration service is not available.
          wsadmin>$AdminApp list
          WASX7015E: Exception running command: "$AdminApp list"; exception information:
          com.ibm.ws.scripting.ScriptingException: WASX7206W: The application management service is not running. Application management commands will not run.

          ******************
          Thanks so much for your help,