[ http://issues.apache.org/jira/browse/GERONIMO-2326?page=comments#action_12430885 ] Bill Dudney commented on GERONIMO-2326: ---------------------------------------
Hi David, The DBPoolPortlet hack did not need to be applied as much as the change to the root pom to move the TranQL RAR from 1.2 to 1.1 (the GERONIMO-2326.bdudney-additional.patch file). The current pom uses version 1.2 of the RAR which is fine but the hard code module id in the current db pool portlet code referrs to the 1.1 RAR which causes problme during deployment. So before this issue can be closed for trunk we need to either get the Geronimo 1.1.x code moved to trunk (which fixes the harded coded reference to the 1.1. TranQL RAR) or change the root pom to point to 1.1. > unable to deploy a database pool > -------------------------------- > > Key: GERONIMO-2326 > URL: http://issues.apache.org/jira/browse/GERONIMO-2326 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Affects Versions: 1.2, 1.1.2 > Reporter: Bill Dudney > Assigned To: David Jencks > Fix For: 1.2, 1.1.2 > > Attachments: 2326-deploy-datasource.patch, > GERONIMO-2326.bdudney-additional.patch, GERONIMO-2326.djencks-2.patch, > GERONIMO-2326.djencks.patch > > > Trying to deploy a jdbc datasource leads to a blank screen and the following > stack trace in the log. > The issue appears to be that URLPatternSpec does not like the URL generated > by DatabasePoolPortlet from the info found in the DatabaseInfo.ALL_DATABASES > array. > java.lang.IllegalArgumentException: Qualifier patterns must be present when > first URLPattern is an exact pattern > at javax.security.jacc.URLPatternSpec.<init>(URLPatternSpec.java:98) > at > javax.security.jacc.WebUserDataPermission.<init>(WebUserDataPermission.java:83) > at > org.apache.geronimo.tomcat.realm.TomcatGeronimoRealm.hasUserDataPermission(TomcatGeronimoRealm.java:131) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:460) > at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:322) > at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:552) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
