Hi,
this is (rather was) due to a marshalling bug in IAS, that caused this problem
with Collections..........there is a patch available on the Inprise newsgroup
since some time now that fixes this problem..........many users have tested this
patch and it seems to work............

regards,
farhat


Christian Schwoebel wrote:

> Hey there,
>
> I used the Inprise App Server to implement a Web Application
> with JSP, EJB and an Oracle DB.
> I use a stateless Session Bean as a fascade for data. The return
> value is a (pass by value) collection of data objects (no entity beans).
> There's one method that returns about 250 Objects (tiny ones, shouldn't be
> a big deal). The first time I request that method isn't a problem, works
> fine ...
> but the next time I always receive the following exception:
>
> org.omg.CORBA.MARSHAL: Error in invocation of readObject for class
> java.util.ArrayList on instance of
>  java.util.ArrayList[Reason:java.lang.OutOfMemoryError]  minor code: 0
> completed: No
>         at
> com.inprise.vbroker.rmi.CORBA.Java2FieldAccess.doReadObject(Java2FieldAccess
> .java:145)
>         at
> com.inprise.vbroker.rmi.CORBA.FieldReader.callReadObject(FieldReader.java:26
> 9)
>         at
> com.inprise.vbroker.rmi.CORBA.ValueHandlerImpl.readThisValue(ValueHandlerImp
> l.java, Compiled Code)
>         at
> com.inprise.vbroker.rmi.CORBA.ValueHandlerImpl.readValue(ValueHandlerImpl.ja
> va, Compiled Code)
>         at
> com.inprise.vbroker.orb.CDRInputStream.readJavaValueType(CDRInputStream.java
> , Compiled Code)
>         at
> com.inprise.vbroker.orb.CDRInputStream.doReadValue(CDRInputStream.java,
> Compiled Code)
>         at
> com.inprise.vbroker.orb.CDRInputStream.read_value(CDRInputStream.java:3398)
>         ....
>
> Looks like there's a need to free some ressources, anyone's got an idea how
> to do that or how to solve
> that problem ???
> The machine the system is running on works with 384 MB of memory, I already
> tried to set the initial memory
> for the app server to 128M and the max to 300M, but it didn't get better.
>
> Any ideas welcome ...
> cheerio
> Chris
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to