RestComm / gmlc

Restcomm Location Server
http://www.restcomm.com/
GNU Affero General Public License v3.0
17 stars 37 forks source link

Running GMLC w/ the new JSS7 dependencies results in missing version.properties error #38

Closed angrygreenfrogs closed 8 years ago

angrygreenfrogs commented 8 years ago

JBoss console reports:

Deployment "MAPSS7Service" is in error due to the following reason(s): ERROR, java.lang.Error: Missing version.properties

11:17:15,762 ERROR AbstractKernelController Error installing to Start: name=MAPSS7Service state=Create java.lang.Error: Missing version.properties at org.mobicents.applications.gmlc.bootstrap.Version.loadProperties(Version.java:103)

It looks like there's some code here: gmlc\core\bootstrap\src\main\java\org\mobicents\applications\gmlc\bootstrap\Version.java, which is trying to read a file called version.properties

I think there might be a path mixup somewhere

angrygreenfrogs commented 8 years ago

Ah, found it, there was a path mismatch between:

core\bootstrap\src\main\java\org\mobicents\smsc\server\bootstrap and core\bootstrap\src\main\java\org\mobicents\smsc\bootstrap

The "server" sub-dir needed to be added for consistency with the config resource location

angrygreenfrogs commented 8 years ago

Fixed here: https://github.com/RestComm/gmlc/pull/37/commits/c4c7694a3ed2c40fcfc4e413e9ec710b122e4d6e