geronimo-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/GERONIMO-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492126
] 

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
{font-family:Tahoma,Arial,sans-serif;color:whi
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;}A.name {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;
        org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)
        org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)
        org.apache.jsp.positiveDateParamQueryTimestampTest_jsp._jspService(positiveDateParamQueryTimestampTest_jsp.java:268)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:379)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        com.sun.ts.tests.jstl.common.filters.JstlDbFilter.doFilter(JstlDbFilter.java:109)
</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
FAILED!
        at com.sun.ts.tests.common.webclient.WebTestCase.execute(WebTestCase.java:164)
        at com.sun.ts.tests.common.webclient.BaseUrlClient.invoke(BaseUrlClient.java:389)
        at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.positiveDateParamQueryTimestampTest(JSTLClient.java:117)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.ts.lib.harness.EETest.run(EETest.java:495)
        at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:392)
        at com.sun.ts.lib.harness.EETest.run(EETest.java:252)
        at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.run(JSTLClient.java:54)
        at com.sun.ts.tests.jstl.compat.onedotzero.JSTLClient.main(JSTLClient.java:40)

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

> 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
>         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
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.


Mime
View raw message