Looks like something is wrong with your database setup. Your project
works fine for me with 5.0.20a-standard on OS X.  I'd suggestion
uninstalling MySQL and re-installing it again.

alotta:~/Desktop/basic-struts mraible$ mysqladmin -u root -p drop appfuse
Enter password:
Dropping the database is potentially a very bad thing to do.
Any data stored in the database will be destroyed.

Do you really want to drop the 'appfuse' database [y/N] y
mysqladmin: DROP DATABASE appfuse failed;
error: 'Can't drop database 'appfuse'; database doesn't exist'
alotta:~/Desktop/basic-struts mraible$ mvn integration-test -o | tee mvn.out
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in
your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building AppFuse Struts 2 Application
[INFO]    task-segment: [integration-test]
[INFO] 
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from maven-snapshots
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from appfuse
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin:
checking for updates from maven-snapshots
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin:
checking for updates from appfuse
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin:
checking for updates from maven-snapshots
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin:
checking for updates from appfuse
[INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking
for updates from maven-snapshots
[INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking
for updates from appfuse
[INFO] artifact org.apache.maven.plugins:maven-antrun-plugin: checking
for updates from maven-snapshots
[INFO] artifact org.apache.maven.plugins:maven-antrun-plugin: checking
for updates from appfuse
[INFO] artifact org.codehaus.cargo:cargo-maven2-plugin: checking for
updates from appfuse
[INFO] [warpath:add-classes {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] Preparing hibernate3:hbm2ddl
[WARNING] Removing: hbm2ddl from forked lifecycle, to prevent
recursive invocation.
[INFO] [warpath:add-classes {execution: default}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [hibernate3:hbm2ddl {execution: default}]
[INFO] Configuration XML file loaded:
/Users/mraible/Desktop/basic-struts/src/main/resources/hibernate.cfg.xml
[INFO] Configuration XML file loaded:
/Users/mraible/Desktop/basic-struts/src/main/resources/hibernate.cfg.xml
[INFO] Configuration Properties file loaded:
/Users/mraible/Desktop/basic-struts/target/classes/jdbc.properties
create table app_user (id bigint not null auto_increment, username
varchar(50) not null unique, email varchar(255) not null unique,
password_hint varchar(255), first_name varchar(50) not null, last_name
varchar(50) not null, phone_number varchar(255), website varchar(255),
account_expired bit not null, account_locked bit not null,
credentials_expired bit not null, city varchar(50) not null, province
varchar(100), postal_code varchar(15) not null, address varchar(150),
country varchar(100), account_enabled bit, version integer, password
varchar(255) not null, primary key (id)) type=InnoDB;
create table role (id bigint not null auto_increment, name
varchar(20), description varchar(64), primary key (id)) type=InnoDB;
create table user_role (user_id bigint not null, role_id bigint not
null, primary key (user_id, role_id)) type=InnoDB;
alter table user_role add index FK143BF46AF503D155 (user_id), add
constraint FK143BF46AF503D155 foreign key (user_id) references
app_user (id);
alter table user_role add index FK143BF46A4FD90D75 (role_id), add
constraint FK143BF46A4FD90D75 foreign key (role_id) references role
(id);
[INFO] [dbunit:operation {execution: default}]
[INFO] [surefire:test]
[INFO] Surefire report directory:
/Users/mraible/Desktop/basic-struts/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.jiesoft.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec

Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp basic-struts in
/Users/mraible/Desktop/basic-struts/target/basic-struts-1.0-SNAPSHOT
[INFO] Copy webapp webResources to
/Users/mraible/Desktop/basic-struts/target/basic-struts-1.0-SNAPSHOT
[INFO] Overlaying 2 war(s).
[INFO] Generating war
/Users/mraible/Desktop/basic-struts/target/basic-struts-1.0-SNAPSHOT.war
[INFO] Building war:
/Users/mraible/Desktop/basic-struts/target/basic-struts-1.0-SNAPSHOT.war
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jboss:0.9-SNAPSHOT: checking
for updates from maven-snapshots
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jboss:0.9-SNAPSHOT: checking
for updates from appfuse
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jboss:0.9-SNAPSHOT: checking
for updates from central
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jo:0.9-SNAPSHOT: checking for
updates from maven-snapshots
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jo:0.9-SNAPSHOT: checking for
updates from appfuse
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jo:0.9-SNAPSHOT: checking for
updates from central
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-weblogic:0.9-SNAPSHOT:
checking for updates from maven-snapshots
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-weblogic:0.9-SNAPSHOT:
checking for updates from appfuse
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-weblogic:0.9-SNAPSHOT:
checking for updates from central
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-tomcat:0.9-SNAPSHOT: checking
for updates from maven-snapshots
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-tomcat:0.9-SNAPSHOT: checking
for updates from appfuse
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-tomcat:0.9-SNAPSHOT: checking
for updates from central
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jetty:0.9-SNAPSHOT: checking
for updates from maven-snapshots
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jetty:0.9-SNAPSHOT: checking
for updates from appfuse
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-jetty:0.9-SNAPSHOT: checking
for updates from central
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-geronimo:0.9-SNAPSHOT:
checking for updates from maven-snapshots
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-geronimo:0.9-SNAPSHOT:
checking for updates from appfuse
[INFO] snapshot
org.codehaus.cargo:cargo-core-container-geronimo:0.9-SNAPSHOT:
checking for updates from central
[INFO] [cargo:start {execution: start-container}]
[INFO] [stalledLocalDeployer] Deploying
[/Users/mraible/Desktop/basic-struts/target/basic-struts-1.0-SNAPSHOT.war]
to [/Users/mraible/Desktop/basic-struts/target/tomcat5x/container/webapps]...
[INFO] [talledLocalContainer] Tomcat 5.5.17 starting...
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:44 PM
org.apache.coyote.http11.Http11BaseProtocol init
[INFO] [talledLocalContainer] INFO: Initializing Coyote HTTP/1.1 on http-8081
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:44 PM
org.apache.catalina.startup.Catalina load
[INFO] [talledLocalContainer] INFO: Initialization processed in 523 ms
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:44 PM
org.apache.catalina.core.StandardService start
[INFO] [talledLocalContainer] INFO: Starting service Catalina
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:44 PM
org.apache.catalina.core.StandardEngine start
[INFO] [talledLocalContainer] INFO: Starting Servlet Engine: Apache
Tomcat/5.5.17
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:44 PM
org.apache.catalina.core.StandardHost start
[INFO] [talledLocalContainer] INFO: XML validation disabled
[INFO] [talledLocalContainer] AbandonedObjectPool is used
([EMAIL PROTECTED])
[INFO] [talledLocalContainer]    LogAbandoned: false
[INFO] [talledLocalContainer]    RemoveAbandoned: true
[INFO] [talledLocalContainer]    RemoveAbandonedTimeout: 60
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
StartupListener.contextInitialized(36) | initializing context...
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
StartupListener.contextInitialized(82) | Remember Me Enabled? true
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
StartupListener.contextInitialized(83) | Encrypt Passwords? true
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
StartupListener.contextInitialized(85) | Encryption Algorithm: SHA
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
StartupListener.contextInitialized(87) | Populating drop-downs...
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
LookupDaoHibernate.getRoles(19) | retrieving all role names...
[INFO] [talledLocalContainer] [basic-struts] DEBUG [main]
StartupListener.setupContext(103) | Drop-down initialization complete
[OK]
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:52 PM
org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] INFO: Deploying web application archive
cargocpc.war
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:52 PM
org.apache.coyote.http11.Http11BaseProtocol start
[INFO] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8081
[INFO] [talledLocalContainer] Jan 22, 2007 2:14:52 PM
org.apache.catalina.startup.Catalina start
[INFO] [talledLocalContainer] INFO: Server startup in 7549 ms
[INFO] [talledLocalContainer] Tomcat 5.5.17 started on port [8081]
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
   [mkdir] Created dir:
/Users/mraible/Desktop/basic-struts/target/webtest-data     [echo]
Testing 'basic-struts-1.0-SNAPSHOT' with locale 'en'

Login:
log4j:WARN No appenders could be found for logger
(com.canoo.webtest.ant.TestStepSequence).
log4j:WARN Please initialize the log4j system properly.

Logout:

PasswordHint:
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor23] PasswordHintAction.execute(41) | Processing
Password Hint...
[INFO] [talledLocalContainer] [basic-struts] ERROR
[http-8081-Processor23] MailEngine.send(71) | Mail server connection
failed; nested exception is javax.mail.MessagingException: Could not
connect to SMTP host: localhost, port: 25;
[INFO] [talledLocalContainer]   nested exception is:
[INFO] [talledLocalContainer]   java.net.ConnectException: Connection refused

Signup:
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor22] UserSecurityAdvice.before(73) | Registering
new user 'signup-user'
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor22] UserDaoHibernate.saveUser(39) | user's id:
null
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor22] UserSecurityAdvice.afterReturning(113) |
Removing 'signup-user' from userCache
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor22] SignupAction.sendUserMessage(104) | sending
e-mail to user [EMAIL PROTECTED]
[INFO] [talledLocalContainer] [basic-struts] ERROR
[http-8081-Processor22] MailEngine.send(71) | Mail server connection
failed; nested exception is javax.mail.MessagingException: Could not
connect to SMTP host: localhost, port: 25;
[INFO] [talledLocalContainer]   nested exception is:
[INFO] [talledLocalContainer]   java.net.ConnectException: Connection refused

