Re: sfManagementConsole & SFScriptExecutionImplnot being Serializable
"Guijarro, Julio" <[email protected]> Fri, 30 Jun 2006 12:42:17 +0100
| Newsgroups | gmane.comp.java.smartfrog.devel |
|---|---|
| Message-ID | <[email protected]> |
When you do that the console runs in a separate JVM and therefore uses
RMI to communicate with the component.
You need to deploy the console as a component. If you have access to the
daemon console in that machine then you can use the menu to start the
management console.
Other way is to deploy the following description in the remote node:
#include "org/smartfrog/components.sf"
//DeployManagemen
#include "/org/smartfrog/services/management/components.sf"
sfConfig extends DeployManagement {
}
Another alternative is to go to your console, right click in the
component that you are interested in and get the Diagnostics report.
This will print all the attributes in that component, plus many other
things :-).
As Patrick suggested, we will remove the sfExport attribute in that
component. It can be useful to read management information.
Julio
-----Original Message-----
From: Olivier Pernet [mailto:[email protected]]
Sent: 30 June 2006 11:30
To: Guijarro, Julio
Subject: Re: RE: [Smartfrog-developer] sfManagementConsole &
SFScriptExecutionImplnot being Serializable
On 6/30/06, Guijarro, Julio <[email protected]> wrote:
> Use a console deployed directly in the host where SFScriptExecution is
> deployed and it will talk to it directly.
I tried that : I did
# export DISPLAY=mymachine:0
# sfManagementConsole -h localhost
and I still get the same error.
> 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.
Ok, that's what I thought too.
> BTW, does the console crash or throws and exception?
The console throws an exception, and displays nothing in the frame
where you normally have a JTable with the attributes of the component.
But there's no graphical error message, only a stack trace on stderr.
Maybe this could be made more user-friedly.
--
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