ICALEPCS 2003 Session on Middleware

ICALEPCS 2003 Session on Middleware

JoiMint-eLog Matthias Clausen EPICS03 @ Abingdon eLog and applications Integration of eLog into applications (JoiMint) Integration of JoiMint-MIME type and JoiMint config files into eLog Requirements for our eLog approach I Extended Functionality Start from the existing eLog at DESY (TTF-Version) Keeping the following ideas: Write messages, screen dumps and files through central print queues (survive database downtimes) Use Web interface to add and to edit entries Use Servlets to retrieve data from the eLog and to prepare Web displays. Keep the XSLT style sheet to generate the Web edit page Requirements for our eLog approach II New Functionality

Access and display of multiple eLog sources. Storing messages, screen dumps (JPG) and any kind of files into an Oracle database. (Rather than XML files) Support links between messages Support for entries and screen dumps on Unix and Windows (Windows: bypassing default PostScript printer driver) Support command line entries. Write from applications eLogbook: Mutiple Sources Tomcat Web Client eLogbooks Servlet: ListEntry Sorted Vector

prepare html Classes extending LogBook Text + Images Read/ Write Prepare request and insert entry in vector Text Oracle MKK Text Oracle IT-News Read

Read TINE Events Read Applet set: -eLogbook(s) -From time -To time -Shift Oracle eLog Read Text XML eLogs MKS-1 MKS-2 MKS-3 MKS-4 KRYO . . Example The Applet

Select shift of from day Select one or more logbooks Type in from and to time Entrer search string for: Author or subject or text. Select defined time span Example Statistical Information: (MySql local on Tomcat Server) The Web Page The selected log books Add new entry to your logbook

Add new entry to your log book with reference to this entry. Edit this entry (if allowed) Goto the linked entry Online help Select your default logbook for entries Ascending / decending The selected from/ to time Automatically entered text file Entry with screen dump Help eLogbook Edit Display (read) Web Client XSL Stylesheet

Tomcat eLogbooks Servlet: ModifyEntry Classes extending LogBook Read/ Write XML Translator Prepare request and Insert Single Entry entry in vector Text Oracle MKK

Text Oracle IT-News Read TINE Events Read Read Html-Link: Activate Servlet With entry ID Oracle eLog Read single prepare XML Text + Images Text

XML eLogs Edit Button depending on write access to source MKS-1 MKS-2 MKS-3 MKS-4 KRYO . . Read and Write from/to eLogbook Printer Spooler print2oracle Cenrtal Oracle Server Print to queue: oraclelog Windows Capone

Central Tomcat Unix Remote ServletServletServlet Servlet epicsmenu (Tcl/tk) Web Client Unix also allows to print to oraclelog through the Command line interface (lpr Poraclelog MKS-2:030612-12:00:00.txt) Integrating eLog <-> JoiMint Create entries in JoiMint and save them into the eLog (Oracle) Save JoiMint config files and/or config+data files into eLog

Create html links with the MIME type and start JoiMint from eLog entries Post Mortem Query Result The selected log book is: EVENT http links with event information JoiMint config file: (dynamically created by servlet) From http-link to JoiMint Display Link: http://krykpcn.desy.de:8080/examples/servlet/eLogbook.GetJoiEvent? EVENT_N=1055491723& ARCHIVE_S=KRYKSRV&

DEVICE_S=SenderstrHENL& ID=EVENT:030613-10:08:43.joi

eLogbook Display JoiMint Event Displays Web Client Tomcat JoiMint eLogbooks Servlet: Step I ListEntry Classes extending LogBook TINE Data Start MIME Application Create html + Link JoiMint file With JOI MIME type Step II Send html Image (Joi-File)

With MIME Header Html-Link: Including: Archive-Server DeviceServer Event-Number Read Link Information Read Servlet: GetJoiEvent Prepare Joi-File With Archive-Server DeviceServer Event-Number TINE Events Experience

