Sonia,
Be more specific about the exception you are receiving. Take the time to run the
server so that an exception trace is generated. Post that trace with your
message.
jim
>From IAS release notes:
"Troubleshooting the standalone EJB Container
Typically when errors occur there is an exception trace on the EJB Container
that gives some information about what happened. Sometimes the Client may be the
only one reporting an exception. In either case to get more information it is
useful to turn on the following flags while starting the EJB Container:
prompt> vbj -DEJBDebug -Dvbroker.orb.warn=2com.inprise.ejb.Container
ejbcontainer <ejb-jar> [options]"
----- Original Message -----
From: "Sonia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 10:55 AM
Subject: Can a bean Managed return a Vector?
> Hello:
>
> Although everything seem going well when in a bean managed BMP with an
> attribute vector, when I try to return that vector I got an Exception, isn't
> it possible?
>
> that's the code:
>
> public Vector getExperiencias(){
> for (int j=0; j<expe.size();j++){
> Experiencia exp1=(Experiencia)expe.elementAt(j);
> System.out.println((exp1.id_categoria).toString()+","+
> exp1.tiempo+","+exp1.nombreCategoria);
> }
> return expe;
> }
> In the server I can see the attributes of the objects Experiencia that
> belongs to the vector expe (the attribute of the bean) but I got an
> java.rmi.RemoteException
> Does anybody know why?
> Thanks in advance
>
> Sonia
>
> ===========================================================================
> 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".