CALL_FUNCTION_SEND_ERROR when executing MDX in BW from WebI

Hi,
we have a CALL_FUNCTION_SEND_ERROR with error code
"CPIC-CALL: 'ThCMSEND' : cmRc=18 thRc=0#Statistics not active "
in programm SAPLRSOB and FM BAPI_MDDATASET_GET_AXIS_DATA.
Can this be a timeout in the connection from BOBJ to BW? Or is it another error. Any help is appreciated!
Just for Info, on BW we are still on 3.5 - waiting for an upgrade.
Thanks your answers!

Hi
I would recommend to trace the MDX statement created from WebI and check if your restrictions are indeed porpagated through the MDX statement.
Have a look at the following SAP notes (http://service.sap.com/notes):
Unix : Note 1235111
Windows : Note 1260004
Which version of BOBJ are you using? Which is the patch level of your SAP BW server?
Regards,
Stratos

Similar Messages

  • Unknown error when executing MDX when refreshing Crystal Report with BEx

    Hello Experts,
    I have created a Crystal Report (Crystal 2008 SP1) with BEx Query (7.10) and have been able to refresh successfully when the SAP_ALL authorization is included in my user role. I don't want my end users to have SAP_ALL so I created a role and assigned the authorizations recommended in the SAP Integration Kit for BusinessObjects 3.1 Install Guide.
    When I run the report as one of the users assigned to my new role I get the following error in the trace file.
    ERROR: .\crdb_bwmdx_execution.cpp [200]: l_bapiGetStreamInfo failed with return code RFC_RC = 0 Exception:  BAPI Error: BAPI Error #:0
    Unknown error when executing MDX
    2188     6556     Caught DbError #1 with Message 'BAPI Error #:0
    Unknown error when executing MDX'
    2188     6556     Caught DbError #1 with Message 'BAPI Error #:0
    Unknown error when executing MDX'
    2188     6556     Caught DbError #1 with Message 'BAPI Error #:0
    Unknown error when executing MDX'
    I tried all the Fix Packs (ie 1.1., 1.2 and 1.3) for XI 3.1 Integration Kit to try resolving the error but it didn't work.
    The same query works fine in BEx Web when running as one of the users in the new role I created for Crystal Report users.
    Are there any other Authorizations that I need to include in the role?
    Cheers.
    Paul.

    We have been able to identify what causes the MDX driver to error and I will explain what we are trying to implement with the hierarchies.
    Firstly, we are creating reports of the HR cube Mutliprovider using the SAP MDX Driver which works well when there are no authorization analysis set on the cube. But with the authorization analysis set for on 0ORGUNIT for BEx Explorer Crystal returns the MDX error.
    Each of the Business Unit managers are assigned to an Organization Unit that will be used to restrict the employees that will be reported. To restrict the Managers to only see their Org Unit we have set the 0ORGUNIT object to use authorization ananlysis and a custom authorization variable to return only data for the Org Unit they belong too.
    In Crystal this works well when a manager has an Org Unit that is a head department of other Org Units. This scenario will give Crystal the NodeID and Parent NodeID to create the hierarchies in the report. But when a manager does not have any other Org Units beneath there own department then Crystal doesn't have a Parent NodeID to create the Hierarchies with the NodeID. In the RFC trace I can see an error when Crystal is trying to get the Parent NodeID but the user is not authorized to that Org Unit then it throws the error.
    We have got a temporary workaround which is to create the managers a dummy Org Unit below their own department. The workaround will do for now but shouldn't the MDX driver be able to recognise that it has returned the last level in the Org Unit Hierarchy and not return an error?
    The customer is looking for a product fix as they believe this should be handled by the driver. Is this a bug or a limitation of the product?
    Paul.

  • When I try to print from web page I get "printer not activated - error code 30", printer works on Internet Explorer

    When I try to print from web page I get a dialogue box "Printer not activated - error code 30" followed by a dialogue box "An unknown error occurred while printing". The printer works on websites when I use Internet Explorer. Also, if I copy the web page and paste it into a Word document, I can print a copy. This issue just started this week; I have not encountered this problem prior to this week. Please advise.

    What does that error message say?
    See this: http://kb.mozillazine.org/Problems_printing_web_pages

  • Executing window.opener.FunName from Web IC pop-up = Permission Denied

    Hello,
    I have modified a copy of the BuPaCreate view and controller.  When the user hits save, I open a child window to perform some validation using an external system.  I want to write the corrected values back to the form on the BuPaCreate view and then submit the form.  I created a JavaScript function within BuPaCreate to do this.  I'm running into problems when I try to execute this function from the pop-up window.   It is giving a permission denied error.  I made certain my domain and server names are the same. 
    Has anyone else been able to execute a function within a Web IC view in this manner before?  Is there an alternate method for returning the corrected values.
    Thank you for any help you may be able to provide.  I promise to reward all usefull answers.
    Thank you,
    John

    <i>If I leave the method setting out completely, it defaults to POST.</i>
    -->Yes if you dont use anything, then default value will be "Post". But it will give error when you mention explicitly in case of child window usage.
    -->In your code instead of using "element.innerText = val;", you can use
    "element.innerHTML = val;
    --> You need to use the below code get the value from child to main window:
                <script language="javascript" event="onLoad()">
                       opener.document.htmlb_form_1.fieldID.value = <%= your_value %>;
                       window.self.close();
          </script>
    Here is the sample code which handles the child & parent window..Have a look..
    Here is the similar example. I used MVC concept:
    <b>Note:</b> But instead of Model class i used APplication class. You can change ito MODEL Class where ever applicaable.
    Let me know if you have any issue:
    <b>Main.htm:</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2002+design2003" >
      <htmlb:page title="Add Employee Details " >
        <htmlb:form action="POST" >
          Account Number:
          <htmlb:inputField id          = "Account"
                            showHelp    = "true"
                            value       = "<%= Account %>"
                            onValueHelp = "javascript:window.open('acctpop.do?showppopup=true', '_blank', 'Account Details','width=100,height=300');" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>Page attribute:</b>
    account TYPE string
    <b>Acctpop.htm</b>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Test" >
        <htmlb:form id="my_window" >
          <%
      data TV_ITERATOR Type Ref To zcl_itr." - Iterator Function
      data iterator type ref to IF_HTMLB_TABLEVIEW_ITERATOR.
      create object tv_iterator exporting appl_cons = application.
      iterator = tv_iterator.
          %>
          <htmlb:tableView id               = "pop"
                           width            = "200"
                           headerVisible    = "true"
                           design           = "alternating"
                           visibleRowCount  = "10"
                           fillUpEmptyRows  = "true"
                           selectionMode    = "SINGLESELECT"
                           selectedRowIndex = "<%= row_index %>"
                           onRowSelection   = "MyEventRowSelection"
                           showNoMatchText  = "true"
                           filter           = "server"
                           sort             = "server"
                           onHeaderClick    = "MyEventHeaderClick"
                           table            = "<%= it_account %>"
                           iterator         = "<%= iterator %>" >
          </htmlb:tableView>
          <%
      if account is not initial.
          %>
          <htmlb:inputField id      = "checked"
                            visible = "FALSE"
                            value   = "<%= lv_checked %>" />
                <script for="checked" language="javascript" even="onLoad()">
                       opener.document.htmlb_form_1.account.value = <%= account %>;
                       window.self.close();
          </script>
          <%
      endif.
          %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <b>Controller Class:</b>
    METHOD DO_INIT.
      CREATE OBJECT APPL.
      SELECT * FROM SFLIGHT INTO TABLE APPL->ITAB.
    ENDMETHOD
    METHOD DO_REQUEST.
      DATA: POPVIEW TYPE REF TO IF_BSP_PAGE.
      DISPATCH_INPUT( ).
      DATA: LV_FIELD TYPE STRING.
    * Get the value of Page level variables.
      LV_FIELD = REQUEST->GET_FORM_FIELD( 'showppopup' ).
      IF LV_FIELD IS NOT INITIAL .
        APPL->VIEW_NAME = 'acctpop.htm'.
      ENDIF.
      IF APPL->VIEW_NAME IS INITIAL.
        APPL->VIEW_NAME = 'main.htm'.
      ENDIF.
      POPVIEW = CREATE_VIEW( VIEW_NAME = APPL->VIEW_NAME ).
      IF APPL->VIEW_NAME = 'acctpop.htm'.
        POPVIEW->SET_ATTRIBUTE( NAME = 'it_account' VALUE = APPL->ITAB ).
        POPVIEW->SET_ATTRIBUTE( NAME = ' accout' VALUE = APPL->account ).
      ENDIF.
      CALL_VIEW( POPVIEW ).
    ENDMETHOD.
    METHOD DO_HANDLE_DATA.
    data: FIELD TYPE IHTTPNVP.
      READ TABLE FORM_FIELDS WITH TABLE KEY
      NAME = ' Account ' INTO FIELD.
      ME-> Account = FIELD-VALUE.
    ENDMETHOD.
    METHOD DO_HANDLE_EVENT.
      DATA: IND TYPE I.
      DATA: TV TYPE REF TO CL_HTMLB_TABLEVIEW.
      DATA: EVENT1 TYPE REF TO CL_HTMLB_EVENT.
      EVENT1 = CL_HTMLB_MANAGER=>GET_EVENT( RUNTIME->SERVER->REQUEST ).
      TV ?= CL_HTMLB_MANAGER=>GET_DATA(
      REQUEST = RUNTIME->SERVER->REQUEST
      NAME = 'tableView'
      ID = 'pop' ).
      IF TV IS NOT INITIAL.
        DATA: TV_DATA TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
        TV_DATA = TV->DATA.
        IF TV_DATA->SELECTEDROWINDEX IS NOT INITIAL.
          DATA: ROW LIKE LINE OF APPL->ITAB.
          READ TABLE APPL->ITAB INDEX TV_DATA->SELECTEDROWINDEX INTO ROW.
          DATA VALUE TYPE STRING.
          APPL-> Account = ROW- Account.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    Hope this will help you.
    Let me know if you have any queries.
    Raja T

  • Chinese Fonts are coming ZUNK when i do print preview from web UI

    Hello All,
    I have a smartform which includes a standard text which is maintained in Chinese language. This smartform would be called from web UI -> activities -> Fax -> print preview.
    when i do print preview of any activity, everything is coming correct except chinese text, it is coming as zunk characters.
    i have created a standard text ( through Tcode - SO10 ) in CHINESE When i call it in my Smartforms it is displaying like boxes ( garbage ) .
    But when seen in SO10 in Chinese login language the text is maintained properly in Chinese
    Please let me know wat is missed out or is there any settings which should be enabled.
    how would i do  Character set enabled for chinese language?
    Thank You...
    seema
    Edited by: seema rajjot on Sep 21, 2011 5:04 PM

    Hi Sagar,
    Yes that's a problem for Cyrillic fonts , I suppose you are using two action definitions : one for ES and one for EN print.
    For Spanish you have to use a smart style which supports the ISO Cyrillic characters and that will then open up correctly for Spanish users.
    Regards,
    Hasan Rafiq

  • Error when executing Planning function in BEx Web

    Hi everyone,
    When executing a planning function in BEx Web, via Web Application Designer, I am getting the following error message.
    ABEND BRAIN (178): Common entries are not permitted for plan queries and input queries
      MSGV1: Aggregation level name
    Where do I go wrong?
    Thanks in advance, hope this is enough info.

    Hi  Geerts,
    If i understood well, you have some problem with your query. Please check the query that you have on WAD and wich characteristics did you have on your level (the level on wich the query is based).
    Pls, check the correct execution on that query on Query Designer too. That query is a plan query? it`s ready for input ?
    Hope this help
    Natalia.

  • How to get the Response Code when a URL is launched from Web Dynpro

    Hello Experts,
    I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
    But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
    I am using the following code to get the Response Code:
    try{
    URL url = new URL("Some Url");
    HttpURLConnection.setFollowRedirects(false);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.connect();
    wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
    }catch(Exception e){
    wdComponentAPI.getMessageManager().reportSuccess("Exception");
    Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
    i always get Response Code=  500 (which is for Internal Server Error) shown in the messgae i have printed.
    Please let me know the correct way of getting the Response Code from Web Dynpro.
    Also my resource is lying on a SAP Portal 6.4
    Best Regards
    Sundeep
    Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
    Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AM

    Hi,
      Check this code from /thread/5242768 [original link is broken] if it works.
    try{
    URL myurl = new URL("http://calendar.google.com");
    URLConnection connection = myurl.openConnection();
    if(connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    HttpURLConnection.setFollowRedirects(true);
    httpConnection.setRequestMethod("HEAD");
    httpConnection.connect();
    System.out.println("Response = "+httpConnection.getResponseCode());
    catch(Exception e) {
    // print exception
    Regards,
    Harini S

  • Weblogic server is not responding when executing pl/sql procedure from jdev

    Dear Sir,
    i am using jdeveloper11g and oracle database with oracle spatial and i wrote procedure in database and executed perfect from sql plus
    but same procedure when i am trying to execute from jdeveloper its like hanging and giving following error here i am posting my jdeveloper code
    and error
    public String cb1_action() {
    // Add event code here...
    String tbName = (String)FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.tb}").getValue(FacesContext.getCurrentInstance());
    String colName = (String)FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.col}").getValue(FacesContext.getCurrentInstance());
    try {
    Context cnx = new InitialContext();
    Class.forName("oracle.jdbc.OracleDriver");
    RmiDataSource rds =
    (RmiDataSource)cnx.lookup("java:comp/env/jdbc/db1DS");
    //(RmiDataSource)cnx.lookup("env/jdbc/db1DS");
    Connection cn = rds.getConnection();
    System.out.println("table name " + tbName);
    System.out.println("column name " + colName);
    PreparedStatement delStmt = cn.prepareStatement("delete from geometry_errors");
    delStmt.execute();
    System.out.println("delStmt = " + delStmt);
    cn.commit();
    delStmt.close();
    CallableStatement ps = cn.prepareCall("{call validate_geom(?,?)}");
    ps.setString(1, tbName);
    ps.setString(2, colName);
    ps.execute();
    ps.close();
    cn.close();
    cnx.close();
    System.out.println("Done validating geom ....");
    } catch (Exception sqle) {
    sqle.printStackTrace();
    BindingContainer bc = getBindings();
    OperationBinding oper = bc.getOperationBinding("Execute");
    oper.execute();
    System.out.println("done.....");
    return null;
    Target URL -- http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp
    table name JEDDAH_SECTORS_8307
    column name GEOM
    <Jul 29, 2010 1:22:49 PM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
    POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
    Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         view.backing.Test1.cb1_action(Test1.java:132)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    <Jul 29, 2010 1:22:49 PM AST> <Notice> <Diagnostics> <BEA-320068> <Watch 'StuckThread' with severity 'Notice' on server 'DefaultServer' has triggered at Jul 29, 2010 1:22:49 PM AST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND (MSGID = 'BEA-000337')
    WatchData: DATE = Jul 29, 2010 1:22:49 PM AST SERVER = DefaultServer MESSAGE = [STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
    POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
    Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         view.backing.Test1.cb1_action(Test1.java:132)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000337 MACHINE = lpt09-mkabeer TXID = CONTEXTID = TIMESTAMP = 1280398969203
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 600000
    >
    <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-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\mkabeer\\Application] at column [65]
    DIA-48447: The input path [C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
         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:765)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         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\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-337 [WebLogicServer]" error_facility="BEA" error_number=337 error_message="null" create_time="2010-07-29 13:22:49.219 +03:00" ecid="0000IcTiSfuEKQWzLwbQ8A1CKL6r00000V"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\mkabeer\\Application] at column [65]
    DIA-48447: The input path [C:\\Documents and Settings\\mkabeer\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
         ... 19 more
    <Jul 29, 2010 1:23:49 PM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "681" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@13a7ecf[
    POST /kabtest-ViewController1-context-root/faces/test1.jsp?_adf.ctrl-state=xumczak86_4 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Connection: keep-alive
    Referer: http://127.0.0.1:7101/kabtest-ViewController1-context-root/faces/test1.jsp?_afrLoop=1305015256967&_afrWindowMode=0&_adf.ctrl-state=xumczak86_4
    Cookie: JSESSIONID=7qmnMRTWld4BzJDnLB4BF1hvxgl0NYTJrg9lT3VnWNYJpCmzGYJm!-1863071826
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 247
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.ns.Packet.receive(Packet.java:293)
         oracle.net.ns.DataPacket.receive(DataPacket.java:92)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:174)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:119)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:94)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:79)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1040)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1016)
         oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:589)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
         view.backing.Test1.cb1_action(Test1.java:132)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    please some one help me to solve this problem either this problem from java code or weblogic server... because i am sure about oracle database is
    not having any problem because the same procedure i executed through the sql plus and its give me results just in time
    Thanks
    Kabeer

    Hi, Nodex,
    Avoid implicit conversions.
    For example:
    TO_CHAR(TRUNC(NEXT_DAY(ADD_MONTHS(substr(partition_name, -8, length(partition_name)), -3), 'MONDAY')-7), 'YYYYMMDD')ADD_MONTHS expects a DATE as its first argument.
    SUBSTR returns a VARCHAR2, so you're calling ADD_MONTHS with a VARCHAR2 where it expects a DATE.
    For good or ill, the system tries to avoid raising an error in this case by implicitly converting the VARCHAR2 to a DATE. Exactly how it does that depends on
    (a) the tool you are using (SQL*Plus or Toad, for example),
    (b) the version (Oracle 10 behaved quite different form Oracle 9),
    (c) environmental settings (such as NLS_DATE_FORMAT), which in turn may depend on initialization parameneters, and
    (d) who knows what else.
    When you have to convert, do so explicitly.
    You can convert a VARCHAR2 to a DATE using TO_DATE, like this:
    TO_CHAR ( TRUNC ( NEXT_DAY ( ADD_MONTHS ( TO_DATE ( SUBSTR ( partition_name
                                                       , -8
                                          , LENGTH (partition_name)
                                     , 'YYYYMMDD'     -- or whatever
                             , -3
                      , 'MONDAY'
              - 7
         , 'YYYYMMDD'
         )

  • Executing an OS command from web PL/SQL

    Hi,
    I'm developing a web application with the PL/SQL web toolkit. A link on one of the screens needs to be able to start a batch file on the server (Win2000). Two questions:
    - How an executable or batch file on the operating system be started from a PL/SQL procedure?
    - Once the file is running, I want the browser to go to a new window immediately with the process running in the background. The process could take up to 30 minutes so I don't want the web browser to hang there and time out. Is there some functionality in the PL/SQL web tool kit to allow the next screen to be displayed before the process has finished? (such as the 'Unzip in background' functionality in Portal, for those that have used it).
    Thanks,
    Michael
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Michael Conrick,
    Igatech Consulting.

    (1) You can write a PL/SQL proceudre that wraps a Java Runtime object. That will allow you to execute OS routines. But you have to have Java enabled in the database. That is a big topic but it's covered in several places. The AskTom web site is probably the best place to look, as it gives a good working example. I'm afraid I don't have the exact URL but it has a v.good search engine.
    (2) don't know.
    APC

  • Error when execute a query BW in WEBI

    Hi Gurus,
    I need your help:
    Status:
    SAP_ABA     700
    SAP_BASIS  700
    PI_BASIS         2005_1_700
    SAP_BW         700
    BI_CONT         703
    SAP GUI 7.10 SP 7
    I run a 3.5 query with bex and all its ok.
    But when i want run the same query in BOE Web Intelligence Rich Client I have an error
    In WEBI: error : WIS 10901 for MDX QUERY
    in BW TR: SM21 : Communication error, CPIC return code 020, SAP return code 456.
    thxxhead   7415  020456     ThRecei    CPIC-Er
    If I just put one masterdata, the query return the list of this MD.
    But when i put 2 MD or one indicators, i have error.
    Thanks for help.

    Hi Ingo,
    In response to your questions:
    - "you did install the SAP Integration Kit?": yes, we did a "server" install. The other options are Desktop and Custom
    - "its not an evaluation key that has expired ?": No, this is not the case
    - "did you check the MDX Parser destination in transaction SM59 ?": Yes, this is working now (SM59 - connection test succesful).
    - "Try a simple BI Query and build a new Web Intelligence report on top (java, dhtml)" We did this, results:
    WebI Rich Client. This worked fine. Report made, refreshes, can add objects, ...
    Web Advanced (JAVA Report panel): we get error - "An error occurred while trying to load the provider for transport sap. Failed to load library mda_sap. System error message: .(WIS 10901)"
    We checked if we didn't miss anything with the server installation of the SAP integration kit, this was not the case. When we chose a "repair install", all options where already installed. What we did do, is install the Fix pack2. Reason: there was a reference to mda_sap.dll in the BusinessObjects Enterprise XI 3.0 FixPack 2 notes. Note: refer to new thread: Cluster Definition transport error - BO XI 3.0 FixPack 2 (Server&Client)
    - We also tried a more advanced query, with prompted filters and calculations.
    WebI Rich Client. same error as before, "The MDX-query <MDX syntax> See RFC trace file or SAP system log for more details. (WIS 10901)"
    Web Advanced (JAVA Report panel): same error as before - "An error occurred while trying to load the provider for transport sap. Failed to load library mda_sap. System error message: .(WIS 10901)"
    Seems we have the same problem as Claudia + an mda_sap issue. We are running out of options here. Any thoughts on this?
    Thanks for your help!
    Raf

  • When I try to print from web page I get "printer not activated - error code 30", but I can copy text into Word document & printer works.

    I am unable to print anything from an internet web page. I continually get "printer not activated, error code- 30" followed by "An unknown error occurred while printing". I can copy the material from the web page, place into a Word document and then print. This just started yesterday and I have no idea why. Would appreciate your advice!

    See this:
    [http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page]

  • ProcessdpCommandEx error when adding or removing object from WebI report (based on BEX query) query panel object list

    Hi,
    We have WebI reports build on BEX using BAPI connectivity. When we are trying to add a object in query panel in a existing report we are getting this ProcessdpCommandEx error. But error does not appear when we add at the end of the list of objects already added.
    Can you calrify whether this could be some setting issue or it is a known bug?
    Can you share SAP Note No in case it is a known bug?

    Hi Avijit,
    This error occurs in case of any failure in the connectivity. It is like the data providers are not getting processed.
    You have mentioned that the issue does not come with newly created reports
    Are you creating new reports on migrated universe or a newly created universe?
    If issue only comes with migrated universe, please check if the connection has been migrated properly and required middleware and database connectors are in place.
    If connections are in place, try importing and exporting the universe once and check.
    In case, new report works fine with migrated universe, then you can simply try to re-point the universe by editing the query and can run it again and check.
    Regards,
    Yuvraj

  • Getting error  when executing a RFC copied from standard RFC

    Hi Guys ,
    I am facing a strange issue while executing a RFC which is exact replica of standard rfc RFC_READ_TABLE.however the copied RFC is working fine as Simple Function Module but when I use RFC destination it gives me System_Exception.
    Can please anyone advise
    Thanks
    Yogesh Gupta

    HI,
      Check with the RFC Destination name that you are using when calling this function module, it may not be existing... .
    how ur calling it.
    call function 'RFC_READ_TABLE ' Destination <RFCName>
    Thanks
    Mahesh

  • Error when executing a custom transaction(from the program SAPMSSYD)

    Hi All,
    I have a Module Pool transaction(Custom development). I am executing it in SPANISH Language. In my screen there are no Mandatory fields. But, when I click any of the buttons in the screen, I am getting the error 'Complete todos los campos obligatorios' which means that 'Complete all required fields'.
    But, when I execute the same transaction in ENGLISH language, I am not getting this error. I am facing this issue only in SPANISH and GERMAN languages. In other languages, it is working fine.
    I did the system debugging to analyze the issue. I found that the error is triggered in the program SAPMSSYD at the below lines.
    module %_CTL_INPUT1 input.                                       "#EC
      perform %_CTL_INPUT using %_CALLER_PROGRAM_NAME.
    endmodule.
    There is no MESSAGE command. But, once the control comes out of the PERFORM, the message 'Complete todos los campos obligatorios' is getting displayed.
    Could anyone of you tell me the resolution for the issue? This is strange for us as we are getting this error only in SPANISH and GERMAN Languages. In other languages, we are not getting this error.
    Please help me in resolving the issue. Thanks in advance.
    Thanks & Regards,
    Paddu.

    Hi Paddu,
    as you reported problems in Spanish and German, but not in English, I assume that this issue is related to missing translations for these languages. Therefore I recommend to use transaction SE63 and to translate the text of the transaction/report in question.
    Best regards,
      Andreas

  • Error when executing Prepare in upgrade from R/3 4.7EE to ECC5.0

    HI,
    I am trying to upgrade R/3 4.7EE to ECC5.0 DB :Oracle:OS:Windows.I am executing the Prepare.bat fron upgrade Master and I choose the EXIT option at the last.After that from cmd I ran java -cp <UPG DIR>\ua\ua.jar UaServer ,but after that it is not asking any password for administator.I am trying to login to the Upgrade console from http://localhost:port but it is asking administrator password.My question is in my case why it is not asking any password though
    I am getting Uaserver  started message.
    Thanks in advance,
    Regards,
    Sagar Askani.

    Hi,
    After entering EXIT, from command prompt you  would need to go to "ua" foler and the execute the following command.
    java -cp ua.jar.UaServer
    then it will ask for administrator password.
    And then the Ua server will be started.
    Leave this window as it is.
    Open another window in command prompt.
    then execute the command
    java -cp uagui.jar.UaGui.
    This will open the upgrade assistant. Enter the Host name and then the User name as Administrator and the password.
    This should help you in resolving the issue.
    Regards,
    Imran

Maybe you are looking for