Re: sfManagementConsole & SFScriptExecutionImplnot being Serializable

"Guijarro, Julio" <[email protected]> Fri, 30 Jun 2006 11:10:44 +0100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
Use a console deployed directly in the host where SFScriptExecution is
deployed and it will talk to it directly.

You will find that any component that contains Streams cannot be
serialized.

SFScriptExecution uses java exec() that cannot be serialized and that is
why you get that message.

BTW, does the console crash or throws and exception?

Julio

-----Original Message-----
From: smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Olivier Pernet
Sent: 30 June 2006 10:49
To: Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Smartfrog-developer] sfManagementConsole &
SFScriptExecutionImplnot being Serializable

Hello,

We're having some trouble here with the sfManagementConsole : an
attribute of one of our components is
  shell LAZY ATTRIB myShell;
where myShell is an instance of SFScriptExecutionImpl.
So, when the management console tries to display our component, it
crashes with an RMi exception, as SFScriptExecutionImpl is not
Serializable.

What could we do as a workaround ? Plus, I thought that all Prims were
supposed to be Serializable ?

Thanks for your help,
-- 
Olivier Pernet
Summer Student - CERN Openlab

We are the knights who say
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc

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
_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer

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