Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 98295 invoked from network); 31 Aug 2006 15:21:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 15:21:48 -0000 Received: (qmail 71091 invoked by uid 500); 31 Aug 2006 15:21:45 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 70904 invoked by uid 500); 31 Aug 2006 15:21:44 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 70893 invoked by uid 99); 31 Aug 2006 15:21:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 08:21:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 08:21:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D488C410017 for ; Thu, 31 Aug 2006 15:18:22 +0000 (GMT) Message-ID: <17802193.1157037502852.JavaMail.jira@brutus> Date: Thu, 31 Aug 2006 08:18:22 -0700 (PDT) From: "Bill Dudney (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-2368) Unable to create a (MySQL) database pool In-Reply-To: <3487031.1157037383876.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-2368?page=comments#action_12431899 ] Bill Dudney commented on GERONIMO-2368: --------------------------------------- similar problem trying to deploy 'Derby Embeded' datasource; Geronimo Application Server started 09:19:47,792 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing java.lang.IllegalArgumentException: Qualifier patterns must be present when first URLPattern is an exact pattern at javax.security.jacc.URLPatternSpec.(URLPatternSpec.java:98) at javax.security.jacc.WebResourcePermission.(WebResourcePermission.java:47) at org.apache.geronimo.tomcat.realm.TomcatGeronimoRealm.hasResourcePermission(TomcatGeronimoRealm.java:200) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342) 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.valves.AccessLogValve.invoke(AccessLogValve.java:541) 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) > Unable to create a (MySQL) database pool > ---------------------------------------- > > Key: GERONIMO-2368 > URL: http://issues.apache.org/jira/browse/GERONIMO-2368 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: databases > Affects Versions: 1.1.1 > Environment: Fedora Core 5 > MySQL 5.0.22 > Reporter: Jay D. McHugh > > I tried to install the MySQL JDBC driver (installation worked) and define my datasource. > Trying to create the datasource using the wizard locked up the browser and resulted in the following log file (I tried twice - that is why the error appears two times): > Copying into repository mysql-connector-java-3.1.13/mysql-connector-java-3.1.13/bin/jar... Finished. > 08:41:52,551 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing > java.lang.IllegalArgumentException: Qualifier patterns must be present when first URLPattern is an exact pattern > at javax.security.jacc.URLPatternSpec.(URLPatternSpec.java:98) > at javax.security.jacc.WebResourcePermission.(WebResourcePermission.java:47) > at org.apache.geronimo.tomcat.realm.TomcatGeronimoRealm.hasResourcePermission(TomcatGeronimoRealm.java:200) > at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) > at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342) > 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.valves.AccessLogValve.invoke(AccessLogValve.java:541) > 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:534) > 08:42:50,280 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing > java.lang.IllegalArgumentException: Qualifier patterns must be present when first URLPattern is an exact pattern > at javax.security.jacc.URLPatternSpec.(URLPatternSpec.java:98) > at javax.security.jacc.WebResourcePermission.(WebResourcePermission.java:47) > at org.apache.geronimo.tomcat.realm.TomcatGeronimoRealm.hasResourcePermission(TomcatGeronimoRealm.java:200) > at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) > at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342) > 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.valves.AccessLogValve.invoke(AccessLogValve.java:541) > 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:534) > I was only able to get through the first page of the wizard before it locked up. Here are the values that I entered: > Name of Database Pool: plc > Database Type: MySQL > I also tried deploying from the command line using a deployment XML file that I saved a while ago and got the following error (The file might not be in the correct format anymore so this might not be a real issue): > Error: Unable to connect to server at deployer:geronimo:jmx -- > javax.naming.NoInitialContextException: Can't find property: > java.naming.factory.initial -- 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