Jython cachedir location in ODI 11.1.1.6 agent

Hi !
I have installed a new ODI 11.1.1.6 agent on an AIX server. I tried to launch an agent to test, and I got these warnings :
sys-package-mgr: processing modified jar, '/tech/TODI11/odi_misc/help-share.jar'
sys-package-mgr: can't write cache file for '/tech/TODI11/odi_misc/help-share.jar'
sys-package-mgr: processing modified jar, '/tech/TODI11/odi_misc/ohj.jar'
sys-package-mgr: can't write cache file for '/tech/TODI11/odi_misc/ohj.jar'
I know that it is Jython who try to extract and cache information from the jars, and that the cachedir must be writable to do so, but I don't find where it is located.
Can anybody tell me where is the jython cachedir ?
Thanking you by advance,
Bruno

Did you manage to see this
http://www.prasannatech.net/2009/02/jython-sys-package-mgr-processing-jar.html
?

Similar Messages

  • Can we assign jython variable value into ODI variable?

    Hi Team,
    We are trying to save jython variable value into ODI variable so that ODI variable can use in later steps.
    we are facing failure regards same.
    Please suggest us so that we can use ODI variable value in later steps.
    Thanks
    Ankush.

    See if this post help you :- How to assign value for a ODI variable from Jython Script
    Doc id 424579.1 on metalink should help.

  • Physical location of the pages produced by Reporting Agent Web Template Sch

    I am trying to determine the physical location of the pages produced by Reporting Agent Web Template Scheduling Packages ( i.e. From the Reporting Agent Web Templates go to 'Document Overview' then folders and contents in BW_REPORTING_AGENT_PAGE_STORAGE ).
    Thanks

    no answer

  • Jython FTP Error in ODI

    Hi All,
    I am using jython code to ftp to a server. When i hard code the username and password it works fine, but when i try to read the username and password from a file, it doesnt work, i get the following error:
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 3, in ?
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\snpsftp.py", line 51, in __init__
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\snpsftp.py", line 79, in login
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\ftplib.py", line 318, in login
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\ftplib.py", line 229, in sendcmd
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\ftplib.py", line 202, in getresp
    error_perm: 530 Login Failed for User username
         at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Below is my source code :
    import snpsftp
    fsrc = open('C:\ODI\DebtorInfo_Properties2.txt', 'r')
    ftp = snpsftp.SnpsFTP(fsrc.readline(),fsrc.readline(),fsrc.readline())
    ftp.setmode('ASCII')
    ftp.mput(fsrc.readline(), 'DEBITEUR.dat',fsrc.readline())
    ftp.close()
    fsrc.close()
    My file structure looks like this :
    100.200.3.45
    username
    password
    C:\ODI\oracledi\demo\file
    /ftpfolder/share/
    I tried reading the file and writing the file to verify the data is correct and it is. If i hard code the username and password, it works fine e.g.
    import snpsftp
    fsrc = open('C:\ODI\DebtorInfo_Properties2.txt', 'r')
    ftp = snpsftp.SnpsFTP('100.200.3.45','username','password')
    ftp.mput('C:\ODI\oracledi\demo\file', 'DEBITEUR.dat','/ftpfolder/share/')
    ftp.close()
    fsrc.close()
    Any help on this matter would be much appreciated. I have been struggling with this for the past 2 days. Im new to ODI so any help would be greatful
    Thanks

    One of the best ways of debugging jython code is to use the print statemnent.
    I suggest that you change the code to something like:
    import snpsftp
    fsrc = open('C:\ODI\DebtorInfo_Properties2.txt', 'r')
    ftpserver=fsrc.readline()
    username=fsrc.readline()
    password=fsrc.readline()
    print "ftpserver '%s'" % ftpserver
    print "username '%s'" % username
    print "password '%s'" % password
    ftp = snpsftp.SnpsFTP(ftpserver,username,password)
    ftp.setmode('ASCII')
    ftp.mput(fsrc.readline(), 'DEBITEUR.dat',fsrc.readline())
    ftp.close()
    fsrc.close()
    Run it in an agent, and you will the print statements in the agent log. You may need to strip() what you read from the file.

  • Need the location where ODI scenario and interfaces are physically stored

    Hi,
    I am new to ODI and would like to know in which folder ODI stores the interfaces, packages and scenarios.
    Any document reference or details will be very helpful.
    Regards,
    User1672911

    Hi User1672911,
    ODI will store all information in metadata table in your underlying WORK repository.
    Thanks,
    Guru

  • ODI repository and Java EE agent on different servers

    Hi all,
    I ahd created ODI repository on one data server(172.18.59.67) through RCU. Now due to some memory issues i ahd to install the ODI software on another server (172.18.41.44) and also configured the java ee agent on this second server. Will that be a problem while invoking web service through ODI?
    Thanks and Regards,
    Sourav

    Hi SH
    But while testing a web service through ODI web service (my agent is connecting successfully)... i am getting this error:-
    1#Error in ODI invocation WS ODIInvoke. ODI-1274: Agent Exception
    Caused by: oracle.odi.core.config.WorkRepositoryResourceFailureException:
    oracle.odi.core.exception.OdiRuntimeException:
    oracle.odi.core.exception.OdiRuntimeException:
    Failed to lookup dataSource from JNDI for name {java:comp/env/jdbc/odiWorkRepository
    where am i going wrong?
    Regards,
    Sourav

  • OSCommand ODI Command not running on Agent

    Hello,
    I have a simple .bat file I need to kick off in ODI. When I run it with local service(no agent) it runs fine but when I try to run it under my (installed as a service )agent it fails with the generic error "wrong process return code"
    I have changed the properties of the service and specified to log on as administrator but it still fails.
    any ideas?
    Thanks
    Kind regards,
    Caoimhe
    Edited by: user9213000 on Dec 15, 2010 8:26 AM

    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ QtADB
    bash: QtADB: command not found
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ ./QtADBbash: ./QtADB: No such file or directory
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh ./QtADB
    ./QtADB: ./QtADB: cannot execute binary file
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $ sh QtADB
    QtADB: QtADB: cannot execute binary file
    user-arch@archusrxpc /home/@solushome/user-solus/QtADB-cwm_edition $ ls -l
    σύνολο 2940
    -rw-rw-r-- 1 user-arch 1000    5259 Απρ  13  2012 Changes.txt
    -rw-rw-r-- 1 user-arch 1000   25330 Ιούν 26  2012 debug.log
    -rwxrwxr-x 1 user-arch 1000 2970612 Απρ  13  2012 QtADB
    drwxr-xr-x 1 user-arch 1000       0 Ιούν 26  2012 tmp
    drwxrwxr-x 1 user-arch 1000     366 Μάρ  13  2012 tools
    user-arch@archusrpc /home/@solushome/user-solus/QtADB-cwm_edition $
    Last edited by dancer69 (2013-01-17 18:30:23)

  • WLST and Jython "advanced" setup

    Hi,
    I have a few questions concerning WLST and Jython:
    OS:
    Unix / Linux
    Situation:
    1) Unable to include wlst-file created by using writeIniFile automatically
    2) using org.python.util.jython without caching message
    Information:
    1) wlst.py generated by using writeIniFile in an interactive java weblogic.WLST session
    2) when starting jython using "java org.python.util.jython" the message "*sys-package-mgr*: can't create package cache dir, '/opt/oracle/fmw/fmw11gR1PS2/wlserver_10.3/server/lib/weblogic.jar/cachedir/packages'" is shown
    3) location for often used modules is unkown. For weblogic.WLST this is "<WL-Home>/wlserver_10.3/common/wlst/modules"
    Request:
    1) where should common modules be placed for the included jython
    2) how to change jython cache location
    3) is it possible to update to another jython version
    Any and all help welcome

    As a data point for you (others may have had a better experience) we tried to also use Jython 2.2 with our WLST automation env that we created and found the same issues (and more) that you are describing. When we would talk with support on the matter, we were always told that WLST was only tested/certified on the version of Jython that shipped with WLS (in our case 10 MP1). In 10MP1, it is Jython v2.1. Once we started using v2.1 (and got past a few other CLASSPATH issues regarding a module JAR that is packaged with WLS that is somehow not put on the CLASSPATH when running the setWLSEnv.[cmd/sh] script), we are up and running and have had no further issues. Hope this helps...

  • Error running ODI scenario from batch file

    Hello, everyone!
    I am loading data into Essbase 11.1.2 from MS SQL Server views using ODI 11.1.1.5.0 and Local agent. I created an interface which runs ok if launched manually from ODI.
    Then I created the scenario named MyScenario for this interface and updated odiparams.bat file in *...\agent\bin* folder as follows:
    set SECU_DRIVER=weblogic.jdbc.sqlserver.SQLServerDriver
    set SECU_URL=jdbc:weblogic:sqlserver://<ServerName>:1433;databaseName=<DatabaseName>
    set SECU_USER=<UserName for Master Repository>
    set SECU_PASS=<encoded password for MasterRepository UserName>
    set ODI_USER=SUPERVISOR
    set ODI_PASS=<encoded password for SUPERVISOR>
    set WORK_REPOSITORY=<Work Repository name>
    Then I created the batch file in which I wrote: *...\agent\bin>startscen MyScenario 001 GLOBAL 5*
    However the scenario is not executed with the following error message:
    ERROR ODI-1132 Agent Internal encountered a warning: ODI-1414: Error connecting to agent Internal: a JDBC error occurs while connecting to the master repository. Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
    I will be very grateful for any hints!

    A fundamental clarification : where is your master repository database located ? Is it on SQL Server as well ?
    The MS SQL Server connection that you mentioned in the SECU_DRIVER, SECU_URL should point to the MR database.
    Is the server name in SECU_URL a Fully Qualified domain name or just an IP Address reachable from localhost ?
    startscen will spawn a new instance of local agent.
    startcmd will reuse an existing agent (not local).
    Not sure why your local agent is getting a Network Connection Error.

  • Issue while installing ODI 11.1.1.6 with JDK 7u

    Hi All,
    I am working on installing ODI on windows 64 bit. I downloaded lastest web logic server files, ODI files and JDK files from oracle site..
    I installed Web Logice server with no errors but when I tried to install ODI by running the setup.exe it was giving me an error:
    "Error: Provide the JDK/JRE Location while launching the installer. Invoke the sertup.exe with -jreLoc <JDK/JRE Location absolute path>Parameter(s)".
    So, I looked in to JDK file and noticed that it is an old file and need to be updated so I installed "jdk-7uf-windows-i586.exe". After installing when I try to setup ODI, I am still getting the same error..
    It is asking me to provide the location but I am not srue where to provide the location.. I know the location for JDK i.e. C:\Program files\Java\jdk1.7.0_04 but I am not sure where to provide this location for ODI..
    Thanks a lot!

    2 things must be noticed:
    First: ODI 11g is not supported by JDK 7, I always use the JDK1.6.0_27 and works fine. When you try to open the ODI Studio, this message appears, telling that ODI is supported only with JDK 6 versions, so don't try to use JDK 7.
    Second: I always install the JDK in a path without spaces, like "C:\JDK1.6.0_27\" and the excatly same thing to odi install files. So I call via Command Prompt:
    C:\ODI_INSTALL\Disk1\setup.exe -jreLoc C:\JDK1.6.0_27\
    I did over 20 windows installations using these settings, it'll work perfectly.
    Regards.
    Luiz Araujo

  • ODI Import by using UNIX Command in 11.1.1.3

    Hi,
    I am trying to use a Unix script for importing several ODI Components. I am avoiding the GUI as there are lot of ODI files needed for the import. The Source and the destination Repositories are both in 11.1.1.3 version
    For eg: I have the following:
    -- File to be imported: "TAB_W_RTL_ORG_D_TMP.xml" and kept under the following location "/u00/odi/product/11113/oracledi/agent/bin/".
    -- Import Mode is INSERT_UPDATE
    -- ODI Work Rep Name = RA133POC_WORK
    Command I am exeuting from the $ODI_HOME/bin directory:
    ksh startcmd.sh OdiImportObject "-FILE_NAME=/u00/odi/product/11113/oracledi/agent/bin/TAB_W_RTL_ORG_D_TMP.xml" "-IMPORT_MODE=SYNONYM_INSERT_UPDATE" "-WORK_REP_NAME=RA133POC_WORK" -"IMPORT_SCHEDULE=YES"
    But I am getting an odi tool error:
    oracle.odi.oditools.OdiToolInvalidParameterException: Error while setting parameters on tool
    at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:607)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:126)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:48)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: java.lang.Exception: Invalid parameter: -IMPORT_SCHEDULE
    at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.actionSetParameters(SnpsFunctionBaseRepositoryConnected.java:122)
    at com.sunopsis.dwg.function.SnpsFunctionBase.setParameters(SnpsFunctionBase.java:785)
    at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:603)
    +... 3 more+
    Can anybody help me on this at the earliest...?
    Thanks,
    Shib

    Hi Shib,
    This is a BUG in ODI 11.1.1.3 and may be in latest patch 11.1.1.5.0 oracle would have fixed it, check with MOS.
    Problem with ODI cammand
    Thanks,
    Guru

  • Error while load data into Essbase using ODI

    Hi ,
    I'm getting the following error while loading measures into Essbase using ODI, I used the same LOG nd Error file and file path for all my Dimensions , this worked well but not sure why this is not working for measures....need help.
    File "<string>", line 79, in ?
    com.hyperion.odi.common.ODIHAppException: c:/temp/Log1.log (No such file or directory)
    Thanks
    Venu

    Are you definitely running it against an agent where that path exists.
    Have you tried using a different location and filename, have you restarted the agent to make sure there is not a lock on the file.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to shutdown and start agent in ODI 11g in Linux Environment

    Hi Experts,
    Pls any one can help me on "How to shutdown and start agent in ODI 11g in Linux Environment" and where can I find Agent.sh and Agentshutdown.sh files location in ODI 11g and parallely how can I find Odiparameter.sh file location
    Thanks in Advance
    Regards
    Phani

    Phani ,
    Go to your <ODI_11g_HOME>/oracledi/agent/bin
    and you will find agent.sh , agent_<standalone_agent>.sh and odiparams.sh and other agent files.
    Step 1. Update your odiparams.sh
    Step 2. Create the Physical and Logical Agent int your Topology using the same port_number and name provide while creating the Stand alone agent during installation ( or) create accordingly the agent in Topology with name and port number as required and make the modification in agent_<stand_alone>.sh file
    Step 3. After doing so start your agent_<stand_alone>.sh
    Step 4. Repeat the process 2-3 for any number of stand alone agent created on different ports and steps 1 to 3 for different Work repository
    Thanks
    Dev

  • ODI - Delete Shared Members?

    Hello,
    I load a node in a Planning dimension with Shared Members using an ODI Interface. We have a need to remove all of these Shared Members before we perform the load. Is it then possible to remove all Shared Members from specific locations using ODI? I know that we can run the Delete Shared Members utility from the server where Planning is installed, but that is not possible for admin users who do not have admin rights to the server. Version 11.1.1.2, ODI version 10.1.3.
    Thanks in advance,
    Steve

    John,
    Thanks for the reply. The dimension is in a Planning Application/database. I have a parent/child/Alias txt file that I used to load the dimension node with. Are you saying that it is possible to create an ODI interface that can "Delete Level 0" members? Below is a sample of the dimension via planning/dimensions. In this example, I would want to remove all members under the "COGS" node....or all "Shared Members". Below is also a sample of the file used to load the Shared Members.
    Thanks again,
    Steve
    DEPT_SEC All Departments Depts Store View 4
         COGS Cost of Sales Depts Store 4
              D00400(Shared) Management Buffer - COGS (D00400) Shared 4
              D10013(Shared) ELE Las Vegas - COGS (D10013) Shared 4
              D10020(Shared) IT Infrastructure Eng COGS-SJC (D10020) Shared 4
              D10030(Shared) CCV Call Ctr-Customer Service (D10030) Shared 4
    Parent     Child     Description     Status
    Entities     DEPT_SEC     All Departments     
    DEPT_SEC     COGS     Cost of Sales     
    DEPT_SEC     G&A     G&A     
    DEPT_SEC     NO_DEPTID     No DeptID     
    DEPT_SEC     R&D     R&D     
    DEPT_SEC     S&M     S&M     
    COGS     00400     Management Buffer - COGS     A
    COGS     10013     ELE Las Vegas - COGS     A

  • Agent in ODI

    Hi Gurus,
    Please give me some basic idea on ODI Agent(what is it?What it does etc).
    Edited by: Anindya Chatterjee on May 2, 2012 9:25 AM

    ODI Agent is a lightweight Java process that orchestrates the execution of ODI scenarios.
    The ODI Agent can be installed to allow for lights-out processing of ODI scenarios developed with Designer :
    as a Java EE Agents in a Oracle WebLogic Server (since 11g), and automatically benefit from the clustering, load-balancing, data-sources and connection pooling features available with the application server.
    as a service (Standalone Agents) for instance in the case where the agent needs to be located close to the data, or on systems where Oracle WebLogic Server is not a viable option,
    It integrates the Scheduler to execute the interfaces according to a predefined schedule.
    You can follow.
    http://www.indyarocks.com/blogs/blog_visiterview_main.php?id=71177&sts=rec
    http://odiexperts.com/drivers-location-in-odi-11g/
    http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/setup_topology.htm#CHDIBBCC

