Jython Error with Standalone Agent when execute by designer

Hi guys,
I have a problem when trying to execute scenario by designer via standalone agent
here are some error that shown in the operator
ODI-1217: Session TEST_JYTHON (40198001) fails with return code 7000.
ODI-1226: Step TEST_JYTHON fails after 1 attempt(s).
ODI-1232: Procedure TEST_JYTHON execution fails.
Caused By: org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 1, in ?
ImportError: no module named re
If I generated this procedure to a scenario and execute by startscen.bat
there is no error.
And if run with no agent (local).It will not have a problem too.
here is the startscen command that i used
C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startscen.bat TEST_JYTHON 001 GLOBAL "-NAME=P_Agent_S1"
So . I digging to the library folder that contains re.py in the folder Lib
and copy the whole folder "scripting" from
C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\
then paste to folder
C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\lib
Where should I look for more clue ?
Thanks in advance.

Refer
http://msdn.microsoft.com/en-IN/library/hh231187.aspx
you can pass parameter like this
/SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • Error with Project Parameters when executing the package with dtexec command

    Hi,
    We have started migrating our SSIS package from 2005 version to SSIS 2012. In SSIS 2005 we were using XML configuration files and executing the packages with dtexec command from the packages folder (without deploying packages to filesystem).
    Now in SSIS 2012, we have seen Project Parameters and created couple of package parameters and used those parameters in the package. when executing this package from solution explorer it was working fine but when i try to execute the same package from command
    line with Dtexec command, it was showing an error message of 'Not able to map Project Prameters to configurations'.
    Could you please give me an idea of how to execute the packages from command line by using dtexex command. basically i would like use project parameters in 2012 similar to configurations?
    Thanks,
    Venu.

    Refer
    http://msdn.microsoft.com/en-IN/library/hh231187.aspx
    you can pass parameter like this
    /SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to get error's field name when execute sql error

    I want to get the error's field name when execute sql error,but SQLException is not provide corresponding function to get it.
    How can I do for it?

    user523110,
    I believe the "unique constraint" error message displays the name of the constraint, not the column name, as you have posted.
    As far as I know, the only way to extract the column(s) would be to query the data dictionary using the constraint name provided in the error message.
    Also, as far as I know, there is nothing in the JDBC API that can return the names of the columns associated with a given unique constraint.
    Good Luck,
    Avi.

  • HT5439 Has anyone had the Network time and date error with Apple TV when traveling?

    Has anyone had the Network time and date error with Apple TV when traveling?

    Jasion,
    Maybe a bit beside the question, but it is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky, at least for a while, but it is better to be safe than sorry.
    In addition to the (far greater) risk of file corruption, some issues are mentioned here:
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

  • Error with DateField fields when locale is set to French

    Hi Guys,
    I have the locale/language switcher turned on in my app def. When I switch the language to French and use the calendar popup (DateField) the date returned is in an invalid format e.g. '19-oct.-2008' The problem with the format is that there's a full stop after the month, which causes an error to be thrown when I try to save the row. Heres the error:
    La valeur "19-oct.-2008" n'est pas une date valide. Exemple de valeur valide : "29-Nov-2005".
    Where is this format stored? Is there a date pattern that is being used, such as in a property file? If it is being formatted programmatically where is this done?
    Any help is much appreciated
    Barry
    JHS: 10.1.3.2.51
    JDev: 10.1.3.2.0.4066

    Hello,
    The format is stored in your locale properties file generated by JHeadstart, and has the key 'datepattern'. The file is typically called ApplicationResources_fr.properties.
    I guess someone accidentally put a . somewhere in that pattern, because (at least in JHS 10.1.3.3.85) the default datepattern for french is simply "datepattern=dd-MMM-yy" and works fine.
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • TS3694 1015 error with my iphone3 when i tried to restore it

    When i tried to restore my Iphone 3 it shows an error in iTunes, the error with code 1015
    Please help me with that

    1015 error is generally related to an attempt to downgrade iOS, which is not supported. http://support.apple.com/kb/TS3694

  • Login error with report viewer when opening Crystal report with subreport

    Hi
    I have a problem with a login error (database vendor code 18456) when I try to open a crystal report to view it.
    The report uses data from an external payroll database but I'm running it via our Accounts system (it's a convenient front end for users to run the report from). This works fine for another report that doesn't have any subreports. However when I run the Crystal report that has subreports, the report generation process works but when the crystal reports viewer tries to open the report I get the login error. It doesn't seem to be passing the login details for the payroll database down to the subreport.
    I'm using Crystal Reports version 11.0.0.1282. The Accounts system is Technology One. Tech One have provided a report template that has several formulas designed to allow Tech One to play nicely with Crystal. One of these formulas allows me to enter the nickname of the external database that the report needs to use. The external database's connection details are fully specified in the Tech One configuration section (server console). So in this case the report says use database U1 & the server console identifies U1 as being the payroll database, specifies the connection path  & has the username & password required to logon to the payroll database/server.
    The report is running ok & retrieving data, but for some reason the viewer is erroring. If anyone has any ideas for how I can get the login details used to run the main report to flow through to the subreport it would be much appreciated.
    Thanks
    Sue

    I understand your  frustration. We can do a few things. But really, it should be Technology One contacting us. To use an analogy (which you are free to share with Technology One). They built a car and sealed the hood. You bought the car, but he engine does not quite run as it should. You bring the car to the mechanic and all he can do is look at the car as he can not even open the hood.
    In any case, here is what I would do if I could open the hood (e.g.; if I was dealing with Technology One):
    1) Look up database vendor code 18456. This is simply the error our print engine is receiving from the database client and it simply passes it through relatively unhandled. This you should be able to do your self or ask Technology One to tell you what that means.
    2) Break out the subreport and see if it runs on it's own in the application (if this is a permissions issue - which I doubt -  it should come up here too). Unfortunately, this is for Technology One to do...
    3) Run the report (with the subreport) in the CR designer. Does it work there? If this is a win app and it works, we again eliminated permission issues. And we also confirmed that the report is good. Again, Technology One should do this for you.
    BTW.; CR 11.0 is out of support - not sure if you or Technology One are aware of this...
    4) Can the developer duplicate the issue on his development computer?
    Now, there are couple of instances where you say something like; "the report works and gets data, but the viewer errors out":
    +The report is running ok & retrieving data, but for some reason the viewer is erroring.
    However when I run the Crystal report that has subreports, the report generation process works but when the crystal reports viewer tries to open the report I get the login error.  +
    How do you know the report is retrieving data? From the error I would say the report never connects, thus the error / request for a logon...
    So, the short of all of this is; get Technology One to contact us. They can do it over the forums or obtain a phone case here;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100
    Now, here is a warning. As CR 11.0 is out of support Technology One will have to upgrade to CR 11.5, before that can create a phone case, which for them and you brings up another bunch of issues...
    If you do not get any joy from the support person at you are talking to at Technology One, get him to escalate the issue. They are the ones that should be talking to us...
    Ludek

  • Error in Work Repository with Standalone Agent

    Hi There!
    Does anyone know how to identify and resolve the following error?
    2013-08-06 09:04:03.897 NOTIFICATION ODI-1128 Agent agent001 is starting. Application Server: STANDALONE. Agent Version: 11.1.1.3.0 - 23/06/2010. Port: 1028. JMX Port: 2028
    2013-08-06 09:04:37.052 NOTIFICATION ODI-1136 Starting Schedulers on Agent agent001
    2013-08-06 09:04:37.325 NOTIFICATION ODI-1111 Agent agent001 started. Agent version: 11.1.1.3.0 - 23/06/2010. Port: 1028. JMX Port: 2028.
    2013-08-06 09:04:38.963 NOTIFICATION ODI-1137 Scheduler started for work repository WORKREP on Agent agent001
    2013-08-06 09:05:01.216 WARNING Agent HA proxy: Exception thrown on JDBC call, but connection is still OK.  Exception will be rethrown.
    2013-08-06 09:05:01.241 ERROR ODI-1219 Session preparation failure: database error while connecting to work repository WORKREP.
    2013-08-06 09:05:09.594 WARNING Agent HA connection proxy: Retry method 'getConnection': Retry count = 3, retry delay = 15000
    ERROR ODI-1219 Session preparation failure: database error while connecting to work repository WORKREP
    2013-08-06 09:05:18.887 WARNING Agent HA proxy: Exception thrown on JDBC call, but connection is still OK.  Exception will be rethrown.
    2013-08-06 09:05:18.890 ERROR ODI-1219 Session preparation failure: database error while connecting to work repository WORKREP.
    Any help is appreciated..

    Hi!
    I already verified this and the get successful connection.
    The "ping" process between the two points is ok too.
    there are any other idea?

  • Error in the SoapRequest when executing WebServices with more thn 10 params

    I'm using Sun One Studio 5 Standard Edition to develop WebServices.
    I started noticing that whenever I have a WebService which receives more than 10 for example If it receives 25 parameters something happens with the Execute test tool and the value of the 1st Parameter is Overwritten with the value of the 13th parameter and the value of the 21st parameter overrides the value of the 2nd Parameter.
    If I use the HTTP Monitor I see that the values are posted correctly but when Sun One creates the Soap Request the values are overriden. Here's an example
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="urn:/WebServices/wsdl" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><env:Body><ns0:add3>
    <int_1 xsi:type="xsd:int">13</int_1>
    <int_2 xsi:type="xsd:int">21</int_2>
    <int_3 xsi:type="xsd:int">3</int_3>
    <int_4 xsi:type="xsd:int">4</int_4>
    <int_5 xsi:type="xsd:int">5</int_5>
    <int_6 xsi:type="xsd:int">6</int_6>
    <int_7 xsi:type="xsd:int">7</int_7>
    <int_8 xsi:type="xsd:int">8</int_8>
    <int_9 xsi:type="xsd:int">9</int_9>
    <int_10 xsi:type="xsd:int">10</int_10>
    <int_11 xsi:type="xsd:int">11</int_11>
    <int_12 xsi:type="xsd:int">12</int_12>
    <int_13 xsi:type="xsd:int">13</int_13>
    <int_14 xsi:type="xsd:int">14</int_14>
    <int_15 xsi:type="xsd:int">15</int_15>
    <int_16 xsi:type="xsd:int">16</int_16>
    <int_17 xsi:type="xsd:int">17</int_17>
    <int_18 xsi:type="xsd:int">18</int_18>
    <int_19 xsi:type="xsd:int">19</int_19>
    <int_20 xsi:type="xsd:int">20</int_20>
    <int_21 xsi:type="xsd:int">21</int_21>
    <int_22 xsi:type="xsd:int">22</int_22>
    <int_23 xsi:type="xsd:int">23</int_23>
    <int_24 xsi:type="xsd:int">24</int_24>
    <int_25 xsi:type="xsd:int">25</int_25>
    </ns0:add3></env:Body></env:Envelope>
    Is that a known problem?

    This set of forums is related to C/C++/Fortran development.
    Please re-ask your question in the "Sun Java Studio Standard" forum under
    the "Java Tools" group of forums.
    Note: I realize that the names "Sun ONE Studio" and "Sun Studio" are almost
    exactly the same, and so there's no way to tell that one is a Java development
    environment, and the other is a "native" development environment.
    On behalf of Sun, I apologive for the confusing names, but the people who
    monitor the "Sun Java Studio" forums will be much better able to help you out.
    --chris

  • Error with date field when inserting records into sql server from webdynpro

    Dear SDN's,
    I am trying to insert the records into sql server through my webDynpro program.
    I have created a date field in a dictionary with the datatype date.
    In my webdynpro program to insert the date i am following the below format.
    String dateString = "2006/12/10";
          java.util.Date d=new java.util.Date(dateString);
          java.sql.Date <b>date</b> = new java.sql.Date(d.getTime());
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,<b>REQDT</b>,ADVCE,ETADV,PURTR) values(21, '555-1212', '" + <b>date</b> + "', 5000, '20060501','hi')");
    when i try to execute it, it gives the following error.
    <b>com.sap.sql.log.OpenSQLException: The SQL statement "INSERT INTO "TRAVEL_HEADER" ("TRQID","PROJECTID","REQDT","ADVCE","ETADV","PURTR") VALUES (21,'555-1212','2006-12-10',5000,'20060501','hi')" contains the semantics error[s]: - type check error: new value (element number 3 (CHAR)) is not assignable to column  >>REQDT<< (DATE)</b>
    Please correct me.
    Your help will be appreciated.
    Regards,
    Sireesha.B

    Hi,
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,REQDT,ADVCE,ETADV,PURTR) values(21, '555-1212', 'date', 5000, '20060501','hi')");
    try like this.
    I Think in SQL the general format to take date as input like this.
    INSERT INTO X VALUES ('10/30/56')
    thaks,
    Lohi.

  • Runtime error with exit FM when statying in the same screen

    Hi,
    I have written my exit function module for the init function, and now I have a problem with the runtime error when I execute the planning function wihtout exiting BPS. More likely the users would want to stay within the screen to do all the necessary changes, for example variables, and then re-execute the planning function without encountering the runtime error.
    Has anyone come across this problem and has resolved it? Have you resolved it with ABAP or the settings from BPS? Please advise.
    Thanks,
    RT

    Hi Anand,
    My program refreshes the table entries for every time a user chooses the "Execute planning function" before processing the data from the InfoProvider and then updates the entries to the tables and then updates the buffer. If the user doesn't exit from BPS and then chooses again the "Execute planning function", a runtime error will result about duplicate table entries because the existing entries were not refreshed because the user did not exit from BPS since the last action.
    Basically the user has to exit BPS and enter back in BPS to choose "Execute planning function" to process data to avoid runtime error of table entry duplication when processing the same planning function.
    I think I have to add code to my Exit FM to detect the user's action to refreshes the table entries everytime the user chooses to "Execute planning function" when staying in the same screen.
    Is there another approach to this?
    Thanks,
    RT
    Message was edited by: Rob  Thomas
    Message was edited by: Rob  Thomas
    Message was edited by: Rob  Thomas

  • Error with User Type when publish a PL/SQL Web Service in JDeveloper

    Hi,
    I am using Jdeveloper 10.1.2.1 , have a PL/SQL package with these predefined types (types definition not include inside package);
    type reg_perfil as object (perfil varchar2(30), status varchar2(30))
    type tab_perfiles as table of reg_perfil
    type res_error as object (cerror number(1), cerror_ora varchar2(12), terror varchar2(50));
    type res_perfiles as object (error res_error, perfiles tab_perfiles)
    then I have a function:
    FUNCTION ff_perfiles(...) RETURN res_perfiles;
    When I publish from JDeveloper this package I get all the .java and sqlj files, but one of them is empty (TabperfilesUser.java) and of course compilation fails because it is looking for referenced class "TabPerfilesUser" that not exists!
    I know this is because is trying to map tab_perfiles type but there is some error.
    I realized that if I change the code of all files and replace "TabPerfilesUser" for "TabPerfilesBase" (this file and class was generated correctly) .... it works!!!, but of course I have to find another way to fixe it without changing generated code! (you know future maintenance).
    Is this a bug??? what could I do? ... by the way this happens also with JDveloper 10.1.3
    thanks...

    OK, This is the PL/SQL package:
    Function:
    FUNCTION Obtener_paises RETURN res_webservice AS
    v_respuesta res_webservice;
    i PLS_INTEGER:=1;
    CURSOR C_paises IS
    SELECT cpais, tpais
    FROM paises
    ORDER BY tpais;
    BEGIN
    v_respuesta := res_webservice(null,null);
    v_respuesta.error := res_error(null,null,null);
    v_respuesta.error.cerror := 0;
    v_respuesta.error.cerror_ora := 0;
    v_respuesta.error.terror := null;
    v_respuesta.datos := res_datos ();
    FOR v_pais IN C_paises LOOP
    v_respuesta.datos.extend;
    v_respuesta.datos(i) := reg_datos(null,null);
    v_respuesta.datos(i).codigo := v_pais.cpais;
    v_respuesta.datos(i).descripcion := v_pais.tpais;
    i := i + 1;
    END LOOP;
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:0');
    RETURN v_respuesta;
    EXCEPTION
    WHEN OTHERS THEN
    v_respuesta.error.cerror := 1;
    v_respuesta.error.cerror_ora := SQLCODE;
    v_respuesta.error.terror := substr(SQLERRM,1,80);
    Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:1 '||substr(SQLERRM,1,120));
    RETURN v_respuesta;
    END Obtener_paises;
    TYPES USED:
    CREATE OR REPLACE
    TYPE res_webservice AS OBJECT (error res_error, datos res_datos);
    CREATE OR REPLACE
    TYPE res_error AS OBJECT (cerror NUMBER(1), cerror_ora VARCHAR2(12), terror VARCHAR2(80));
    CREATE OR REPLACE
    TYPE res_datos AS TABLE OF reg_datos;
    CREATE OR REPLACE
    TYPE reg_datos AS OBJECT(codigo VARCHAR2(12), descripcion VARCHAR2(150));
    Thanks in advanced...
    Could happen this bacause of these defined types???

  • CC 10.1 Error with InDesign CS6 When Opening a File

    I have Adobe CS6 and came across an issue when a fellow employee sent me a file. When attempting to open an .indd file in InDesign, a dialog box popped up stating "Cannot open because it was saved with a newer version of Adobe InDesign CS (8.1)" After noticing that I needed to update my CS version, I installed the updates and found that it now states "Cannot open because it was saved with a newer version of Adobe InDesign CS (10.1)" What does this mean? I've checked and I have InDesign version 8.0.2. and I don't have any more updates to install. Can anyone explain to me why this error is occurring and how to resolve this? I've received an .idml version of the file I'd like to open and that seems to work, however I'd like to resolve this issue so as to prevent this again. Any help is appreciated. Thanks.

    Adobe Indesign CS (10.1) is the latest version of Indesign which is the 2014.1 release. As you saw exporting the 2014.1 file to .idml allows you to open it with CS6.

  • Text/html processing error with Acrobat Reader when sending to database

    Hi everyone,
    I have a problem that occurs in certain versions of the Acrobat Reader, with Acrobat Professional the error message does not pop up.
    In Acrobat Reader however, when sending the form to a php file to fill a database an error pops up
    "Content type text/html couldn´t be processed"
    Nevertheless it works fine, except the fact that the confirmation "successfully sent" that should pop up (and does in Acrobat Professional)  does not appear due to this processing error. What can I do?
    Thanks for supporting!

    Hi,
    I'll only attempt the first part:
    See this discussion where event.target.path.toString().substring(0, 4); was used to get the first four letters of the path. If that equalled "http", then the form was opened in a browser.
    http://forums.adobe.com/message/2840942#2840942
    I can't contribute on the other issues.
    Niall

  • JPA: Error "entity is detached" when executing a query

    Hi experts,
    I have two database tables with a foreign key constraint and generated JPA-entities for them:
    @Entity
    public class Verdeck implements Serializable {
         @EmbeddedId
         private VerdeckPK pk;
         @Column(name="ID_VERDECK")
         private String idVerdeck;
         @OneToMany(mappedBy="verdeck")
         @PersistenceContext
         private Set<Uzsb> uzsbCollection;
    @Embeddable
    public class UzsbPK implements Serializable {
         @Column(name="ID_UZSB")
         private String idUzsb;
         @Column(name="ID_PROJECT")
         private BigDecimal idProject;
    Furthermore I have a SessionBean implementing a query in one of its business methods:
    @WebMethod(operationName="getVerdeckData", exclude=false)
    public List<Verdeck> getVerdeckData (@WebParam(name="searchkey")
         BigDecimal searchkey){
         Query q = em.createQuery("SELECT v FROM Verdeck v WHERE v.pk.idProject = :searchkey")
              .setParameter("searchkey", searchkey);
              return q.getResultList();
    When calling the method via WebService-Navigator I get this error:
    "com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: The relationship >>uzsbCollection<< of entity (com.karmann.r57schraub.jpa.Verdeck(idProject=57, idIntern=v1))cannot be loaded because the entity is detached"
    (idProject / idIntern) is the composed key of "Verdeck" and (57 / v1) is a concrete value for this key in the database table.
    If required I could give you classes VerdeckPK and UzsbPK as well.
    Could you please explain what I'm doing wrong?
    Thanks for each hint,
    Christoph

    Hi Vladimir,
    thank you for this hint! Especially for the article which provides the neccessary knowledge in background.
    But using FetchType.EAGER does not solve my problem. I get a runtime error. In defaultTrace I get the following message
    SAXException2: A cycle is detected in the object graph. This will cause infinitely deep XML: com.karmann.r57schraub.jpa.Verdeck@f9ac24 -> com.karmann.r57schraub.jpa.Uzsb@1f2a70 -> com.karmann.r57schraub.jpa.Verdeck@f9ac24]->com.sun.istack.SAXException2: A cycle is detected in the object graph. This will cause infinitely deep XML: com.karmann.r57schraub.jpa.Verdeck@f9ac24 -> com.karmann.r57schraub.jpa.Uzsb@1f2a70 -> com.karmann.r57schraub.jpa.Verdeck@f9ac24#
    I already checked the records in my tables. There does not seem to be any cycle. Here's my test data:
    VERDECK
    ID_PROJECT    ID_INTERN     ID_VERDECK
    57                    v1                  vext1
    57                    v2                  vext2
    UZSB
    ID_PROJECT ID_UZSB ID_INTERN TYP_UZSB
    57 ls1 v1 <null>
    57 rs1 v1 <null>
    57 sd1 v1 <null>
    57 ls2 v2 <null>
    57 rs2 v2 <null>
    57 sd2 v2 <null>
    Do you have any more idea?
    Regards,
    Christoph

Maybe you are looking for