Got back to this...
Contents of STDOUT:
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.
ADMU0116I: Tool information is being logged in file  
           /QIBM/UserData/WebAS5/Base/default/logs/SERVER1/stopServer.log  

ADMU3100I: Reading configuration for server: SERVER1  
ADMU0509I: The server "SERVER1" cannot be reached. It appears to be 
stopped.
ADMU0211I: Error details may be seen in the file:  
           /QIBM/UserData/WebAS5/Base/default/logs/SERVER1/stopServer.log  

                          ****** END OF DATA ******  

Contents of bottom part of 
/QIBM/UserData/WebAS5/Base/default/logs/SERVER1/stopServer.log
[2/2/05 15:19:18:495 EST] 841229a3 ManagerAdmin  I TRAS0017I: The startup 
trace state is *=all=disabled. 
[2/2/05 15:19:18:524 EST] 841229a3 AdminTool     A ADMU3100I: Reading 
configuration for server: SERVER1 
[2/2/05 15:19:30:538 EST] 841229a3 WsServerStop  E ADMU3002E: Exception 
attempting to process server SERVER1
[2/2/05 15:19:30:539 EST] 841229a3 WsServerStop  E ADMU3007E: Exception 
com.ibm.websphere.management.exception.ConnectorException: ADMC0042E: SOAP 
connector port number not specified
[2/2/05 15:19:30:539 EST] 841229a3 WsServerStop  E ADMU3007E: Exception 
com.ibm.websphere.management.exception.ConnectorException: ADMC0042E: SOAP 
connector port number not specified
[2/2/05 15:19:30:539 EST] 841229a3 WsServerStop  A ADMU3007E: Exception 
com.ibm.websphere.management.exception.ConnectorException: ADMC0042E: SOAP 
connector port number not specified
      java/lang/Throwable.<init>(Ljava/lang/String;)V+4 
(Throwable.java:85)  
      java/lang/Exception.<init>(Ljava/lang/String;)V+1 
(Exception.java:33)  
      com/ibm/ws/exception/WsException.<init>(Ljava/lang/String;)V+2 
(WsException.java:74) 
 
com/ibm/websphere/management/exception/ConnectorException.<init>(Ljava/lang/String;)V+2
 
(ConnectorException.java:29) 
 
com/ibm/websphere/management/AdminClientFactory.getCacheKey(Ljava/lang/String;Ljava/util/Properties;)Ljava/util/Properties;+112
 
(AdminClientFactory.java:720)
 
com/ibm/websphere/management/AdminClientFactory.createAdminClient(Ljava/util/Properties;)Lcom/ibm/websphere/management/AdminClient;+100
 
(AdminClientFactory.java:177)
 
com/ibm/ws/management/tools/LaunchUtils.getAdminClient(Lcom/ibm/websphere/models/config/serverindex/ServerIndex;Ljava/lang/String;Lcom/ibm/websphere/models/config/adminservice/JMXConnector;ZLjava/lang/String;Ljava/lang/String;)Lcom/ibm/websphere/management/AdminClient;+302
 
(LaunchUtils.java:347) 
com/ibm/ws/management/tools/LaunchUtils.getAdminClient(Lcom/ibm/ws/runtime/service/Repository;Lcom/ibm/websphere/models/config/adminservice/JMXConnector;Ljava/lang/String;Ljava/lang/String;)Lcom/ibm/websphere/management/AdminClient;+148
 
(LaunchUtils.java:287)
      com/ibm/ws/management/tools/WsServerStop.runTool()I+349 
(WsServerStop.java:196) 
 
com/ibm/ws/management/tools/AdminTool.executeUtility([Ljava/lang/String;)I+310 
(AdminTool.java:183) 
 com/ibm/ws/management/tools/WsServerStop.main([Ljava/lang/String;)V+8 
(WsServerStop.java:86) 
      com/ibm/ws/bootstrap/WSLauncher.main([Ljava/lang/String;)V+473 
(WSLauncher.java:94) 
      com/ibm/websphere/os400/command/Wrapper.run()V+208 
(Wrapper.java:166) 

According to the browser gui it sure doesn't look like it's already 
stopping.

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx> 
Sent by: web400-bounces@xxxxxxxxxxxx
11/22/2004 09:45 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
"'Web Enabling the AS400 / iSeries'" <web400@xxxxxxxxxxxx>
cc

Subject
RE: [WEB400] qshell script to drop servers






I wrapper the call to QShell in a command.  The override of STDOUT
prevents that Unix-y QShell command screen from coming up.

NOTE: This command only works if your server name and instance name are
the same.  If that's not the case at your shop, you'll need to add an
additional parameter.  If you only have one instance, you can hardcode
the parameters, skip the command and just call the CL.

HTH.

Joe



Command:
 ENDWASSVR:  CMD        PROMPT('End WebSphere AppServer') 
             PARM       KWD(SVR) TYPE(*NAME) PROMPT('Server Name')

CL:
 ENDWASSVRC: PGM        PARM(&SVR) 
 
             DCL        VAR(&SVR) TYPE(*CHAR) LEN(10) 
             DCL        VAR(&CMD) TYPE(*CHAR) LEN(80) 
 
             CHGVAR     VAR(&CMD) + 
                          VALUE('/QIBM/ProdData/WebASE/ASE5/bin/stopS+
                          erver -instance' *BCAT &SVR *BCAT &SVR) 
 
             DLTF       FILE(QTEMP/STDOUT) 
             MONMSG     CPF2105 
             CRTPF      FILE(QTEMP/STDOUT) RCDLEN(128) 
 
             OVRDBF     STDOUT QTEMP/STDOUT 
             QSH        CMD(&CMD) 
             DLTOVR     STDOUT 
 
             ENDPGM 


> From: rob@xxxxxxxxx
> 
> Evidently when the server is started with the GUI the job log looks
> something like:
> CALL PGM(QEJBAS5/QEJBSTRSVR) PARM('-instance'
> '/QIBM/UserData/WebAS5/Base/WAS5Portal' '-server' 'WAS5Portal')
> And I see a Autostart job entry in subsystem QEJBAS5/QEJBAS5  that
uses
> something similar to start another instance.
> 
> Doing a wrkobj QEJBAS5/QEJB* doesn't show anything like a end server
> program.
> 
> Just trying to see if there's something more iSeries friendly than
qshell.

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.