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.  Jython Scripting Support in Eclipse

    Posted Fri October 07, 2016 10:59 AM

    Hi,

    I am a beginner in jython. In the past few days I have started using jython through eclipse to write scripts. The regular jython variables and everything works fine. But whenever I try to use the AdminObjects such as AdminConfig, AdminTask etc in my script I bump into below error.

     

    Error Message:

    import AdminConfig

    ImportError: No module named AdminConfig

    -----------------------------------------------------------------------------

    Due to the above issue I am unable to import Admin objects in my script. I had followed the below developerWorks link to setup the environment.

    http://www.ibm.com/developerworks/websphere/techjournal/1209_vansickel/1209_vansickel.html

    Is there something that I am doing wrong or am I missing any set up steps ?

    Any help is greatly appreciated.



  • 2.  RE: Jython Scripting Support in Eclipse

    Posted Wed October 12, 2016 12:14 PM

    I think a similar question was up on stackoverflow recently. Did you follow the instructions in this link?  

    https://www.ibm.com/developerworks/websphere/library/techarticles/1207_vansickel/1207_vansickel.html