Maybe you are looking for

  • Regarding error in creating technical system of type WEB AS ABAP

    while creating technical system of WEB AS ABAP i have few doubts 1) host name:(do we have to give sap system name or xi system name) and while creating business system for this technical system am not able to find the option under RELATED INTEGRATION

  • TS4457 Iphone 4s ios 7.1 facetime and calling problemd

    I have the iphone 4s w/ ios 7.1. After a week I got it whenever I called someone they couldnt hear me but i could hear them. Siri works fine so its not the mic, voice memos also works too.  And also on facetime I recieve calls but when I press ok its

  • JDk1.5 Vs JDK1.4

    Whether below given statement would compile in JDK 1.5. Right now it is fine in Jdk 1.4 pls tell us such we can shift from JDK1.4 to JDK 1.5 Enumeration enum = aRequest.getParameterNames();

  • Folder Permissions for NAS Drive Affected After Upgrade

    Hello, I've seen similar questions asked all over the Internet, so I'm sorry if it's 'out there', but I can't seem to find a solution for the problem I have. I've only just upgraded my OS from 10.6.8 to 10.8.5 and have stumbled across a problem with

  • It sleeps without my permission

    This afternoon, my MacBook went to sleep. It should't have, because it had 1 hr + of battery power remaining, and I was actively using it. When I woke it up, it just went to sleep again...and again. I was able to keep it awake just long enough to shu