Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbstractConfigurationLoader null #1

Open
schingeldi opened this issue Jun 16, 2017 · 1 comment
Open

AbstractConfigurationLoader null #1

schingeldi opened this issue Jun 16, 2017 · 1 comment

Comments

@schingeldi
Copy link

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

@schmermeister
Copy link
Contributor

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 pushed a commit that referenced this issue Mar 7, 2018
schmermeister pushed a commit that referenced this issue May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants