cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find property value for obis.entity.host.

udhayakumar_t
Champ in-the-making
Champ in-the-making
I checked out the code from https://github.com/HSSC/activiti-explorer and build the war file.

When i deploy it in Jboss 7, i am getting the following error. I searched the entire code, couldn't figure out anything.

18:13:52,412 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-webapp-explorer2-5.8].[Vaadin Application Servlet]] (http–127.0.0.1-8000-1) Servlet.service() for servlet Vaadin Application Servlet threw exception: java.lang.Exception: Cannot find property value for obis.entity.host. Try adding an "obis-shared.properties" file on the classpath or calling obis-shared.config.set-properties with a map.
   at obis_shared.config$get_prop.invoke(config.clj:48) [obis-shared-0.2.1.jar:]
   at obis_shared.entity.config$base_url.invoke(config.clj:8) [obis-shared-0.2.1.jar:]
   at obis_shared.entity.config$url.doInvoke(config.clj:18) [obis-shared-0.2.1.jar:]
   at clojure.lang.RestFn.applyTo(RestFn.java:137) [clojure-1.3.0.jar:]
   at clojure.core$apply.invoke(core.clj:600) [clojure-1.3.0.jar:]
   at obis_shared.entity.config$url.doInvoke(config.clj:16) [obis-shared-0.2.1.jar:]
   at clojure.lang.RestFn.invoke(RestFn.java:408) [clojure-1.3.0.jar:]
   at obis_shared.entity.http_json$request.invoke(http_json.clj:16) [obis-shared-0.2.1.jar:]
   at obis_shared.entity.http_json$request.invoke(http_json.clj:8) [obis-shared-0.2.1.jar:]
   at clojure.lang.AFn.applyToHelper(AFn.java:167) [clojure-1.3.0.jar:]
   at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.3.0.jar:]
   at clojure.core$apply.invoke(core.clj:604) [clojure-1.3.0.jar:]
   at clojure.core$partial$fn__3796.doInvoke(core.clj:2343) [clojure-1.3.0.jar:]
   at clojure.lang.RestFn.invoke(RestFn.java:408) [clojure-1.3.0.jar:]
1 REPLY 1

udhayakumar_t
Champ in-the-making
Champ in-the-making
I found the solution for this. We need to create obis-shared.properties and add the following properties

obis.entity.host=localhost
obis.entity.port=3306