geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-2368) Unable to create a (MySQL) database pool
Date Thu, 31 Aug 2006 15:16:23 GMT
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.<init>(URLPatternSpec.java:98)
       at javax.security.jacc.WebResourcePermission.<init>(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.<init>(URLPatternSpec.java:98)
       at javax.security.jacc.WebResourcePermission.<init>(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

        

Mime
View raw message