Getting error while using odiRef.getPop("POP_NAME")

Hi,
I am trying to insert interface name while running using below command added as step in IKM.
INSERT INTO STG.CNTL_TAB VALUES(NULL,'<%=odiRef.getPop("POP_NAME")%>',SYSDATE,NULL)
when I try to update the same inserted record in another step it is giving error. Here is update command I am using this in end step in IKM.
update STG.CNTL_TAB set endtime = sysdate where rid in (
select max(RID) from STG.CNTL_TABE where INTERFACE_NAME in (select '<%=ODIREF.GETPOP("POP_NAME")%>' from dual)
it is giving some BeanShell script error
BeanShell script error: Sourced file: inline evaluation of: ``out.print("update STG.CNTL_TABE set endtime = sysdate where r_i . . . '' : Attempt to resolve method: GETPOP() on undefined variable or class name: ODIREF : at Line: 2 : in file: inline evaluation of: ``out.print("updateSTG.CNTL_TABE set endtime = sysdate where ri . . . '' : ODIREF .GETPOP ( "POP_NAME" )
BSF info: Update Control Table at line: 0 column: columnNo
out.print("update STG.CNTL_TAB set endtime = sysdate where rid in (\nselect max(RID) from STG.CNTL_TABE where '\n INTERFACE_NAME in (select '") ;
out.print(ODIREF.GETPOP("POP_NAME")) ;
out.print("' from dual)\n)") ;
Please let me know how to solve this.
Thanks in advance.
Edited by: user617073 on Sep 18, 2012 6:51 PM

user617073 wrote:
Hi,
I am trying to insert interface name while running using below command added as step in IKM.
INSERT INTO STG.CNTL_TAB VALUES(NULL,'<%=odiRef.getPop("POP_NAME")%>',SYSDATE,NULL)
when I try to update the same inserted record in another step it is giving error. Here is update command I am using this in end step in IKM.
update STG.CNTL_TAB set endtime = sysdate where rid in (
select max(RID) from STG.CNTL_TABE where INTERFACE_NAME in (select '<%=ODIREF.GETPOP("POP_NAME")%>' from dual)
it should be odiRef.getPop("POP_NAME")
see the case difference
it is giving some BeanShell script error
BeanShell script error: Sourced file: inline evaluation of: ``out.print("update STG.CNTL_TABE set endtime = sysdate where r_i . . . '' : Attempt to resolve method: GETPOP() on undefined variable or class name: ODIREF : at Line: 2 : in file: inline evaluation of: ``out.print("updateSTG.CNTL_TABE set endtime = sysdate where ri . . . '' : ODIREF .GETPOP ( "POP_NAME" )
BSF info: Update Control Table at line: 0 column: columnNo
out.print("update STG.CNTL_TAB set endtime = sysdate where rid in (\nselect max(RID) from STG.CNTL_TABE where '\n INTERFACE_NAME in (select '") ;
out.print(ODIREF.GETPOP("POP_NAME")) ;
out.print("' from dual)\n)") ;
Please let me know how to solve this.
Thanks in advance.
Edited by: user617073 on Sep 18, 2012 6:51 PM

Similar Messages

  • Getting error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure

    I have create Logic App under Azure App Services, I am getting
    error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
    Following are the screen shots:
    Login App Connector Diagram:
    hema

    Marking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
    http://twitter.com/joshtwist

  • Getting error while using Callouts

    Hi Gurus,
    I am getting the below error while using callouts.
    Error -: AIP-51806: Error during callout invocation: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
         at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
         at oracle.tip.adapter.b2b.callout.B2BCalloutHandler.handleOutgoingCallout(B2BCalloutHandler.java:344)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1606)
         at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:975)
         at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
         at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:141)
         at oracle.tip.transport.basic.FileSourceMonitor.processMessages(FileSourceMonitor.java:903)
         at oracle.tip.transport.basic.FileSourceMonitor.run(FileSourceMonitor.java:317)
    Caused by: Error -: AIP-10606: Domain exception in callout execution. Error -: AIP-10606: Domain exception in callout execution. Callout/Usage property not found for key password.
         at oracle.tip.adapter.b2b.callout.CalloutUtil.raiseIPCalloutDomainException(CalloutUtil.java:88)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getMapValue(CalloutContextImpl.java:100)
         at oracle.tip.adapter.b2b.callout.CalloutContextImpl.getStringProperty(CalloutContextImpl.java:149)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:25)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
         at com.tm.EncryptMessage.execute(EncryptMessage.java:47)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.doWork(CalloutExecuteWorker.java:424)
         at oracle.tip.adapter.b2b.callout.CalloutExecuteWorker.run(CalloutExecuteWorker.java:333)
         at java.lang.Thread.run(Thread.java:534)
    I have configured the property "password" in the "Callout Properties" & "Callout Usage". I think no properties reaching the "CalloutContext" in the callout class.
    Please help me in this.
    Regards,
    Vithal
    Edited by: Vithal R on 03-Jun-2009 08:07

    Hi Vithal,
    Did you try with sample callouts -
    http://download-uk.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm
    For your case, make sure -
    You are following below steps to create the property -
    http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b19370/callouts.htm#BEIFDECJ
    You have selected the appropriate callout usage while creating the agreement.
    Callout Directory : Just mention the folder and not the jar.
    Mention the appropriate jar file in the Libray name section of the "create call out"
    Let us know the result please.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Jun 4, 2009 11:39 AM

  • Getting Error while using CallTarget class

    I am getting following error while using the CallTarget.
    "Exception in thread "main" java.lang.NullPointerException
    at org.apache.tools.ant.taskdefs.Ant.init(Ant.java:147)
    at org.apache.tools.ant.taskdefs.CallTarget.init(CallTarget.java:85)
    at org.apache.tools.ant.taskdefs.CallTarget.setTarget(CallTarget.java:150
    at AntCallTarget.main(AntCallTarget.java:7)"
    Can anyone please help me solve this problem.
    The code where i am getting this error is
              CallTarget antCall = new CallTarget();
              antCall.setTarget("Main");

    I am getting following error while using the CallTarget.
    "Exception in thread "main" java.lang.NullPointerException
    at org.apache.tools.ant.taskdefs.Ant.init(Ant.java:147)
    at org.apache.tools.ant.taskdefs.CallTarget.init(CallTarget.java:85)
    at org.apache.tools.ant.taskdefs.CallTarget.setTarget(CallTarget.java:150
    at AntCallTarget.main(AntCallTarget.java:7)"
    Can anyone please help me solve this problem.
    The code where i am getting this error is
              CallTarget antCall = new CallTarget();
              antCall.setTarget("Main");

  • Getting error while using the data element in ztable

    though i specified the length as 20 in dataelement when i am entering the dataelement i am getting this error
    while i used help i got the following information
    Number of positions < minimum number (1) for data type CHAR
    Message no. DO253
    Diagnosis
    A minimum length is required for the specified data type.
    This minimum length is not reached by the specified number of positions.
    Procedure
    Increase the number of positions or select a more appropriate data type with the possible entries help F4.

    This is strange, you shouldn't even be able to activate the dataelement type char with a length of 0. Revisit your data element and make sure that the length shows to be greater than 0 and reactivate your data element to make sure the newest version is active. In case you are referencing a domain in your data element do the same with the domain after validating that everything is correct (you can also use the check function). Then go back to your table and reenter the data element before activating your table.
    Hope that helps,
    Michael

  • Getting Error while using  LKM File to Oracle(SQLLDR) KM in ODI

    Hi All ,
    Could anyone please help me out on this error which i am getting while using LKM File to Oracle(SQLLDR)
    My Scenario :
    1. I have my CSV file created in one location with some records .
    2. Created a new interface having this CSV file as source(File Technology) and Table as target (Oracle technology)
    3. Here i want to get the contents from csv and store into the target table by using SQLLDR .For that i am using this KM- LKM File to Oracle(SQLLDR)
    4. By Executing the Interface i am getting following error at step 6 -call sqlldr
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
      File "<string>", line 22, in <module>
    Load Error: See E:\demo1\file/SALES.log for details
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
      at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: Traceback (most recent call last):
      File "<string>", line 22, in <module>
    Load Error: See E:\demo1\file/SALES.log for details
      at org.python.core.PyException.fillInStackTrace(PyException.java:70)
      at java.lang.Throwable.<init>(Throwable.java:181)
      at java.lang.Exception.<init>(Exception.java:29)
      at java.lang.RuntimeException.<init>(RuntimeException.java:32)
      at org.python.core.PyException.<init>(PyException.java:46)
      at org.python.core.PyException.doRaise(PyException.java:219)
      at org.python.core.Py.makeException(Py.java:1166)
      at org.python.core.Py.makeException(Py.java:1170)
      at org.python.pycode._pyx2.f$0(<string>:59)
      at org.python.pycode._pyx2.call_function(<string>)
      at org.python.core.PyTableCode.call(PyTableCode.java:165)
      at org.python.core.PyCode.call(PyCode.java:18)
      at org.python.core.Py.runCode(Py.java:1204)
      at org.python.core.Py.exec(Py.java:1248)
      at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
      ... 19 more
    Here the sales.log file is not created in the above directory .I am not getting  where it is actually went wrong.
    I searched for the solution and i could not find any.Please help me out as it is high priority for me.
    I tried to run SQL*Loader through command prompt and i am able to generate the data in the target table and not getting it through ODI.
    Atleast is there any workaround .Please suggest me.
    Environment Details: ODI_11.1.1.7.0, Oracle DB 11g
    Thanks,
    keerthi

    Which agent are you using to execute?
    Standalone? If standalone, did you start it with OPMN?  I've seen such issues with standalone agent started with OPMN.
    Generally these kind of issues occur when you try to run with standalone agent started with OPMN.
    Because OPMN does not have access to the environment shell variables PATH or ORACLE_HOME and therefore the sqlldr.exe binary (or other Oracle product binary) is not found for execution.
    In this case, you need to specify PATH and ORACLE_HOME variables in opmn.xml file like below for your agent(say "MyStandaloneAgent" in this case)
    <ias-component id="MyStandaloneAgent">
    <process-type id="odiagent" module-id="CUSTOM">
      <environment>
         <variable id="ORACLE_HOME" value="C:\oracle\product\11.2.0\client_1"/>
          <variable id="PATH" value="C:\oracle\product\11.2.0\client_1\BIN;$PATH"/>
    After that, start and stop the agent and try the execution once again.

  • Getting error while using TRIM method in collections

    Hi Experts,
    While using TRIM method I am getting below error. Am I doing any mistake here ?
    DB : Oracle 11g
    SQL> declare
      2
      3    type emp_tab is table of employees%rowtype index by binary_integer;
      4    l_emp_tab emp_tab;
      5
      6  begin
      7
      8   select * bulk collect into l_emp_tab from employees;
      9   l_emp_tab.trim(5);
    10   dbms_output.put_line(l_emp_tab.count);
    11
    12  end;
    13  /
    l_emp_tab.trim(5);
    ERROR at line 9:
    ORA-06550: line 9, column 2:
    PLS-00306: wrong number or types of arguments in call to 'TRIM'
    ORA-06550: line 9, column 2:
    PL/SQL: Statement ignored
    Thanks in advance for all your help.
    Cheers,
    Suri

    Gerard, and to Unkonwn epxpert ;-)
    Thanks for the reply. I am aware about extend method. But not sure about TRIM. Once again thanks for your help.
    Cheers,
    Suri

  • Getting Error while using HttpAuthManager present in  cdb_devkit.

    Hi,
    I am using the classes present in cdb_devkit in my application. I am using HttpAuthManager class in order to retrieve the Fdksession from existing Http Session of CDB.However while using the HttpAuthManager class:
    HttpAuthManager ham = HttpAuthManager.getInstance();
    I am getting the error when this statement is being executed.
    Error:*"FDK Configuration not initialized! Delay this call until the node and servers are initialized!"*.
    Can anyone please tell me what this error indicate and provide me the solution for resolving this error.
    This is very urgent for me. Thanks in advance.
    Thank You,
    Ravi kumar.

    Gerard, and to Unkonwn epxpert ;-)
    Thanks for the reply. I am aware about extend method. But not sure about TRIM. Once again thanks for your help.
    Cheers,
    Suri

  • Getting error while Using BAPI Interface in VB

    Hi,
    I m getting error message while creating object of SAP.BAPI.1
    Error message is "out of memory : run time error 7".
    do I need to install any patch to my local PC? If yes then from where could i get that patch.
    Plz help me out.
    Thanks & Regards,
    Sagar

    Hi Sagar,
    Please varify the version of SAP client you use. I have noticed that this error with SAP Frontend Package 6.20, and was able to over come the follwing issue by upgrading to the SAP Frontend Package 6.40.
    Regards,
    Randima

  • File download is getting error while using popup

    Hi experts,
    Working in jdev 11.1.1.3.0, ADF BC with rich faces.
    I am downloading word document from ADF application, i am using fileDownloadActionListener it's working fine, but before opening any file if i invoke any popup, like in my case i have to select the now of rows which user wants select the rows in the table and popup opens and i will enter some number in that and click ok, then the rows will be selected after that if i try to download the document then i am getting error in the console and in the UI the internet explorer is giving the popup as information Bar and asking to download .
    <Aug 17, 2010 11:28:50 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@21083818[app:CardEmboss_New module:CardEmboss_New-ViewController-context-root path:/CardEmboss_New-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
         at weblogic.servlet.internal.ServletOutputStreamImpl.clearBuffer(ServletOutputStreamImpl.java:336)
         at weblogic.servlet.internal.ServletOutputStreamImpl.reset(ServletOutputStreamImpl.java:289)
         at weblogic.servlet.internal.ServletResponseImpl.reset(ServletResponseImpl.java:327)
         at javax.servlet.ServletResponseWrapper.reset(ServletResponseWrapper.java:193)
         at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:127)
         Truncated. see log file for complete stacktrace
    >
    <Aug 17, 2010 11:28:50 AM EDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Aug 17, 2010 11:28:50 AM EDT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Aug 17, 2010 11:28:50 AM EDT SERVER = DefaultServer MESSAGE = [ServletContext@21083818[app:CardEmboss_New module:CardEmboss_New-ViewController-context-root path:/CardEmboss_New-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.IllegalStateException: Response already committed
         at weblogic.servlet.internal.ServletOutputStreamImpl.clearBuffer(ServletOutputStreamImpl.java:336)
         at weblogic.servlet.internal.ServletOutputStreamImpl.reset(ServletOutputStreamImpl.java:289)
         at weblogic.servlet.internal.ServletResponseImpl.reset(ServletResponseImpl.java:327)
         at javax.servlet.ServletResponseWrapper.reset(ServletResponseWrapper.java:193)
         at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:127)
         at oracle.adfinternal.view.faces.event.rich.FileDownloadActionListener.processAction(FileDownloadActionListener.java:77)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:673)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = MIA-DT-06282 TXID = CONTEXTID = f7ad25c4bcd184ea:601da344:12a8060fa0a:-8000-00000000000001b5 TIMESTAMP = 1282058930160
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
    oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48315: ADR unavailable
    DIA-48315: ADR unavailable
    DIA-48168: the ADR sub-system is not initialized
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:891)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:269)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:264)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
         at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
         at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
         at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
         at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
         at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
         at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
         at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
         at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
         at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:792)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:552)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base="C:\\Documents and Settings\\ldpila\\Application Data\\JDeveloper\\system11.1.1.3.37.56.60\\DefaultDomain\\servers\\DefaultServer\\adr" product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\ldpila\\Application Data\\JDeveloper\\system11.1.1.3.37.56.60\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-101020 [HTTP][java.lang.IllegalStateException]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-08-17 11:28:50.160 -04:00" ecid="f7ad25c4bcd184ea:601da344:12a8060fa0a:-8000-00000000000001b5"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48315: ADR unavailable
    DIA-48315: ADR unavailable
    DIA-48168: the ADR sub-system is not initialized
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1183)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:870)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:871)
         ... 19 more
    Can any one help me what may be the issue here.
    Code:
    popup ok button:
    public void selectCardNumber(ActionEvent actionEvent) {
    // Add event code here...
    try {
    RichTable _table = this.getEmbossTB();
    RowKeySet rks = new RowKeySetImpl();
    CollectionModel model = (CollectionModel)_table.getValue();
    BigDecimal nCount = (BigDecimal)getNoOfCards().getValue();
    System.out.println("number: " + nCount);
    String newNum = getNoOfCards().getValue().toString();
    if (nCount != null && Pattern.matches("^[0-9]+$", newNum)) {
    for (int i = 0; i < nCount.intValue(); i++) {
    model.setRowIndex(i);
    Object key = model.getRowKey();
    rks.add(key);
    _table.setSelectedRowKeys(rks);
    AdfFacesContext.getCurrentInstance().addPartialTarget(_table);
    ADFUtils.hidePopup(this.getP1().getClientId(FacesContext.getCurrentInstance()));
    } else {
    FacesContext fctx = FacesContext.getCurrentInstance();
    FacesMessage message =
    new FacesMessage("Please enter positive Integer number");
    message.setSeverity(FacesMessage.SEVERITY_ERROR);
    fctx.addMessage(null, message);
    } catch (Exception e) {
    e.printStackTrace();
    Edited by: user5802014 on Aug 17, 2010 8:42 AM
    Edited by: user5802014 on Aug 17, 2010 8:53 AM

    Hi,
    I even got the same issue when doing this.
    public void downloadcsv(javax.faces.context.FacesContext facesContext,
    OutputStream outputStream) {
    PrintWriter out = new PrintWriter(outputStream);
    for(int i=0;i<4000;i++)
    out.println("text");
    out.flush();
    out.close();
    facesContext.responseComplete();
    Workaround:
    public void downloadcsv(javax.faces.context.FacesContext facesContext,
    OutputStream outputStream) {
    StringBuffer buffer = new StringBuffer("");
    for(int i=0;i<4000;i++)
    buffer.append("text\n")
    String result = buffer.toString();
    outputStream.write(result.getBytes());
    outputStream.flush();
    outputStream.close();
    facesContext.responseComplete();
    Thanks,
    Tulasi Raghuveer Beesabathuni.

  • Getting error while using as_access_pub.Create_SalesTeam API

    Hi,
    I am getting this error while executing this API in a procedure which is triggered from a business event.
    "User id 0 is invalid. The user cannot be identified in Resource Manager."
    The error does not occur when I execute the procedure stand-alone from a PL/SQL client. What could be the reason ? Any help would be appreciated.
    Thanks
    Ramya

    Hi,
    thanks for the response. I tried doing that FND_APPS.Initialize... explicitly by passing user_id,resp_id and resp_app_id, still its giving the same error.
    Also note that the API works fine from our development instance (without fnd_apps.initialize), whereas it does not work from our testing instance (with or without fnd_apps.initialize)
    Thanks
    Ramya

  • Getting Errors while using IMPDP command in UNIX

    Hi All,
    My work involves Refreshing of DB with latest Data. For this i am using IMPDP command to import the data. But Every time during refresh i will get errors saying like "oracle Generated Errors Oracle Not available".
    I don't know what is the reason for getting this error, and that too my db goes down after this error. Again i will startup the db , and i will try my luck to complete the process.
    so please tell me what are the actual problems that might cause the IMPDP to be failed.
    with one advise , i have stopped my listener and done the importing, Interestingly this time IMPDP works without errors. But this is also not always working.
    But i feel that every time starting and stopping the listener is not the correct solution.
    so please help me in this regard.
    Regards
    Naveen R.

    The error i am getting is...
    UDI-03113: operation generated ORACLE error 3113
    ORA-03113: end-of-file on communication channel
    Process ID: 6208
    Session ID: 346 Serial number: 298
    UDI-03114: operation generated ORACLE error 3114
    ORA-03114: not connected to ORACLE
    [user1@node1 cpt]$
    DB version is 11.1.0.6.0
    os is.. Red Hat Linux

  • Getting error while using BAPI  'BAPI_GOODSMVT_CREATE'

    Hi,
    I am using the BAPI 'BAPI_GOODSMVT_CREATE' in program for goods issue i.e code 03.I am providing all details. the quatity is in KG and i am also providing ISO code i.e KGM but still getting error that Deficit of BA Unrestricted-use 32,900 KG .what would be the problem.

    Hi There,
    Please check if the PO in question has GR-based IV set to active.  In this case please refer to the SAP note 109396 which explains how the IDoc segment has to be filled in order for the posting be successful. The IDoc has to be filled as described in the note when try to post with this particular constellation (i.e. GR-based IV active, more than one goods receipt for the line item, first goods receipt already reversed). Normally when posting in dialog the user has to choose the correct line item to reverse. In the case of IDoc/BAPI processing this is not possible so these particular fields have to be filled at the interface so that the system finds the correct document to reverse.                            
    I hope this helps,
    Best Regards,
    Elaine.

  • Getting error while using jaxb/xjc

    hello every one,
    i have a xsd and i want automated classes from it for which i am using jaxb and xjc compiler but when i am running it then i am getting error
    parsing a schema...
    compiling a schema...
    Exception in thread "main" java.lang.IllegalArgumentException: Expected
    class ja
    vax.xml.bind.annotation.XmlAccessType but found class
    javax.xml.bind.annotation.
    my xsd is
    <xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="clients"
    type="ClientsDef"/>
    <xs:complexType name=" ClientsDef ">
    <xs:sequence>
    <xs:element name="pers" type="Person"
    maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Person">
    <xs:sequence>
    <xs:element name="name"
    type="xs:string"/>
    <xs:element name="date_of_birth"
    type="xs:date"/>
    <xs:element name="cnp"
    type="xs:string"/>
    <xs:element name="adress"
    type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    any one please help me out...

    Hi,
    XSD is well formed but for JAXB, it needs to have the complexType declaration inner the root element:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="clients">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="pers" type="Person" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="Person">
    <xs:sequence>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="date_of_birth" type="xs:date"/>
    <xs:element name="cnp" type="xs:string"/>
    <xs:element name="adress" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>Tested this works with this Main using jaxb-bindings in Netbeans (defining XSD compilation under clients package, Main in default package):
    import clients.Clients;
    import clients.ObjectFactory;
    import clients.Person;
    import java.io.ByteArrayOutputStream;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Marshaller;
    public class Main
        public static void main(String args[]) throws Exception
            ObjectFactory of = new ObjectFactory();
            Clients cd = of.createClients();
            Person p = of.createPerson();
            p.setAdress("address");
            p.setCnp("cnp");
            p.setName("name");
            cd.getPers().add(p);
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            try
                JAXBContext ctx;
                ctx = JAXBContext.newInstance(Clients.class);
                Marshaller marshaller = ctx.createMarshaller();
                marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true));
                marshaller.marshal(cd, bos);
                System.out.println(bos.toString());
            finally
                bos.close();
    }Generates:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <clients>
    <pers>
    <name>name</name>
    <cnp>cnp</cnp>
    <adress>address</adress>
    </pers>
    </clients>

  • Getting Error While using CriteriaQuery

    Hi ,
    I am developing a small enterprise application using netbeans with glass fish application server.
    I am getting error when i am using CriteriaQuery and Criteria Builder. Even import these two packages
    still am getting error.It is showing "Package javax.persistence.criteria doesn't exist".
    please help me
    Thanks in advance.

    Well it's not a standard Java package so whatever 3rd party tool you are using is missing something that you need in your classpath.
    m

Maybe you are looking for