Can i just define a port for mysql by simple adding
<jdbc.port>value</jdbc.port> in my pom.xml file instead of adding it
everywhere it may be required?
Michael Horwitz wrote:
>
> Is your MySQL database running on the default port? If not the database
> connection URL will need to be changed.
>
> Mike.
>
> On 4/2/07, appfused <[EMAIL PROTECTED]> wrote:
>>
>>
>> Thanks. I'm definitely on 5.0.5. I'll try a lower driver version and see
>> if
>> that fixes the problem. Any other thoghts?
>>
>>
>> mraible wrote:
>> >
>> > 2.0 M4 uses 5.0.5, but previous version used 5.0.4. Regardless of what
>> > we use, you have full control over the version in your pom.xml - look
>> > for <jdbc.version> for your version #.
>> >
>> > Matt
>> >
>> > On 4/2/07, appfused <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I thought appfuse comes with the 5.0.5 driver?
>> >> I'm relying on everything maven pulls down when i build the
>> application
>> >>
>> >> Let me know if i'm missing something.
>> >>
>> >>
>> >> mraible wrote:
>> >> >
>> >> > You might try upgrading to the 5.0.5 version of the MySQL JDBC
>> Driver
>> >> > (if you're not already using it).
>> >> >
>> >> > Matt
>> >> >
>> >> > On 4/2/07, appfused <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >> I just tried to install appfuse on a linux box that has tomcat
>> >> 5,mysql4.1
>> >> >> however when it comes to do the dbunit task, it can't connect to
>> the
>> >> >> database although the user name and password work from the command
>> >> line.
>> >> >> I
>> >> >> use
>> >> >>
>> >> >> mysql -uusername -ppassword
>> >> >>
>> >> >> Any thoughts? should i be using a driver different from the one
>> that
>> >> >> ships
>> >> >> with appfuse?
>> >> >>
>> >> >> See below for the error message.
>> >> >>
>> >> >> [INFO] [dbunit:operation {execution: test-compile}]
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [ERROR] BUILD ERROR
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] Error executing database operation: CLEAN_INSERT
>> >> >>
>> >> >> Embedded error: Communications link failure due to underlying
>> >> exception:
>> >> >>
>> >> >> ** BEGIN NESTED EXCEPTION **
>> >> >>
>> >> >> java.net.ConnectException
>> >> >> MESSAGE: Connection refused
>> >> >>
>> >> >> STACKTRACE:
>> >> >>
>> >> >> java.net.ConnectException: Connection refused
>> >> >> at java.net.PlainSocketImpl.socketConnect(Native Method)
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >> http://www.nabble.com/Mysql-4.1-tf3507972s2369.html#a9798019
>> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > http://raibledesigns.com
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Mysql-4.1-tf3507972s2369.html#a9798566
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Mysql-4.1-tf3507972s2369.html#a9798799
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Mysql-4.1-tf3507972s2369.html#a9825128
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]