EditUser:
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor21] UserAction.edit(100) | checking for remember
me login...

SearchUser:

SaveUser:
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor19] UserAction.edit(100) | checking for remember
me login...
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor19] UserDaoHibernate.saveUser(39) | user's id: 2
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor19] UserSecurityAdvice.afterReturning(113) |
Removing 'mraible' from userCache

AddUser:
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor18] UserSecurityAdvice.before(65) | Verifying that
'mraible' can modify 'newuser'
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor18] UserDaoHibernate.saveUser(39) | user's id:
null
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor18] UserSecurityAdvice.afterReturning(113) |
Removing 'newuser' from userCache
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor18] UserAction.sendUserMessage(104) | sending
e-mail to user [EMAIL PROTECTED]
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor18] UserAction.edit(100) | checking for remember
me login...
[INFO] [talledLocalContainer] [basic-struts] DEBUG
[http-8081-Processor18] UserManagerImpl.removeUser(66) | removing
user: 4

ActiveUsers:

UserTests:
    [echo] Successfully ran all User JSP tests!

FlushCache:

FileUpload:

run-all-tests:
[INFO] Executed tasks
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 13 seconds
[INFO] Finished at: Mon Jan 22 14:15:44 MST 2007
[INFO] Final Memory: 46M/508M
[INFO] ------------------------------------------------------------------------

