my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
 
jQuery in Action, 2nd edition
 
subject: Jython Script Question
 
Similar Threads
Any Resources for Jython ?
Jython Reference Summary?
Jython books
Executing Jython code line by line in Java
Jython on BEA weblogic 9.0