Access Keys:
Skip to content (Access Key - 0)
 

Difficulty with first install

Jon Sutton

On Feb 06, 2010 17:34

Hi,

I now have my server set up and running, my com port configured (I think) and a new Iphone...

I'm getting error messages when I try to send x10 button commands:

'Error in controller - invalid controller.xml Please check controller log for errors'

the log reveals:

<paste>

2010-02-06 16:48:15,453 ERROR [HTTP-Thread-3] org.openremote.controller.rest.ButtonCommandRESTServlet.doPost(92) | ButtonCommandException occurs
org.openremote.controller.exception.InvalidControllerXMLException: check the version of schema or structure of controller.xml with /controller-1.0.xsd
</paste>

I've looked at the xsd file, but I don't know what I'm looking for <

Has the format been changed since I downloaded my installation?

How do I update the xsd?

Regards,

  Jon

 
Labels:
Participants: Jon Sutton , Juha Lindfors
  1. Feb 06, 2010

    Juha Lindfors says:

    Can you please do a copy & paste of your controller.xml file here and will t...

    Can you please do a copy & paste of your controller.xml file here and will take a look at it.

    Thanks.

    1. Feb 09, 2010

      Jon Sutton says:

      Hi Juha, Controller.xml: <?xml version="1.0" encoding="UTF-8" ?> &l...

      Hi Juha,

      Controller.xml:

      <?xml version="1.0" encoding="UTF-8" ?> 
      <openremote xmlns="http://www.openremote.org" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openremote.org  
      http://www.openremote.org/schemas/controller-1.0-M3.xsd">
      <buttons>
      <button id="6">
      <event>4</event>
      </button>
       <button id="7">
      <event>5</event>
      </button>
       <button id="8">
      <event>2</event>
      </button>
      <button id="9">
      <event>3</event>
      </button>
      </buttons>
       <events>
      <irEvents />
      <knxEvents /> 
      <x10Events>
      <x10Event id="5" label="Lamp Off" address="A2" command="off" />
      <x10Event id="4" label="Lamp On" address="A2" command="on" />
      <x10Event id="3" label="Light Off" address="A1" command="off" />
      <x10Event id="2" label="Light On" address="A1" command="on" />
      </x10Events>
      <httpEvents />
      <socketEvents />
      <telnetEvents />
      </events>
      </openremote
      

      Cheers,

      JS

      1. Feb 09, 2010

        Juha Lindfors says:

        Sorry for the delay in responding. The XML looks fine. I was able to reproduce ...

        Sorry for the delay in responding.

        The XML looks fine. I was able to reproduce the same error message on WinXP when the controller is installed to a path with spaces in the name (such as 'Documents and Settings' directory leading to your desktop).

        Any chance this is the case for you as well?

        The root cause is the XML schema path is not being decoded correctly.

        1. Mar 01, 2010

          Jon Sutton says:

          Thanks Juha, And sorry for the delay from me too - I Have been away from the PC...

          Thanks Juha,

          And sorry for the delay from me too - I Have been away from the PC for a while...

          Yes, I had installed it into 'c:\program files\'

          I've now moved it and that error has gone away.

          I now seem to be getting com port in use errors. I'll look into that one.

          Thanks,

             Jon

Adaptavist Theme Builder Powered by Atlassian Confluence
Free theme builder license