Details
-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.3.10
-
-
Empty show more show less
-
Kromeriz 17
-
5
Description
We noticed that in our Magnolia implementations the Magnolia About App does not display any database-related information. I reported this in SUPPORT-4976 and this is due to the fact that we use DataSource-based database configurations (using JNDI) in our Magnolia Jackrabbit configuration files.
Zdenek in SUPPORT-4976 says:
as you most likely have noticed the presenter uses a java.sql.DriverManager for the job, a service for managing JDBC drivers. The issue basically is that a driver that is accessed via a DataSource object does not register itself with that DriverManager. As far as I can see we could utilize javax.sql.DataSource in such cases to get a connection information.
Excerpt of our jackrabbit-bundle-mysql-search.xml file:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 2.0//EN" "http://jackrabbit.apache.org/dtd/repository-2.0.dtd"> <Repository> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> <param name="driver" value="javax.naming.InitialContext"/> <param name="url" value="java:comp/env/jdbc/magnolia"/> <param name="schema" value="mysql"/> <param name="schemaObjectPrefix" value="fs_repo_"/> </FileSystem> [..]
Checklists
Attachments
Issue Links
- is related to
-
MGNLUI-3768 NPE in About Magnolia app after parsing failure
-
- Closed
-