Socket cross-talk.... multiplex read buffer?
i am using only 1 socket:
[pc #1] <--- socket ---> [pc #2]
concurrently:
the [pc #1] thread is sending input data to the [pc #2] thread.
and
the [pc #2] thread is reading input data from the [pc #1] thread.
this is of course, ok
the [pc #2] thread is sending results data to the [pc #1] thread
and
the [pc #1] thread is reading results data from the [pc #2] thread
some times "cross-talk" depending on timing
[pc #2] will read the output it sent to [pc #1] as if it
were input from [pc #1]
maybe multiplex the read buffer?
how to do that?
other ideas?
i am using only 1 socket:
[pc #1] <--- socket ---> [pc #2]You are using two sockets, one at each end. You are using one connection.
concurrently:Bilaterally, or in full-duplex mode:
the [pc #1] thread is sending input data to the [pc #2] thread.No it's not, it's sending data to the connection.
and the [pc #2] thread is reading input data from the [pc #1] thread.No, it's reading data from the connection.
this is of course, okIt's OK once you describe it correctly.
the [pc #2] thread is sending results data to the [pc #1] thread and the [pc #1] thread is reading results data from the [pc #2] threadNo, see above.
some times "cross-talk" depending on timing
[pc #2] will read the output it sent to [pc #1] as if itwere input from [pc #1]
TCP/IP doesn't do that. Any 'crosstalk' is due to a programming error on your part.
maybe multiplex the read buffer?Maybe fix your code?
other ideas?Maybe show us your code here?
Similar Messages
-
RE: local variable cross-talk?
Jeff
A global can be considered as a variable to the entire code, where lots of
different vi's can operate it. Locals only have any meaning within their
own vi, or instances of their own vi.
If anything writes to a particular global, whether in reenterent vi's or
not, it's available everywhere in the code.
What you were asking was about locals though. If a vi is non-renentrant
(i.e. as they come out of the box) then the values in the locals are vi
specific, no matter where the vi is, where it was last used, it retains the
data from it's last operation. If it is re-entrant, then the values in the
locals for each occurance of the vi are its own for EACH instance, i.e. just
like different locals in different vi's, it doesn't matter where else the vi
is used, the data held is that from the last operation of that specific
instance.
Simple way to demonstrate this. Make a vi that has one numeric control,
then code in +1 and get it to write to a local variable for that control.
Throw in an indicator to wire out the result of what is written to the local
for the control.
Then take this vi, put it in a for loop, then put another copy in the for
loop as well. Wire the indicators to the side of the for loop and create
indicator arrays for them. Get the loop to run 6 times say. Now try
running this with the vi in the for loop non-reentrant and then reenterrant.
One way the arrays will contain either all the odd no.s 1,3,5,7,9,11 and
then the other array 2,4,6,8,10,12 (don't know which array will be which,
depends which executes first in the for loop of this example). The other
way they will both be 1,2,3,4,5,6. In the first example, the same vi has
run 12 times, i.e. one copy of the vi which retains its info and is called
in many places and therefore only has one set of values, and the other with
two re-enterant copies where they have their information specific to that
instance of them i.e. effectively they are different vi's. Both ways are
useful, depends what you want.
If you're looking for a use for non-reenterant vi's then consider this:-
For instance. Supposing you get many things to try to write to a global
array of numbers, and you have two vi's one "A" writes to the first element
in the array and the other "B" writes to the second element. Because in LV
you have to read a global first and then write to it to perform a change,
these independant vi's "A" and "B" (be they re-enterant versions of the same
vi, or different vi's), can be performing the tasks simultaneously in the
code. I.e. "A" reads, "B" reads, "A" writes, and "B" writes over the top
with a modified version of what it read, and "A"'s changes are lost. This
is what's known as a "race condition" as "A" hadn't finished and "B" needed
to know what "A" was going to write before "B" performed "A" read. Try it,
hours of fun if you code this kind of thing in inadvertantly!
If the same vi is used, and is not re enterant, it can only run in one
instance at a time, hence two read / write operations cannot be performed
together, problem solved. Unless that gives you timing issues of course,
waiting for one to finish, to write the other......but that's another whole
can of worms.
cheers
Tim Price
This e-mail, its content and any files transmitted with it are intended
solely for the addressee(s) and are confidential and may be legally
privileged. Access by any other party is unauthorised without the express
prior written permission of the sender. If you have received this e-mail in
error you may not copy, disclose to any third party or use the contents,
attachments or information in any way.
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Jeffrey W Percival
Sent: 29 November 2001 21:12
To: [email protected]
Subject: Re: local variable cross-talk?
Another useful reply! What a great news group this is.
One last thing I wanted to ask about, though, is global vs. local. I see
you talk about globals, but in fact the variables in my subVI's were locals.
I can easily understand the behavior I observed accompanying the use of
global variables, But I guess the use of the word "local" stumped me.
Should I interpret "local" in LabVIEW's sense to mean "local to all
instances of this VI"? And global to mean "visible to all instances of this
VI as well as other VI's"?
-Jeff
Tim Price wrote:
This facility is actually very useful, for instances where you want to
encapsulate some code so that it can only run in one place at a time,
i.e.
global arrays that are written to in more than one place. This method
can
eradicate race conditions completely for example when used like this.
There
are multiple other uses as well.
However, using a vi as a module of code, to run in more than one
instance at
a time simultaneously, re-entrant is the way to go. Just make sure you
debug it first!!!
Remember though, just because a vi may be re-eneterant, doesn't mean
that
everything inside is; sub-vi's, Globals etc. The classic one I've seen
is
where people think that a re-enterant vi is talking to it's own copy of
any
Globals used within it, i.e. counters etc., where in actual fact of
course,
they are all using the same Globals.
Worth playing with a few examples to get familiar with it.
Tim Price
Jeffrey W Percival, Senior Scientist and Associate Director
Space Astronomy Laboratory, University of Wisconsin - Madison
1150 University Ave, Madison, WI 53706 USA
608-262-8686 (fax 608-263-0361) [email protected]
http://www.sal.wisc.edu/~jwpTim Price wrote:
Tim, thanks very much. I'll try the experiment you suggest.
Thanks for taking the time.
-Jeff
Jeffrey W Percival, Senior Scientist and Associate Director
Space Astronomy Laboratory, University of Wisconsin - Madison
1150 University Ave, Madison, WI 53706 USA
608-262-8686 (fax 608-263-0361) [email protected] http://www.sal.wisc.edu/~jwp -
HttpServer error in reading buffer size via keyboard input - HELP
I've written a simple HttpServer program that reads keyboard input to construct a buffer to copy the requested file into the socket's output stream. I've done the string-to-integer conversion using BufferedReader and parse.Int. However, when I go to use the int later in the program, I keep getting the message "variable b may not have been initialized." Can anyone tell me what's missing from the code below? Thanks.
private static void sendBytes(FileInputStream fis, OutputStream os)throws Exception
//Construct a buffer via console input
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
int b;
System.out.println("Enter desired buffer size or CTRL-C to break.");
//Convert entry to an integer
do
str = br.readLine();
try
b = Integer.parseInt(str);
catch(NumberFormatException e)
System.out.println("Invalid entry.");
while((str=br.readLine())!=null);
//Construct a buffer
byte[] buffer = new byte;
int bytes = 0;
//Begin timing HTML page delivery
long start, end;
System.out.println("Timing for Web page delivery");
start = System.currentTimeMillis();
//Copy requested file into the socket's output stream
while((bytes = fis.read(buffer)) != -1)
os.write(buffer, 0, bytes);As the message suggests, what is missing is code to initialize the variable b. The first mention ("int b;") does not initialize it. The second mention ("b = Integer.parseInt(str);") only initializes it if no exception is thrown. So it's possible for b to be uninitialized when you actually try to use it.
What do you need to change? First you need to decide what's to be done if the keyboard input isn't a valid integer. Do you have a default value in mind? If so, put that where you declare the variable ("int b = 42;"). If not, just initialize the variable to zero ("int b = 0;"). -
Hi all,
I am facing the problem of cross call.
What happen is that,when someone is in a call and other people need to make a new call it dial to get voice tone, but it receive the cross talk (not the voice tone).
Someone known what could this?
The configuration is following:
voice-port 2/0
input gain 10
output attenuation 10
no vad
cptone BR
timeouts initial 4
timeouts call-disconnect 5
timeouts ringing 20
timeouts wait-release 5
timing sup-disconnect 1500
voice-port 2/1
input gain 10
output attenuation 10
no vad
cptone BR
timeouts initial 4
timeouts call-disconnect 5
timeouts ringing 20
timeouts wait-release 5
timing sup-disconnect 1500
ThanksPlease attach your entire running configurations. What version of IOS do you have? You may want to check CSCsg47594.
-
Thanks for the information provided. I followed your advice by connecting
DGND1 with a wire to USER1 and DGND2 to USER2. But I still get cross talk.
It also puzzles with a fact that when I connect a signal source (from a
functional generator) to ACH1 but in fact the signals show up on the
Biobench screen as ACH0 as defined. So my hunch is that something wrong
happens to BNC 2090 or the PCI-MIO-16XE-50 board installed in the computer.
Would it be possible for me to send in the BNC2090 for a check? If so, what
are the procedures to follow.We handle all repair requests over the phone. The procedure is as follows:
1. Go to www.ni.com/ask to create your own Service Request number (SR#). Choose the Phone NI option. Fill in the form with the appropriate information.
2. Call the support number that is given to you and enter in your SR#. You will be directed to an Applications Engineer (AE) that will assist you through the process. The AE will be able to answer any questions you may have about the repair process.
Have a great day. -
Hi,
I am trying to figure out cross-talk data for the different USRPs. I have seen some figures in this forum of ca -30 dB between Tx and Rx. Is this correct? In principle I am mostly interested in the coupling from Rx to Tx and -30 dB would be acceptable for my application, but I would like to have this confirmed.
BR,
RobertThis sounds in line with my experience. This post may help too.
I've tried things like transmitting with one USRP, and receiving on another...but it's not like you turn the Tx1/Rx1 chain 'off' if you just want to receive on the Rx2 path. So...you'll likely see the crosstalk anyway if you desire to transmit and receive on the same frequency. -
Error: f60webm(HTTP)FATAL ERROR:Not enough read buffer
I am getting an error as follows with the Forms Server.
f60webm(HTTP)FATAL ERROR:Not enough read buffer
The error occurs after a forms session is closed, meaning that I can start the server, load up the forms client in my browser, run the application and do everything normally, but when I close the application at the client end, the server dies with the above message
This particular server has been running quite happily for a couple of months using the socket method. I need to deploy this system using HTTPS and started testing the HTTP method first as I thought this would be easier. All I have changed so far is the connect method.
Any ideas on how to fix this? As soon as I get my cerificates sorted out I will be testing the HTTPS method as well, I hope this does not have the same problem, but I'm expecting that it will.
Regards
Michael AnthonI am seeing the same error that you are experiencing when I run the forms server in http or https mode. I beleieve this same problem is seen under the Solaris version of 9iAS v. 1.0.2.0.0. On Solaris this error is fixed by applying one of the latest patchsets for Dev. 6i...I can't remember which one, but I think we are up to patchset 3 or 4 on a couple of my company's production forms servers and we are running in https mode. The forms server probably will not be able to operate correctly under http or https on Linux until Oracle releases a Linux version of the Dev 6i patchsets for Linux, or if an updated version of Dev 6i is available when 9iAS v. 1.0.2.1.0 for Linux is released. I'm afraid that sockets mode is the only available option at this time for running the Dev 6i forms server on Linux.
If anyone has any information to the contrary, please let us know.
Thanks,
Mike -
Unable to open a socket to talk to CMS (FWM 01005)
Hi,
I am running the monitoring probes every 15 minutes or so and once in while, the probes return this error message:
Unable to open a socket to talk to CMS (FWM 01005) {/quote}
Can anybody tell me what this error means and what I can do to avoid it?
Or is there a place where I can find definitions of error message in BusinessObjects.
PS: BO XI 3.1 SP3 .net
Thanks,
Aude FreemanThe error message(s) is mainly seen when trying to authenticate a user during login into BusinessObjects Enterprise. The error can be seen under following different actions:
Login to InfoView or
From CCM panel, click on "Manage Servers" and try to login or
Preview a Xcelsius Dashboard based on QaaWS or Live Office connection that is set to refresh on load and try to login in the authentication box that comes up.
Looks like once in a while you have either CMS too busy to answer or some network issues. -
VISA Read function Read buffer problem in serial communication
Hi, I use VISA write and read function in serial communication app, the device continuously sends 0x00 if it is not receive a request from Labview program running on PC.
And the request sent by labview is programmable. I met a weird problem, each time the request changes, the VISA read buffer output port still shows the last request firstly, from second time, shows the right request.
It works like: Req code: ... 50, 51,51,51,50....; VISA Read buffer: ...50, 50, 51, 51, 51, 51, 50....
Please refer to the program.
Attachments:
readOne_test.vi 21 KBHow are you running this? You don't have a while loop around it. Is it part of a larger VI? Please don't tell me you are using the run continuously button.
You don't have any wait statement between you VISA Write and your bytes at port. So it is very likely the receive buffer is still empty since you didn't give your VI time to wait for the device to turn around and give a reply. If you read 0 bytes, your VISA read string will be empty. How does your decoder subVI (which you didn't include) handle an empty string? -
How do I avoid Error 85 in Scan From String scanning VISA read buffer?
I have encountered an Error 85 with my Scan From String VI. I have a timed
loop to read data from a device (flowmeter) using a serial port. This device takes
periodic measurements and sends the reading which contains a numerical value to the serial port COM1. It cannot be read continuously, and the period
between measurements may vary, so I decided a timed loop would be better than a while loop.
The VI begins with VISA Configure Serial Port and then
goes to a VISA Write which sends the message to the device to begin
taking measurements. After this, the device usually says "TAKE FLOWMETER READINGS" to the terminal, thereafter only sending numbers. Then begins my timed loop containing VISA Read. I
am taking the read buffer two places.
First, I am taking it to an Array to Spreadsheet String with the
Format String %.3f, as was in the Write to Text File example. Then I am
using Concatenate Strings with this string and also a string containing
the System Time. This string goes to Write to Text File, which I have
configured using Open/Create/Replace File outside of the loop.
Second, I am taking the read buffer to a waveform chart. I thought
it would be a good idea to use Scan From String to convert the string
into a DBL which I am then sending to the waveform
chart.
I am not sure if the initial "TAKE READINGS" message is giving me an error. I was able to get one reading saved to my text file from the device.
Also the format string for my Scan From String is %.3f
I am getting the Error 85 at the Scan From String only sometimes.
When this happens, there is no data being written to the text file. But
other times, I get data and it writes to the text file just fine (but
rounds to nearest whole number).
Any help would be greatly appreciated! This serial port device has been giving me a lot of trouble.Is this what you mean? Did I wire the shift registers correctly?
I didn't know if you meant to Concatenate before Scan From String or Concantenate before or after VISA Read?
Message Edited by YeungJohn on 11-20-2008 03:48 PM
Message Edited by YeungJohn on 11-20-2008 03:49 PM
Attachments:
SerialShiftVI.JPG 87 KB -
Weblogic 11G error = BEA-000449 Closing socket as no data read from it
In My Weblogic 11G, i am getting Warning msg in my log file saying Closing socket as no data read from it
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,089 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,088 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:21:37 AM IST> <Info> <JDBC> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <1288637497701> <BEA-001128> <Connection for pool "IB_JDBC_Data_Source" closed.>
I have follow the following step
If you want to follow this solution. Go to Admin console -> Click on Domain->Configuration->Log Filters->create new Log filter.
I added this line in expression "(MESSAGE !='Closing socket as no data read from it during the configured idle timeout of 5 secs')"
Go to your server-(for each server you have to set it individually)->Logging->Advanced->Select this log filter for Standard Out or log file.
My Filter is "(MESSAGE !=Closing socket as no data read from it ')"
this is not working in weblogic 11G, any one have the solution to stop this msg.
Edited by: Amar_Shaw on Nov 3, 2010 1:40 PMHi Amar,
I think you have given the wrong string in the filter, you are getting "*Closing socket as no data read from it on 95.66.7.15:58,089 during the configured idle timeout of 25 secs*" and you have given in the filter "*Closing socket as no data read from it during the configured idle timeout of 5 secs*".
You can change it and see if that works for you.
Also the above option is just to suppress the issue which are getting which in this case is fine as its just a warning message, however you can even try to tune few of the follwoing parameters that too would help you to remove this warning message.
1. Set the parameter -Dweblogic.client.socket.ConnectTimeout=XXX, in the start-up script of the server which you are seeing this issue under JAVA_OPTIONS
Note: Where "XXX" is the value in ms.
Example:
-Dweblogic.client.socket.ConnectTimeout=500
2. Try tuning the duration time to a higher value from the below Console path
Server -> Protocols (tab) -> HTTP (sub-tab) -> Duration
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Middleware Magic | Come, Join Us and Experience The Magic… -
Socket Channel Connection - Continuous read
Hi all,
I am new to socket programming. This is where I am stuck...I need to read from a channel 'continuously', i.e messages are continuous published and I need to keep on reading it. Below is my code for review....I am just getting the 1st line of the message. please suggest..Thanks in advance
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.util.Iterator;
import java.util.Set;
public class TestConnection {
private static Charset charset = Charset.forName("ISO-8859-1");
private static CharsetDecoder decoder = charset.newDecoder();
public static void main(String[] args) throws IOException {
SocketChannel sc = null;
String desthost = "172.19.67.33";
int port = 5002;
InetSocketAddress isa = new InetSocketAddress(InetAddress.getByName(desthost), port);
try {
sc = SocketChannel.open();
sc.connect(isa);
System.out.println(" Message--> " + readFromChannel(sc, 4096));
} catch (Exception e) {
e.printStackTrace();
} finally {
if (sc != null)
sc.close();
public static String readFromChannel(SocketChannel sChannel, final int size) throws IOException {
int numBytes = 0;
boolean hasRead = false;
ByteBuffer inBuffer = ByteBuffer.allocateDirect(size);
CharBuffer charBuffer = CharBuffer.allocate(size + 100);
StringBuffer dataRead = new StringBuffer();
Selector selector = Selector.open();
System.out.println(" Is Connected--> " + sChannel.isConnected());
System.out.println(" sChannel.isBlocking()--> " + sChannel.isBlocking());
sChannel.configureBlocking(false);
System.out.println(" sChannel.isBlocking()--> " + sChannel.isBlocking());
sChannel.register(selector, SelectionKey.OP_READ);
try {
while (selector.select(20000) > 0) {
Set readyKeys = selector.selectedKeys();
Iterator readyItor = readyKeys.iterator();
while (readyItor.hasNext()) {
SelectionKey key = (SelectionKey) readyItor.next();
readyItor.remove();
ReadableByteChannel keyChannel = (SocketChannel) key.channel();
if (key.isReadable()) {
for (int i = 0;; i++) {
int count = 0;
if ((count = keyChannel.read(inBuffer)) < 0) // EOF
keyChannel.close();
throw new IOException("Socket lost connection during read operation");
numBytes += count;
if (!inBuffer.hasRemaining()) {
hasRead = true;
System.out.println("has read");
System.out.println("SUCCESSFUL, length of data read:" + numBytes);
inBuffer.flip();
decoder.decode(inBuffer, charBuffer, false);
charBuffer.flip();
selector.close();
return dataRead.append(charBuffer).toString();
if (i >= 2) {
break;
if (false == hasRead) {
System.err.println("has _NOT_ read");
System.err.println("length of data read: " + numBytes);
System.err.println("length of data read: " + numBytes);
if (numBytes > 0) {
inBuffer.flip();
decoder.decode(inBuffer, charBuffer, false);
charBuffer.flip();
System.err.println("ERROR, data read: " + dataRead.append(charBuffer).toString());
throw new IOException("Socket read operation timed out");
} else {
throw new IOException("Invalid Read Socket state");
} finally {
selector.close();
}The output is -->
Is Connected--> true
sChannel.isBlocking()--> true
sChannel.isBlocking()--> false
has read
SUCCESSFUL, length of data read:4096
Message--> 000c100000300000007f100700302E12008071104060400 Lane Communication Is OK 004d100500300302E0100000027000000000000000000000000000010845800000000000000000000000c100000302E01007f100700303E12008071104140200 Lane Communication Is OK 004d100500300303E0402350427000000000000000000000000000119107300000008500000000000000c100000303E00007f100700304E12008070704085600 Lane Communication Is OK 004d100500300304E0201521427000000000000000000000000000081090700000003640000000000000c100000304E00007f100700305X12008071104111600 Lane Communication Is OK 004d100500300305X0801411215000000000000000000000000000048892600000000810000000001000c100000305X00007f100700306X12008071104102600 Lane Communication Is OK 004d100500300306X0800660815000000000000000000000000000046838800000000760000000000000c100000306X00007f100700307X12008063003542200 Lane Communication Is OK 004d100500300307X1000445315000000000000000000000000000125509000000017220000000127000c100000307X000104100300300307X200807111727309311015004453030200000000000000000000000000000527000001020102000000001154210344501304E2008071116072500EZPASS TAG# 022 - 04522780 STATUS = VALID TYPE = INTERIOR FPT Program Status = Success 00012550910000001723000000012820104100300300305X200807111727325610815014112010200000000000000000000000000000000010201020102000000005146360015500121E2008071117010800MANUAL CASH IN EXIT MANUAL 00004889270000000082000000000100104100300300307X200807111727353911015004453030200000000000000000000000000000072000001020102000000001154220344700103E2008071117070600EZPASS TAG# 008 - 03623801 STATUS = VALID TYPE = INTERIOR FPT Program Status = Success 00012550920000001724000000012800104100300300307X200807111727379411015004453030200000000000000000000000000000072000001020102000000001154230344900401E2008071117181300EZPASS TAG# 006 - 00468916 STATUS = VALID TYPE = INTERIOR FPT Program Status = Success 00012550930000001725000000012800104100300300306X200807111727399610815006608010200000000000000000000000000000000010201020102000000000075910013300613E2008071117032500MANUAL
The out actually gives multiple line...but what should be the approach to read line by line continuously and keep parsing them......
kind regards -
BEA-000449 Closing socket as no data read from it
This error message is filling up the server log files. It looks like some network problem. How can I find the cause ? This does not create a functional problem, but I am sure there will be a performance problem. Also, since this message is filling up the logs rapidly, I cannot see my regular application debug statements.
<Warning> <Socket> <myserver.mydomain.net> <my_managedserver_01> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1218554019557> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 30 secs>
The timeout of 30 seconds is the value set in Login Timeout in server tuning tab.
Environment:
WebLogic Portal 10.0 MP1 (The domain is a server domain, not portal domain)
Red Hat linux 4
Intel Xeon
Message was edited by:
prakashpIn My Weblogic 11G, i am getting Warning msg in my log file saying Closing socket as no data read from it
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,089 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:10:53 AM IST> <Warning> <Socket> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288636853607> <BEA-000449> <Closing socket as no data read from it on 95.66.7.15:58,088 during the configured idle timeout of 25 secs>
####<Nov 2, 2010 12:21:37 AM IST> <Info> <JDBC> <TradeServer> <TradeServer> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1288637497701> <BEA-001128> <Connection for pool "IB_JDBC_Data_Source" closed.>
I have follow the following step
If you want to follow this solution. Go to Admin console -> Click on Domain->Configuration->Log Filters->create new Log filter.
I added this line in expression "(MESSAGE !='Closing socket as no data read from it during the configured idle timeout of 5 secs')"
Go to your server-(for each server you have to set it individually)->Logging->Advanced->Select this log filter for Standard Out or log file.
this is not working in weblogic 11G, any one have the solution to stop this msg. -
Closing socket as no data read
Hi,
I am using weblogic 10.3 application server. I am frequently facing the below warning in log file
<BEA-000449> <Closing socket as no data read from it during the configured idle timeout of *0 secs*>
As a response, "Page cannot be displayed" error is seen in browser for that request. I checked the config.xml, nowhere it is configured as 0 seconds.
Please help me with your suggestions.
Regards
Purushoth
Edited by: user13299431 on Nov 29, 2010 2:01 AM[Refer to this link|http://forums.oracle.com/forums/thread.jspa?messageID=9114422]
-
What is ths maximum PDO read buffer size using the Series 2 CAN cards?
Does anyone know the maximum size for the PDO read buffer when using a Series 2 PCI NI-CAN card?
Hi
The maximum size for a single PDO does not depent on the series of your board it is depending on what else you are doing with the CANopen Library.
The board uses a specific shared memory to transfer messages between driver and hardware. The size of this memory fits nearly 350 messages.
The CANopen Config takes 100 messages for different services like NMT. That means the maximum size for a single PDO would be approx. 250 messages.
Or for 5 different PDOs 50 each. But normaly you can leave the buffer size to zero, thus the PDO Read would allways read the newest data.
This calculation is true for the board. That means you have 350 messages per board and 2 ports whould need to share the memory.
DirkW
Maybe you are looking for
-
How to print in black and white
I am new to Mac, and notice that I cannot do two things: 1. I cannot print selected text by right clicking 2. and , I cannot print anything in Black and white, even though my HP computer is set at black only on the host PC it is connected to. Even if
-
National characters in pages, accessed through Application/URl
Jambo all! I hope you can help me with this little problem: 1. I've created application and added URL item to it 2. URL is pointing to an external ASP page (I hope that fact that this is an ASP page does not influent the behavior) 3. I've published i
-
Good development tools???
I am looking for some good FREE development tools to run under Windows XP. Anyone got some suggestions??? Right now I am using Gvim, Sun JDK, JSwat. I would like a better Visual Debugger. I would really like to use an IDE that would allow me to launc
-
Creating multi-colored brushes in PSE 8
OK, I am having a really hard time finding information on this...maybe because it can't be done, who knows. Maybe you all do, I hope! I am very interested in using Photoshop brushes. I have PSE 8 and I have a general understanding of brushes...I k
-
Is there an audio interface for Imac with Leopard???
Hi Guys, Im new here. Just got my IMac 24" 2.8ghz 10.5.1 Leopard last week. I love everything about it but Im having a real hard time finding an audio interface to use with Garageband. I tried the M-Audio Firewire Solo...found out quick it is not com