Hi all,
I have this situation:

client application -> JBOSS (SessionBean) -> DAO class -> PostgresqlDB

After a client's call, JBOSS selects data from DB, creates 200 hundred
Transfer Objects, sends these objects back to the client.

It usually works but I've got sometimes this exception (client side):


  | java.rmi.ServerError: Error occurred in server thread; nested exception is:
  | java.lang.OutOfMemoryError
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:289)
  | at sun.rmi.transport.Transport$1.run(Transport.java:148)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
  | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:534)
  | at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
  | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
  | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
  | at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
  | at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
  | at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
  | at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
  | at $Proxy3.pregetLista(Unknown Source)
  | at client.util.MalfDelegate.pregetLista(MalfDelegate.java:134)
  | at client.gui.StampaThread.run(StampaThread.java:375)
  | Caused by: java.lang.OutOfMemoryError
  | 

Server side, in server.log file, I don't find any ERROR (the only bad thing is 
that JBoss slows down).

I don't undertsand if this is:

1) a "client problem" (for example due to the large amount of data it receives 
from server: 200 hundred TO are equals to 50/60 Mbyte)

2) a "server problem" (have I to change Xms and Xmx values when I start JBoss ?)

3) a "network problem"

Any help is very appreciated.
Many thanks

Moreno



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939511#3939511

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939511


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to