This discussion is archived
2 Replies Latest reply: Jan 14, 2013 12:41 AM by Albin RSS

Creating FileAdapter - Python/WLST

970629 Newbie
Currently Being Moderated
Hi,

I have a python script to create a FileAdapter which I execute through WLST.

However, I receive the following error even though the RAR is present in the directory. Can anyone help?

Caused by: weblogic.utils.compiler.ToolFailureException: [J2EE:160106]ERROR: The source file, '\u01\app\oracle\product\fmw\Oracle_SOA1\soa\connectors\FileAdapter.rar', could not be found.

In terms of the code, it stops during this 'loadApplication' line.

     try:
          edit()
          startEdit()
          print '--Get plan paths--'
          planPath = get('/AppDeployments/FileAdapter/PlanPath')
          print '--done plan path 1--'
          appPath = get('/AppDeployments/FileAdapter/SourcePath')
          print '--done plan path 2--'                         
          myPlan=loadApplication(appPath, planPath)

Thanks

Legend

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