Hi:
The webopi.war is basically a complete copy of CSS BOY that runs inside tomcat.
It's somewhat convenient to set up because it uses the same *.opi files as the CSS desktop version.
But it's also terribly inefficient:
Every web client starts a copy of CSS inside tomcat.
Instead of drawing on the local screen, each drawing operation is turned into text, polled by the web client, and then interpreted by Javascript in the web client.
Development of this approach has halted.
A better way forward is a separate, web-specific implementation like WebEPICS presented at the last two EPICS meetings, which also reads *.opi files but handles them in a more efficient way.
Anyway, to setup the webopi, you don't need CSS at all.
What you do need is:
* Tomcat
* webopi.war
Copy the webopi.war into the tomcat webapps folder.
In tomcat/conf/catalina.properties, add a line
org.csstudio.rap.preference=/path/to/your/css_rap.ini
When you then start tomcat, you should find that it unpacks the webapps/webopi.war into a webapps/webopi directory.
When you then point a web browser to http://that_host:8080/webopi, you should see the display defined in org.csstudio.opibuilderstartup_opi.
If you get the "No connection to host.." error message that you emailed, you didn't start tomcat, or you started it on a port other than 8080, or you have a firewall blocking access to it.
-Kay
From: [email protected] <[email protected]> on behalf of Vishnu Patel <[email protected]>
Sent: Wednesday, December 06, 2017 7:02 AM
To: techtalk
Subject: CSS WebOPI
Dear All,
I would like to configure WebOPI for my CSS applicaiton.
I am not using EPICS, just using CSS on windows 7 computer.
Create new css_rap.ini file at C:Usersuser3eclipsecs-studioconfigurationcss_rap.ini
#EPICS configuration
#org.csstudio.platform.libs.epicsauto_addr_list=false
#org.csstudio.platform.libs.epicsuse_pure_java=true
#org.csstudio.platform.libs.epicsaddr_list=127.0.0.1 10.10.24.52
#org.csstudio.platform.libs.epicsmax_array_bytes=160000
#WebOPI configuration
org.csstudio.opibuilderopi_repository=C:Program/ FilesApache/ Software/ FoundationTomcat/ 8/.5webappsopi
org.csstudio.opibuilderstartup_opi=EPICSPV.opi
#org.csstudio.opibuildermobile_startup_opi=mobile.opi
org.csstudio.opibuildercolor_file=color.def
org.csstudio.opibuilderfont_file=font.def
org.csstudio.opibuildertop_opis=EPICSPV.opi
org.csstudio.opibuilderopi_gui_refresh_cycle=200
org.csstudio.opibuildermacros="N","North"|"W","West"|"user","admin"
set tomcat catalina as below.
org.csstudio.rap.preference=C:Usersuser3eclipsecs-studioconfigurationcss_rap.ini
I download webopi3.3.war and put at webapps. restart tomcat.
In my cs-studio plugins directory plugins listed as below,
i am not sure is there any special package required for webopi.
opibuilder.rcp is there but not sure is there any rap related package required.
While trying to open in browser getting response below
Can any one guide me how to configure and use webOPI?
May be i configured wrongly or missing some package installation.
Thank you
Vishnu
- References:
- CSS WebOPI Vishnu Patel
- Navigate by Date:
- Prev:
Re: How to configure and build ca2aa for converting files from Channel Archiver to Archiver Appliance Shen, Guobao
- Next:
Recommendations for EPICS Based Data Acquisition System Matt Rippa
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
CSS WebOPI Vishnu Patel
- Next:
Announcing nf_conntrack_epics Michael Ritzert
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|