Job not executing through database link

hello all,
we have a database server with oracle 10g enterprise edition on RHEL 5.3 64-bit , we have created a procedure which pulls data from a remote server using a procedure. that procedure collect data in cursor ..both server are connected using RF connectivity..
but after every 2 or 3 days i saw that data is not pulled and job is marked as broken .... and when i mark that job as unbroken and try to rexecute that procedure it hangs for long.....
i don't understand whats going on....i have also seen large number of sessions in my database..is possible that huge number of session are consuming resources and that's why oracle is unable to execute the job??? i have check network also but it is fine...i can access that remote server using VNC or team viewer..so network is definitely not an issue...
i also set SQLNET.EXPIRE_TIME=10 in sqlnet.ora file and also created a profile for idle_time to get rid of excess inactive sessions....what might be issue??? any suggestion is appreciable...
thanks and regards
VD

hello sir,
actually it is not about the job, i am sure that procedure is causing problem..... because when i try to execute that procedure , it also hangs, i check all requirements need to be checked..... i think lots of inactive sessions causing this issue, but even after adding sqlnet and profile i is not removing those sesions and hence i think that procedure is not executing....
coz the database i am connecting is having already connections and doing lots of transactions...so i it possible that it might be an issue.??
sometime i also got timeout error while connection to that remote server but it is not issue because at the same time i am connected to it from another machine..
thanks and regards
VD

