WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  not able to start stop WAS server services using command on command prompt

    Posted 05/13/14 02:56 PM
    I created a stand alone application server, while I start and stop the server through windows service ..it starts and stop properly.
    But if I start and stop using the command on the command prompt it gives below error
    I even tried re-installing the Websphere while newly creating the stanalone application server profile
    Please provide a soultion for the same
    -----------------------------------------

    E:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>startServer.bat server1
    ADMU0116I: Tool information is being logged in file
    E:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer
    .log
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:45)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:260)
    Caused by: com.ibm.websphere.management.exception.AdminException: ADMU7707E: Fai
    led while trying to determine the Windows Service name for server: server1;
    probable error executing WASService.exe: com.ibm.websphere.management.exception.
    AdminException: ADMU7709E: Unexpected exception while processing server: server1
    ; exception = java.io.IOException: Cannot run program "E:\IBM\WebSphere\AppServe
    r\bin\WASService.exe": CreateProcess error=740, The requested operation requires
    elevation.
    at com.ibm.ws.management.tools.WindowsService.getWindowsServiceNameForSe
    rver(WindowsService.java:221)
    at com.ibm.ws.management.tools.WindowsService.(WindowsService.java
    :154)
    at com.ibm.ws.management.tools.WindowsService.getWindowsServiceInstance(
    WindowsService.java:139)
    at com.ibm.ws.management.tools.WsServerController.getWindowsServiceIfAva
    ilable(WsServerController.java:161)
    at com.ibm.ws.management.tools.WsServerLauncher.getWindowsServiceIfAvail
    able(WsServerLauncher.java:157)
    at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindow
    s(WsServerController.java:129)
    at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.ja
    va:138)
    ... 5 more


    E:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>stopServer.bat server1
    ADMU0116I: Tool information is being logged in file
    E:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\stopServer.
    log
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:45)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213)
    at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93)
    at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct
    ivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
    cation(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
    lipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
    va:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
    va:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:45)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:599)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.jav
    a:330)
    at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:108)
    Caused by: com.ibm.websphere.management.exception.AdminException: ADMU7707E: Fai
    led while trying to determine the Windows Service name for server: server1;
    probable error executing WASService.exe: com.ibm.websphere.management.exception.
    AdminException: ADMU7709E: Unexpected exception while processing server: server1
    ; exception = java.io.IOException: Cannot run program "E:\IBM\WebSphere\AppServe
    r\bin\WASService.exe": CreateProcess error=740, The requested operation requires
    elevation.
    at com.ibm.ws.management.tools.WindowsService.getWindowsServiceNameForSe
    rver(WindowsService.java:221)
    at com.ibm.ws.management.tools.WindowsService.(WindowsService.java
    :154)
    at com.ibm.ws.management.tools.WindowsService.getWindowsServiceInstance(
    WindowsService.java:139)
    at com.ibm.ws.management.tools.WsServerController.getWindowsServiceIfAva
    ilable(WsServerController.java:161)
    at com.ibm.ws.management.tools.WsServerStop.getWindowsServiceIfAvailable
    (WsServerStop.java:129)
    at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindow
    s(WsServerController.java:129)
    at com.ibm.ws.management.tools.WsServerStop.main(WsServerStop.java:113)
    ... 21 more


    E:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>
    ------------------------------------------------------- 



     


  • 2.  not able to start stop WAS server services using command on command prompt

    Posted 05/13/14 06:04 PM
    Hi nikhilgada

      your problem is not with the installation is Windows 7 security issue because of your User Account Settings.
     
      Here the solution.
     
      Windows 7 server startup failure ADMU7707E in WebSphere Lombardi Edition
      www-01.ibm.com/support/docview.wss?uid=s...
     
      Hope this helps. Tell us if you need more support.
     
    regards


  • 3.  not able to start stop WAS server services using command on command prompt

    Posted 05/17/14 12:47 PM
    Dear Nikhil,

    I too had same issue.

    The problem is with Windows 7 security.

    Right click the command prompt icon and click "Run as administrator"

    Then try to execute these commands.

    Surely they will run.