On 1/22/07, rays <[EMAIL PROTECTED]> wrote:

A gzipped tar file 'basic-struts.tgz' should have been uploaded.

Thanks
Ray


Matt Raible-3 wrote:
>
> Can you send me your project?  Running "mvn clean" first will make it
> easier to squeeze it through the e-mail pipes.
>
> Thanks,
>
> Matt
>
> On 1/22/07, rays <[EMAIL PROTECTED]> wrote:
>>
>> Tried with 'mvn hibernate3:hbm2ddl'. It didn't seem to make much
>> difference
>> to me. Here is the stack trace,
>>
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'hibernate3'.
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building AppFuse Struts 2 Application
>> [INFO]    task-segment: [hibernate3:hbm2ddl]
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Preparing hibernate3:hbm2ddl
>> [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive
>> invocation.
>> [INFO] [warpath:add-classes {execution: default}]
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [hibernate3:hbm2ddl]
>> [INFO] Configuration XML file loaded:
>> 
/home/rayshi/data/projects/appfuse/2.0-m2/basic-struts/src/main/resources/hibernate.cfg.xml
>> [INFO] Configuration XML file loaded:
>> 
/home/rayshi/data/projects/appfuse/2.0-m2/basic-struts/src/main/resources/hibernate.cfg.xml
>> [INFO] Configuration Properties file loaded:
>> 
/home/rayshi/data/projects/appfuse/2.0-m2/basic-struts/target/classes/jdbc.properties
>> [WARNING] 1 errors occurred while performing <hbm2ddl>.
>> [ERROR] Error #1: com.mysql.jdbc.CommunicationsException: Communications
>> link failure due to underlying exception:
>>
>> ** BEGIN NESTED EXCEPTION **
>>
>> java.net.SocketException
>> MESSAGE: java.net.ConnectException: Connection refused
>>
>> STACKTRACE:
>>
>> java.net.SocketException: java.net.ConnectException: Connection refused
>>         at
>> com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
>>         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
>>         at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
>>         at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
>>         at
>> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
>>         at java.sql.DriverManager.getConnection(DriverManager.java:525)
>>         at java.sql.DriverManager.getConnection(DriverManager.java:140)
>>         at
>> 
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
>>         at
>> 
org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:28)
>>         at
>> org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:180)
>>         at
>> 
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:116)
>>         at
>> 
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:133)
>>         at
>> 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>>         at
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>>         at
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
>>         at
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
>>         at
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>>         at
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>>         at
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>         at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>
>>
>> ** END NESTED EXCEPTION **
>>
>>
>>
>> Last packet sent to the server was 17 ms ago.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 20 seconds
>> [INFO] Finished at: Tue Jan 23 07:24:49 EST 2007
>> [INFO] Final Memory: 10M/19M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> Cheers
>> Ray
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > This may be related to the following issue.  Can you try running "mvn
>> > hibernate3:hbm2ddl" before running "mvn integrationt-test"?
>> >
>> > http://issues.appfuse.org/browse/APF-585
>> >
>> > Matt
>> >
>> > On 1/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote:
>> >> It could be one of two things:
>> >>
>> >> 1) The JDBC URL is wrong. Are you running MySql on the same box on
>> which
>> >> you
>> >> are doing the build? If not you will need to change the URL
>> appropriately
>> >> in
>> >> the top level pom.
>> >> 2) The driver used in AppFuse is not compatible with the version of
>> MySql
>> >> that you are using. Please check compatibility.
>> >>
>> >> Mike
>> >>
>> >>
>> >> On 1/22/07, rays <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > Hi there,
>> >> >
>> >> > I am trrying  to run 'mvn -e integration-test" in 2.0-m2
>> basic-strusts
>> >> app,
>> >> > and am getting the following mysql connection refused error. Mysql
>> >> serve
>> >> > works fine as I am able to do the manual login on the Linux box.
>> >> >
>> >> > I would really appreciate if someone could have a look at the
>> following
>> >> > stack trace and point me to the right direction.
>> >> >
>> >> > Thanks in advance
>> >> > Ray[INFO] Scanning for projects...
>> >> > [INFO]
>> >> >
>> >>
>> ----------------------------------------------------------------------------
>> >> > [INFO] Building AppFuse Struts 2 Application
>> >> > [INFO]    task-segment: [integration-test]
>> >> > [INFO]
>> >> >
>> >>
>> ----------------------------------------------------------------------------
>> >> > [INFO] [warpath:add-classes {execution: default}]
>> >> > [INFO] [resources:resources]
>> >> > [INFO] Using default encoding to copy filtered resources.
>> >> > [INFO] [compiler:compile]
>> >> > [INFO] Nothing to compile - all classes are up to date
>> >> > [INFO] [resources:testResources]
>> >> > [INFO] Using default encoding to copy filtered resources.
>> >> > [INFO] [compiler:testCompile]
>> >> > [INFO] Nothing to compile - all classes are up to date
>> >> > [INFO] [dbunit:operation {execution: default}]
>> >> > [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.SocketException
>> >> > MESSAGE: java.net.ConnectException: Connection refused
>> >> >
>> >> > STACKTRACE:
>> >> >
>> >> > java.net.SocketException: java.net.ConnectException: Connection
>> refused
>> >> >        at
>> >> >
>> >>
>> com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
>> >> >        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
>> >> >        at
>> >> com.mysql.jdbc.Connection.createNewIO(Connection.java
>> >> :2666)
>> >> >        at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
>> >> >        at
>> >> >
>> >>
>> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
>> >> >        at
>> >> >
>> >> org.codehaus.mojo.dbunit.AbstractDbUnitMojo.createConnection
>> >> (AbstractDbUnitMojo.java:169)
>> >> >        at
>> >> >
>> >> org.codehaus.mojo.dbunit.OperationMojo.execute(OperationMojo.java:93)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java
>> >> :475)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java
>> >> :306)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>> >> >        at
>> >> >
>> >>
>> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
>> >> :140)
>> >> >        at
>> >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>> >> >        at
>> >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>> >> >        at
>> >> org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>> >> >        at sun.reflect.N        at
>> >> >
>> >>
>> 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> >> >        at java.lang.reflect.Method.invoke(Method.java:585)
>> >> >        at
>> >> > org.codehaus.classworlds.Launcher.launchEnhanced
>> >> (Launcher.java:315)
>> >> >        at
>> >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> >> >        at
>> >> >
>> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >> >        at org.codehaus.classworlds.Launcher.main
>> >> (Launcher.java:375)
>> >> >
>> >> >
>> >> > ** END NESTED EXCEPTION **
>> >> >
>> >> >
>> >> >
>> >> > Last packet sent to the server was 25 ms ago.
>> >> > [INFO]
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > [INFO] For more information, run Maven with the -e switch
>> >> > [INFO]
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > [INFO] Total time: 9 seconds
>> >> > [INFO] Finished at: Mon Jan 22 22:58:34 EST 2007
>> >> > [INFO] Final Memory: 10M/19M
>> >> > [INFO]
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > ativeMethodAccessorImpl.invoke0(Native Method)
>> >> >        at
>> >> >
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> >> >
>> >> >
>> >> > Stack trace from 'mvn integration-test',
>> >> > =================================
>> >> >
>> >> >
>> >> > --
>> >> > View this message in context:
>> >>
>> 
http://www.nabble.com/Mysql-Exception-in-2.0-m2-basic-struts-tf3053403s2369.html#a8487854
>> >> > 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-Exception-in-2.0-m2-basic-struts-tf3053403s2369.html#a8509191
>> 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]
>
>
>
http://www.nabble.com/file/5860/basic-struts.tgz basic-struts.tgz
--
View this message in context: 
http://www.nabble.com/Mysql-Exception-in-2.0-m2-basic-struts-tf3053403s2369.html#a8509817
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]

Reply via email to