PrintWriter Lock Server Stream ... ?
Hello, I have met a strange error which i have been solving for days but cannot get any solution. I knoe i need help and here is the place.
Scenario:
When user click on a link, he will download a text file. -simple
On the server side, when the user click on the link a JSP will be invoke. This JSP will pass its writer(PrintWriter) to a DataWriter Class (static method) and the method will write the data with the writer. Lastly, the writer will flush and close. In the end, File successfully sent over to the client side.
Problem: After download the file, when user click other online option nothing will response although no error is throw out. But if you re-click the file generating link and click cancel when prompt whether to download the file, all the links will function well as per normal.
Seems like the stream between the client and the server is locked when i download the file. Is it so ? why ?
Thanks for ur Reply ! I have been asking ard ... seems like its a Window Bug ...
But do u have article on this bug ? Would like to know more about it.
Similar Messages
-
LiveCache lock server is not installed
Hi All,
Job /SAPAPO/OM_DELETE_OLD_SIMSESS has been failed:
Job log says:
Job started
Step 001 started (program /SAPAPO/OM_DELETE_OLD_SIMSESS, variant , user ID BATCHSCHE)
evaluate oms_versions
evaluate simsession delta
obsolete transactional simulations
<b>liveCache lock server is not installed</b>
Job cancelled after system exception ERROR_MESSAGE
Same was finished successfully and its job log says:
Job started
Step 001 started (program /SAPAPO/OM_DELETE_OLD_SIMSESS, variant , user ID BATCHSCHE)
evaluate oms_versions
evaluate simsession delta
obsolete transactional simulations
Job finished
liveCache lock server is not installed seems to be extra.Any hint?
Thanks in advance.
Regards,
TusharHello,
Just forgot to give server details:
KERNEL 7.6.01 BUILD 009-123-141-487
DBMServer 7.6.01 Build 009-123-141-487
SCM basis 700 sp 11
Regards,
Tushar -
Livecache lock server not accessible after system refresh
Hello,
I have performed a refresh of SCM + livecache from production to QA when starting the livacache from LC10 i get a message Livecache lock server not accessible. The livecache is started but when i look at the status there is a warning SQL access not possible.
I did an export of the config table and reimport and the server named are correctly defined for:
LCA
LDA
LEA
From the administration report of LCA
Initialize livecache
Follow-up Processing: /SAPAPO/DELETE_LC_ANCHORS
Start Livecache
Follow-up Processing: SLCA_LCK_SYNCHOWNERS
By running those program in se38
SLCA_LCK_SYNCHOWNERS (Livecache lock server not accessible)
SLCA_NON_LC_RELEVANT_CLIENT (Could not create a connection to livecache)
I checked and the relevant client is selected.
When i check the alert monitor from livecache - lca - connectivity - dbmrfc and native sql is in red with the following message:
SQL Statement Execution Instance Online, but no SQL access possible.
Also from SM21 i have errors saying Database error -4025 at CON
Let me know if you already encountered this issue and how it was resolved.
Thank you,
Martin Mayer
Edited by: Martin Mayer on Jan 4, 2012 4:02 PM
Edited by: Martin Mayer on Jan 4, 2012 4:07 PMI have checked that tread already the thing is when performing the check In db59, I´ve the LCA,LDA,LEA it fails.
1. Connect. test with "dbmcli db_state" Successful
2. Connect. test with command mode "dbmrfc db_state" Successful
3. Connect. test with session mode "dbmrfc db_state" Successful
4. Connect. test with "native SQL" ( LCA ) No connection
SQL Code: 4025
Edited by: Martin Mayer on Jan 4, 2012 5:26 PM -
Lock server read in standalone server
Hello Gurus ,
I would like to ask a difficult question .
We have a custom created function module which enqueues and dequeues the BI IP Planning locks during a planning function implementation in Input queries. In our custom program we are using standart SAP class ( cl_rspls_enq ) with methods ( cl_rspls_enq=>get_lock_method or cl_rspls_enq=>read_locks etc. ) to read locks .
Our function was working fine with the default RSPLSE Lock table setting , which was defined as
`Shared Object Memory of Server` .
But now we moved to standalone server , which is not possible to select `Shared Object Memory of Server` in the RSPLSE . Instead we must select Lock Server .
But with this selection custom created function is not working any more .
So we need to change our custom created function in order to enqueue and dequeue lock .
Do you know which other classes and modules can we use for changed Lock Server selection ?
Thanks in advance for the help .
Regards,
ErkanHi Erkan,
usage of cl_rspls_enq=>dequeue_loc indicates completely wrong usage of the the SAP internal API; anyway, as I mentioned, to use this is at your own risk.
To set locks one has to call ENQUEUE and to release locks DEQUEUE. Nothing else is needed.
Also cl_rspls_enq=>read_locks is not needed; this is an API for RSPLSE. To use this method also indicates wrong usage or a very strange design.
Since at lot of wrong methods are called (the ones you mentioned) I expect that there might be more. Maybe (since you mentioned cl_rspls_enq=>get_lock_method) your code only considers one storage of the lock table (hard coded 'lock method'?), so the others might not work.
Remark:
To call DEQUEUE for unsaved data would be simply wrong design.
It is unclear for me why you are using SAP internal methods. If you just want to run planning functions
there are other ways. All the low level stuff like enqueue is handled there automatically.
Regards,
Gregor -
How to detect "Overload of Lock Server"
Hello,
how knows a possibility how to trace or detect an overload of lock server.
Problem is that the users get this message but we can not detect when this issue comes up.
Kind regards
JoernHi,
To configure thread detection behavior:
If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit.
In the left pane of the console, expand Environment > Servers.
On the Summary of Servers page, select the server instance for which you will configure overload condition parameters.
On the Configuration > Overload tab, update as necessary:
Shared Capacity For Work Managers -- Total number of requests that can be present in the server..
Failure Action -- Specifies the action taken should a server instance detect a failed state.
Panic Action -- Specifies that action taken should a server instance detect a panic condition.
Free Memory Percent High Threshold: -- Percentage free memory after which the server overload condition is cleared.
Free Memory Percent Low Threshold: -- Percentage free memory below which the server is considered overloaded.
For more information about overload conditions, see Configuration Options.
Click Save.
To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
Not all changes take effect immediatelyu2014some require a restart.
Hope this help you.
Redarda,
Naveen. -
Error: Lock server exists, but is not addressed:
Hi,
I am getting below error when I executed diagnosis in sm12
Error: Lock server exists, but is not addressed
We have ci & 2 apps server
rdisp/enquename is set in default profile.
Kindly provide solution.
Regards,
Yogesh CheulkarDear Juan,
We have maintained enque parameters in ASCS80 profile and restarted SAP.
Still we are facing the same error.
The parameters which we have maintained are as below:
enque/table_size = 50000
rdisp/enqname = $(rdisp/myname)
rdisp/myname = SIDci_SID_00
The last parameter rdisp/myname = SIDci_SID_00 from above list is also maintained in instance profile of ci and application server as well as in default profile.
The parameter rdisp/enqname = $(rdisp/myname) is also present in SCS10 profile.
Please guide us on maintaining these parameters as it is maintained in almost all profiles.
Regards,
Yogesh Cheulkar -
Hi,
I have installed MSA and the workbench (4.0 SP 12) locally on my laptop. When I try to start the Mobile Workbench I get the error "unable to initialize short term lock server". Does anybody have an idea why? I have ensured that the repository ID is in synch but I still get the issue.
WhityHi Wolfhard,
Thanks for the hint. It is a bit strange. I found out that the SAP MAR service uses port 1002 in my case. If I put that in the ars_systable, I can't restart the service. It tells me the port is busy. If I update ars_systable after starting the service, it works.
Whity -
I would like to have your opinion for BI lock server.
Based on SAP Note 928044, there is three options
1. The SAP lock server
2. The shared objects memory of an application server (we use this one)
3. The liveCache.
The Note 816730 recommends liveCache.
Currently we have many locks on RSPLS_S_LOCK_SYNC. Also we defined in RSPLAN/RSPLSE.
What is your experience and recommemdations. Would it worth to implement the liveCache?
Regards,
MarkThank you gregor and deepti.
I have already gone through RSPLE tcode and server is correctly mapped.
Anyway the problem is resolved by our basis administrator.
Regards,
Veera -
Windows Vista and Flash Media Server Streaming Problems
My company recently started using Flash Media Server to
stream audio and video content.
My boss just installed Windows Vista Ultimate and now no
streaming content will play at all. Simple Flash animations work,
but nothing that accesses the Flash Media Server for content. I've
uninstalled and reinstalled multiple versions of the Flash Player
on his machine but nothing seems to work. I also tried the new
"Reset" feature in IE that is supposed to return it to it's
shipping state and that didn't work. I navigated to the "System 32"
folder and ran the Flash Updater EXE. I downloaded and installed
all of the available updates through "Windows Update".
I also tested Flash Objects that stream video on Adobe.com
and they don't play either. Has anyone heard of this happening or
know what I need to do to fix it? I don't know if this is a bug in
the Flash Player or with Windows Vista.This appears to be the solution:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1243464&enterthread=y -
Hi,
I have a high visibility application that has a bug in it that I'd like some
sharp minds of NI discussion forum to make a suggestion about.
The app is on the International Space Station. I have a LV executable on a
laptop on the ISS that sends TCP and UDP data to a LV executable on an earth-bound
computer.
The path is not a standard or "trivial" IP but it is intended to be equivalent to
a standard IP. The catch comes when some data bytes are lost en route.
When this happens, the earth-bound LV says something like "Not enough memory
to complete operation"
Here's what we found...
=======================================================
The TCP Server (on the ISS) send a TCP data stream with the following format...
...LLLLSTART$d1$d2...$dN#llllSUMccccENDLLLLSTART...
where
* LLLL is a 32bit binary integer with the number of bytes in the following packet beginning with the text string START and ending with the text string END.
* $, #, START, SUM, and END are delimiters.
* d1, d2, ... dN are text string data values.
* llll is a text string with the decimal number of bytes beginning with the text string START and ending with # symbol.
* cccc is a text string with the decimal number checksum of the bytes beginning with the text string START and ending with # symbol.
The TCP Client (on earth) reads 4 bytes as LLLL, then reads LLLL bytes (usually about 85 bytes) as the packet beginning with the text string START and ending with the text string END.
The error comes when the LLLL data is lost, so the TCP Client reads four bytes (probably S,T,A,and R) as LLLL, which convert to a number that is very large, then reads LLLL bytes (maybe 50M) but this read fails because there is not enough memory to read that much data.
The fix entails ensuring that LLLL is a reasonable size (like 20 to 200) and ensuring that the data packet begins with START. The difficulty is how to restructure the code to reset the packet loop when LLLL is out of bounds or when that START header is not present.
=================================
My quandary is that in LV, I can't see what's going on in the TCP Server or
TCP Client vis.
Any suggestions will be appreciated.
JIM
Solved!
Go to Solution.I would look at configuring the Nagle Algorithm and/or Delayed ACK options on your remote and earth-bound stations.
Do LabVIEW TCP Functions Use the Nagle Algorithm?
TCP Performance problems caused by interaction between Nagle's Algorithm and Delayed ACK
From wikipedia:
Applications such as networked multiplayer video games expect that actions in the game are sent immediately, while the algorithm purposefully delays transmission, increasing bandwidth at the expense of latency. For this reason applications with low-bandwidth time-sensitive transmissions typically use TCP_NODELAY to bypass the Nagle delay.
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
Well, first off, I am new to Novell, but have been a sytems engineer for over 10 years. I currently work as the IT Manager for a telecommunications company in MN. We also provie contracted IT services in the SMB market.
I was called last Friday by the 70 year old owner of a transportation company. The family had a falling out that morning to the extent his son (who was the General Manager and resident IT technician) has locked everyone out of their Novell server by changing the passwords on all accounts just before walking out the door. Of course; the worst case scenario of an insider going bad. I was called in to see if I could restore service to the server and re-engineer their network. I was able to bypass the Novell Client login and at least give them access to their Windows accounts and lock out any type of remote access to their network.
My question is this, if the company wanted to pay for support directly from Novell, would Novell have any way to get in and reset the administrator account so we could get them back up and running? They are currently running Netware 6. Or, are they pretty much screwed in having to start over?Hi,
> My question is this, if the company wanted to pay for support directly
> from Novell, would Novell have any way to get in and reset the
> administrator account so we could get them back up and running? They are
> currently running Netware 6. Or, are they pretty much screwed in having
> to start over?
This is not really a question to management - this is more a technical
discussion on the novell.support.edirectory.netware forum...anyway, yes,
Novell has internal tools to do something like this.
Cheers, Akos -
SL Mail IMAP account locks server mailbox
I have just installed Snow Leopard and updated Mail.
I have a main IMAP account here at work which I set to access new mail only manually so that I could access the mailbox from home on a different machine or indeed on walkabout at work from my touch ipod without closing Mail down here. This worked fine. Now the account is still set to get new mail manually but in fact is updating automatically and as a result locking the mailbox on the server. It looks like the manual setting does not work.
So what can I do other than shut down Mail every time I leave the room? In the interim I've set up a Pop account instead and deactivated the IMAP one. But I dare not remove the IMAP account and set it up again from scratch, which was my next idea, until someone tells me whether it will delete all the mailboxes on my machine as it suggests.having the same problems as everyone else, have a aol imap account on mac mail program. pass word is not even being stored in keycain & when i go to mail preferences pass word is not listed under imap account. when i type in my pass word & save it just disappears when i recheck. whenever i restart my computer my postage stamp icon on dock keeps bouncing when i click stamp it asks for pass word. when i type in pass word and check on remember in key chain it does not accept. if i do not check remember in key chain i am ok again but only untill i restart my computer. then i have to go through same process again. i have telephone support with my computer and was on phone for 3 hrs last week but no help yet. was told a report would be sent to engernerring dept. if we are all having problems then i think it is a bug & we might need to wait for a apple software update. just hope i and others have not made problem worse by trying things. if anyone does have a solution to my password problem please get back to me.
-
Iphoto (server) stream photos & movies to/from ipad
Systems/SW in use: iPad2, iOS6.0.1, MacBook Pro, OSX10.6.8 iPhoto 8 (I think, not v11)
iCoud is too small. I have 250 GB (yes two hundred and fifty gigabytes of photos & movies on iPhoto)
No sync possibilities between iMacbook and iPad. (that’s just the way it is in my configuration)
How to stream iPhoto to iPad to use the iPad to view & upload photos to Facebook, email or message them? (iPhoto server?)
How to load photos from email, Facebook or messages captured on iPad to above mentioned iPhoto server?
Thanks for reading.Welcome to the Apple community.
You can't view it, HBO have blocked the AirPlay/mirroring feature. -
Hi,
I was setting up atg demo application "QuincyFunds" through CIM, while creating server instances, one option was asking to create instance as lockserver.
Can anybody please let me know what is that lockserver means.
Thanks,
gaurav agrawalHi,
I have gone through document provided in the link.
Below is my understanding, please correct If wrong:
Only one ServerLockManager configuration would be there across all the instances running for an application. For example, If we have10 instances comprised with 6 store site instances, 2 BCC and 2 CSC then only one instance should be configured as ServerLockManager and other 9 should be configured as ClientLockManager.
Main benefit of using that locking concept is to keep cache consistent on all server instances.
Thanks -
When my screen locks while streaming music or podcast, the radio or podcast stops.
When my iPhone 5s screen locks while I am streaming a podcast or live radio, it pauses. What do I need to do to stop this short of adjusting the screen to never lock? This is hugely disruptive while running.
Visit the Apple Store and request for a replacement. Cheers!
Maybe you are looking for
-
Track documents based on a purchase order
Hi, One of my customers asked me yesterday if there is a good way to follow the steps from a purchase order to goods reciept and AP invoice? If you have a large purchase order with many items and only a few of them are copied to goods reciept PO at a
-
When I got my machine two years ago and loaded Firefox, I could scroll with the red button that's on the keyboard of the Lenovo ThinkPad x200. Then, a few months ago, Firefox was updated. Not sure which version. And, now I can't scroll. The keypad sc
-
Question about Integrated Configuration (Advanced Adapter Engine in PI 7.1)
Hello, When you use Advanced Adapter Engine in PI 7.1 with Integrated Configuration scenario, it bypasses ABAP stack therefore you can't monitor processed message in SXMB_MONI. Instead this message shows up only in RWB Adapter Engine message monitor
-
Creating interactive DVD from HTML
I want to create interactive DVDs from html. The end product will be a website stored and browsable on the DVD using the remote control to navigate the menus. Can I do this with Encore?
-
TDS AMOUNT CAN NOT REVERSED THROUGH MR8M
Dear Gurus, Through MIRO TDS deducted but when i reverse the same document through MR8M TDS amount can not reversed that amount credited to vendor account. NO LINE ITEM CREATED FOR TDS REVERSED ENTRY. Please do the needfull. Regards, MAHESH K SINGH