Then try it this way:
1. rm -rf caveData
2. Start CAVE without starting AlertViz first. You will get a 3 entry
dialog. Don't do anything yet.
3. Now start AlertViz and enter the localization information and press OK
4. Once AlertViz is running, enter the same information into the CAVE
dialog but use "tcp://127.0.0.1:61998" for the last field. Press 'Validate'
and if nothing red, 'OK.'
--
Erik
From: Neil Smith [mailto:neils@xxxxxxxx]
Sent: Wednesday, June 18, 2014 11:46 AM
To: Magnuson.Erik
Cc: Michael James; awips2-users@xxxxxxxxxxxxxxxx
Subject: Re: [awips2-users] alertvis config?
After changing 'localhost' to '127.0.0.1' and starting alertviz.sh again, get
the same alertviz error "Error setting up notification server" and content of
this localization.prefs reverts to 'localhost'.
On Jun 18, 2014, at 10:38 AM, Magnuson.Erik
<Magnuson.Erik@xxxxxxxxx<mailto:Magnuson.Erik@xxxxxxxxx>> wrote:
The file you want is:
"caveData/.metadata/.plugins/org.eclipse.core.runtime/.settings/localization.prefs"
It will contain something like this:
alertServer=tcp\://localhost\:61998
eclipse.preferences.version=1
httpServerAddress=http\://dx3\:9581/services
siteName=OAX
--
Erik Magnuson, ENSCO Inc.
From:
awips2-users-bounces@xxxxxxxxxxxxxxxx<mailto:awips2-users-bounces@xxxxxxxxxxxxxxxx>
[mailto:awips2-users-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Neil Smith
Sent: Wednesday, June 18, 2014 11:35 AM
To: Michael James
Cc: awips2-users@xxxxxxxxxxxxxxxx<mailto:awips2-users@xxxxxxxxxxxxxxxx>
Subject: Re: [awips2-users] alertvis config?
Thanks Michael.
Curious that deleting ~/caveData content does not induce settings GUI. But
[awips@awips2 ~]$ cd caveData/
[awips@awips2 caveData]$ grep -R localhost *
configuration/base/com.raytheon.uf.viz.core/config.xml:<jmsServerAddress>tcp://localhost:61616</jmsServerAddress><tcp://localhost:61616%3c/jmsServerAddress%3e>
configuration/base/com.raytheon.uf.viz.core/config.xml:<httpServerAddress>http://localhost:9581/services</httpServerAddress><http://localhost:9581/services%3c/httpServerAddress%3e>
logs/consoleLogs/awips2/alertviz_20140618_101133_console.log:ERROR 2014-06-18
10:11:35,634 [main] BrokerService: Failed to resolve localhost
I changed localhost to 127.0.0.1 in the above config.xml but that character
string is replaced with localhost in that file the next time I manually start
alertviz vi alertviz.sh
The alertviz_20140618_102710_admin.log shows after alertviz.sh startup:
ERROR 2014-06-18 10:27:13,170 [main] : GDN_ADMIN: GDN_ADMIN - AlertVizJob:
exception when starting the local alert server or message consumer.
AlertVizJob: exception when starting the local alert server or message
consumer.com.raytheon.uf.viz.alertviz.AlertvizException: Error setting up
notification server
at
com.raytheon.uf.viz.alertviz.AlertvizJob.startLocalAlertServer(AlertvizJob.java:188)
at
com.raytheon.uf.viz.alertviz.AlertvizJob.<init>(AlertvizJob.java:147)
at
com.raytheon.uf.viz.product.alertviz.AlertVizApplication.startComponent(AlertVizApplication.java:124)
at
com.raytheon.uf.viz.application.VizApplication.start(VizApplication.java:81)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
Caused by: java.net.UnknownHostException: awips2: awips2
at java.net.InetAddress.getLocalHost(InetAddress.java:1374)
at
org.apache.activemq.transport.tcp.TcpTransportServer.resolveHostName(TcpTransportServer.java:336)
at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:142)
at
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:60)
at
org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:131)
at
org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:1782)
at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:210)
at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:200)
at
com.raytheon.uf.viz.alertviz.AlertvizJob.startLocalAlertServer(AlertvizJob.java:184)
... 15 more
Any suggestions?
On Jun 17, 2014, at 9:53 PM, Michael James
<mjames@xxxxxxxx<mailto:mjames@xxxxxxxx>> wrote:
or you go into ~/caveData and grep for the previous hostname and make the edit
there... but you'll have to restart alertviz anyway, so better to remove
~/caveData enter it at the prompt in order to confirm connection to remote
services. you'll notice there is no right-click menu item to close alertviz,
you'll have to go with pkill or kill from the command line (for now).
On Tue, Jun 17, 2014 at 8:49 PM, Michael James
<mjames@xxxxxxxx<mailto:mjames@xxxxxxxx>> wrote:
if you have CAVE open it's in CAVE > Preferences > Localization.
if not, you have to rm -rf ~/caveData and start /awips2/alertviz/alertviz.sh &
again
On Tue, Jun 17, 2014 at 5:40 PM, Neil Smith
<neils@xxxxxxxx<mailto:neils@xxxxxxxx>> wrote:
I'd like to re-configure alertvis, specifically the default Alert Server.
Where is that saved?
-Neil
_______________________________________________
awips2-users mailing list
awips2-users@xxxxxxxxxxxxxxxx<mailto:awips2-users@xxxxxxxxxxxxxxxx>
For list information, to unsubscribe, or change your membership options,
visit:http://www.unidata.ucar.edu/mailing_lists/
________________________________
The information contained in this email message is intended only for the use of
the individual(s) to whom it is addressed and may contain information that is
privileged and sensitive. If you are not the intended recipient, or otherwise
have received this communication in error, please notify the sender immediately
by email at the above referenced address and note that any further
dissemination, distribution or copying of this communication is strictly
prohibited.
The U.S. Export Control Laws regulate the export and re-export of technology
originating in the United States. This includes the electronic transmission of
information and software to foreign countries and to certain foreign nationals.
Recipient agrees to abide by these laws and their regulations -- including the
U.S. Department of Commerce Export Administration Regulations and the U.S.
Department of State International Traffic in Arms Regulations -- and not to
transfer, by electronic transmission or otherwise, any content derived from
this email to either a foreign national or a foreign destination in violation
of such laws.