aspose 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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
Jython on BEA weblogic 9.0
Executing Jython code line by line in Java
Any Resources for Jython ?
Jython books
Jython Reference Summary?