This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern for current CERN information.
Issues
Move Sergio's server to a operational machine and provide space and directory structure
Generation of PM ID
Assignment of equipment name and/or address
Conversion/Configuration using XML and/or database
Browser
Analysis - configuration information required here as well
Sergi has started the PMServer on lsasrv1.
The source of the PMServer are in the directory:
Linux: /user/pasinell/eclipse/workspace/PMServer
Window \\pslxgwpc\homes\eclipse\workspace\PMServer
CMW transfer working from Power Converter Gateways
Greg 2/5/05 I placed very first version of the PM browser under the following address: http://test-netbeans.webtest.cern.ch/test%2Dnetbeans/postmortem/ Note that the property values are random thus plots are not very interesting. It is just to give you an idea of how could it look like.
Sergio 1/5/05
In reference to the problems which Steve encountered with Middleware , I currently try the "plan B" i.e. to propose a solution based on a "modified" TCP/IP transfer to the PM server.
Steve 25/4/05 As the integration isn't going quite as smoothly as we expected it might be worth someone (writing a simple test program that includes a CMW device server thread and a post-mortem thread. [Kris to do this] My gateway is fine as a real test of a proposed implementation, but it is not ideal for debugging issues like this and performing development.
Subject: PM & CMW
Hi Kris,
I have tried your suggestion of calling JTCInitialize() from my main thread
before creating the post-mortem thread. Following this change, the post-mortem
thread works fine as a JTC thread if I create it on its own.
However, the situation when I try to run both a CMW device server and the
post-mortem code (a CMW client) is now the same as it was with pthreads, ie:
- If I start the device server first, it starts okay. Then the post-mortem
thread stops the gateway with a 'break' when running rda->getDeviceHandle().
- If I start the post-mortem thread first, it starts okay. Then the CMW device
server thread receives a JTCUnknownThreadException when attempting to start a
thread to handle the IO.
Cheers,
Stephen