You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jay D. McHugh (JIRA)" <ji...@apache.org> on 2007/04/29 01:32:15 UTC

[jira] Commented: (GERONIMO-3122) CLONE -Unable to create a (MySQL) database pool

    [ https://issues.apache.org/jira/browse/GERONIMO-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492525 ] 

Jay D. McHugh commented on GERONIMO-3122:
-----------------------------------------

Are you actually having problems deploying a database pool to 1.1.1?  Or is this an accidental clone.

This issue was originally reported and resolved quite a while ago.

If you are having trouble, please attach your actual stack trace so we can track down the problem.

Thanks

> CLONE -Unable to create a (MySQL) database pool
> -----------------------------------------------
>
>                 Key: GERONIMO-3122
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3122
>             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: kalyan
>         Assigned To: Alan Cabrera
>
> 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.
-
You can reply to this email to add a comment to the issue online.