File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Jython Script Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Jython Script Question" Watch "Jython Script Question" New topic
Author

Jython Script Question

Craig McWilliam
Greenhorn

Joined: May 23, 2009
Posts: 1
I am trying to use Jython scripting to set the "Resource Authorization" of CMP beans to "Container". But I keep getting exceptions. Can some one please help on what I am doing wrong?
I am trying

AdminApp.edit
(appname, ['-DataSourceFor20CMPBeans',
[[
"TestServices", "TestServices", uri, targetjndi, 'container']]])

Is DataSourceFor20CMPBeans not the correct attribute?


Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jython Script Question