shawnmckinney / apache-fortress-demo Goto Github PK
View Code? Open in Web Editor NEWSample web app to demo end-to-end security w/ JavaEE, Spring Security and RBAC fine-grained authorization. All connections use SSL.
License: Apache License 2.0
Sample web app to demo end-to-end security w/ JavaEE, Spring Security and RBAC fine-grained authorization. All connections use SSL.
License: Apache License 2.0
Accepted github dependabot PR to the latest MySQL JDBC driver has error. Reverting for now, research later.
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link f
ailure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
### The error may exist in page1.xml
### The error may involve com.mycompany.dao.Page1Dao.getPages1ByCustomer
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:111)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:119)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:63)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
For clarity it might make sense to add
root.dn=uid=admin,ou=system
port=10389
and
ldap.server.type=apacheds
To the src/main/resources/fortress.properties, even if they're commented out. I'm not going to change this one because I may be misunderstanding the intent.
Hey Shawn,
Where are you publishing your snapshot releases? I get
[ERROR] Failed to execute goal on project apache-fortress-demo: Could not resolve dependencies for project fortressdemo3:apache-fortress-demo:war:1.0-RC40-SNAPSHOT: Failure to find org.apache.directory:fortress-realm-impl:jar:1.0-RC40-SNAPSHOT in https://ci.psu.edu/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of ci has elapsed or updates are forced -> [Help 1]
When trying to run mvn javadoc:javadoc.
Thanks,
Shawn
For Ubuntu the tomcat-users.xml file is in /etc/tomcat7 I'll send another pull request that has the correction for ubunu, but I don't have a redhat install right now to see if they're the same.
In attempting to build the java-doc using mvn, I am getting the following error:
[WARNING] The POM for org.apache.directory.fortress:fortress-realm-impl:jar:1.0-RC41-SNAPSHOT is missing, no dependency information available
Downloading: http://repo1.maven.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0.pom
Downloading: https://repo.maven.apache.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0.pom
[WARNING] The POM for org.apache.directory.fortress:fortress-web:jar:classes:1.0 is missing, no dependency information available
Downloading: http://repo1.maven.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0-classes.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/directory/fortress/fortress-web/1.0/fortress-web-1.0-classes.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.668 s
[INFO] Finished at: 2015-11-04T11:06:27-06:00
[INFO] Final Memory: 16M/89M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fortress-web: Could not resolve dependencies for project org.apache.directory.fortress:fortress-web:war:1.0-RC41-SNAPSHOT: The following artifacts could not be resolved: org.apache.directory.fortress:fortress-realm-impl:jar:1.0-RC41-SNAPSHOT, org.apache.directory.fortress:fortress-web:jar:classes:1.0: Failure to find org.apache.directory.fortress:fortress-realm-impl:jar:1.0-RC41-SNAPSHOT in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2 has elapsed or updates are forced -> [Help 1]
I attempted to go to the following url: https://repo1.maven.org/maven2/org/apache/directory/fortress/
and 'fortress-core' is the only directory available, 'fortress-web' does not exist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.