This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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!
 
 
subject: Jython Script Question