[prev in list] [next in list] [prev in thread] [next in thread]
List: openorb-users
Subject: AW: [openorb-users] OutOfMemoryError in OpenORB and the request never returns
From: "Sven-Eric Dietrich" <S.Dietrich () insiders ! de>
Date: 2003-06-23 9:56:17
[Download RAW message or body]
Hi Scott,
Sorry I can't send a stack trace, because there is no stack trace. The
last console output is
java.lang.OutOfMemoryError, but no stack trace.
The exception is occuring outside my source code but inside the orb
code, because the first call in my
CORBA method is a System.out.println("enter method"). But this output is
never reached.
I looked in the OpenORB code to find the problem. Is it possible that
the channels between
the client and the server are not correctly closed or paused if the
OutOfMemoryError occured?
Must the SocketQueue catch the OutOfMemoryError in the receive(timeout)
method and closes the server
channel or pauses the client channel with a NO_MEMORY exception?
Sven.
-----Ursprüngliche Nachricht-----
Von: openorb-users-admin@lists.sourceforge.net
[mailto:openorb-users-admin@lists.sourceforge.net] Im Auftrag von J.
Scott Evans
Gesendet: Mittwoch, 18. Juni 2003 17:35
An: openorb-users@lists.sourceforge.net
Betreff: Re: [openorb-users] OutOfMemoryError in OpenORB and the request
never returns
Hi Sven,
Please send a stack trace and sample code where the exception is
occurring.
Scott
At 02:59 PM 6/18/03 +0200, you wrote:
Hello,
I use the OpenORB 1.3.1, JDK 1.4.1 under Windows 2000.
I have the follow problem.
I start an OpenORB, register some instances as POAs at the ORB.
If I send a request to the ORB and the OpenORB runs in an
OutOfMemoryError then the request never
returns. I get a console output "java.lang.OutOfMemoryError" and nothing
else.
My client wait and wait and wait.
Is this the right behavior or a bug?
I expected that the client gets an org.omg.CORBA.NO_MEMORY exception and
not that the ORB never returns
a response. If an exception is thrown the client can react to this
exception.
If this behavior is a bug, exists a solution?
Thanks for help,
Sven.
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>Hi
Scott,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=921244108-23062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>Sorry
I can't send a stack trace, because there is no stack trace. The last console
output is </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=921244108-23062003>java.lang.OutOfMemoryError, but no stack
trace.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>The
exception is occuring outside my source code but inside the orb code, because
the first call in my </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>CORBA
method is a System.out.println("enter method"). </SPAN></FONT><FONT face=Arial
color=#0000ff size=2><SPAN class=921244108-23062003>But this output is never
reached.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=921244108-23062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>I
looked in the OpenORB code to find the problem. Is it possible that the channels
between</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>the
client and the server are not correctly closed or paused if the OutOfMemoryError
occured?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=921244108-23062003>Must
the SocketQueue catch the OutOfMemoryError in the receive(timeout) method and
closes the server</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=921244108-23062003>channel or pauses the client channel with a NO_MEMORY
exception?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=921244108-23062003></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=921244108-23062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=921244108-23062003>Sven.</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
openorb-users-admin@lists.sourceforge.net
[mailto:openorb-users-admin@lists.sourceforge.net] <B>Im Auftrag von </B>J.
Scott Evans<BR><B>Gesendet:</B> Mittwoch, 18. Juni 2003 17:35<BR><B>An:</B>
openorb-users@lists.sourceforge.net<BR><B>Betreff:</B> Re: [openorb-users]
OutOfMemoryError in OpenORB and the request never
returns<BR><BR></FONT></DIV><BR>Hi Sven,<BR><BR>Please send a stack trace and
sample code where the exception is occurring.<BR><BR>Scott<BR><BR><BR>At 02:59
PM 6/18/03 +0200, you wrote:<BR>
<BLOCKQUOTE class=cite cite type="cite"><FONT face=arial
size=2>Hello,</FONT><BR> <BR><FONT face=arial size=2>I use the OpenORB
1.3.1, JDK 1.4.1 under Windows 2000.</FONT><BR><FONT face=arial size=2>I
have the follow problem. </FONT><BR><FONT face=arial size=2>I start an
OpenORB, register some instances as POAs at the ORB.</FONT><BR><FONT
face=arial size=2>If I send a request to the ORB and the OpenORB runs in an
OutOfMemoryError then the request never</FONT><BR><FONT face=arial
size=2>returns. I get a console output "java.lang.OutOfMemoryError" and
nothing else.</FONT><BR><FONT face=arial size=2>My client wait and wait and
wait.</FONT><BR> <BR><FONT face=arial size=2>Is this the right behavior
or a bug? </FONT><BR> <BR><FONT face=arial size=2>I expected that the
client gets an org.omg.CORBA.NO_MEMORY exception and not that the ORB never
returns</FONT><BR><FONT face=arial size=2>a response. If an exception is
thrown the client can react to this exception.</FONT><BR> <BR><FONT
face=arial size=2>If this behavior is a bug, exists a
solution?</FONT><BR> <BR><FONT face=arial size=2>Thanks for
help,</FONT><BR><FONT face=arial
size=2>Sven.</FONT><BR> </BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
openorb-users mailing list
openorb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openorb-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic