BEx Web: Java Error when calling query from Query Designer

When designing a query in the designer and executing it via the portal,
I get the following error:
com.sap.ip.bi.base.application.variableprocessor.IVariableProcessor.synchronizeStateVariables()V
The complete exception is:
com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while calling the method "processDialogCommand"     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2366)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:841)     at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:775)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:412)     at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)     at java.security.AccessController.doPrivileged(Native Method)     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)     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:387)     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)     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(Native Method)     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while calling the method "processDialogCommand"     at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:116)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:439)     at com.sap.ip.bi.webapplications.runtime.command.CommandProcessorHelper.processCommand(CommandProcessorHelper.java:325)     at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processCommand(CommunicationProcessor.java:144)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSuper(Page.java:1451)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandInternal(Page.java:1439)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:2022)     at com.sap.ip.bi.webapplications.runtime.impl.Page.displayVariableScreen(Page.java:1845)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processCommandSequence(Page.java:2069)     at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2755)     at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2288)     ... 36 moreCaused by: java.lang.NoSuchMethodError: com.sap.ip.bi.base.application.variableprocessor.IVariableProcessor.synchronizeStateVariables()V     at com.sap.ip.bi.webapplications.ui.dialogs.variablescreen.DlgVariable.doUiDialogInit(DlgVariable.java:259)     at com.sap.ip.bi.webapplications.ui.dialogs.framework.UiDialog.doInit(UiDialog.java:164)     at com.sap.ip.bi.webapplications.runtime.base.PageObject.init(PageObject.java:244)     at com.sap.ip.bi.webapplications.runtime.base.Dialog.init(Dialog.java:72)     at com.sap.ip.bi.webapplications.runtime.base.Dialog.processCommand(Dialog.java:168)     at com.sap.ip.bi.webapplications.runtime.base.CommunicationProcessor.processDialogCommand(CommunicationProcessor.java:99)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at java.lang.reflect.Method.invoke(Method.java:324)     at com.sap.ip.bi.util.MethodInvoker.callMethod(MethodInvoker.java:101)     ... 46 more
The HP LEvel on the Java Stack is 10, on Te ABAP Stack it is 11.
Any ideas?
Thanks in advance, Thom

Did you check these posts:
Unable to publish in IE with BEx Query Designer
Web Analyzer Execute failed- System received an expired SSO ticket
null

