[
https://issues.apache.org/jira/browse/GERONIMO-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486199
]
Paul McMahan commented on GERONIMO-3051:
----------------------------------------
According to the Application EARs portlet, the system-database config is a
parent of the app we're having problems with (i.e. the console). But based on
the way that java.sql.DriverManager#getConnection() works I don't see any way
that system-database in the lineage would have an effect unless it was made a
parent of jee-specs. The underlying problem is that as long as JSTL is loaded
from jee-specs the DriverManager will also try to load the database driver from
jee-specs' classloader.
> DB Viewer portlet error
> -----------------------
>
> Key: GERONIMO-3051
> URL: https://issues.apache.org/jira/browse/GERONIMO-3051
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console, databases
> Affects Versions: 2.0-M4
> Environment: embedded Derby databases
> Reporter: Hernan Cunico
> Attachments: GERONIMO-3051.patch
>
>
> There is a problem when trying to view an embedded Derby database.
> I am able to successfully create a new DB with the DB manager and a new entry
> appears in the DB Viewer but when I try to view that DB from the DB Viewer I
> get a portlet error.
> When I check the logs I get this:
> 09:57:02,421 ERROR [listTables_jsp]] Servlet.service() for servlet
> jsp.WEB_002dINF.view.internaldb.listTables_jsp threw exception
> javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Error
> getting connection: "java.sql.SQLException: No suitable driver"
> ...
> 09:57:02,421 ERROR [[DBViewer]] Servlet.service() for servlet DBViewer threw
> exception
> javax.servlet.ServletException
> ...
> 09:57:02,453 ERROR [PortletInvokerImpl] PortletInvokerImpl.render() - Error
> while dispatching portlet.
> javax.portlet.PortletException
> ...
> With the exception of the "SystemDatabase" all the other databases created on
> the embedded Derby are also unaccessible from other applications.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.