This discussion is archived
1 Reply Latest reply: Jul 25, 2012 12:36 AM by Kalyan Pasupuleti-Oracle RSS

upload a jar file in remote Weblogic server using wlst

Manjuvp Newbie
Currently Being Moderated
Is there a way to upload a jar file to a specific location on remote weblogic server using wlst? This is my scenario - I need to upload aspectjweaver.jar to the remote server. This needs to be done before weblogic startup, as weaving takes place during startup . FTP is not an option because those ports are blocked
  • 1. Re: upload a jar file in remote Weblogic server using wlst
    Kalyan Pasupuleti-Oracle Expert
    Currently Being Moderated
    Hi,

    You don't have such option through upload files as what FTP do but you can deploy the application through wlst.

    eg:

    deploy('Web14','C:/TEMP/Web14.war',targets='Cluster1',stageMode='stage',upload='true',remote='true')

    Or you can use Deploy option to deploy app directly.


    eg:

    java weblogic.Deployer -adminurl http://localhost:7001
    -username weblogic -password weblogic
    -deploy ./myapp.ear -id myDeployment


    This will upload file and place the file there from there you can manipulate the file.

    Hope this will work for you.

    Regards,
    Kal

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points