The port number is controlled by Cargo and properties in your pom.xml. If you 
want to run it on a port other than the default, change the cargo.port property 
in the bottom of pom.xml.

On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:

> That helped Matt. I copied the properties from the postgres profile to the 
> properties at the bottom of pom.xml. So I've now got my app talking with 
> postgres.
> 
> Now I get this when I run mvn from within my project dir to download JARs, 
> Tomcat and run the integration tests in my project. I see the 3 tables in my 
> database (app_user, role, user_role), so its gotten past that stage. This is 
> the TESTS stage.
> 
> Login:
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while 
> exe
> cuting this line:
> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404
> 
> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/
> 
> Do I need to make some changes somewhere. I see localhost:8081 in there. My 
> tomcat isn't running (should it be running for the tests?). Also when I run 
> any of my tomcat apps I use localhost:8080, so I changed it to 8080 in 
> pom.xml. However, no luck still. What should I do here?
> 
> 
> Vanessa
> ----- Original Message -----
> From: "Matt Raible" <m...@raibledesigns.com>
> To: "Vanessa Pacheco" <vpach...@bowmansystems.com>
> Cc: "users" <users@appfuse.dev.java.net>
> Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
> 
> There might be issues with this working properly. If it's still talking to 
> MySQL, you might have to move the property values from the postgres profile 
> to the properties at the bottom of pom.xml (overriding the default/mysql's 
> properties).
> 
> On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:
> 
>> Matt,
>> 
>> Did you mean "mvn eclipse:eclipse -Ppostgres"?
>> 
>> I've added the following to pom.xml for the postgres profile
>>        <activation>
>>          <activeByDefault>true</activeByDefault>
>>        </activation>
>> 
>> 
>> Vanessa
>> ----- Original Message -----
>> From: "Matt Raible" <m...@raibledesigns.com>
>> To: "Vanessa Pacheco" <vpach...@bowmansystems.com>
>> Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>> 
>> Try running it with -Ppostgres - also look in pom.xml for the settings for 
>> Postgres. 
>> 
>> 
>> On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco < vpach...@bowmansystems.com 
>> > wrote: 
>> 
>> 
>> Hi all, 
>> 
>> I realized the mistake...I had to get into my prj folder to run the command. 
>> However, now I get a mySQL access error "Embedded error: Access denied for 
>> user 'root'@'localhost' (using password: NO)" 
>> 
>> Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
>> postgres? 
>> 
>> Vanessa 
>> 
>> 
>> 
>> ----- Original Message ----- 
>> From: "Vanessa Pacheco" < vpach...@bowmansystems.com > 
>> To: users@appfuse.dev.java.net 
>> Cc: m...@raibledesigns.com 
>> Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York 
>> Subject: [appfuse-user] starting with Appfuse 2 from scratch 
>> 
>> Hi all, 
>> 
>> I'm starting from scratch with Appfuse 2.0. 
>> 
>> I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't 
>> follow this step "use Callisto (Software Update) to get plugins for 
>> developing web and database-driven applications." Could someone shed some 
>> light please, to a newbie 
>> 
>> I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I 
>> get an error. 
>> 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] Building Maven Default Project 
>> [INFO]    task-segment: [eclipse:eclipse] 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] Preparing eclipse:eclipse 
>> [INFO] No goals needed for project - skipping 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [ERROR] BUILD ERROR 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] Cannot execute mojo: eclipse. It requires a project with an existing 
>> pom. 
>> xml, but the build is not using one. 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> [INFO] For more information, run Maven with the -e switch 
>> [INFO] 
>> ------------------------------------------------------------------------ 
>> 
>> Can someone please help me with these steps. 
>> 
>> Thank you 
>> Vanessa 
>> 
>> --------------------------------------------------------------------- 
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net 
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net 
>> 
>> 
>> 
>> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to