geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <>
Subject [jira] Closed: (GERONIMO-2363) Console: create new pool using wizard, cannot use "show plan" button for any XA database, even derby
Date Fri, 24 Nov 2006 11:04:11 GMT
     [ ]

Vamsavardhana Reddy closed GERONIMO-2363.

    Fix Version/s: 1.2
       Resolution: Fixed

This must have been fixed in rev 478240 (trunk) and rev 478243 (branches\1.2) for  javascript
validation of input fields in edit Database pools.

> Console: create new pool using wizard, cannot use "show plan" button for any XA database,
even derby
> ----------------------------------------------------------------------------------------------------
>                 Key: GERONIMO-2363
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console, databases
>    Affects Versions: 1.1.1, 1.2
>            Reporter: Ted Kirby
>             Fix For: 1.2, 2.0
>         Attachments: dbwizard_edit.jsp.patch
> From admin console, click Database Pools, Create new pool using the wizard, choose an
XA database type.  If you select any driver jars, or none and click show plan, you don't get
a plan (all blank), but you do get this traceback in the log/ on the console:
> 13:48:53,552 ERROR [DatabasePoolPortlet] Unable to save connection pool
> java.lang.IllegalArgumentException: Invalid id:
>         at org.apache.geronimo.kernel.repository.Artifact.create(
>         at
>         at org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.processAction(
>         at org.apache.pluto.core.PortletServlet.dispatch(
>         at org.apache.pluto.core.PortletServlet.doPost(
>         at javax.servlet.http.HttpServlet.service(
>         at javax.servlet.http.HttpServlet.service(
>         at org.apache.pluto.core.PortletServlet.service(
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(
>         at org.apache.catalina.core.ApplicationDispatcher.doInclude(
>         at org.apache.catalina.core.ApplicationDispatcher.include(
>         at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(
>         at org.apache.pluto.invoker.impl.PortletInvokerImpl.action(
>         at org.apache.pluto.PortletContainerImpl.processPortletAction(
>         at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(
>         at org.apache.pluto.portalImpl.Servlet.doGet(
>         at org.apache.pluto.portalImpl.Servlet.doPost(
>         at javax.servlet.http.HttpServlet.service(
>         at javax.servlet.http.HttpServlet.service(
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>         at org.apache.catalina.core.StandardWrapperValve.invoke(
>         at org.apache.catalina.core.StandardContextValve.invoke(
>         at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
>         at org.apache.catalina.core.StandardHostValve.invoke(
>         at org.apache.catalina.valves.ErrorReportValve.invoke(
>         at org.apache.catalina.core.StandardEngineValve.invoke(
>         at org.apache.catalina.valves.AccessLogValve.invoke(
>         at org.apache.catalina.authenticator.SingleSignOn.invoke(
>         at org.apache.catalina.connector.CoyoteAdapter.service(
>         at org.apache.coyote.http11.Http11Processor.process(
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>         at
>         at
>         at org.apache.tomcat.util.threads.ThreadPool$
>         at
> The problem is an extra null value in the jars array.
> If line 235 that adds a jars instance to the web page is removed, the function works.
> In general, I think there are too many jars on this page.
> If pool.jars is defined coming into the page, then lines 62-64 will generate more jars
instances, and probably wreak more havoc.
> These lines are mostly redundant to line 235.
> I object to have the name jars refer to the db jar selection control, which I feel should
be its main purpose, as well as to these hidden fields to cache values for the server.  
> There is also a lot of choosing going on, and the page either puts a jars selection control
on the page, or yet another instance of a hidden jars containing ${pool.jars}.
> I suggest cleaning all this up, and creating a separate name for the hidden jars variable(s),
if they are needed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message