Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property
This is not an error. This is a warning. The difference is pretty huge. This particular warning basically means that the <Context>
element in Tomcat's server.xml
contains an unknown attribute source
and that Tomcat doesn't know what to do with this attribute and therefore will ignore it.
Eclipse WTP adds a custom attribute source
to the project related <Context>
element in the server.xml
of Tomcat which identifies the source of the context (the actual project in the workspace which is deployed to the particular server). This way Eclipse can correlate the deployed webapplication with an project in the workspace. Since Tomcat version 6.0.16, any unspecified XML tags and attributes in the server.xml
will produce a warning during Tomcat's startup, even though there is no DTD nor XSD for server.xml
.
Just ignore it. Your web project is fine. It should run fine. This issue is completely unrelated to JSF.
WARNING: Setting property 'source' to 'org.eclipse.jst.jee.server:appname' did not find a matching property
Despite this question being rather old, I had to deal with a similar warning and wanted to share what I found out.
First of all this is a warning and not an error. So there is no need to worry too much about it. Basically it means, that Tomcat does not know what to do with the source
attribute from context.
This source
attribute is set by Eclipse (or to be more specific the Eclipse Web Tools Platform) to the server.xml
file of Tomcat to match the running application to a project in workspace.
Tomcat generates a warning for every unknown markup in the server.xml
(i.e. the source
attribute) and this is the source of the warning. You can safely ignore it.
SetPropertiesRule warning message when starting Tomcat from Eclipse
The solution to this problem is very simple. Double click on your tomcat server. It will open the server configuration. Under server options check ‘Publish module contents to separate XML files’ checkbox. Restart your server. This time your page will come without any issues.
Setting property 'antiJARLocking' to 'true' did not find a matching property
Remove the attribute from the context.xml file. Tomcat does not support it.
Setting property 'algorithm' to 'MD5' did not find a matching property
It's probably too late for this to be useful, but I came across the same issue today, so maybe it'll be of use to someone in the future.
The warning refers to the algorithm="MD5"
property that you set on the Realm
itself - that property has been removed in Tomcat 8.5 in favor of using a CredentialHandler
element like you were already doing in your example.
Related Topics
What Does Transitive = True in Gradle Exactly Do (W.R.T. Crashlytics)
Android App Bundle Introduces Resource Not Found Crash in Android App
How to Show Ellipses on My Textview If It Is Greater Than the 1 Line
How to Simulate Low Memory in the Android Emulator
Httpurlconnection.Getresponsecode() Returns -1 on Second Invocation
Android Gives Error "Cannot Fit Requested Classes in a Single Dex File"
Problems Importing Project into Android Studio Regarding Actionbarsherlock
Android Intent for Sending Email with Attachment
How to Resolve "Duplicate Files Copied in APK Meta-Inf/*"
Reading Properties File in Java
What Is the Easiest Way to Parse an Ini File in Java
"Invalid Privatekey" When Using Jsch