Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jython Script Question
 
Similar Threads
Executing Jython code line by line in Java
Any Resources for Jython ?
Jython Reference Summary?
Jython books
Jython on BEA weblogic 9.0