To use your local installation, you can set a CATALINA_HOME environment 
variable that points to c:\tomcat6 and everything should work. You can also 
hard-code c:\tomcat6 into the following property.

<cargo.container.home>${env.CATALINA_HOME}</cargo.container.home>

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

> I could continue with my spring installation if only I could get a handle on 
> how to get past the tests (error below). I would prefer deploying to my own 
> tomcat installation which is @ c:\tomcat6 (v. 6.0.18)
> 
> I get the this error. how do i resolve it
> 
> 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/ 
> 
> Vanessa
> ----- Original Message -----
> From: "Vanessa Pacheco" <vpach...@bowmansystems.com>
> To: users@appfuse.dev.java.net
> Sent: Wednesday, November 3, 2010 4:09:24 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues)
> 
> Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the 
> drop-down to generate the archtype
> 
> I'm looking at instructions on this page
> http://appfuse.org/display/APF/AppFuse+QuickStart
> 
> Thanks for all your help. Sorry to bother so much
> Vanessa
> 
> 
> ----- Original Message -----
> From: "Matt Raible" <m...@raibledesigns.com>
> To: users@appfuse.dev.java.net
> Sent: Wednesday, November 3, 2010 3:43:56 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues)
> 
> The error you're seeing is caused by a newer version of the archetype plugin. 
> The 2.0-alpha-5 version creates projects that have duplicate package names 
> (as you see below). This has been fixed in 2.0.2-M2-SNAPSHOT. 
> 
> 
> On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco < vpach...@bowmansystems.com 
> > wrote: 
> 
> 
> I haven't set up my smtp server, but I don't think that should affect the 
> tests? since that is mainly for email stuff. Am I right? 
> 
> Attaching my pom.xml, since I made changes to use postgres. This is the only 
> place I made changes. Did I have to make changes elsewhere (hibernate), since 
> my tables have -ve values for primary key IDs. 
> 
> 
> Vanessa 
> ----- Original Message ----- 
> From: "Matt Raible" < m...@raibledesigns.com > 
> To: users@appfuse.dev.java.net 
> Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York 
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues) 
> 
> 
> 
> 
> When you say "changed to use struts", did you create a new project or try to 
> switch your own? Which version of AppFuse are you using? 
> 
> On Nov 3, 2010 , at 12:43 PM, Vanessa Pacheco wrote: 
> 
>> I've changed to use struts now 
>> 
>> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
>> attached the error report). Where do I make changes? 
>> 
>> -------------------------------------------------------------------------------
>>  
>> Test set: com.mycompany.webapp.webapp.action.SignupActionTest 
>> -------------------------------------------------------------------------------
>>  
>> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec 
>> <<< FAILURE! 
>> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE! 
>> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
>> (java.lang.Error: Unresolved compilation problem: 
>>       The declared package "com.mycompany.webapp.action" does not match the 
>> expected package "com.mycompany.webapp.webapp.action" 
>> ========================================== 
>> 
>> <com.mycompany.webapp.action.SignupActionTest.txt>---------------------------------------------------------------------
>>  
>> 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 
> 
> 
> --------------------------------------------------------------------- 
> 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
> 
> 
> 
> ---------------------------------------------------------------------
> 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