[
http://issues.apache.org/jira/browse/GERONIMO-2326?page=comments#action_12429516
]
David Jencks commented on GERONIMO-2326:
----------------------------------------
I'd like to reiterate that adding rars as a dependency is totally unacceptable
and I am firmly -1 on anything that tries to do that.
In the m1 build these rars were added by the assembly plugin when you included
a tag: <geronimo.assemble>repository</geronimo.assemble>.
We need something equivalent for the m2 assembly. I think it could go in the
minimal boilerplate assembly.
The rars (and a couple jars) in question are:
<dependency>
<!-- included to make additional deployments easier -->
<groupId>geronimo</groupId>
<artifactId>ge-activemq-rar</artifactId>
<version>${pom.currentVersion}</version>
<type>rar</type>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>tranql</groupId>
<artifactId>tranql-connector</artifactId>
<version>${tranql_connector_version}</version>
<type>rar</type>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>tranql</groupId>
<artifactId>tranql-connector-derby-embed-local</artifactId>
<version>${tranql_vendors_version}</version>
<type>rar</type>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>tranql</groupId>
<artifactId>tranql-connector-derby-embed-xa</artifactId>
<version>${tranql_vendors_version}</version>
<type>rar</type>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>tranql</groupId>
<artifactId>tranql-connector-derby-client-local</artifactId>
<version>${tranql_vendors_version}</version>
<type>rar</type>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>tranql</groupId>
<artifactId>tranql-connector-derby-client-xa</artifactId>
<version>${tranql_vendors_version}</version>
<type>rar</type>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
<version>${derby_version}</version>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<version>${derby_version}</version>
<properties>
<geronimo.assemble>repository</geronimo.assemble>
</properties>
</dependency>
> 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: Alan Cabrera
> Fix For: 1.2, 1.1.2
>
> Attachments: 2326-deploy-datasource.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