Clear ST02 Buffer
Dear All,
I want to clear ST02 buffer. But for that, I don't want to re-start SAP.
Is is possible to clear ST02 log without re-starting SAP.
Any T.code or report is available?
Regards,
Nisit
Hi,
/$sync it will reset the buffer as well as number ranges too. so i recomend /$TAB instead of /$Sync.
/$TAB will just reset the buffer without restarting the system.
For more information click [Buffers|http://help.sap.com/erp2005_ehp_04/helpdata/EN/c4/3a6e98505211d189550000e829fbbd/frameset.htm]
With Regards,
Krishna.
Similar Messages
-
Attempt to clear a buffer that's already been flushed
hi,
I got the following error while forwarding the JSP to a servlet using pagecontext.forward();
ERROR:Attempt to clear a buffer that's already been flushed
any help is appreciated
flyingtaurushi
Thanks for your reply but setting buffer size and flushing buffer also didnt work also i didnt use pagecontext.forward() method but i think im printing some values in the jsp before commiting response .whether it may cause problem because in another page without this print tag i can able to forward the response.pls help me in this regard.
flyingtaurus -
Hi,
All I am trying to do is execute a <jsp:forward page=""/> commend. The page I am refering to does exists and three other pages that have the same commend are able to forward to the said page with little issue. All the pages are in the same directory and the path indicator to them is correct. Any help in this matter will be highly appreciated.
org.apache.jasper.JasperException: Error: Attempt to clear a buffer that's already been flushed
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:534)jsp:forward always flushes the buffer before proceeding.
Do you have a statement in your jsp like out.flush() before your use jsp:forward? If you do, try removing it -
How to clear a buffer memory in a report program?
Hi Gurus,
How to clear a buffer memory in a report program?
Regards,
Amit Kumar SinghYes i am using USER__COMMAND like this
FORM USER_COMMAND *
FORM user_command USING u_ucomm TYPE sy-ucomm
us_selfield TYPE slis_selfield. "#EC CALLED
data : l_memory_id(20) type c value 'BSVA_BUFFER'.
free memory ID l_memory_id.
CASE u_ucomm.
WHEN gc_refresh.
PERFORM clear_data.
CONCATENATE '-' p_months INTO p_months.
PERFORM populate_z01. "List of Plants and Materials
PERFORM populate_z02. "List of Periods and dates
PERFORM populate_z03. "Report Contents
PERFORM add_data.
us_selfield-refresh = c_x.
us_selfield-col_stable = c_x.
us_selfield-row_stable = c_x.
ENDCASE.
ENDFORM. "user_command
FORM PF_STATUS_SET *
FORM pf_status_set USING ut_extab TYPE slis_t_extab. "#EC CALLED
DELETE ut_extab WHERE fcode = gc_refresh.
SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
EXCLUDING ut_extab.
ENDFORM. "pf_status_set
Where gc_refresh is defined as
constants : gc_refresh TYPE syucomm VALUE '&REFRESH'. -
Is it possible to clear the buffer pool in Oracle without bouncing the database? We are configuring our database to use the keep buffer pools, and I wanted to test the performance improvements with pinning different tables into the keep buffer. Unfortunately the only way I can clear the buffer is to bounce the database, which disrupts several other people. I was hoping there was something like the "alter system flush shared_pool" to do this.
Any help would be greatly appreciated...Is it possible to clear the buffer pool in Oracle without bouncing the database? We are configuring our database to use the keep buffer pools, and I wanted to test the performance improvements with pinning different tables into the keep buffer. Unfortunately the only way I can clear the buffer is to bounce the database, which disrupts several other people. I was hoping there was something like the "alter system flush shared_pool" to do this.
Any help would be greatly appreciated... i guess there is no straight forward method like 'flush shared pool'
maybe you can try running a full table scan or a cartesian join on two large tables
which will flush the buffers of the tables that you are trying to tune.
this is exactly the situation why you want to go for 'keep' buffer pool. -
How do you clear the buffer of excess key presses, in Java?
Right now, in the game I am working on, if the user presses a key multiple times the actions will be performed as many times as it registers, even though I disallow key presses during the time that the action is taking place.
For example, a move of 1 space can be carried out with a key press. While the character is moving, key presses are not allowed. However, if you just press the key 5 or 25 times, the character will just keep moving, once he's done with the first one.
What I need to do is clear the buffer of key presses after an action has taken place, so that the excess keys are not registered. I know the commands to do so in C++, but not in Java.Well, I think you've got what I was saying backwards, or I'm not understanding what you are asking correctly.
it is suppposed to return if isMoving is true, not false. If isMoving is true, it means that the moving animation, and actions are taking place, Which is a process that take about a second, for the player to move one space.
Here's the code where I process the keypresses
private void processKey(KeyEvent e) {
if (isMoving) {return;}
int keyCode = e.getKeyCode();
if (!isPaused && !gameOver) {
isMoving = true;
if (keyCode == KeyEvent.VK_UP) {
player.move(player.NE);
else if (keyCode == KeyEvent.VK_DOWN) {
player.move(player.SW);
else if (keyCode == KeyEvent.VK_LEFT) {
player.move(player.NW);
else if (keyCode == KeyEvent.VK_RIGHT) {
player.move(player.SE);
isMoving = false;
}And in case I need to clear up what I want to happen, and the results I'm seeing. The player, in this case, moves one space in a direction, with a single press of an arrow key. That functionality is working fine, as intended. However, I don't want you to press the key twice quickly and move two spaces. I don't want you to hold down an arrow key and move continually.
That part of the functionality is what is not working.
As I understand my code, pressing the key once should set isMoving to true and, therefore further presses shouldn't register until isMoving is false again, which shouldn't happen until the player moves have finished.
But, the way that it is working now is that if I press the key 2, 3 or 20 times, as soon as one move is finished another begins. Are the key presses just sitting in the buffer somewhere waiting for isMoving to become false again? And if so, is there a function I can call to clear that buffer after a move is finished? -
Attempt to clear a buffer thats already been flushed???
hi i can't understand why this code is giving me error..
HttpSession aSession = request.getSession(true);
String destination = "/login.jsp?returnPage=/practice/reviewcontent.jsp";
try{
if(aSession.getValue("userId") == null) {
%>
<jsp:forward page="<%= destination %>" />
<%
%>
thank youentire code... again..
<jsp:include page="/shared/withoutN_header.html" flush="true"/>
<%@ page import="java.util.*, practice.*, javax.servlet.*, javax.servlet.http.*, java.io.*"%>
<%
String title=null;
String contentId = request.getParameter("contentId");
String content = request.getParameter("content");
String contentTitle = request.getParameter("contentTitle");
HttpSession aSession = request.getSession(true);
String destination = "/login.jsp?returnPage=/practice/reviewcontent.jsp";
if(aSession.getValue("userId") == null) {
%>
<jsp:forward page="<%= destination %>" />
<%
title = "Review " + "<br>" + contentTitle + "<br>" + content;
String errorMsg=null;
if(request.getParameter("errorMsg") != null){
errorMsg = request.getParameter("errorMsg");
else
errorMsg = "";
%>
<h3>Review</h3>
<h4><%= contentTitle%></h4>
<%= content%>
<form method=post action=/servlet/practice.ReviewContent?contentId=<%= contentId %> >
<table>
<tr>
<td align=center><font color=red>
<%= errorMsg %>
</font>
</td>
</tr>
<tr>
<td>Items marked with a * are required
</td>
</tr>
<tr><td>Rate: * </td><td><select name=rating >
<option value=> -
<option value=5>5 stars
<option value=4>4 stars
<option value=3>3 stars
<option value=2>2 stars
<option value=1>1 star
</select>
</td></tr>
<tr><td>Comments: </td><td><textarea rows=5 cols=30 name=description> </textarea></td></tr>
<hr>
</td></tr>
<tr><td colspan=2 align=center><input TYPE=submit value="Add"></td></tr>
</table>
</form>
<jsp:include page="/shared/withoutN_footer.html" flush="true"/>
error msg...
Error: 500
Location: /practice/reviewcontent.jsp
Internal Servlet Error:
java.io.IOException: Error: Attempt to clear a buffer thats already been flushed
at org.apache.jasper.runtime.JspWriterImpl.clear(JspWriterImpl.java:180)
at practice.reviewcontent_6._jspService(reviewcontent_6.java:93)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536) -
JSP clear a buffer -- FLUSH ERROR
Hai everybody!
I've 3 jsp files. The First and the Second jsp file's will be forwarded to the Third jsp file when it completed certain process in each of the page.
The problem that I faced is that, the First page can be forwarded to Third jsp file, but the Second page cant and this exception is cought.
"org.apache.jasper.JasperException: Error: Attempt to clear a buffer that's already been flushed"
So how should I solved this problem?
I tried to put <%@ page autoFlush="true" %> at the begining of the Third jsp file but still doesnt work.
in First.jsp
....< do some process here >
..<jsp:forward page="Third.jsp"/>
in Second.jsp
.....< do some process here >
..<jsp:forward page="Third.jsp"/>
in Third.jsp
<%@ page autoFlush="true" %>
....< other code goes here >
........Any help...Thanks
....Any help.there can be some errors on your 2nd jsp
-
Need help in clearing string buffer during dynamic VO where clause in oaf
Hi All,
I am dynamically setting where clause in OAF using string buffer, but the issue is when i am executing the vo multiple times so the old data in the string buffer it is not clearing .so every time my where clause adding to the query and it is erroring out, please help me how to clear string buffer class in oaf.
ThnaksHi,
Could you please share the code segment for reference. Then we can tell the solution.
Regards,
Tarun -
Hi all,
In ST02 for Screen buffer and export/import Free directory entries and % are showing '0' , what does it mean ... Hit ratio for all buffers is 99.96 nearly for export/import it's showing 85% and swaps also rising .
Please suggest...
Thanks,
Subhash.GTune Buffers monitor shows the percentage usage of buffers and memory.
The Setups / Tune Buffers monitor displays data on:
- Buffer sizes
- Buffer qualities (hit ratios)
Bottlenecks may be indicated if buffer swaps occur
Choose Detail analysis menu to display other data, such as :
- Memory usage
- Semaphores usage
- Table calls
Max. use (in KB) should be less than In memory (in KB).
- The lower part of the Setups / Tune Buffers monitor displays data on:
- Extended memory size and usage
- Usage and configuration of the roll mechanism
Bottlenecks may be indicated if:
- For extended memory: Max use. = In memory
- For roll area: Max use. > In memory
good luck
if it useful reward points are appreciated -
Hi
This is a new implementation with the configuration mentioned below.
Windows 2003 Server (SP1)
Oracle 9.2
8GB Ram
ECC 5.0
HP Proliant DL380G5 / Tape Device: HP DLT VS160
750GB Raid
I see a lot of Red Highlights under ST02
These are for
Swaps with value 1199334 for field description
Swaps with value 2030958 for Initial Records
Swaps with value 8715.952 for Program
Swaps with value 1080.867 for CUA
Swaps with value 173.431 for Screen
Swaps with value 2334 for Generic Key
Swaps with value 1087 for Single Record
Swaps with value 7689980 for Export / Import
As a result of the above and more, the production system seems very slow. The resopnse time for transactions (SAP Default) is on a average of 10 seconds, sometimes going up to one minute.There are no background jobs running during the day and no backups as well. The tablespace's and file system also have sufficient free space. There are sufficient work processes and we also check the size of archieve log on a regular basis (making sure Archieve not being a cause) I have a feeling that the errors could be because of incorrectly configured profile parameters, however identifying what is right and what isnt is becoming a difficult task.
You could see a snapshot of the ST02 screen here
http://img138.imageshack.us/my.php?image=st02outputxe7.png
Further here are the screenshots of CCMS buffer stats
http://img99.imageshack.us/my.php?image=ccmsbufferstatskq7.jpg
There are also a lot of table locks that i see
http://img263.imageshack.us/my.php?image=tablelock1rh3.jpg
http://img254.imageshack.us/my.php?image=tablelock2br9.jpg
http://img99.imageshack.us/my.php?image=tablelock3ta6.jpg
We will be going in for a Early watch support from SAP however till then we are stuck with these issues.
Could you share your ideas on how I can fix these ?
best regards
RaviHi Ravi,
You can use the following command to know what are all the parameters to be changed and what would be the prefferable values.
sappfpar check pf=
usr\sap\trans\tpparam
(or)
sappfpar check pf=
usr\sap\trans\tp_domain_<sid>
Regards,
N.Amarnath -
Hello,
In Tcode ST02 --> Detailed Analysis, there is an option to check Table Call Statistics.
In that statistics page there is a column Buffer State
For table A807 the Buffer state is Error.
I tried searching but couldn't find anything on the Buffer State in Error.
COuld you help me with the reason and solution for this error?
Thanks.Analysis log
Date/time of analysis: 21.05.2010 11:34:42
Analyzed table: A807
Total number of rows: 4.234.059 rows
Requested bytes per row: 81 bytes per row
Requested bytes to be buffered 100%: 342.958.779 bytes
Current buffering mode: 100% buffering
Rows per Distinct 1 11 101 1.001 10.001 100.001 more than
neric key values - 10 - 100 - 1.000 - 10.000 - 100.000 -1.000.000 1.000.000
Key fields Number of areas that are specified by the generic key and contain the given number of rows
MANDT 1 0 0 0 0 0 0 1
KAPPL 1 0 0 0 0 0 0 1
KSCHL 6 0 0 2 0 1 2 1
PLTYP 41 7 8 4 1 12 9
MATNR 416.822 256.631 159.975 216
VARCOND 903.442 903.442
DATBI 4.234.059 4.234.059 -
Hello
I am trying to find out which table in SQL the buffer history (ST02) data is stored?
Please let me know.
Thank you
KenHi dude!
Clas Hortien's advise is simply great, as it will be useful not just to guess the tables you need right now but also in the future.
Just to help you in case you are not familiar with ST05: when you are reading the trace, you can summarize times in order to get it simpler and in a easier format to read (not just chronologic): go to the menu "Trace list" and select "Summarize Trace by SQL Statement (Shift+F8)". Under the column "Obj. name" there are the names of the tables read.
Cheers!!
--Jesú -
dear friends
in my devlopment server my buffer(st02) will not be refresh ? why ? and what i do for a refresh a buffer
this happend only in developmetn server
nainesh suthar
Edited by: ncsuthar on Mar 10, 2010 6:37 AMthank....u
pl visit above site
http://help.sap.com/saphelp_45b/helpdata/en/02/9625e3538111d1891b0000e8322f96/frameset.htm
it give more in detail
nainesh -
Hai
How to clear the CAN buffer.
i use CANwrite & CANread in sequence, after every read & write operation i am getting the
previous write operations CAN data with the consequtive write & read function.
i want only the responce of respective write operation
thanks
sk
I am using LabVIEW 7.1 & PCMCIA CAN card
Attachments:
a.JPG 44 KBHi
All messages received in sequence step 1, should be removed from the queue and no longer available for sequence step 2.
It seems you receive still data after your Read call in sequence Step 1.
The only chance is to read all old messages, short before you write the second request in sequence step 2.
To check whether this is not our fault, please create a Spy logfile using NI Spy from Start>>Programs>> national Instruments>>NI-Spy.
First run the NI Spy, second your application, single run, stop Spy and save the log file .
That could help us to see what is going on.
DirkW
Maybe you are looking for
-
Since getting an iPad at Xmas , we facetimed a mutual contact on the ipad , now messages I send from my iPhone 3GS to that contact show up on my husbands iPhone 4 . He does use my iCloud and iTunes account as we share music . How can I stop my messa
-
Hi Friend I have a ticket which goes as below . Part substitution for service parts. Order is for 20pc of 195.S and 23pc of 145.S 195.S consumes part 195.F 145.S consumes part 195.F (part substitution) We created delivery 80005617. We pack the pallet
-
Dear All, In Human Recource module I have a list of Employees, Now I create new database and want to copy all Employee Master data from old database to new database . Please give me the solution for this problem. Thanks & Regards
-
Problem with deployment to Tomcat &JBoss
Hi, I have an application with BC4J & UIX & Struts when I run the application from JDeveloper (OC4j) every thing OK but when I deploy the application to tomcat or JBoss I get the following exception: oracle.jbo.domain.DataCreationException: JBO-25009
-
Pop up box connected to AP Div
Hi all, I have created 2 AP Div's: 1. One which have map as background 2. One which have a connected pop up box/tooltip The pop up box is working just fine when i have separated the two AP Divs, and after changing the Z-value to 2 for map AP div and