Xi Data Cache Refresh Problem

Hello,
We have following Problem:
We send an XML-Request with HTTP-Adapter to XI and get Data from R/3, works fine.
But when we send a Second Request we become an Error.
The error comes because in the Java Runtime the XI writes wrong values into Message.
When we do a XI Data Cache Refresh for INTEGRATION_SERVER
and INTEGRATION_RUNTIME we can send a message and all works fine again.´
Any Idea why the XI Caches Data from Request and set this values in the message of request that was send later?
Thanks,
Robin

Hi,
I think both are same. Because in SXi_ADM we also define our IS. so i think it may be same ...
If I am wrong please share your knowledge . in this thread for more clarification ..
Regards,
Amit

Similar Messages

  • Data Cache/Refresh Problem in Crystal enterprise 10....

    Hi All
    I have suffering from very major problem related to Data refresh....
    I m using CR IX as a design Crystal report and Crystal Management console 10 as a Crystal Report Server....
    The Problem is that : After Publishing Report On Report Server(CMC) i m calling through my report by the help of reportId which was generated during Publishing Report : So If My report containing Two Parameter the i pass two Parameter value from my Front end as ....
    http://<server>/crystal/enterprise10/admin/en/viewrpt.cwr?init=java&apsuser=administrator&apspassword=&apsauthtype=secEnterprise&id=2363&PROMPT0=1914&PROMPT1=GARETH%20%20%20MASON&PROMPT2=canada
    but the problem is that If any user Update any value on database and after updation again he check to crystal report ,but it not reflect in Crystal Report....
    second problem is:
    there is a yellow button display ON CMC ,if user click on this button and change the parameter value it change but again user call report from front end it shows previous value which he entered through click on Yellow Button...
    I have checked all option on Crystal report Like Unckeck Option Save Report with data ....
    But Still I m facing such Problem ......Please Provide me Proper solution...
    should I need to change Setting of Crystal Configuration Manager .....
    I need Your Assistance.....
    Regards
    Ankit shukla

    Hi Nakul
    Thanks For your response...
    The URL Which I mention was as example for calling report from Report server...In My form I m using  two Drop down 
    (1)  Country Name : List Of different country
    (2) Client Name : List Of Different client
    If I select Country India and Client ankit  Then In My URL display  Prompt 0 =India & Prompt 1=Ankit
    and data display For such record....
    But When I change Country Name : UK And Client =Steban then In My URl  display Prompt0=UK  & Prompt1=Steban
    But Report Contains Previous Record Of Ankit & India..
    So It means My Parameter value are changing dynamically but Cache Server Of CMC are not refresh when i Click On Refresh Button which are displaying in Viewer the  report Data are reflecting....
    So Please Provide me solution for given above problem.....
    Do I need to change Crystal Configuration Management Setting ....but i don't know how it will be...
    So Please give me any solution ...
    Regards
    Ankit Shukla

  • Cache Refresh Problems:J2EE

    Hi
    I am facing a problem in cache refresh.
    The XI 3.0 server is at SP10. Now whenever i am doing any changes in directory and activating it,it doesnt give me any error. but when i am cheking the Cache notifiactions it shows me a "GREEN" light for ABAP Cache and a "RED"(not yet started) light for Central Adapter Engine Cache.
    Thus, in sxi_cache also i see a green light telling me that cache contents are upto date.
    I tried doing a manual CPACache refresh by using
    http://<host>:<port>/CAPCache/refresh?mode=full|delta , but it doesnt get completed.
    Due to this my scenarios are not working currently and whatever changes i am making is not getting reflected.
    Has anyone faced this...?
    How can I solve this?????
    Thanks in advance.
    Regards
    Sunita

    Hi Sunita,
    The following are required for a successful CPA-Cache refresh:
    1.Correct maintenance of the users in the ExchangeProfile (Adapter Engine Service User and Integration Directory Service User)
    2.Successful SLD self-registration of the URLs
    3.Availability of SLD
    Check the "Problems" tab of the cache notifications overview in the directory. If there is a problem with an incorrect communication then it will be shown in this tab.
    Let me know what the "Problems" tab says.
    Regards,
    Sridhar

  • Cache Refresh Problem

    Hi,
    We updated XI 3.0 to SP4, and started seeing several problems related to Cache Refresh and JCo.
    In the <b>SAPGUI in transaction SXI_CACHE</b>, we are unable to refresh the cache, and getting the following error:
    Connection to system RUNTIME using application RUNTIME lost. Detailed information: Error accessing "http://NETWEAVER:50000/run/hmi_service_id_fresh_mappings/int?container=any" with user "XIDIRUSER". Response code is 503, response message is "Service Unavailable".
    In <b>SM59 for RFC HTTP destinations</b>, the INTEGRATION_DIRECTORY_HMI test gives the HTTP/1.1 500 Internal Server Error. The URL is /dir/CacheRefresh.
    On the Runtime Workbench, I am trying to run the self-test for <b>Mapping Runtime</b>. We get the following errors:
    Ping Status: HTTP request failed. Error code: "503". Error message: "Service Unavailable"
    Self-test status: HTTP request failed. Error code: "503". Error message: "Service Unavailable"
    We are on XI3.0 SP4, J2EE SP7 and ABAP SP4.
    What can I check on the J2EE server to see if the service is running ? And what can I do to fix the JCo connections ? Thanks,
    Manish

    Thanks Hart. I have updated the URL and it succeeds on Test.
    However, I still have the Cache updation problem.
    When I update an object (say, a mapping) in the Integration Builder, and activate it, the XI Server Cache should get updated with this new object.
    On running the scenario, I am getting the following error as observed in the monitor (SXMB_MONI):
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Receiver Identification
      -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="XICACHE">UPDATE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>HTTP status code401 Unauthorized</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>An error occurred when refreshing the XI runtime cache</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    To resolve this problem, I have to manually go to the transaction SXI_CACHE, and do a delta cache refresh. It asks for the user credentials everytime for XIISUSER.
    Is there a way to automatically enable this user to enable the cache refresh in the background ?
    thanks,
    Manish

  • Cache Refresh Problem in SXI_CACHE Transaction in new client 700

    Hi Experts,
        We have installed and configured the new PI7.1 server and were checking its readiness by going through the Readiness Check Document. At one stage  while we run the transaction SXI_CACHE in client 700 we are not getting the option of " Start Complete Cache Refresh" in highlighted mode. Thus we are not able to refresh the cache in client 700. But if I login in Client 001 and login using SAP* and run the SXI_CACHE I am able to see all the pipeline steps as well the option for complete Cache refresh and Adapter cache referesh is in Highlighted mode. The status is also green. Can somebody us in knowing where should we look into to solve this problem so that these option are available in the new client for refershing the CACHE.
    Thanks
    Regards
    suk4023

    Hi Soujanya,
        Yes we tried with the link given by you . we got the folowing error
    403   Forbidden
      SAP NetWeaver Application Server 7.11 / AS Java 7.11
    Error: You are not authorized to view the requested resource.
      Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
    Details: No details available
    Yes we tried by restaring the system too, but the status is same.
    Any more inputs will be appreciated............
    Thanks
    Regards
    Suk4023

  • Cache/Refresh Problem in Crystal Management Console 10..

    Hi All
    I have suffering from very major problem related to Data refresh....
    I m using CR IX as a design Crystal report and Crystal Management console 10 as a Crystal Report Server....
    The Problem is that : After Publishing Report On Report Server(CMC) i m calling through my report by the help of reportId which was generated during Publishing Report : So If My report containing Two Parameter the i pass two Parameter value from my Front end as ....
    http://<server>/crystal/enterprise10/admin/en/viewrpt.cwr?init=java&apsuser=administrator&apspassword=&apsauthtype=secEnterprise&id=2363&PROMPT0=1914&PROMPT1=GARETH%20%20%20MASON&PROMPT2=canada
    but the problem is that If any user Update any value on database and after updation again he check to crystal report ,but it not reflect in Crystal Report....
    second problem is:
    there is a yellow button display ON CMC ,if user click on this button and change the parameter value it change but again user call report from front end it shows previous value which he entered through click on Yellow Button...
    I have checked all option on Crystal report Like Unckeck Option Save Report with data ....
    But Still I m facing such Problem ......Please Provide me Proper solution...
    should I need to change Setting of Crystal Configuration Manager .....
    I need Your Assistance.....
    Regards
    Ankit shukla

    Hi Nakul
    Thanks For your response...
    The URL Which I mention was as example for calling report from Report server...In My form I m using  two Drop down 
    (1)  Country Name : List Of different country
    (2) Client Name : List Of Different client
    If I select Country India and Client ankit  Then In My URL display  Prompt 0 =India & Prompt 1=Ankit
    and data display For such record....
    But When I change Country Name : UK And Client =Steban then In My URl  display Prompt0=UK  & Prompt1=Steban
    But Report Contains Previous Record Of Ankit & India..
    So It means My Parameter value are changing dynamically but Cache Server Of CMC are not refresh when i Click On Refresh Button which are displaying in Viewer the  report Data are reflecting....
    So Please Provide me solution for given above problem.....
    Do I need to change Crystal Configuration Management Setting ....but i don't know how it will be...
    So Please give me any solution ...
    Regards
    Ankit Shukla

  • Automatic cache refresh problem with SXI_CACHE in PI70 Sp09

    Dear Friends,
    We are facing problems with SXI_CACHE
    ISSUE: Automatic refreshing is not done, evey time we had to manaully refresh it going to sxi_cache.
    DETAILS
    SERVER : PI70 SP09, running on Netweaver 2004S
    RFC: Destination INTEGRATIOn_SERVER_HMI
    TYPE : H
    USER : PIISUSER-service user
    Role : SAP_XI_IS_SERV_USER
    prefix path: /dir/CacheRefresh
    Service No : Http port No (configured one )
    License : Valid license not temporary one.
    we have configured as mentioned in Configuration guide, still we are facing problems
    I searched the SDn got few tips , but that really didnt help to resolve the issue.
    Finally we thought of raising this issue to SAP, before doing it i thought i could get some help from SDN.
    Any pointers that could resolve this issue will be appreciated.
    Regards
    [email protected]

    Hi Chandra,
    Plz compare the below mentioned settings with you current settings in XI.
    Go to SM59 and create
    RFC Destination as "INTEGRATION_DIRECTORY_HMI"
    Connection Type: H
    Under Technical Setting TAB
    Target Host: write the host name
    Path Prefix: /dir/CacheRefresh
    Service No: enter J2ee port no (e.g. 50000)
    Under Logon/Security TAB
    select Basic Authontication radio button
    SSL select inactive
    Under Logon:
    Lang: EN
    Client: enter client
    User: XIISUSER
    Password: *******
    Under Special Option TAB
    HTTP Setting:
    HTTP Ver: HTTP 1.0
    Compression: inactive
    Compressed response: NO
    HTTP Cookies: Yes (All)
    After doing abobe, press the Test Connection button and accept all cookies and see what is the result. After this refresh the cacahe by sxi_cache.
    Regards,
    Sarvesh

  • Automatic cache refresh problem with SXI_CACHE

    Dear Friends,
    We are facing problems with SXI_CACHE
    ISSUE: Automatic refreshing is not done, evey time we had to manaully refresh it going to sxi_cache.
    DETAILS
    SERVER : PI70 SP09, running on Netweaver 2004S
    RFC: Destination INTEGRATIOn_SERVER_HMI
    TYPE : H
    USER : PIISUSER-service user
    Role : SAP_XI_IS_SERV_USER
    prefix path: /dir/CacheRefresh
    Service No : Http port No (configured one )
    License : Valid license not temporary one.
    we have configured as mentioned in Configuration guide, still we are facing problems
    I searched the SDn got few tips , but that really didnt help to resolve the issue.
    Finally we thought of raising this issue to SAP, before doing it i thought i could get some help from SDN.
    Any pointers that could resolve this issue will be appreciated.
    Regards
    [email protected]

    Hi Chandra,
    Plz compare the below mentioned settings with you current settings in XI.
    Go to SM59 and create
    RFC Destination as "INTEGRATION_DIRECTORY_HMI"
    Connection Type: H
    Under Technical Setting TAB
    Target Host: write the host name
    Path Prefix: /dir/CacheRefresh
    Service No: enter J2ee port no (e.g. 50000)
    Under Logon/Security TAB
    select Basic Authontication radio button
    SSL select inactive
    Under Logon:
    Lang: EN
    Client: enter client
    User: XIISUSER
    Password: *******
    Under Special Option TAB
    HTTP Setting:
    HTTP Ver: HTTP 1.0
    Compression: inactive
    Compressed response: NO
    HTTP Cookies: Yes (All)
    After doing abobe, press the Test Connection button and accept all cookies and see what is the result. After this refresh the cacahe by sxi_cache.
    Regards,
    Sarvesh

  • Problems in SLD and Cache refresh (SXI_CACHE).

    Dear Experts,
    I am facing SLD and Cache refresh problems in PI 7.0 on HP-UX.
    1) SXI_CACHE : Last Error During Cache refresh is showing LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM error. And also Start Delta Cache Refresh / Start Complete Cache refresh are in deactive mode (Frozen).
    2) SLDCHECK : Log says No Business System for ABC Client 100 ".
    where ABC=SID. Business System INTEGRATION_SERVER_ABC is declared in SLD and client 100 is assigned.
    My question is : Is this a BASIS or DEVELOPER issue? Also please let me know if you have any solutions for the above mentioned issue. Thanks in Advance.
    SLDCHECK Log Snippet:
    SLD server access settings:
    host name: ABCXIDEV
    port number: 50000
    user : PIAPPLUSER
    Use transaction SLDAPICUST if you wish to maintain the SLD server access data
    Launching the SLD GUI in a separate browser window...
    => Verify in the browser GUI that the SLD is in a healthy running state!
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call terminated sucessfully
    List of business systems maintained in the SLD:
    INTEGRATION_SERVER_ABC
    ERP_DEV_100
    Calling function LCR_GET_OWN_BUSINESS_SYSTEM
    Retrieving data from the SLD server...
    No corresponding business system found for system ABC client 100
    => Check and maintain the SLD content for the current client

    Hello,
    Since this is an PI system, your XI consultant must have created/will need to create business systems in SLD for the scenario to work properly. This error is because it cannot find the business system.
    You cannot point out the fingers on Basis or XI and say that it is THEIR issue. Please consult with the consultant who is doing the XI interface and check if the business systems he require are properly created in SLD. If not, create them or ask them to create it (if they are allowed to..).
    From the error, what i can see is that you have defined an integration server INTEGRATION_SERVER_ABC in SLD . the XI interface is checking the required business system in the integration server INTEGRATION_SERVER_ABC in SLD but cannot find it over there. Please check the integration server INTEGRATION_SERVER_ABC in SLD and talk to the XI consultant and you will be able to fix this with their help.
    Hope this helps you..
    Regards,
    Jazz

  • PI 7.1 Java Cache Refresh error

    When performing Data Cache Refresh from Data Cache Overview on Java stack, I am getting login prompt for client 000, the Integration Server client is 100. We have maintained the new client as per SAP recommendations, not sure why the Data Cache Overview would prompt for client 000 and would not validate any user at all. There are no locks or discrepancies. Please advice.
    Thanks.

    Hi,
    Here is part of defaulttrace file I got some portion from top of the file since the file is quite large to paste the contents here. Hope it can give some indications...
    Thank you.
    #1.5 #000C293A0C5D003B0000004B00000EFC00CA8C9112428951#1258497859358#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#3271####bdec5450d3ca11de9c29000c293a0c5d#HTTP Worker [9]##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()].
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.getOutputStream(HttpServletResponseFacade.java:227)
         at com.sap.tc.webdynpro.serverimpl.core.adapter.AbstractHttpResponseAdapter.finalizeResponse(AbstractHttpResponseAdapter.java:122)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.finalizeRequest(RequestManager.java:657)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:340)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         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:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    #1.5 #000C293A0C5D003B0000004D00000EFC00CA8C9112428951#1258497859530#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#3271####bdec5450d3ca11de9c29000c293a0c5d#HTTP Worker [9]##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()].000C293A0C5D003B0000004B00000EFC00CA8C9112428951#
    #1.5 #000C293A0C5D0041000000A100000EFCFFFFFFFFFFFFFFFF#1258498099171#com.sap.conn.jco##com.sap.conn.jco######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Error#1#/System/Server/Connector/Rfc#Plain###Context does not exist session id=com.sap.engine.session.exec.UserContextImpl@4c49a32d[ clientId=null, clientSessions=[], persistent Model=null]#
    #1.5 #000C293A0C5D0041000000A200000EFCFFFFFFFFFFFFFFFF#1258498099202#com.sap.engine.services.dsr##com.sap.engine.services.dsr######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Error##Plain###java.lang.NullPointerException
         at com.sap.jdsr.frame.ComponentStaticDataImpl0.getActionType(ComponentStaticDataImpl0.java:39)
         at com.sap.engine.services.dsr.jco.ClientStatisticsHandlerNew.callStarted(ClientStatisticsHandlerNew.java:59)
         at com.sap.conn.jco.rt.ClientConnection.beginCall(ClientConnection.java:212)
         at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:982)
         at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:987)
         at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:977)
         at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:300)
         at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo700Proxy$Client700.execute(R3JCo700Proxy.java:310)
         at com.sap.security.core.persistence.datasource.imp.R3RoleDataSource.checkBufferRefresh(R3RoleDataSource.java:2032)
         at com.sap.security.core.persistence.datasource.imp.R3RoleDataSource.access$000(R3RoleDataSource.java:57)
         at com.sap.security.core.persistence.datasource.imp.R3RoleDataSource$1.run(R3RoleDataSource.java:593)
         at java.lang.Thread.run(Thread.java:606)
    #1.5 #000C293A0C5D0041000000A300000EFCFFFFFFFFFFFFFFFF#1258498099202#com.sap.conn.jco##com.sap.conn.jco######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Warning##Plain###[JCoAPI] com.sap.conn.jco.JCoException: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.#
    #1.5 #000C293A0C5D0041000000A400000EFCFFFFFFFFFFFFFFFF#1258498099202#com.sap.conn.jco##com.sap.conn.jco######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Warning##Plain###[JCoAPI] JCoClient.beginCall(): cannot get jDSR passport for call 'PRGN_J2EE_GET_ROLES', because of com.sap.conn.jco.JCoException: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.#
    #1.5 #000C293A0C5D002B0000010B00000EFC00CA8C91125EB259#1258498492812#com.sap.aii.utilxi.sld.XIIntegrationServer##com.sap.aii.utilxi.sld.XIIntegrationServer#J2EE_GUEST#13##[HostName]_[SID]_5701250#Guest#5b88f4a0d2fb11de881d000c293a0c5d#Application [1]##0#0#Warning##Java###No HTTPS Port for Integration Server is.00.[HostName] defined.
    Thrown:
    com.sap.aii.utilxi.misc.api.InvalidArgumentException: Parameter httpPort has the invalid value
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:331)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrlInclSecureUrl(XIIntegrationServer.java:557)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrls(XIIntegrationServer.java:507)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.syncBSInfo(XIIntegrationServer.java:267)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.readFromSld(XIIntegrationServer.java:242)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:120)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:142)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getISData(SLDAccessor.java:248)
         at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getISData(SLDAccessImpl.java:47)
         at com.sap.aii.adapter.xi.ms.SLDReader.fire(SLDReader.java:79)
         at com.sap.aii.adapter.xi.ms.SLDReader.run(SLDReader.java:182)
         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:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:468)
         at java.lang.Integer.<init>(Integer.java:620)
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:328)
         ... 14 more
    #1.5 #000C293A0C5D002B0000010C00000EFC00CA8C91125EB259#1258498492812#com.sap.aii.adapter.xi.ms.SLDReader##com.sap.aii.adapter.xi.ms.SLDReader.fire()#J2EE_GUEST#13##[HostName]_[SID]_5701250#Guest#5b88f4a0d2fb11de881d000c293a0c5d#Application [1]##0#0#Warning##Java###The SLDAccess returned null values for the following fields: #1#SecureURL#
    #1.5 #000C293A0C5D002B0000010D00000EFC00CA8C91125EB259#1258499392984#com.sap.aii.utilxi.sld.XIIntegrationServer##com.sap.aii.utilxi.sld.XIIntegrationServer#J2EE_GUEST#13##[HostName]_[SID]_5701250#Guest#5b88f4a0d2fb11de881d000c293a0c5d#Application [1]##0#0#Warning##Java###No HTTPS Port for Integration Server is.00.[HostName] defined.
    Thrown:
    com.sap.aii.utilxi.misc.api.InvalidArgumentException: Parameter httpPort has the invalid value
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:331)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrlInclSecureUrl(XIIntegrationServer.java:557)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrls(XIIntegrationServer.java:507)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.syncBSInfo(XIIntegrationServer.java:267)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.readFromSld(XIIntegrationServer.java:242)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:120)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:142)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getISData(SLDAccessor.java:248)
         at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getISData(SLDAccessImpl.java:47)
         at com.sap.aii.adapter.xi.ms.SLDReader.fire(SLDReader.java:79)
         at com.sap.aii.adapter.xi.ms.SLDReader.run(SLDReader.java:182)
         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:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:468)
         at java.lang.Integer.<init>(Integer.java:620)
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:328)
         ... 14 more

  • Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).

    Hi,
    Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
    Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    I have done some Google and found that we need to add something in Essbase.cfg file like below.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    Possible Problems
    Analytic Services could not lock enough blocks to perform the calculation.
    Possible Solutions
    Increase the number of blocks that Analytic Services can allocate for a calculation:
    Set the maximum number of blocks that Analytic Services can allocate to at least 500. 
    If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
    In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
    Stop and restart Analytic Server.
    Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
    Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting. 
    Determine the block size.
    Set the data catche size.
    Actually in our Server Config file(essbase.cfg) we dont have below data  added.
    CalcLockBlockHigh 2000
    CalcLockBlockDefault 200
    CalcLockBlocklow 50
    So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work?  and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
    Regards,
    Naveen

    Your calculation needs to hold more blocks in memory than your current set up allows.
    From the docs (quoting so I don't have to write it, not to be a smarta***:
    CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
    When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
    Example
    If the essbase.cfg file contains the following settings:
    CALCLOCKBLOCKHIGH 500  CALCLOCKBLOCKDEFAULT 200  CALCLOCKBLOCKLOW 50 
    then you can use the following SET LOCKBLOCK setting commands in a calculation script:
    SET LOCKBLOCK HIGH; 
    means that Essbase can fix up to 500 data blocks when calculating one block.
    Support doc is saying to change your config file so those settings can be made available for any calc script to use.
    On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact.

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Problems with data cache plugin - The ResultList has been closed

    I'm testing out the data cache to see if it helps some of my performance
    problems, but I now get lots of exceptions that I didn't get before I
    enabled the cache. Here's how I enabled it:
    # CACHE
    com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.p
    lugins.CacheImpl
    com.solarmetric.kodo.RemoteCommitProviderClass=com.solarmetric.kodo.runtime.
    event.impl.SingleJVMRemoteCommitProvider
    The exception I'm getting follows. I'm curious if anyone has any insight
    into what's going on? I'm sure there is a problem with my code, I'm
    forgetting to close something or other but since it works fine without the
    cache I'm really stuck as to what it is.
    Thanks
    Michael
    22:17:32,792 ERROR ObjectFinder - Exception =
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held in
    embedded stack trace.
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held in
    embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.checkClosed(Eage
    rResultList.java:66)
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.get(EagerResultL
    ist.java:84)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:124)
    at java.util.AbstractList$Itr.next(AbstractList.java:416)
    at java.util.AbstractList.equals(AbstractList.java:604)
    at serp.util.WeakCollection$WeakValue.equals(WeakCollection.java:123)
    at java.util.HashMap.eq(HashMap.java:270)
    at java.util.HashMap.removeEntryForKey(HashMap.java:525)
    at java.util.HashMap.remove(HashMap.java:507)
    at java.util.HashSet.remove(HashSet.java:198)
    at serp.util.RefValueCollection.removeFilter(RefValueCollection.java:272)
    at serp.util.RefValueCollection.remove(RefValueCollection.java:235)
    at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.unregisterClassC
    hangeListener(QueryCacheImpl.java:160)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.abortCa
    ching(CachingRandomAccessList.java:103)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:149)
    at java.util.AbstractList$Itr.next(AbstractList.java:416)
    at java.util.AbstractList.hashCode(AbstractList.java:624)
    at serp.util.WeakCollection$WeakValue.<init>(WeakCollection.java:93)
    at serp.util.WeakCollection.createRefValue(WeakCollection.java:64)
    at serp.util.RefValueCollection.addFilter(RefValueCollection.java:193)
    at serp.util.RefValueCollection.add(RefValueCollection.java:166)
    at serp.util.RefValueCollection.add(RefValueCollection.java:157)
    at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.registerClassCha
    ngeListener(QueryCacheImpl.java:151)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.<init>(
    CachingRandomAccessList.java:76)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.wrapList(CacheA
    wareQuery.java:146)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.execute(CacheAw
    areQuery.java:270)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObjects(ObjectFinder.java
    :62)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObject(ObjectFinder.java:
    44)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getRole(ObjectFinder.java:91
    at
    com.verideon.veriguard.services.VeriguardService.createCustomerAccount(Verig
    uardService.java:210)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.createTestUser(
    TestVeriguardServiceMonitors.java:133)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.setUp(TestVerig
    uardServiceMonitors.java:80)
    at junit.framework.TestCase.runBare(TestCase.java:125)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    ..java:167)
    NestedThrowablesStackTrace:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held in
    embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.close(EagerResul
    tList.java:78)
    at com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.close(JDBCQuery.java:127)
    at com.solarmetric.kodo.query.QueryImpl.closeAll(QueryImpl.java:637)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.closeAll(CacheA
    wareQuery.java:343)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.closeQueries(Persistence
    ManagerImpl.java:934)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:914)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:884)
    at com.verideon.veriguard.services.PMService.close(PMService.java:120)
    at com.verideon.veriguard.services.PMService.close(PMService.java:111)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.deleteTestUser(
    TestVeriguardServiceMonitors.java:127)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.tearDown(TestVe
    riguardServiceMonitors.java:103)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    ..java:167)

    Michael,
    Could you send your test case to [email protected] so that we
    can take a look at what's going on to cause this exception?
    Thanks,
    -Patrick
    On Thu, 22 May 2003 17:18:50 -0400, Michael wrote:
    I'm testing out the data cache to see if it helps some of my performance
    problems, but I now get lots of exceptions that I didn't get before I
    enabled the cache. Here's how I enabled it:
    # CACHE
    com.solarmetric.kodo.DataCacheClass=com.solarmetric.kodo.runtime.datacache.p
    lugins.CacheImpl
    com.solarmetric.kodo.RemoteCommitProviderClass=com.solarmetric.kodo.runtime.
    event.impl.SingleJVMRemoteCommitProvider
    The exception I'm getting follows. I'm curious if anyone has any
    insight into what's going on? I'm sure there is a problem with my code,
    I'm forgetting to close something or other but since it works fine
    without the cache I'm really stuck as to what it is.
    Thanks
    Michael
    22:17:32,792 ERROR ObjectFinder - Exception =
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held
    in embedded stack trace.
    com.solarmetric.kodo.runtime.FatalUserException: The ResultList has been
    closed.
    NestedThrowables:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held
    in embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.checkClosed(Eage
    rResultList.java:66)
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.get(EagerResultL
    ist.java:84)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:124)
    at java.util.AbstractList$Itr.next(AbstractList.java:416) at
    java.util.AbstractList.equals(AbstractList.java:604) at
    serp.util.WeakCollection$WeakValue.equals(WeakCollection.java:123) at
    java.util.HashMap.eq(HashMap.java:270) at
    java.util.HashMap.removeEntryForKey(HashMap.java:525) at
    java.util.HashMap.remove(HashMap.java:507) at
    java.util.HashSet.remove(HashSet.java:198) at
    serp.util.RefValueCollection.removeFilter(RefValueCollection.java:272)
    at serp.util.RefValueCollection.remove(RefValueCollection.java:235) at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.unregisterClassC
    hangeListener(QueryCacheImpl.java:160)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.abortCa
    ching(CachingRandomAccessList.java:103)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.get(Cac
    hingRandomAccessList.java:149)
    at java.util.AbstractList$Itr.next(AbstractList.java:416) at
    java.util.AbstractList.hashCode(AbstractList.java:624) at
    serp.util.WeakCollection$WeakValue.<init>(WeakCollection.java:93) at
    serp.util.WeakCollection.createRefValue(WeakCollection.java:64) at
    serp.util.RefValueCollection.addFilter(RefValueCollection.java:193) at
    serp.util.RefValueCollection.add(RefValueCollection.java:166) at
    serp.util.RefValueCollection.add(RefValueCollection.java:157) at
    com.solarmetric.kodo.runtime.datacache.query.QueryCacheImpl.registerClassCha
    ngeListener(QueryCacheImpl.java:151)
    at
    com.solarmetric.kodo.runtime.datacache.query.CachingRandomAccessList.<init>(
    CachingRandomAccessList.java:76)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.wrapList(CacheA
    wareQuery.java:146)
    at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.execute(CacheAw
    areQuery.java:270)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObjects(ObjectFinder.java
    :62)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getObject(ObjectFinder.java:
    44)
    at
    com.verideon.veriguard.persistence.ObjectFinder.getRole(ObjectFinder.java:91
    at
    com.verideon.veriguard.services.VeriguardService.createCustomerAccount(Verig
    uardService.java:210)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.createTestUser(
    TestVeriguardServiceMonitors.java:133)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.setUp(TestVerig
    uardServiceMonitors.java:80)
    at junit.framework.TestCase.runBare(TestCase.java:125) at
    junit.framework.TestResult$1.protect(TestResult.java:106) at
    junit.framework.TestResult.runProtected(TestResult.java:124) at
    junit.framework.TestResult.run(TestResult.java:109) at
    junit.framework.TestCase.run(TestCase.java:118) at
    junit.framework.TestSuite.runTest(TestSuite.java:208) at
    junit.framework.TestSuite.run(TestSuite.java:203) at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    .java:167)
    NestedThrowablesStackTrace:
    com.solarmetric.kodo.runtime.ClosurePoint: Closure point of object held
    in embedded stack trace.
    at
    com.solarmetric.kodo.runtime.objectprovider.EagerResultList.close(EagerResul
    tList.java:78)
    at
    com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.close(JDBCQuery.java:127)
    at com.solarmetric.kodo.query.QueryImpl.closeAll(QueryImpl.java:637) at
    com.solarmetric.kodo.runtime.datacache.query.CacheAwareQuery.closeAll(CacheA
    wareQuery.java:343)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.closeQueries(Persistence
    ManagerImpl.java:934)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:914)
    at
    com.solarmetric.kodo.runtime.PersistenceManagerImpl.close(PersistenceManager
    Impl.java:884)
    at com.verideon.veriguard.services.PMService.close(PMService.java:120)
    at com.verideon.veriguard.services.PMService.close(PMService.java:111)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.deleteTestUser(
    TestVeriguardServiceMonitors.java:127)
    at
    com.verideon.veriguard.services.TestVeriguardServiceMonitors.tearDown(TestVe
    riguardServiceMonitors.java:103)
    at junit.framework.TestCase.runBare(TestCase.java:130) at
    junit.framework.TestResult$1.protect(TestResult.java:106) at
    junit.framework.TestResult.runProtected(TestResult.java:124) at
    junit.framework.TestResult.run(TestResult.java:109) at
    junit.framework.TestCase.run(TestCase.java:118) at
    junit.framework.TestSuite.runTest(TestSuite.java:208) at
    junit.framework.TestSuite.run(TestSuite.java:203) at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu
    nner.java:392)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
    java:276)
    at
    org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
    .java:167)--
    Patrick Linskey
    SolarMetric Inc.

  • Problem in submitting data while refresh in web application

    Hi all,
    I have problem in submitting data while refreshing the page.
    In my application voucher number is generated automatically and as soon as number is genereated voucher detail is inserted in database for newly generated voucher number.
    Both of these activity done on the same page as my client want so.
    Now I have problem that while refreshing the page, the same data for incremented voucher number stored in database that should not be done.
    If there is any solution for this situation other than 1) Generating number in one page and inserting on another 2) block refresh activity, then please reply me.
    It's urgent. Your help will help me a lot.
    regards,
    Deepalee

    Hi
    <u>You can use either of the BADIs depending on your requirement.</u>
    BAdI Definition Name Description                                                                               
    BBP_PGRP_ASSIGN_BADI EBP Purchasing Documents: Assign Purchasing Group(s)       
    BBP_PGRP_FIND        Shopping Cart: Determine Responsible Purchasing Group(s)                                                                               
    BBP_DOC_CHANGE_BADI
    BAdI for Changing EBP Purchasing Documents
    <b>Please read the Standard documetation available with them using SE18 transaction in SRM system.</b>
    Which SRM version you are using ?
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • JTable Refreshing problem for continuous data from socket

    Hi there,
    I am facing table refreshing problem. My table is filled with the data received from socket . The socket is receiving live data continuously. When ever data received by client socket, it notify table model to parse and refresh the data on specific row. The logic is working fine and data is refresh some time twice or some thrice, but then it seem like java table GUI is not refreshing. The data on client socket is continuously receiving but there is no refresh on table. I am confident on logic just because when ever I stop sending data from server, then client GUI refreshing it self with the data it received previous and buffered it.
    I have applied all the available solutions:
    i.e.
         - Used DefaultTableModel Class.
         - Created my own custem model class extend by AbstractTableModel.
         - Used SwingUtilities invokeLater and invokeAndWait methods.
         - Yield Stream Reader thread so, that GUI get time to refresh.
    Please if any one has any idea/solution for this issue, help me out.
    Here is the code.
    Custom Data Model Class
    package clients.tcp;
    import java.util.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class CustomModel extends DefaultTableModel implements Observer {
    /** Creates a new instance of CustomModel */
    public CustomModel() {
    //super(columnNames,25);
    String[] columnNames = {"Sno.","Symbol","BVol","Buy","Sale",
    "SVol","Last","..","...","Total Vol...",
    "..","High","..","Low","Change","Average","..."};
    super.setColumnIdentifiers(columnNames);
    super.setRowCount(25);
    /*This method called by client socket when ever it recived data as line/record*/
    public synchronized void update(Observable o, Object arg){
    collectData(arg.toString());
    /*This method used to parse, collect and notify table for new data arrival*/
    public synchronized void collectData(String rec){              
    String validSymbol="";
    System.out.println("collectDataRecord :-"+rec);
    StringTokenizer recToken=new StringTokenizer(rec," ");
    Vector rowVector=new Vector();
    for(int i=0;i<25;i++){
    validSymbol=(String)getValueAt(0,1);
    if(rec.indexOf(validSymbol) != -1){
    for(int j=0;recToken.hasMoreTokens();j++){
    super.setValueAt(recToken.nextToken(),i,j);
    //break;
    Client Socket Class
    package clients.tcp;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.*;
    public class DataReceiver extends Observable implements Runnable{
    private Socket TCPConnection = null;
    private BufferedReader br = null;
    private String serverName = "Salahuddin";
    private int serverPort = 5555;
    public DataReceiver()
    public void setServerName(String name){
    this.serverName=name;
    public void setServerPort(int port){
    this.serverPort=port;
    //03-20-04 12:30pm Method to open TCP/IP connection
    public void openTCPConnection()
    try
    TCPConnection = new Socket(serverName, serverPort);
    br = new BufferedReader(new InputStreamReader(
    TCPConnection.getInputStream()));           
    System.out.println("Connection open now....");
    //System.out.println("value is: "+br.readLine());
    }catch (UnknownHostException e){
    System.err.println("Don't know about host: ");
    }catch (IOException e){
    System.err.println("Couldn't get I/O for "
    + "the connection to: ");
    //03-20-04 12:30pm Method to receive the records
    public String receiveData(){
    String rec = null;
    try
    rec = br.readLine();          
    catch(IOException ioe)
    System.out.println("Error is: "+ioe);
    ioe.printStackTrace(System.out);
    catch(Exception ex)
    System.out.println("Exception is: "+ex);
    ex.printStackTrace(System.out);
    return rec;     
    public void run()
    while(true)
    String str=null;
    str = receiveData();
    if(str != null)
    /*try{
    final String finalstr=str;
    Runnable updateTables = new Runnable() {
    public void run() { */
    notifyAllObservers(str);
    SwingUtilities.invokeAndWait(updateTables);
    }catch(Exception ex){
    ex.printStackTrace(System.out);
    System.out.println("Observer Notified...");*/
    try{
    Thread.sleep(200);
    }catch(Exception e){
    public synchronized void notifyAllObservers(String str){
    try{
    setChanged();
    notifyObservers(str);
    }catch(Exception e){
    e.printStackTrace(System.out);
    Regards,
    Salahuddin Munshi.

    use your code to post codes more easy to read, lyke this:
    package clients.tcp;
    import java.util.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class CustomModel extends DefaultTableModel implements Observer {
    /** Creates a new instance of CustomModel */
    public CustomModel() {
    //super(columnNames,25);
    String[] columnNames = {"Sno.","Symbol","BVol","Buy","Sale",
    "SVol","Last","..","...","Total Vol...",
    "..","High","..","Low","Change","Average","..."};
    super.setColumnIdentifiers(columnNames);
    super.setRowCount(25);
    /*This method called by client socket when ever it recived data as line/record*/
    public synchronized void update(Observable o, Object arg){
    collectData(arg.toString());
    /*This method used to parse, collect and notify table for new data arrival*/
    public synchronized void collectData(String rec){
    String validSymbol="";
    System.out.println("collectDataRecord :-"+rec);
    StringTokenizer recToken=new StringTokenizer(rec," ");
    Vector rowVector=new Vector();
    for(int i=0;i<25;i++){
    validSymbol=(String)getValueAt(0,1);
    if(rec.indexOf(validSymbol) != -1){
    for(int j=0;recToken.hasMoreTokens();j++){
    super.setValueAt(recToken.nextToken(),i,j);
    //break;
    Client Socket Class

Maybe you are looking for

  • Help my installation wont start up and i cant eject the disk

    I dropped my macbook and a folder appeared no matter what i did i couldnt get it to power back up so I decided to use the re install disk after checking to make sure nothing was wrong with hardware. It refused to install on any setting except erase a

  • How far can I upgrade OS from Snow Leopard before Adobe CS2 goes in the toilet?

    I have OSX 10.6.8 but I am getting messages from websites that my version of Safari is too old. So I thinking of updating as far as I can without having to buy all new software. And I really don't want to go up in a cloud if I can help it. I realize

  • Purchase Order Error. PLANT

    Hi experts, when i am creating Purchase Order system asking me to enter PLANT.. i am maintaining materials in the xyz plant   . but system is triggering the plant also i am maintaining   . info records,  sourse list in the same plant... but when i ca

  • Mac os x ical error message

    Ical error message "The server responded with an error".  Can't access iCal

  • Revert to First Boot

    I am selling my G4 Flat Panel iMac, and I would like the new owner to be guided through the "Welcome" tutorial that the computer went through the first time it was turned on. I know it was possible to get the "gumdrop" iMacs to do this. Does anyone k