Tomcat is just stable (no crashes ever) Oracle performance extremely good Oracle server in computing center Performance @ DESY: ~ 50 images @ 100k ... Which implies 51 interactions with Oracle server ... in 2 sec 100 messages (text) from 5 log books (5 interactions) ... in 1-2 sec (limits: 50 images / 100 messages configured in config class) Plans - I: Add alarms:

Use existing alh-> Oracle functionality and write alarms directly into Oracle Query alarms in eLog Create http links for: JoiMint -> archive data JoiMint -> alarm settings ... Plans - II: Add support for cmlog (as source) Line oriented view ( like JLAB eLog) Configure eLogs in (XML) config file Add eLog-sources by Java plugins

Recently Viewed Presentations

  • Aging of the Nervous System: Functional Changes P.S.

    Aging of the Nervous System: Functional Changes P.S.

    Amnesic Syndrome: short-term memory losses without delirium or dementia. TABLE 8-6 Mechanisms of Effects of . Increased Education on Successful Aging. Adequate income. Better access to medical care. Better access to recreational activity. Good nutrition.
  • Lessons Learned  Schedule Development using Primavera P6 Hannah

    Lessons Learned Schedule Development using Primavera P6 Hannah

    Work Breakdown Structure (WBS) - Project specific. Organizational breakdown of the project (Phase, Area, Location, etc. and/or Cost Breakdown) Used for Earned Value. Hannah: "The basic or foundational 'project' structure within P6 is the Work Breakdown Structure.
  • Ten Steps to Improving College Reading Skills

    Ten Steps to Improving College Reading Skills

    A Fourth Type of Context Clue: General Sense of the Sentence Sometimes you need to look carefully at the entire sentence in which an unfamiliar word appears. There may be clues within the sentence that help you figure out the...
  • The Lung: An Environmentally Embattled Organ

    The Lung: An Environmentally Embattled Organ

    The Lung: An Environmentally Embattled Organ ... airway closure Progressive reduction in blood oxygenation and in PO2 exchanges between blood and alveolar air Loss of elastic recoil (i.e. springing back of elastic fibers after stretching) Increased rigidity of internal lung...
  • The Physics of Hadrons Published collaborations in 2010/2011

    The Physics of Hadrons Published collaborations in 2010/2011

    QED is the archetypal gauge field theory. Perturbatively simple. but nonperturbatively undefined. Chracteristic feature: Light-by-light scattering; i.e., photon-photon interaction - leading-order contribution takes. place at order .
  • ΘΕΣΜΙΚΕΣ ΚΑΙ ΝΟΜΟΘΕΤΙΚΕΣ ΕΞΕΛΙΞΕΙΣ ΣΤΗΝ ΚΑΤΑΠΟΛΕΜΗΣΗ ΤΗΣ ...

    ΘΕΣΜΙΚΕΣ ΚΑΙ ΝΟΜΟΘΕΤΙΚΕΣ ΕΞΕΛΙΞΕΙΣ ΣΤΗΝ ΚΑΤΑΠΟΛΕΜΗΣΗ ΤΗΣ ...

    Ελέγχθηκε από τη DG Regio στις 22-26/10/2018 και αναμένεται η κοινοποίηση του σχετικού πορίσματος.
  • Metropolis - EthFans

    Metropolis - EthFans

    Metropolis. 1. First, the ongoing progress. Client improvements. EVM:40% improved in recent patch. More efficient state reading (EXTCODESIZE, BALANCE, etc): in progress. Fast syncing improvements. Whisper and Swarm. Whisper v5 released. Whisper being used in Status.
  • INTERACTIVE NOTEBOOKS In the Science Classroom

    INTERACTIVE NOTEBOOKS In the Science Classroom

    What would you like to test? What was the main idea? What are the important details to remember? How does this relate to your life? What don't you understand? Getting started - Step 1: My Name My Grade On the...