This page last changed on Jan 04, 2014 by andersdanmark.

Hi!

So I have tried improve the xbmc integration.

What I have done (sofar) is that I have added a Wizard for an XBMC device that creates the appropriate commands. Im not sure but I might endup adding a dedicated xbmc protocol but thats a later problem.

I have set up my own local sql, beehive and designer.

Who do I have to contact for SVN access? So I can upload my changes to the server.

I have two problems. In my local designer i cant save once i add a panel. Devices and commands work fine but once I add a panel I get an error when trying to save? Any clues here? I must say that im no java expert and this tomcat setup was a lot of trial and error to get this far. Can I post any log/configuration files for someone to help me?

The other problem I have with my local designer is that I cant export the configuration to a zip file, this makes it hard for me to test weather im doing stuff right or not =)

Regards
Anders

Problem 1: what is the error, can you post it here?

Depending how you've configured things, do you get a designer.log file under your Tomcat's log directory (e.g. logs/composer.openremote.org/VERSION/designer.log ?

Also, do you have /logs/beehive.openremote.org/VERSION/errors.log ? Anything there?

Problem 2: Probably related, there's likely something going wrong with your configuration files.

For designer, the configuration is in Tomcat's webapps/designer/WEB-INF/classes/config.properties (under config/config.properties in your subversion checkout).

For beehive, the configuration is also in Tomcat's webapps/beehive/WEB-INF/classes/config.properties (under config/config.properties in your subversion checkout).

Posted by juha at Jan 08, 2014 18:22

Thanks for your reply.

The error says "500 the call failed on the server; see server log for details TIME"

designer.log looks ok to me =)

 2014-01-04 11:47:25,006 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-04 11:47:47,934 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-04 16:36:00,415 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-04 16:36:01,017 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-04 17:00:55,932 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-04 21:13:23,375 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-08 21:02:20,581 INFO [UtilsController] : manual save UI DesingerLayout successfully
2014-01-08 21:02:21,184 INFO [UtilsController] : manual save UI DesingerLayout successfully

Latest errors.log from beehive. I found an error, i had not installed subversion in the vm im using for my designer/beehive, installing it solved all the svn errors but not the save.

Beehive 3.0 Beta1 | 2014-01-08 21:24:19,674 WARN
[org.springframework.aop.framework.Cglib2AopProxy] : Unable to proxy method [public final org.springframework.orm.hibernate3.HibernateTemplate org.springframework.orm.hibernate3.support.HibernateDaoSupport.getHibernateTemplate()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
Beehive 3.0 Beta1 | 2014-01-08 21:24:19,723 WARN
[org.springframework.aop.framework.Cglib2AopProxy] : Unable to proxy method [public final org.hibernate.SessionFactory org.springframework.orm.hibernate3.support.HibernateDaoSupport.getSessionFactory()] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
Beehive 3.0 Beta1 | 2014-01-08 21:24:19,724 WARN
[org.springframework.aop.framework.Cglib2AopProxy] : Unable to proxy method [public final void org.springframework.orm.hibernate3.support.HibernateDaoSupport.setSessionFactory(org.hibernate.SessionFactory)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
Beehive 3.0 Beta1 | 2014-01-08 21:24:19,725 WARN
[org.springframework.aop.framework.Cglib2AopProxy] : Unable to proxy method [public final void org.springframework.orm.hibernate3.support.HibernateDaoSupport.setHibernateTemplate(org.springframework.orm.hibernate3.HibernateTemplate)] because it is final: All calls to this method via a proxy will be routed directly to the proxy.
Beehive 3.0 Beta1 | 2014-01-08 21:24:19,725 WARN
[org.springframework.aop.framework.Cglib2AopProxy] : Unable to proxy method [public final void org.springframework.dao.support.DaoSupport.afterPropertiesSet() throws java.lang.IllegalArgumentException,org.springframework.beans.factory.BeanInitializationException] because it is final: All calls to this method via a proxy will be routed directly to the proxy.

beehive config

#jdbc config
jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/beehive
jdbc.username = root
jdbc.password = ifyouarereadingthisyouaretoonosy


#Work directory, contains svn-repos, workCopy and sync history logs.
work.dir = /opt/tomcat6/beehive.openremote.org/3.0/alpha5

#iconDir
icons.dir = http://beehive.openremote.org/3.0/alpha5/icons/

#lircCrawRegex, it can not be modified until the structure of remote lirc website had changed.
lirc.craw.regex = <tr><td valign=\"top\"><img src=\"/icons/(folder|text|script)\\.gif\" alt=\"\\[[\\s\\w]+\\]\"></td><td><a href=\"(.*?)/?\">.*?/?</a></td><td align=\"right\">(\\d\\d-\\w\\w\\w-\\d\\d\\d\\d\\s\\d\\d:\\d\\d)  </td><td align=\"right\">\\s*[-\\w\\.]+\\s*</td></tr>

designer config email is unconfigured. I validated directly in sql instead, i hope that is not the issue.
Here i have one question when i try to just open the beehive rest url i get nothing in a browser. just the tomcat pageloading error.

jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/beehive
jdbc.username = root
jdbc.password = ifyouarereadingthisyouaretoonosy


beehive.REST.Root.Url = http://192.168.56.101:8080/beehive/rest/
irService.REST.Root.Url = http://localhost:8080/irservice/rest/

panel.xsd.path = /panel-2.0-M7.xsd
controller.xsd.path = /controller-2.0-M7.xsd
webapp.server.root = http://localhost:8080/

controller.config.xml.path=/controller-config-2.0-M7.xml
controller.config.xsd.path=/controllerConfig-2.0-M7.xsd

#Email sender configuration for account activation.
# NOTE: host, username, password MUST be trimmed! 
mail.sender.host=this
mail.sender.port=25 
mail.sender.username=that
mail.sender.password=thy
mail.smtp.auth.on=false
mail.smtp.timeout=25000

Any clues?

Anders

Posted by andersdanmark at Jan 08, 2014 20:42

In beehive config, you define this

#Work directory, contains svn-repos, workCopy and sync history logs.
work.dir = /opt/tomcat6/beehive.openremote.org/3.0/alpha5

Does this path exist on your system ?

Also, what designer / beehive branches are you using ?

Posted by ebariaux at Jan 09, 2014 08:46

Im using these tags

Designer_2_14_0_SNAPSHOT-2013-05-11
Beehive_3_0_0_Beta1

and yes it exists and contains the following folders "resources svn-repos user workCopy" among these files i can find two openremote.zip.

Posted by andersdanmark at Jan 09, 2014 17:24
Document generated by Confluence on Jun 05, 2016 09:32