J-Express forum
June 04, 2020, 02:37:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: J-Express 2011 released. Download from jexpress.bioinfo.no
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Jython Script Question  (Read 1557 times)
RyanCaleb
Newbie
*
Posts: 14


View Profile Email
« on: January 31, 2018, 01:46:14 PM »

Hi,
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?
Please help.
Thanks!

I didn't find the right solution from the Internet.

References:
https://coderanch.com/t/446643/Jython-Script

Cloud Storage Video
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!