[jira] Created: (CARGO-705) 'Username' attribute for Tomcat5x configuration

View: New views
7 Messages — Rating Filter:   Alert me  

[jira] Created: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

'Username' attribute for Tomcat5x configuration
-----------------------------------------------

                 Key: CARGO-705
                 URL: http://jira.codehaus.org/browse/CARGO-705
             Project: Cargo
          Issue Type: Bug
          Components: Tomcat
    Affects Versions: 0.1
            Reporter: Tomás Pollak


From the mailing list:
http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html

When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.

The bug is located in AbstractTomcatConfigurationBuilder, line 96.

However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CARGO-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178377#action_178377 ]

Tomás Pollak commented on CARGO-705:
------------------------------------

I set the incorrect Affects Version, it's 1.0. I can't edit it.

> 'Username' attribute for Tomcat5x configuration
> -----------------------------------------------
>
>                 Key: CARGO-705
>                 URL: http://jira.codehaus.org/browse/CARGO-705
>             Project: Cargo
>          Issue Type: Bug
>          Components: Tomcat
>    Affects Versions: 0.1
>            Reporter: Tomás Pollak
>
> From the mailing list:
> http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html
> When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.
> The bug is located in AbstractTomcatConfigurationBuilder, line 96.
> However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/CARGO-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grzegorz Slowikowski updated CARGO-705:
---------------------------------------

    Attachment: AbstractTomcatConfigurationBuilder.diff

"tomcat6x" configuration is affected too. Attached trivial patch resolving this issue.

> 'Username' attribute for Tomcat5x configuration
> -----------------------------------------------
>
>                 Key: CARGO-705
>                 URL: http://jira.codehaus.org/browse/CARGO-705
>             Project: Cargo
>          Issue Type: Bug
>          Components: Tomcat
>    Affects Versions: 0.1
>            Reporter: Tomás Pollak
>         Attachments: AbstractTomcatConfigurationBuilder.diff
>
>
> From the mailing list:
> http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html
> When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.
> The bug is located in AbstractTomcatConfigurationBuilder, line 96.
> However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CARGO-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=192975#action_192975 ]

Adam Parrish commented on CARGO-705:
------------------------------------

I have verified that the patch works on the 1.0.1-SNAPSHOT code with tomcat6x.

> 'Username' attribute for Tomcat5x configuration
> -----------------------------------------------
>
>                 Key: CARGO-705
>                 URL: http://jira.codehaus.org/browse/CARGO-705
>             Project: Cargo
>          Issue Type: Bug
>          Components: Tomcat
>    Affects Versions: 0.1
>            Reporter: Tomás Pollak
>         Attachments: AbstractTomcatConfigurationBuilder.diff
>
>
> From the mailing list:
> http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html
> When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.
> The bug is located in AbstractTomcatConfigurationBuilder, line 96.
> However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/CARGO-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Savas Ali Tokmen updated CARGO-705:
-----------------------------------

    Affects Version/s:     (was: 0.1)
                       1.0
        Fix Version/s: 1.0.1

> 'Username' attribute for Tomcat5x configuration
> -----------------------------------------------
>
>                 Key: CARGO-705
>                 URL: http://jira.codehaus.org/browse/CARGO-705
>             Project: Cargo
>          Issue Type: Bug
>          Components: Tomcat
>    Affects Versions: 1.0
>            Reporter: Tomás Pollak
>             Fix For: 1.0.1
>
>         Attachments: AbstractTomcatConfigurationBuilder.diff
>
>
> From the mailing list:
> http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html
> When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.
> The bug is located in AbstractTomcatConfigurationBuilder, line 96.
> However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CARGO-705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193776#action_193776 ]

Savas Ali Tokmen commented on CARGO-705:
----------------------------------------

Both Tomcat 5.5. and 6.0 use "username" as attribute.

http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html says:

  <Resource name="jdbc/EmployeeDB" auth="Container"
            type="javax.sql.DataSource" username="dbusername" password="dbpassword"
            driverClassName="org.hsql.jdbcDriver" url="jdbc:HypersonicSQL:database"
            maxActive="8" maxIdle="4"/>

http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html says:

  <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="30" maxWait="10000"
               username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"
               url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>

As a result, looks like no Tomcat version has a "user" attribute.

Did anyone test with the "user" attribute?

Meanwhile, Tomcat 4.x and 5.0 have a completely different JDBC configuration. See http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html for details.

> 'Username' attribute for Tomcat5x configuration
> -----------------------------------------------
>
>                 Key: CARGO-705
>                 URL: http://jira.codehaus.org/browse/CARGO-705
>             Project: Cargo
>          Issue Type: Bug
>          Components: Tomcat
>    Affects Versions: 1.0
>            Reporter: Tomás Pollak
>             Fix For: 1.0.1
>
>         Attachments: AbstractTomcatConfigurationBuilder.diff
>
>
> From the mailing list:
> http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html
> When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.
> The bug is located in AbstractTomcatConfigurationBuilder, line 96.
> However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: [jira] Updated: (CARGO-705) 'Username' attribute for Tomcat5x configuration

by S. Ali Tokmen-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

By the way, JIRA still thinks 1.0 has not been released...

S. Ali Tokmen
savas-ali.tokmen@...

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com



Savas Ali Tokmen (JIRA) a écrit :

>      [ http://jira.codehaus.org/browse/CARGO-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Savas Ali Tokmen updated CARGO-705:
> -----------------------------------
>
>     Affects Version/s:     (was: 0.1)
>                        1.0
>         Fix Version/s: 1.0.1
>
>  
>> 'Username' attribute for Tomcat5x configuration
>> -----------------------------------------------
>>
>>                 Key: CARGO-705
>>                 URL: http://jira.codehaus.org/browse/CARGO-705
>>             Project: Cargo
>>          Issue Type: Bug
>>          Components: Tomcat
>>    Affects Versions: 1.0
>>            Reporter: Tomás Pollak
>>             Fix For: 1.0.1
>>
>>         Attachments: AbstractTomcatConfigurationBuilder.diff
>>
>>
>> From the mailing list:
>> http://www.nabble.com/DataSource-configuration-for-Tomcat-5x%2C-Java-API-td23713677.html
>> When Cargo is used like in the email example, the context.xml has a 'user' attribute for the DataSource. However Tomcat expects a 'username' attribute.
>> The bug is located in AbstractTomcatConfigurationBuilder, line 96.
>> However, as Matt pointed out, this behaviour may be different for different versions of Tomcat. 5x expects 'username', the other versions need to be checked.
>>    
>
>  


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email