IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
Expand all | Collapse all

installWebService.sh is failing for IWS00103E - Parameter value not valid. Specified object not found

  • 1.  installWebService.sh is failing for IWS00103E - Parameter value not valid. Specified object not found

    Posted Mon June 12, 2023 10:54 AM

    I am using installWebService.sh command to install web service on IWS server. My IBMi machine has iASP. I prepared a propertyfile with below property for programobject.


    ws.iws.gen.programobject=/<<IASPNAME>>/QSYS.LIB/<<PGMLIB>>.LIB/<<PGMNAME>>.PGM

    command used:

    installWebService.sh  -server <<Server NAme>>                      
       -propertiesFile <<Path of property file>>
          -printErrorDetails

    It is giving error 
    com.ibm.systemi.iws.WSSException: IWS00103E - Parameter value not valid. Specified object /<<IASPNAME>>/QSYS.LIB/<<PGMLIB>>.LIB/<<PGMNAME>>.PGM not found.  
     at com.ibm.systemi.iws.scripts.CommandHandler.hasAccess(CommandHandler.java:169)                                                     
     at com.ibm.systemi.iws.scripts.CommandHandler.hasAccess(CommandHandler.java:141)                                                     
     at com.ibm.systemi.iws.scripts.InstallWebServiceCommandHandler.processCommand(InstallWebServiceCommandHandler.java:422)              
     at com.ibm.systemi.iws.scripts.ScriptProcessor.run(ScriptProcessor.java:240)                                                         
     at com.ibm.systemi.iws.scripts.ScriptProcessor.main(ScriptProcessor.java:327)                                                        
    IWS00103E - Parameter value not valid. Specified object /<<IASPNAME>>/QSYS.LIB/<<PGMLIB>>.LIB/<<PGMNAME>>.PGM not found. 

    I did checked on IFS path and PGM object exists. We have used profile with *ALLOBJ authority. any idea what could be the reason of this message.

    Point to note is I have issue when i start using ibm lpar with iASP. 



    ------------------------------
    Sarfaraj Pirjade
    ------------------------------


  • 2.  RE: installWebService.sh is failing for IWS00103E - Parameter value not valid. Specified object not found

    Posted Mon June 12, 2023 09:42 PM
    Edited by Satid Singkorapoom Mon June 12, 2023 10:16 PM

    Sarfaraj

    First of all. I assume the IASP was already varied on when you did the IWS deployment.  Then that you use Java 8 or higher as described in this Technote :  Deployment of web services requires Java 8 or higher JRE at https://www.ibm.com/support/pages/node/6510108

    Can you use instruction from this Technote instead ?  How to Deploy a Web Service from an IASP for an Integrated Web Services (IWS) Server on the IBM i at  https://www.ibm.com/support/pages/how-deploy-web-service-iasp-integrated-web-services-iws-server-ibm-i

    There is also a new support for getConfigurationFile.sh  that you may consider using : Script to generate property file for a service at  https://www.ibm.com/support/pages/script-generate-property-file-service 


    ------------------------------
    Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
    ------------------------------
    Satid S.
    ------------------------------



  • 3.  RE: installWebService.sh is failing for IWS00103E - Parameter value not valid. Specified object not found

    Posted Wed June 14, 2023 08:19 AM

    Thank you for your response. Issue is resolved when i ran with profile having *ALLOBJ authority and having the password.



    ------------------------------
    Sarfaraj Pirjade
    ------------------------------



  • 4.  RE: installWebService.sh is failing for IWS00103E - Parameter value not valid. Specified object not found

    Posted Tue June 13, 2023 10:46 AM

    What release of IBM i? Also, Ensure you have latest IWS PTFs[[1].  There was a problem with iASP that was fixed I believe in IBM i 7.3 and above.

    [1] https://www.ibm.com/support/pages/node/1138612



    ------------------------------
    Nadir K Amra
    ------------------------------