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.  wsInstallApp problem installing form window to linux

    Posted 12/20/22 08:14 AM
    I have to use wsInstallApp to deploy an ear generated on a windows machine into a linux server
    here is the piece of code
    <wsInstallApp wasHome="/opt/IBM/WebSphere/AppServer" ear="C:/Users/024192758/Desktop/GeneratesWS.ear"
    conntype="SOAP"  options="-appname MyAppName -verbose true -validateinstall fail -preCompileJSPs true"
    			host="10.243.64.63" port="9063" user="admin" password="adminsto"
    			failonerror="true" />​

    I get this error

    [wsadmin] java.io.FileNotFoundException: \opt\IBM\WebSphere\AppServer\configuration\config.ini (The system cannot find the path specified.)
      [wsadmin]     at java.io.FileInputStream.open(FileInputStream.java:212)
      [wsadmin]     at java.io.FileInputStream.<init>(FileInputStream.java:152)
      [wsadmin]     at com.ibm.wsspi.bootstrap.WSPreLauncher.mergeOsgiPropsWithSystemProps(WSPreLauncher.java:929)
      [wsadmin]     at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:420)
      [wsadmin]     at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:178)​

    A file seems missing, but it is actually there. The problem is that it is searched with windows path separator.
    Any help, please ?



    ------------------------------
    Giovanni Posabella
    ------------------------------


  • 2.  RE: wsInstallApp problem installing form window to linux

    Posted 12/21/22 01:35 AM
    I would assume that the EAR has to be located local to the WebSphere environment (where the WAS server or Deployment Manager is running) , which in this case means it has to be on the Linux box.

    Hope that helps.

    ------------------------------
    Lars Besselmann
    Integration Technical Specialist, IBM Technology Sales, EMEA
    IBM
    Düsseldorf
    ------------------------------



  • 3.  RE: wsInstallApp problem installing form window to linux

    Posted 12/21/22 02:57 AM
    Thanks for the reply.
    File missing file is not the ear.
    it is
    \opt\IBM\WebSphere\AppServer\configuration\config.ini​
    that seems a websphere file.
    The point is the path separator used, it is \ (windows) instead of / (linux)

    ------------------------------
    Giovanni Posabella
    ------------------------------



  • 4.  RE: wsInstallApp problem installing form window to linux

    Posted 12/21/22 04:03 AM
    Sorry for the confusion, I missed this.
    The wsInstallApp task is a wrapper for the AdminApp.install() command of the wsadmin tool. 
    Please try to enable wsadmin tracing as described in the link below. Maybe this gives some insight what's really happening.
    https://www.ibm.com/support/pages/mustgather-wsadmin-problems-websphere-application-server-configuration-modification-issues

    ------------------------------
    Lars Besselmann
    Integration Technical Specialist, IBM Technology Sales, EMEA
    IBM
    Düsseldorf
    ------------------------------