Similar Messages

  • Write data from Oracle 9i 64 bit to Oracle 32 bit through database link

    Hi to All:
    We are using following Oracle 64 bit application.
    Operating System: Sun Solaris 5.9
    Database: Oracle 9i (64 bit)
    Machine: Sun Server Spark V890
    Now my questin is that I want to move data from the production database running in Oracle 9i 64bit on Sun server to Oracle 9i 32 bit on Windows Server 2002 thru database link.
    I heard that it is not possible to write data from oracle 64 bit to oracle 32 bit, no matter what operating system we are using.
    Please confirm me that whether we can write data through database link from Oracle 9i 64 bit to Oracle 32 bit.
    Please specify every possible solution or any site from where I can have the solution.
    Thanks in advance.
    Hassan Raza Khan Lodhi

    Create a test table ( in 64bits db) , add some data
    From 32bits create a dblink
    Execute the following query
    create table test_32
    as select * from test64@dblinkto64;
    Michael

  • How to access the LOB objects through database links??????????????

    How to access the LOB objects through database links??????????????

    Hi
    See:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:52297289480186
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5322964030684
    And you also might want to get a new keyboard, your '?' seems to be stucked....

  • OWB-Location for Sybase is defined through database link but not working.

    Hi,
    HS details are configured and database link from oracle to sybase database is working fine. In OWB, table list of sybase database is also displayed. Location defined for sybase database through connector which refers to database link created from oracle to sybase. While defining location on clicking of "Test" it gives result as successful. But when validation program is run for that location, it gives error that validation failed, specify correct host name, port number etc.. now, i am not able to solve this as database link is working fine and it is displaying list of table from sybase database. All the heterogeneous settings are done. I tried but sybase database doesn't allow direct connectivity so i define the location using connector which points to database link. Is there any thing missing in the setting of HS and do sybase allow connectivity direct from owb ?
    Please help.
    (If problem is not clear, please spare time to ask a question, i will reply immediately.)
    With Regards,
    Amit Shah.

    Amit - did you get anywhere on this?

  • Spatial Indexes Through Database Links

    Has anyone tried to "use" a Spatial Index through a Database Link? Meaning you try take advantage of the spatial index on column TABLE_A.GEOM through a database link? An example is:
    SELECT rownum, SHAPE FROM GDT_WATER_POLYGON WHERE AND SDO_FILTER( GDT_WATER_POLYGON.SHAPE SDO_CS.VIEWPORT_TRANSFORM(MDSYS.SDO_GEOMETRY(2003, 0, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3), MDSYS.SDO_ORDINATE_ARRAY(-105.06685,39.7744332,-104.981869,39.8338768) ), 8265),'querytype=window') = 'TRUE'
    where GDT_WATER_POLYGON is a public synonym to WATER_POLYGON@DBLINK
    When I try this in the linked table, it works fine, but when I try it using the link, I get the following error:
    ORA-13226: interface not supported without a spatial index
    Am I forgetting to grant something or is it just not possible?
    Thanks!

    Hi,
    Currently, using a spatial index through a database link is not possible.
    Dan

  • Browsing and selecting through database link to fill in a form item

    Hi
    I have created a database link named in my application
    dblink_3
    I have a form and report in my application. On the from I have an item called P6_USER_ for which I would like to access a table (trk_user) through the database link I created so that I can fill in the text field or select list with a user from the table.
    can I browse by a select list somehow? or do I need to create a button that takes me to a report with a list of the data in the table and select that way.
    Please steer me in the right direction,
    Thanks,
    Kirk

    Hi Kirk,
    The fact that the data is on an external table shouldn't make any difference. You can do:
    SELECT field1 d, field2 r FROM trk_user@dblink_3 ORDER BY 1
    and that will give you your select list

  • Database migration query not executing in database

    We moved over our SQL database to another server. We have a few .cfm template files that have queries to get 'content' from our database. These queries in the .cfm template files work fine and execute properly. However, for some reason, since we moved over our database, the queries in the actual database don't execute/run anymore. In the old server we didn't have this problem. Our queries in the database would run properly then. The data would display correctly on the webpages.
    Is there some kind of properties setup that was overlooked when migrating over our database?
    The output we now see when viewing our pages is the actual query code.
    Example:
    SELECT lname
    FROM table
    This is actually displayed on the website and therefore the query is not executing/running. Our code was never changed. So why is it not outputting the same?
    Thanks for any help provided.

    Sorry for the confusion.
    The coldfusion templates and database queries both worked fine on the previous old server.
    Now since the migration onto the new server, only the coldfusion templates work fine, but not the queries in the database.
    So for example, a query in the coldfusion template will run fine, and execute the intial pull of data. But once the content is pulled from the database, the queries inside the database (including stored procedures) don't execute.
    We do get the expected results when we run our stored procedure in Management Studio and if we put the stored procedure on a standalone web page we do see the records. 
    We only see the sql code when we have the stored procedure inside of our w_content table of our database, and its being called by the first query in the template.  For some odd reason the stored procedure does not execute if it is inside the database.  
    Hopefully that clarifies our problem.
    Thank you for helping!

  • Scheduled SAP Job not executed as per restrictions

    Hi All,
    A job was scheduled to execute every Saturday (Job Frequency - weekly). Also in the Start time -  Restrictions, the check box for "Execute only on Workdays" is checked.
    Last saturday 27/08 was a holiday (displayed properly in the factory calendar), So the job should not have got executed.
    But it got executed. I cannot find any reason for this.
    Is there any other conditions that need to be provided so that it don't get executed on non-working days?

    - Check in job definition if the factory calendar of the job is the good one (TBTCO-CALENDARID for the job that executed saturday), check also if job definition was changed  (TBTCO-LASTCHDATE, LASTCHTIME and LASTCHNAME for next scheduled job) (or "Job details" on SM37)
    - Check in the factory calendat, if the holiday was changed after saterday (SCAL, Extras, Display change docs.)
    Regards,
    Raymond

  • Calling remote procedure through database link

    Hi,
    I have a procedure in a package with a type I delcared as follows:
    Database1 :
    create or replace package p1
    is
    TYPE dependents_rec IS RECORD (
    name VARCHAR2 (80),
    dob date);
    TYPE dependents IS TABLE OF dependents_rec
    INDEX BY BINARY_INTEGER;
    procedure proc1 (p_id in number,
    p_dependents out dependents );
    end;
    On another database database2 i want to call the above procedure from within a procedure in a package that works as a wrapper package with similar structure.
    I recieve the error "Wrong number or types of parameters" error because type dependents is not the same as within the package in database 1.
    How can I call the procedure p1.proc1 over a database link ?
    Thank you

    Hi,
    On database1:
    CREATE OR REPLACE PACKAGE types_pkg is
    TYPE dependents_rec IS RECORD (
    NAME VARCHAR2 (80),
    sex NUMBER (1),
    birth_date DATE,
    birth_place NUMBER (3),
    status NUMBER (1),
    unique_id VARCHAR2 (15)
    TYPE dependents IS TABLE OF dependents_rec
    INDEX BY BINARY_INTEGER;
    end;
    CREATE OR REPLACE PACKAGE wrapper_pkg_demo
    AS
    PROCEDURE read_person_no (
    p_person_id NUMBER,
    p_dependent_info OUT types_pkg.dependents
    END;
    CREATE OR REPLACE PACKAGE BODY wrapper_pkg_demo
    AS
    PROCEDURE read_person_no (
    p_person_id NUMBER,
    p_dependent_info OUT types_pkg.dependents
    IS
    BEGIN
    person_pkg.read_person_no (p_person_id, p_dependent_info);
    END;
    END;
    On database 2:
    CREATE OR REPLACE PACKAGE person_pkg
    AS
    PROCEDURE read_person_no (
    p_person_id NUMBER,
    p_dependent_info OUT types_pkg.dependents@database1
    END;
    CREATE OR REPLACE PACKAGE body person_pkg
    AS
    PROCEDURE read_person_no (
    p_person_id NUMBER,
    p_dependent_info OUT types_pkg..dependents@database1
    IS
    BEGIN
    null;
    END;
    END;
    When compiling the package body on database 1
    ORA-04052: error occurred when looking up remote object TYPES@MOI
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02019: connection description for remote database not found
    Noting that the database link are working properly and when compiling the package on database 2, it compile successfully
    Thank you

  • How to select for insert a long column through database link?

    How may a long column (for example a sql server 2000 text column) be selected for insert into a clob column in table in 10g over a database link without invoking ora-00997?
    I've tried using dbms_metadata_util.long2clob without success over a database link.

    Is the remote database an Oracle database? Or are you selecting data from SQL Server 2000 over a database link via Heterogeneous Services? What is the data type of the column in the remote database (LONG? TEXT? Something else?)?
    Justin

  • CUP not pulling through Risks, linked to background jobs? GRC 5.3

    Hi guys,
    I have an annoying problem in GRC CUP, I am trying to set up the "Create Request" function for our Company.
    When I create a request for either a New User, or Change a User's Roles, then perform the Risk Analysis on this, the result is "0 Risk(s) found". I have added every single role in order to test, which should produce a risk, but still the same message.
    I therefore thought OK, maybe the risks are not loaded into CUP, so I had a look in the configuration, namely the background jobs. The SOD Review and the UAR review jobs were not setup, so I scheduled them for every day, roughly every hour. However, this produces an error on the system log as follows:
    2009-11-03 08:54:17,505 [Thread-8394] ERROR Service call exception; nested exception is:
    *     java.net.MalformedURLException: no protocol: 103*
    java.rmi.RemoteException: Service call exception; nested exception is:
    *     java.net.MalformedURLException: no protocol: 103*
    *     at com.virsa.ae.service.ccSODUsers.ConfigVirsaCCSODViolatedUsersBindingStub.execSODUserAnalysis(ConfigVirsaCCSODViolatedUsersBindingStub.java:90)*
    *     at com.virsa.ae.service.ccSODUsers.ConfigVirsaCCSODViolatedUsersBindingStub.execSODUserAnalysis(ConfigVirsaCCSODViolatedUsersBindingStub.java:99)*
    *     at com.virsa.ae.sodreview.SODReviewUserHandler.insertUsers(SODReviewUserHandler.java:123)*
    *     at com.virsa.ae.sodreview.SODReviewUserHandler.execute(SODReviewUserHandler.java:59)*
    *     at com.virsa.ae.sodreview.SODReviewBGTask.execute(SODReviewBGTask.java:69)*
    *     at com.virsa.ae.backgroundjobs.BackgroundTask.run(BackgroundTask.java:51)*
    *     at java.util.TimerThread.mainLoop(Timer.java:461)*
    *     at java.util.TimerThread.run(Timer.java:408)*
    Caused by:
    java.net.MalformedURLException: no protocol: 103
    *     at java.net.URL.<init>(URL.java:568)*
    *     at java.net.URL.<init>(URL.java:465)*
    *     at java.net.URL.<init>(URL.java:414)*
    *     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.createHTTPSocket(HTTPTransport.java:110)*
    *     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:319)*
    *     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)*
    *     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1433)*
    *     at com.virsa.ae.service.ccSODUsers.ConfigVirsaCCSODViolatedUsersBindingStub.execSODUserAnalysis(ConfigVirsaCCSODViolatedUsersBindingStub.java:83)*
    *     ... 7 more*
    Can anyone point me in the right direction as what could be the problem here?
    Very much appreciated!! Cheers

    Hi, OK, I have done as suggested, however the log is huge. I will paste some sections of the log relating to ther Risk Analysis. there's an error at the bottom relating to EJB?
    2009-11-03 14:32:10,364 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  AEFrameworkServlet.java@531:logRequest() : role_action_PE1CLNT100!#!KEY!#!1480!#!KEY!#!CCF-S:BSCU_CUSTOMIZATION_DISP!#!KEY!#!0:0::ADD#
    2009-11-03 14:32:10,364 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  AEFrameworkServlet.java@531:logRequest() : role_validto_PE1CLNT100!#!KEY!#!1481!#!KEY!#!CCF-S:BSCU_MAINT_NO_RANGES!#!KEY!#!0_display:0::12/31/9999#
    2009-11-03 14:32:10,400 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  NavigationEngine.java@85:execute() : Current Module: |AE| Conversation: |cnvCreateRequest| Screen: |scrRequestDetails|
    2009-11-03 14:32:10,401 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  NavigationEngine.java@105:execute() :  Module#AE#Conversation#cnvCreateRequest#Screen#scrRequestDetails#Action#loadSODAnalysis#
    2009-11-03 14:32:10,401 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  NavigationEngine.java@261:execute() : Handler found:class com.virsa.ae.accessrequests.actions.UpdateRequestDetailsAction
    2009-11-03 14:32:10,418 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RoleValidityHelper.java@157:isExpiredAsOfToday() : INTO the method : dt : Fri Dec 31 00:00:00 CET 9999
    2009-11-03 14:32:10,418 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RoleValidityHelper.java@167:isExpiredAsOfToday() : OUT of the method : boolResult : false
    2009-11-03 14:32:10,440 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: success
    2009-11-03 14:32:10,441 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  AEFrameworkServlet.java@452:service() : forwarding to:scrRiskAnalysis.load.do
    2009-11-03 14:32:10,441 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  AEFrameworkServlet.java@515:logRequest() :
    2009-11-03 14:32:12,818 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RequestDetailsHelper.java@731:isRiskAnalysisEligible() : Prov Action is eligible for Risk Analysis : CHANGE_USER
    2009-11-03 14:32:12,818 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RequestDetailsHelper.java@739:isRiskAnalysisEligible() : OUT of the method : boolEligible : true
    2009-11-03 14:32:12,847 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@130:findViolations() : Starting Risk analysis.....
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@140:findViolations() : RiskAnalysis________ DAO level System : PE1CLNT100
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@141:findViolations() : RiskAnalysis________ Include Cross System : PE1CLNT100
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] INFO   SystemDAOFactory.java@73:getRiskAnalysisDAO() : EN
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] INFO   SystemDAOFactory.java@74:getRiskAnalysisDAO() : Locale ID is :1
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] INFO   SystemDAOFactory.java@75:getRiskAnalysisDAO() : Locale date time format is :MM/dd/yyyy HH:MM:SS
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  AECacheUtil.java@882:getCacheObject() : INTO the method : pCacheNameSYSTEMS,pLocaleId1
    2009-11-03 14:32:12,848 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  SAPConnectorUtils.java@600:getConnectorInformation() : INTO the method : connectorId :PE1CLNT100
    2009-11-03 14:32:12,850 [SAPEngine_Application_Thread[impl:3]_32] INFO  com.virsa.ae.service.sap.SystemDAOFactory : getRiskAnalysisDAO() :   : cc version : 5.3_WS
    2009-11-03 14:32:12,850 [SAPEngine_Application_Thread[impl:3]_32] INFO  com.virsa.ae.service.sap.SystemDAOFactory : getRiskAnalysisDAO() :   : risk analysis dao is set to RiskAnalysisWS52DAO
    2009-11-03 14:32:12,850 [SAPEngine_Application_Thread[impl:3]_32] INFO  com.virsa.ae.service.sap.SystemDAOFactory : getRiskAnalysisDAO() :   : cc uri : http://cvifxpsol.ks.franke.world:54000/VirsaCCRiskAnalysisService/Config1?wsdl&style=document
    2009-11-03 14:32:12,850 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  SystemDAOFactory.java@221:getRiskAnalysisDAO() : OUT of the method
    2009-11-03 14:32:12,857 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@158:findViolations() : RiskAnalysis________ Visible Roles : [com.virsa.ae.accessrequests.po.RolesPO@200f200f[system=PE1CLNT100,systemShortDesc=Production System PE1 - 100,accessType=Select,searchValue=,roleProfName=0,roleProfDispName=CCF-G_BC_BASIS_ADMIN,roleProfDesc=Competence Centre System Administrator,roleProfType=C,roleApproverId=NB014,roleApproverName=Ben Neesom(NB014),roleCriticalLevel=,reqPathId=,status=OPEN,oldStatus=OPEN,actionFlag=ADD,validFrom=11/03/2009,validTo=12/31/9999,selected=true,isReadOnly=false,isNew=true,expanded=true,isSimpleRole=false,isRiskAnalysisonAccessChanged=false,isEditable=true,isApplicable=false,altRoleApproverId=,detailDesc=,reaffirmPeriod=0,isLead=false,lastReaffirmDate=,funcArea=,roleIndex=0,companydesc=,fucntionalAreaDesc=,isExistingRole=false,roleProfIndicator=R,comments=,validityType=NO,actualDate=,years=0,months=0,days=0,URL=,customBAPI=,responsibilityId=0,commentsMandatory=No
    2009-11-03 14:32:14,401 [SAPEngine_Application_Thread[impl:3]_32] ERROR java.lang.VerifyError: com/virsa/cc/xsys/ejb/RiskAnalysis.execRiskAnalysis(Lcom/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO;)Lcom/virsa/cc/xsys/webservices/dto/RAResultDTO;
    java.lang.VerifyError: com/virsa/cc/xsys/ejb/RiskAnalysis.execRiskAnalysis(Lcom/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO;)Lcom/virsa/cc/xsys/webservices/dto/RAResultDTO;
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.execRiskAnalysis(RiskAnalysisEJB53DAO.java:305)
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:277)
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:419)
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.determineRisks(RiskAnalysisEJB53DAO.java:511)
         at com.virsa.ae.service.sap.RiskAnalysis53DAO.determineRisks(RiskAnalysis53DAO.java:103)
         at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:182)
         at com.virsa.ae.accessrequests.actions.RiskAnalysisAction.doRiskAnalysis(RiskAnalysisAction.java:1073)
         at com.virsa.ae.accessrequests.actions.RiskAnalysisAction.doAnalysis(RiskAnalysisAction.java:300)
         at com.virsa.ae.accessrequests.actions.RiskAnalysisAction.execute(RiskAnalysisAction.java:109)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:271)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:425)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:455)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    2009-11-03 14:32:14,402 [SAPEngine_Application_Thread[impl:3]_32] ERROR Exception during EJB call, Ignoring and trying Webservice Call
    com.virsa.ae.service.ServiceException: Exception in getting the results from the EJB service : com/virsa/cc/xsys/ejb/RiskAnalysis.execRiskAnalysis(Lcom/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO;)Lcom/virsa/cc/xsys/webservices/dto/RAResultDTO;
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:295)
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:419)
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.determineRisks(RiskAnalysisEJB53DAO.java:511)
         at com.virsa.ae.service.sap.RiskAnalysis53DAO.determineRisks(RiskAnalysis53DAO.java:103)
         at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:182)
         at com.virsa.ae.accessrequests.actions.RiskAnalysisAction.doRiskAnalysis(RiskAnalysisAction.java:1073)
         at com.virsa.ae.accessrequests.actions.RiskAnalysisAction.doAnalysis(RiskAnalysisAction.java:300)
         at com.virsa.ae.accessrequests.actions.RiskAnalysisAction.execute(RiskAnalysisAction.java:109)
         at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:271)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:425)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:455)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by:
    java.lang.VerifyError: com/virsa/cc/xsys/ejb/RiskAnalysis.execRiskAnalysis(Lcom/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO;)Lcom/virsa/cc/xsys/webservices/dto/RAResultDTO;
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.execRiskAnalysis(RiskAnalysisEJB53DAO.java:305)
         at com.virsa.ae.service.sap.RiskAnalysisEJB53DAO.getViolations(RiskAnalysisEJB53DAO.java:277)
         ... 28 more
    2009-11-03 14:32:15,502 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisWS53DAO.java@632:determineRisks() : OUT of the method : com.virsa.ae.service.sap.dto.RiskWithCriticalActionsDTO@deb0deb[listRisks=[],listCriticalActions=[]]
    2009-11-03 14:32:15,502 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@190:findViolations() : RiskAnalysis___ Completd successfully!
    2009-11-03 14:32:15,502 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@221:findViolations() : RiskAnalysis________ Risk List Size : 0
    2009-11-03 14:32:15,502 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@225:findViolations() : RiskAnalysis________ Critical Actions Size : 0
    2009-11-03 14:32:15,502 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  RiskAnalysisBO.java@227:findViolations() : Done Risk analysis.
    2009-11-03 14:32:15,502 [SAPEngine_Application_Thread[impl:3]_32] INFO   MessagingHelper.java@99:addMessage() : @@@Adding msgValue: Code: 2200; Locale: en
    2009-11-03 14:32:15,503 [SAPEngine_Application_Thread[impl:3]_32] INFO   MessagingHelper.java@109:addMessage() : @@@Creating new message list
    2009-11-03 14:32:15,503 [SAPEngine_Application_Thread[impl:3]_32] INFO   MessagingHelper.java@119:addMessage() : Adding msg to msglist
    2009-11-03 14:32:15,503 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  NavigationEngine.java@272:execute() : Target returned by execute action: success
    2009-11-03 14:32:15,503 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  AEFrameworkServlet.java@452:service() : forwarding to:/sod_analysis.jsp
    2009-11-03 14:32:15,519 [SAPEngine_Application_Thread[impl:3]_32] DEBUG  PopupCalendarTag.java@180:doStartTag() : Date Format in PopUpCalendar Java :- M/d/yyyy

  • Background job not executing... pls help

    I want to schedule and execute a batch job with the start date and time with another program.
    In program1 im doing the below.
    job_open
       getting job_count
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog              = abap_true
        IMPORTING
          out_parameters         = ls_params
          valid                  = lv_valid
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      SUBMIT (c_test)                 VIA JOB  lv_jobname
                                      NUMBER  lv_jobcount
                                   TO  SAP-SPOOL WITHOUT SPOOL DYNPRO
                                       SPOOL  PARAMETERS ls_params
                                       AND RETURN.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          JOBCOUNT             = lv_jobcount
          JOBNAME              = lv_jobname
          LASTSTRTDT           = p_sdate
          LASTSTRTTM           = p_stime
         targetserver         = lv_targetserver
        EXCEPTIONS
          CANT_START_IMMEDIATE = 1
          INVALID_STARTDATE    = 2
          JOBNAME_MISSING      = 3
          JOB_CLOSE_FAILED     = 4
          JOB_NOSTEPS          = 5
          JOB_NOTEX            = 6
          LOCK_FAILED          = 7
          INVALID_TARGET       = 8
          OTHERS               = 9.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    in the job_closei gave start date and time, but the job is getting scheduled but not to released/cancelled status.
    I want the job to happen at that given time and date,
    is there anything im missing,
    pls help

    Rajan,
    In the same documentation it says : Note:  if a user does not have the authorization to release a job, then the job is scheduled with the status planned.
    Now after i run this program , and check SM37, the status is scheduled. so this tells not an authorization issue.
    Also i can go and schedule on a given time from SM36.
    Now after reading that i also passed the parameter JOB_WAS_RELEASED importing  it is geting blank value.
    but documentation says,  it shud be X if Job is released.
    any idea pls....
    Niraja

  • IDM Job Not Executing

    Hi All,
    I have created a regular job to create a "Entry Type" Jasper Report using the templates that come along with SAP IDM 7.1 installation. The job keeps idle indefinitely and times out. Earlier it used to get rescheduled again and again. The following JARs are being made use of. Using "Force Restart" option hasn't paid off either. Can anything be done to execute the job?
    1. commons-beanutils-1.8.0
    2. commons-collections-3.2.1
    3. commons-digester-1.7
    4. commons-javaflow-20060411
    5. commons-logging-1.1
    6. itext-2.0.8
    7. jasperreports-1.3.0
    8. jcommon-1.0.15
    9. jfreechart-1.0.12
    10. js_jaxrpc
    11. jxl-2.6
    12. xercesImpl
    Thanks & Regards,
    Vijayakumar Ganesan

    What is the value of init. parameter job_queue_processes ?
    job_queue_processes=10Do you have any error message related to this job in the db alert.log ?
    Not a single error message. When I issued EXEC proc_name; the following lines were added in the alert.log:kupprdp: master process DM00 started with pid=20, OS id=5225
    to execute - SYS.KUPM$MCP.MAIN('TIMS_EXP_FULL15Jan2007_1434', 'SYS', 'KUPC$C_1_20070115143431', 'KUPC$S_1_20070115143431', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=21, OS id=5227
    to execute - SYS.KUPW$WORKER.MAIN('TIMS_EXP_FULL15Jan2007_1434', 'SYS');
    select * from dba_jobs;
    This important info is given below:JOB = 22
    LOG_USER=SYS
    PRIV_USER=SYS
    SCHEMA_USER=SYS
    LAST_DATE=
    LAST_SEC=
    THIS_DATE=
    THIS_SEC=
    NEXT_DATE=16-JAN-07
    NEXT_SEC=00:00:00
    TOTAL_TIME=0
    BROKEN=N
    INTERVAL=TRUNC(SYSDATE)+1
    FAILURES=
    WHAT=PROC_NAME;
    As you can see that in the NEXT_DATE it was scheduled to run on 16-JAN-07 but it didn't run on that date and time and it is still showing the backdate in the NEXT_DATE.
    Just to clerify:
    SELECT TO_CHAR(NEXT_DATE, 'DD-MON-YYYY HH24:MI:SS') FROM DBA_JOBS;
    TO_CHAR(NEXT_DATE,'D
    16-JAN-2007 00:00:00

  • OS Commands not executing through published java procedure... :(

    Hello all :)
    Im trying to get a PL/SQL block to delete a file out in the OS. Theres plenty of examples out there and the one I got came from burleson consulting, and incorporates a java method and a call to java wrapped in PL/SQL.. after all suggested grants, using the procedure yields no result. Here is the source code
    -- java procedure used to execute OS command
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "Host" AS
    import java.io.*;
    public class Host {
    public static void executeCommand(String command) {
    try {
    String[] finalCommand;
    if (isWindows()) {
    finalCommand = new String[4];
    finalCommand[0] = "C:\\WINDOWS\\system32\\cmd.exe";
    finalCommand[1] = "/y";
    finalCommand[2] = "/c";
    finalCommand[3] = command;
    else {
    finalCommand = new String[3];
    finalCommand[0] = "/bin/sh";
    finalCommand[1] = "-c";
    finalCommand[2] = command;
    final Process pr = Runtime.getRuntime().exec(finalCommand);
    new Thread(new Runnable() {
    public void run() {
    try {
    BufferedReader br_in = new BufferedReader(new
    InputStreamReader(pr.getInputStream()));
    String buff = null;
    while ((buff = br_in.readLine()) != null) {
    System.out.println(buff);
    try {Thread.sleep(100); } catch(Exception e) {}
    br_in.close();
    catch (IOException ioe) {
    System.out.println("Exception caught printing process output.");
    ioe.printStackTrace();
    }).start();
    new Thread(new Runnable() {
    public void run() {
    try {
    BufferedReader br_err = new BufferedReader(new
    InputStreamReader(pr.getErrorStream()));
    String buff = null;
    while ((buff = br_err.readLine()) != null) {
    System.out.println(buff);
    try {Thread.sleep(100); } catch(Exception e) {}
    br_err.close();
    catch (IOException ioe) {
    System.out.println("Exception caught printing process error.");
    ioe.printStackTrace();
    }).start();
    catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    public static boolean isWindows() {
    if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
    return true;
    else
    return false;
    -- PL/SQL wrapper to publish java method.
    CREATE OR REPLACE PROCEDURE host_command (p_command IN VARCHAR2)
    AS LANGUAGE JAVA
    NAME 'Host.executeCommand (java.lang.String)';
    these are the grants I am issuing on install:
    BEGIN
    DBMS_JAVA.grant_permission ('LOANADMIN', 'java.io.FilePermission',
    '<>', 'read ,write, execute, delete');
    DBMS_JAVA.grant_permission ('LOANADMIN', 'SYS:java.lang.RuntimePermission',
    'writeFileDescriptor', '');
    DBMS_JAVA.grant_permission ('LOANADMIN', 'SYS:java.lang.RuntimePermission',
    'readFileDescriptor', '');
    END;
    -- and this is the block I am using to execute the OS command..
    1 BEGIN
    2 host_command (p_command => 'DEL C:\PRETEND.TXT');
    3* END;
    SQL> /
    PL/SQL procedure successfully completed.
    Everything returns as successfully completed. But the file is not deleted from the server. I know im missing some kind of privilege. Can anyone help me? Thanks
    Mo

    Burleson consulting...
    Says it all. Exposure on the Net doesn't mean quality.
    Burleson code usually has not been tested, is not robust, and quite often doesn't work.
    Why didn't you implement run_cmd, as suggested earlier?
    THAT works!
    Sybrand Bakker
    Senior Oracle DBA

  • Apex_plsql_job.submit_process job not Working through Apex

    Hi,
    I am using Apex 4.2 and Oracle DB 11g.
    I have a process (which calls a procedure) to run on page load which is taking quiet some time (more than a min) so I thought of using Apex_Plsql_job API. It is submitting the job (though it is submitting the job to DBA_JOBS rather than APEX_PLSQL_JOBS as said by Doc which even disappears in no time from dba_jobs).
    declare
    l_sql VARCHAR2(4000);
    l_job NUMBER;
    begin
        l_sql := 'BEGIN Pkg.procedure(param1); END;';
        l_job := APEX_PLSQL_JOB.SUBMIT_PROCESS(p_sql => l_sql, p_status => 'Background process submitted');
    end;
    Now My issue is the procedure is not being called. Am I missing something. Can anyone help me pls.
    Thanks,
    Shoaib

    Hi,
    APEX_PLSQL_JOB package works just fine for me.
    What I did check your code I think there is mistake. You have not declare parameter "param1" for job PL/SQL code
    Maybe code should look like this
    DECLARE
      l_sql VARCHAR2(4000);
      l_job NUMBER;
    BEGIN
      l_sql := q'!DECLARE param1 VARCHAR2(255) := 'MY_VALUE'; BEGIN Pkg.procedure(param1); END;!';
      l_job := APEX_PLSQL_JOB.SUBMIT_PROCESS(p_sql => l_sql, p_status => 'Background process submitted');
    END;
    Or something like
    DECLARE
      l_sql VARCHAR2(4000);
      l_job NUMBER;
    BEGIN
      l_sql := 'BEGIN Pkg.procedure(' || Px_MY_ITEM || '); END;';
      l_job := APEX_PLSQL_JOB.SUBMIT_PROCESS(p_sql => l_sql, p_status => 'Background process submitted');
    END;
    Regards,
    Jari

Maybe you are looking for

  • Runtime error:429

    Hi all, I ve installed interactive reporting 11.1.2.1. While trying to open Dashboard studio, Dashboard architect, am getting "Runtime error:429 ActiveX component cant create object." EPM system essbase /planning 11.1.2.1 is already installed on this

  • Unlocked Bootloader In unlocked/Simfree xperia u

    hi i have a sony xperia u and when i looked on the configuration settings it sez that my bootloader isn't locked and wanted to root my phone to get rid of some of the sony bloatware would i still void my warrenty even tho i already have an unlocked b

  • HT201389 Update apps purchased in another country's App Store?

    Will I be able to update apps purchased in another country's App Store?

  • ABAP function module TH_POP_UP message

    Hi experts, I created a report that call function module TH_POPUP to users from a role. It works perfectly fine BUT the pop-up present a red cross, that might be confusing for users because a pop-up is sent if the job involved is successful or not. S

  • Need Help with Uploading IPA to AppStore

    Having some troubles uploading my completed IPA to the appstore. 1) Using Flash Professional CC 2) Built with Air 3.8 for iOS 3) Uploading it via Application Loader 4) Encountered the following errors:      >> Apple's web service operation was not su