Similar Messages

  • An error when calling DAQmx from TestStand

    Hi,
    I get very mystic error when calling DAQmx Create Channel (Digital input) and DAQmx Read (Digital Bool 1Line 1Point) vis. Difficulty is that it does not occur every time. It is random. Any ideas what might cause this error? I uninstalled Traditional DAQ drives because they are not in use but it does not help.
    Please, see attachment.
    BR,
    Jick
    Attachments:
    daqerror.PNG ‏80 KB

    Here is some additional information. See attachments.
    I can not get that error using MAX or looping it only. There is something else outside which causes the error. It can not be Traditional DAQ because I uninstalled it. These vis are running in a loop during the test in the batchmodel.
    BR,
    Jick
    Attachments:
    daqerror2.PNG ‏33 KB
    daqerror3.PNG ‏15 KB

  • Error when call javabean from form6i

    I try to call javabean from Form6i. I have downlaoded four excample from Oracle Sample Code. But I can't run the example whenever from Form Builder or browser. When I run the html in IE or Natscape browser, I meet a eorror message :
    java.lang.NoClassDefFound Error: sun/applet/AppletViewer
    I have copy all example classes into e:\orant\forms60\java\oracle\forms\demos\ directory and the jar file copy into e:\orant\forms60\java directory.
    Inside the html I set the codebase to e:\orant\forms60\java.
    Is there any error or I still need to set some anothers settings?
    Help please?
    null

    Hi Adnan
    I have configured my apps similary the example in
    \orant\tools\devdem60\web then it rans fine.
    Thanks,
    Ruy Chicaco.
    Adnan Imtiaz (guest) wrote:
    : Hi there,
    : I'm facing the same problem myself...but mine goes into doing
    : something & returns an "Internal Error" message in the
    : browser....
    : Try running the static HTML file from its directory & see
    whether
    : that even runs or not....
    : Any helpp would be greatly appreciated.....
    : Thanks.
    : Ruy chicaco (guest) wrote:
    : : I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
    : : SP4 and Developer 6.
    : : I have configured application cartridge according Developer6
    : : Server doc instructions.
    : : When I call fmx from browser Netscape 4.6
    : : (http://hostname/webforms?module=fmx_name) the error "Applet
    : : oracle.forms.engine.Main class oracle.forms.engine.Main could
    : not
    : : be loaded".
    : : OAS inserts in file \orant\ows\website40\log the message
    : : "Parameter module is missing from URL and cartridge settings"
    : : Can anybody help me please?.
    : : Ruy Chicaco
    null

  • Error when call fmx from browser

    I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
    SP4 and Developer 6.
    I have configured application cartridge according Developer6
    Server doc instructions.
    When I call fmx from browser Netscape 4.6
    (http://hostname/webforms?module=fmx_name) the error "Applet
    oracle.forms.engine.Main class oracle.forms.engine.Main could not
    be loaded".
    OAS inserts in file \orant\ows\website40\log the message
    "Parameter module is missing from URL and cartridge settings"
    Can anybody help me please?.
    Ruy Chicaco
    null

    Hi Adnan
    I have configured my apps similary the example in
    \orant\tools\devdem60\web then it rans fine.
    Thanks,
    Ruy Chicaco.
    Adnan Imtiaz (guest) wrote:
    : Hi there,
    : I'm facing the same problem myself...but mine goes into doing
    : something & returns an "Internal Error" message in the
    : browser....
    : Try running the static HTML file from its directory & see
    whether
    : that even runs or not....
    : Any helpp would be greatly appreciated.....
    : Thanks.
    : Ruy chicaco (guest) wrote:
    : : I have used OAS 4.0.7 with yt40.dll upgraded, NT 4.0
    : : SP4 and Developer 6.
    : : I have configured application cartridge according Developer6
    : : Server doc instructions.
    : : When I call fmx from browser Netscape 4.6
    : : (http://hostname/webforms?module=fmx_name) the error "Applet
    : : oracle.forms.engine.Main class oracle.forms.engine.Main could
    : not
    : : be loaded".
    : : OAS inserts in file \orant\ows\website40\log the message
    : : "Parameter module is missing from URL and cartridge settings"
    : : Can anybody help me please?.
    : : Ruy Chicaco
    null

  • Getting 500 Error when calling XI from Siebel

    Hi,
      We have generated a WSDL file from XI and gave it to Siebel team. They are getting a 500 Error when they try to call us using that WSDL file. Below is the error message they are getting.
    "[1] Error Invoking service 'MI_SIEBEL_WS_ORDER_TOXI_OUT', method 'MI_SIEBEL_WS_ORDER_TOXI_OUT' at step 'Call Web Service'. (SBL-BPR-00162).
    [2] HTTP Request error during 'Submitting Data Send HTTP request': 'Status code -500'(SBL-EAI-04117)"
    Thanks in advance for the help.
    Thanks
    Kumar

    Hi,
    Are you sure your Sender SOAP adapter is configured properly. Also ensure that the SIEBEL team is using the right URL to communicate to the SOAP adapter.
    First try using SOAP Client and see if the scenario is working fine. If so then the problem lies in SIEBEL.
    Check this link for confiuring SOAP sender
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Thanks,
    Pakash

  • XML Deserialization Error when calling WebService from WebDynrpo

    Hi all,
    when calling a WebService-method from my WebDynpro-application, I get the following error message:
    "Deserializing fails. Nested message: XML Deserialization Error. Can not create instance of class [com.karmann.ApplMan.dto.SoftwareKomponenteDTO] when deserializing XML type [urn:com.karmann.ApplMan.dto][SoftwareKomponenteDTO].."
    SoftwareKomponenteDTO is a class that I have implemented. It implements Serializable and overwrites the methods "equals()" and "hashcode()". It contains members of types long, String and java.sql.Date.
    The method I call needs an argument of type SoftwareKomponenteDTO. Other methods which return something of type SoftwareKomponenteDTO do not make any problems.
    The same error message appears when I test the WebService-method in the WebService-navigator. So I assume that the problem is not the way I call the method from WebDynpro.
    Thanks for help,
    Christoph

    Thanks for this hint, Amar. But this points directly to my next problem: How can I set this parameter. I know how to set flat parameters (e.g. of type long, boolean, etc.). But how can I set a parameter of a complex type?
    For example I can call
        wdContext.currentSaveElement().setIdFather(long id)
    in order to set the parameter idFather of type long for the WebService-method save(). But there is no method
         wdContext.currentSaveElement().setIdFather(SoftwareKomponenteDTO aKomp)
    Could you please help me on more time?
    Kind regards,
    Christoph

  • Error when calling webservice from oracle function.

    Hi,
    I am getting following error when i am trying to call webserivce from oracle function. Please can anyone suggest the required solution. Below is the error obtained.
    Thanks.
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "UL" does not match start-element tag "P"
    Error at line 15
    ORA-06512: at "SYS.XMLTYPE", line 54
    ORA-06512: at "SCOTT.DEMO_SOAP", line 87
    ORA-06512: at "SCOTT.WEB_SERVICE", line 17

    The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call

  • Getting ie error when calling event from code.

    Hi all!
    I've got an application (running on 6.40 sp8, ep6 sp2) that is pretty basic by all means. Since I want to implement some way to tell the user when he/she has made an error or just to inform him/her about something, I decided to use the ConfirmationDialog.
    I've created an action called onActionShowErrorMessage in my view. This action is tied to my controller and an event defined in the controller.
    Hence, when I want to show the ConfirmationDialog to show the user an error message, I call the controller method and in the method I fire the event that my view method is looking for.
    So far so good..
    When I call my controller method from a button action in the view everything works nicely, but when I try to call it from the wdInit method it fails?! I do get the ConfirmationDialog up but I also get an IE error window telling me that IE is trying to open a page it cannot find. I have no idea why it tries to open any page at all, since there is no navigation defined for this action.
    Anyone got an idea? I couldn't find any good stuff in the system logs either
    Best regards,
    Andreas

    Hello Sam!
    Thanks for your answer! I would like to use something more of a pop thing, since i want to make sure the user sees it. The MessageManager does not work as good as it used to anymore, since it puts all messages in the bottom of the page. This page needs to be scrolled in order to see the error message..
    Anyone got an idea of a workaround? I'm reading a propsfile, and in case I'm not able to read it I want to display this to the user.
    B.R
    Andreas

  • Error When Call WebService from WebDynpro

    Hi,
    I´m with this error when i execute* the web service that i created on my WebAS:
    Request_CalculatorWSViDocument_add req = new Request_CalculatorWSViDocument_add();
    wdContext.nodeRequest_CalculatorWSViDocument_add().bind(req);
    wdContext.currentRequest_CalculatorWSViDocument_addElement().modelObject().setX(x);
    wdContext.currentRequest_CalculatorWSViDocument_addElement().modelObject().setY(y);
    wdContext.currentRequest_CalculatorWSViDocument_addElement().modelObject().execute();
    java.lang.NoSuchMethodError: com.sap.engine.services.webservices.jaxrpc.wsdl2java.BaseGeneratedStub._initParameter(Lcom/sap/engine/services/webservices/jaxrpc/wsdl2java/ServiceParam;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
         at br.com.softtek.model.proxies.Config1BindingStub.add(Config1BindingStub.java:58)
         at br.com.softtek.model.proxies.Config1BindingStub.add(Config1BindingStub.java:101)
         at br.com.softtek.model.Request_CalculatorWSViDocument_add.execute(Request_CalculatorWSViDocument_add.java:91)
         at br.com.softtek.comp.CalculatorComp.executeOperation(CalculatorComp.java:217)
         at br.com.softtek.comp.wdp.InternalCalculatorComp.executeOperation(InternalCalculatorComp.java:214)
         at br.com.softtek.comp.CalculatorCompView.onActionAdd(CalculatorCompView.java:143)
         at br.com.softtek.comp.wdp.InternalCalculatorCompView.wdInvokeEventHandler(InternalCalculatorCompView.java:173)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Any idea?
    Regards,
    Bruno

    Hi tulasi,
    My WebService uses "Simple SOAP".
    Naga Raju Meesala,
    The WebService type is "WebService Mode"l.
    Any idea?
    Regards,
    Bruno

  • Errors when calling OCIStmtExecute w/ query encoded as UTF-16

    Environment: Oracle 11.2.0.1.0 on Fedora Core 12, gcc 4.4.4. Server and client are running on the same machine.
    I'm trying to use OCI to establish a UTF-16 encoded connection to a database where the character set is UTF-8:
    SQL> SELECT parameter, value FROM nls_database_parameters WHERE parameter LIKE 'NLS%CHARACTERSET';
    PARAMETER VALUE
    NLS_CHARACTERSET AL32UTF8
    NLS_NCHAR_CHARACTERSET AL16UTF16
    int status = OCIEnvNlsCreate(&pEnv,
    OCI_THREADED | OCI_OBJECT,
    (dvoid *)0,
    (dvoid * (*)(dvoid *, size_t))0,
    (dvoid * (*)(dvoid *, dvoid *, size_t))0,
    (void (*)(dvoid *, dvoid *))0,
    (size_t)0,
    (dvoid **)0,
    OCI_UTF16ID,
    OCI_UTF16ID);
    /* Intermediate code omitted. See below for full code. */
    table definition is: CREATE TABLE foo (val1 INTEGER, val2 INTEGER);
    // Use the UnicodeString class from the ICU project (icu-project.org) to construct a UTF-16 string
    UnicodeString stmt1_ins(UNICODE_STRING_SIMPLE("INSERT INTO foo (val1) VALUES (1);"));
    status = OCIStmtPrepare(pStmt1,
    pError,
    (const text *) stmt1_ins.getTerminatedBuffer(), // returns NULL terminated buffer
    (ub4) ((stmt1_ins.length() + 1) * 2), // NULL term plus 2 bytes per char
    OCI_NTV_SYNTAX,
    OCI_DEFAULT);
    status = OCIStmtExecute(pSvcCtx,
    pStmt1,
    pError,
    (ub4) 1,
    (ub4)0,
    (OCISnapshot*)NULL,
    (OCISnapshot*)NULL,
    OCI_DEFAULT);
    The preparation succeeds, but OCIStmtExecute return ORA-00911, "invalid character".
    I dumped stmt1_ins as hex and verified that it's UTF-16 encoded with a two byte NULL at the end. The characters are all correct, so the string is being correctly constructed by UnicodeString. I copied the literal query and pasted it into sqlplus via the terminal and was able to execute it successfully, so there are no typos in the query.
    Does OCI have an endianness requirement with UTF-16? I would expect that to be transparent since they're on the same OS, or handled by the TCP/IP stack if they weren't.
    If endianness isn't the problem, does anyone have an idea what might be? Full code below. FYI, UChar is defined as a 16 bit int.
    // Declare output handles
    OCIEnv* pEnv = NULL;
    OCIError* pError = NULL;
    OCISvcCtx* pSvcCtx = NULL;
    OCIServer* pServer = NULL;
    OCISession* pSession = NULL;
    OCIStmt* pStmt1 = NULL;
    // Create the environment with UTF charset and ncharset
    int status = OCIEnvNlsCreate(&pEnv,
    OCI_THREADED | OCI_OBJECT,
    (dvoid *)0,
    (dvoid * (*)(dvoid *, size_t))0,
    (dvoid * (*)(dvoid *, dvoid *, size_t))0,
    (void (*)(dvoid *, dvoid *))0,
    (size_t)0,
    (dvoid **)0,
    OCI_UTF16ID,
    OCI_UTF16ID);
    // Init our error struct
    status = OCIHandleAlloc((dvoid *) pEnv,
    (dvoid **) &pError,
    OCI_HTYPE_ERROR,
    0,
    (dvoid **)0);
    // Init our context
    status = OCIHandleAlloc((dvoid *) pEnv,
    (dvoid **) &pSvcCtx,
    OCI_HTYPE_SVCCTX,
    0,
    (dvoid **)0);
    // Init our server
    status = OCIHandleAlloc((dvoid *) pEnv,
    (dvoid **) &pServer,
    OCI_HTYPE_SERVER,
    0,
    (dvoid **)0);
    // Attach to it
    static const UChar db_name[] = {0x75, 0x6E, 0x69, 0x63, 0x6F, 0x64, 0x65, 0}; // "unicode"
    sb4 db_name_len = 14;
    status = OCIServerAttach(pServer,
    pError,
    reinterpret_cast<const OraText *>(db_name),
    db_name_len,
    OCI_DEFAULT);
    // Set the server as an attribute of the context
    OCIAttrSet((dvoid *) pSvcCtx,
    OCI_HTYPE_SVCCTX,
    (dvoid *) pServer,
    0,
    OCI_ATTR_SERVER,
    pError);
    // Init our session
    status = OCIHandleAlloc((dvoid *) pEnv,
    (dvoid **) &pSession,
    OCI_HTYPE_SESSION,
    0,
    (dvoid **)0);
    // Set the username
    static const UChar username[] = {0x77, 0x68, 0x73, 0x65}; // "whse"
    ub4 username_len = 8;
    status = OCIAttrSet((dvoid *) pSession,
    OCI_HTYPE_SESSION,
    (dvoid *) username,
    username_len,
    OCI_ATTR_USERNAME,
    pError);
    // Set the password
    static const UChar password[] = {0x77, 0x68, 0x73, 0x65}; // "whse"
    ub4 password_len = 8;
    status = OCIAttrSet((dvoid *) pSession,
    OCI_HTYPE_SESSION,
    (dvoid *) password,
    password_len,
    OCI_ATTR_PASSWORD,
    pError);
    // Begin the session
    status = OCISessionBegin(pSvcCtx,
    pError,
    pSession,
    OCI_CRED_RDBMS,
    OCI_DEFAULT);
    // Add the session to the context
    status = OCIAttrSet((dvoid *) pSvcCtx,
    (ub4) OCI_HTYPE_SVCCTX,
    (dvoid *) pSession,
    (ub4) 0,
    (ub4) OCI_ATTR_SESSION,
    pError);
    // Allocate a statement handle
    status = OCIHandleAlloc((dvoid *) pEnv,
    (dvoid **) &pStmt1,
    OCI_HTYPE_STMT,
    0,
    (dvoid **)0);
    UnicodeString stmt1_ins(UNICODE_STRING_SIMPLE("INSERT INTO foo (val1) VALUES (1);"));
    status = OCIStmtPrepare(pStmt1,
    pError,
    (const text *) stmt1_ins.getTerminatedBuffer(), // returns NULL terminated buffer
    (ub4) ((stmt1_ins.length() + 1) * 2), / NULL term plus 2 bytes per char
    OCI_NTV_SYNTAX,
    OCI_DEFAULT);
    status = OCIStmtExecute(pSvcCtx,
    pStmt1,
    pError,
    (ub4) 1,
    (ub4)0,
    (OCISnapshot*)NULL,
    (OCISnapshot*)NULL,
    OCI_DEFAULT);

    I ran across this thread, which suggested removing the semicolon from the end of the statement: Procedure calling..Error if Call interface changed from ODBC 3.5 . Now I'm getting ORA-24374, "define not done before fetch or execute and fetch". That makes a lot more sense, as I didn't define any output variables (figuring that they wouldn't be needed for a statement that doesn't return records).
    Edited by: 854879 on Apr 27, 2011 1:22 PM

  • Error when calling BAPI from web dynpro

    Hi,
    I have a program that calls a BAPI to retrieve data. The problem is that i have the following error message:
    com.sap.dictionary.runtime.DdException: 'WD_RFC_LOADBL_META' not properly defined! Unable to create Metadata connection for Dictionary Provider. Either the logical System Name 'WD_RFC_LOADBL_META' has not been properly defined in the System Landscape Directory, or you are not using a MsgServerDestination (AppServerDestinations are not permitted for Metadata connections)
    I have created a JCOP connector and tested it, everything works fine, but the application is not working.
    Any helpfull ideas ??
    Thanks a lot.
    Thibault Schalck

    I have checked again the parameters, have updated the logon group to PUBLIC and now I have this error message:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sapdevnova GROUP=PUBLIC R3NAME=NO1 MSSERV=sapmsNO1 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsNO1' unknown TIME Fri Feb 06 16:23:15 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE ninti.c LINE 530 DETAIL NiPGetServByName2: service 'sapmsNO1' not found SYSTEM CALL getservbyname_r COUNTER 1
    I have no idea what this means...

  • WEBI Java Error when starting report form the portal

    Hi when i'm starting a BO WEBI report out from the  portal the next error is apearing:
    error on set doc title.
    Details: Version:12.1.0.882
    Toepassingsserver:
    http://pcl09009.magma-it.local:8080/AnalyticalReporting/Webi/cdzServlet
    Stapeltracering: netscape.javascript.JSException: Unspecified error invoking method or accessing property "updateDocumentTitle" at sun.plugin2.main.client.MessagePassingJSObject.newJSException(Unknown Source) at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source) at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source) at com.businessobjects.wp.tc.TCDocument.setNameEx(Unknown Source) at com.businessobjects.wp.om.OMDocument.setXmlProperty(Unknown Source) at com.businessobjects.wp.om.OMDocPropHandler.setDocProperty(Unknown Source) at com.businessobjects.wp.xml.XMLDocPropParser.parseDocProp(Unknown Source) at com.businessobjects.wp.xml.XMLDocPropParser.parseDocProps(Unknown Source) at com.businessobjects.wp.xml.XMLOutputParser.parseOutput(Unknown Source) at com.businessobjects.wp.xml.XMLOutputParser.parseOutputs(Unknown Source) at com.businessobjects.wp.xml.XMLOutputParser.parse(Unknown Source) at com.businessobjects.wp.xml.XMLLoader.loadDoc(Unknown Source) at com.businessobjects.wp.tc.TCMain.loadDocument(Unknown Source) at com.businessobjects.wp.tc.TCMain.initDocument(Unknown Source) at com.businessobjects.wp.tc.TCMain.initClient2(Unknown Source) at com.businessobjects.wp.tc.TCMain.initClient(Unknown Source) at com.businessobjects.wp.tc.thread.InitAppletRunner.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    afte closing  i can't refresh or change the querie
    Does any one have solution for this? I'm using BO XI 3.1

    Hi Peter,
    try this solution oryginally posted by Craig Brandt in another topic.
    Firstly make sure you have no old Java installs or 'add ons' lingering about on your system, check in programs and features (assuming your using windows 7) and uninstall Java completely. Check the add ons in IE and show: 'All add ons' - remove manually if required. Do a clean up of the computers temp files and cache. I used a program called ccleaner. Also check c:\users\<username>\app data\locallow\ and delete the 'Sun' folder. Then reboot machine.
    - Install latest Java 1.7.0_51
    - Go to Java control panel in windows control panel
    - add the exception for your BOBJ server e.g. http://<SERVER>:8080
    - click continue
    - go to the advanced tab
    - scroll down and tick 'use TLS 1.2'
    - apply or OK to exit java control panel
    - open 'Internet Options'
    - go to the 'advanced' tab
    - scroll down and tick 'use TLS 1.2'
    - OK everything and close any IE windows
    Now try again, you will need to enable the 'add on' when prompted on opening IE for the first time.
    Also when accessing the BI Web I for the first time, I placed a tick in the 'do not show this again for apps from this publisher'
    Work for me!

  • Error when calling procedure from form personalization

    Hi every body
    I want to call a procudre using form personalization . I made the procedure and in form personalization i call it as follow:
    built in type : Execute a Procedure
    Argument :
    ='GAZ_EMP_ASSIGN_UPDATE(' || :ASSGT.ORGANIZATION_ID || ', ' || :ASSGT.ASSIGNMENT_ID || ', ' || FND_PROFILE.VALUE('USER_ID') || ', ' || FND_PROFILE.VALUE('DB_SESSION_ID') ||' )'
    but the following error raised when i click on Apply Now button :
    the string (='GAZ_EMP_ASSIGN_UPDATE(' || :ASSGT.ORGANIZATION_ID || ', ' || :ASSGT.ASSIGNMENT_ID || ', ' || FND_PROFILE.VALUE('USER_ID') || ', ' || FND_PROFILE.VALUE('DB_SESSION_ID') ||' )' )
    couldn't be evaluated because of error ORA-06550 :line 1 , column 43
    PLS-00103:encountered the symbol ")" while expecting one of the folowing (- + ...... etc
    can anyone have a solution to this problem because it made me mad .(urgent)
    Or if anyone have another way to call the procedure ??
    Note that i want to pass db_session_id to the procedure from the application so does anyone have a complian about the way of passing this parameter to the procedure ??

    See http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/forms-personalization-execute-a-procedure-1778674

  • Getting error when calling package from master

    Hi ,
    I am facing one issue ,
    when i am running package indivisually its running fine , but when I am calling same package from Master package it gets failded.
    below is the error massage which I am getting.
    "Exception has been thrown by the target of an invocation"
    regards,
    Vipin jha
    Thankx & regards, Vipin jha MCP

    Hi Vipin,
    In addition, here is an article regarding how to execute a package from another package for your reference. Please see:
    http://svangasql.wordpress.com/2012/05/01/parent-child-package-ssis-2012-execute-package-task/
    Please help to elaborate your issue with more detail so that we can help you to solve this issue in a effecive manner.  
    Elvis Long
    TechNet Community Support

  • Error when calling powershell from Sun IDM

    Hello Experts,
    In our environment we have a powershell script which takes command-line arguments as input and creates mailbox. To create a mailbox for newly on-boarded user we just need to call this script and pass the args. When i run the script from Gateway server (by physically logging into the server) it works as expected but when i call the same script from Sun IDM (using resource actions) I'm getting the following error,
    The type initializer for 'InstanceContext' threw an exception
    any idea to fix or troubleshoot this?
    We are using Sun IDM 6.0 SP1 and exchange 2007.

    Which version of the Gateway?
    Are you calling the script with afterAction scriptcalls?
    Adapter or connector?
    I do know that the powershellcalls are supposed to have two restrictions which are truly hampering...
    1.0 (which means not remote calls?) and 32 bits.
    If you have any insights, please share :D
    I will start coding agains this next week I think, so I guess I will see all problems then :D

Maybe you are looking for

  • System Performanc​e Scores for W530?

    I would like to know what other's system performance scores are (control panel/system/performance) on their W530s...specifically configured with : Intel Core i7-3720QM processor (6M Cache)   NVDIA Quadro K1000M Graphics with 2GB DDR Memory   8 GB DDR

  • Pdf file when made from inDesign is not cutting vector images outside of its windows

    Hello, I have a page in illustrator full of vector images. I bring it into InDesign and crop them by putting each piece in it's own window. Then, I make a pdf. When I open the pdf in Illustrator it looks fine but when I hit the preview/artwork option

  • Satellite A105-S2101 - Can't watch DVDs with Express Media Player

    I got this Satellite A105-S2101 notebook computer, and the LCD blew out on me within 2 years. Luckily, I can still make use of the VGA, and S-Video outputs, but it may as well be a desktop PC now. Anyway, I just wanted to add that because of this pro

  • Effective way to parse key-value pair.

    Hi, I've a PL/SQL process, in which I've lot of dynamic sql routines planned, to parse input data to a procedure. One of the parameter to call or that'd be passed to this procedure is a "key-value pair" e.g. procedure p ( id in number, state_name in

  • ClassNotFoundException at compiling time

    I am trying to access MySql database from a java applet, but my java file does not compile with this message error: java.lang.ClassNotFoundException... I have jdk1.3.1_03 installer under Windows98 SE and compiling with javac.exe... I have set the aut