Re: [awips2-users] alertvis config?

  • To: Michael James <mjames@xxxxxxxx>
  • Subject: Re: [awips2-users] alertvis config?
  • From: Neil Smith <neils@xxxxxxxx>
  • Date: Wed, 18 Jun 2014 10:34:33 -0500
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>
configuration/base/com.raytheon.uf.viz.core/config.xml:<httpServerAddress>http://localhost:9581/services</httpServerAddress>
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> 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> 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> 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
> For list information, to unsubscribe, or change your membership options, 
> visit: http://www.unidata.ucar.edu/mailing_lists/
> 
> 
> 

  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the awips2-users archives: