openssp icon indicating copy to clipboard operation
openssp copied to clipboard

AbstractConfigurationLoader null

Open schingeldi opened this issue 7 years ago • 1 comments

Unfortunately I get an exception on startup:

ERROR: AbstractConfigurationLoader null Javax.xml.bind.PropertyException

At util.properties.ProjectProperty.readFile(ProjectProperty.java:106)

In the docs you mention about some configuration url that need to be done, but a little debugging shows that the filename is config.xml which looks like

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">

<!-- this is non dynamic loadable configuartion file -->
<!-- values in here will only be loaded during tomcat startup -->
<!-- changes need tomcat restart to effect-->
<properties>
	<!-- switch to enable/disable metrics support -->
	<entry key="metrics">false</entry>
</properties>

And is totally valid.

Do you have any idea what the issue might be here. Feel free to answer in German as I am Berlin based.

Best regards and thanks for your help. Roman

schingeldi avatar Jun 16 '17 10:06 schingeldi

Hi Roman, thanks for inform me. Did you run the app on server or local machine? Think the error occurs in detecting if the app starts on a local machine or on a server.

The util class try to detect if "catalinaHome" are local or not by evaluating if the path contains "workspace" as it is normal in a eclipse environment. Anyway, since this is a ridiculous way, i updated the ProjectProperties.java with a bugfix.

Please update your code and try it again.

regards André

schmermeister avatar Jun 16 '17 12:06 schmermeister