geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bohn (JIRA)" <>
Subject [jira] Commented: (GERONIMO-3051) DB Viewer portlet error
Date Thu, 26 Apr 2007 22:00:15 GMT


Joe Bohn commented on GERONIMO-3051:

I had mixed results.  One test that I thought was failing earlier did work after I applied
the patch (sans the tld code).  However when I attempted to run all of the jstl tests I had
several failures like that below.  I also didn't get to change the URLs for the console yet
to see if it would work properly with the new driver.  I'll try that later tonight. 

Here's the error on the other jstl tests:
04-26-2007 17:44:23:  ERROR: [WebValidatorBase] Unexpected '500' received from target server!
Error response recieved from server:
<html><head><title>Apache Tomcat/6.0-snapshot - Error report</title><style><!--H1
te;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahom
a,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525
D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;} {color : blac
k;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status
500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Except
ion report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The server encountered an internal error () that prevented i
t from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException:
Unable to get connection, DataSo
urce invalid: &quot;java.sql.SQLException: Could not look up datasource&quot;
</pre></p><p><b>note</b> <u>The full stack trace of the
root cause is available in the Apache Tomcat/6.0-snapshot logs.</u></p><
HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0-snapshot</h3></body></html>
04-26-2007 17:44:23:  ERROR: Exception at: 
04-26-2007 17:44:23:  ERROR: com.sun.ts.tests.common.webclient.TestFailureException: Test
        at com.sun.ts.tests.common.webclient.WebTestCase.execute(
        at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(
        at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.positiveDateParamQueryTimestampTest(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.sun.ts.lib.harness.EETest.getPropsReady(
        at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.main(

04-26-2007 17:44:23:  [BaseUrlClient] Test cleanup OK

> DB Viewer portlet error
> -----------------------
>                 Key: GERONIMO-3051
>                 URL:
>             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
>         Assigned To: Joe Bohn
>         Attachments: GERONIMO-3051-jdbc.patch, GERONIMO-3051-new.patch, 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
> 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.

View raw message