On Nov 5, 2010, at 7:26 AM, Vanessa Pacheco wrote: > I got all my issues solved (except one). > > I am able to follow the QuickStart steps and get a running working app. My > problem was the java version. I had java6 update02. I got update 22 and now > everything works fine. > > My only issue is that with my env CATALINA variable and one other change to > pom.xml, it still doesn't depoly to my installed version of tomcat.
What do you see when run "echo %CATALINA_HOME%" from the command line? > > The -ve values for PK IDs in the database is because my sample-data.xml has > -ve values. Was there a reason for this? Nope, I don't believe the -ve was done by AppFuse. If it was, it might be a bug. > > Vanessa > > ----- Original Message ----- > From: "dan" <cmaj...@gmail.com> > To: users@appfuse.dev.java.net > Sent: Friday, November 5, 2010 1:23:56 AM (GMT-0500) America/New_York > Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch > > Thanks for Matt's remind,I find why this error happens,because my > default account admin which is created from the > src/test/resource/sample-data.xml,but the md5 password is not the > admin,so the > src/test/resources/login.xml will show the errors because it tests the > login action use admin/admin, > but i don't know when the admin's md5 password changes,the > sample-data.xml keep frozen > > > > δΊ 2010-11-5 12:03, Matt Raible ει: >> If you create a new app and run "mvn install", does it work? >> >> On Nov 4, 2010, at 8:54 PM, dan<cmaj...@gmail.com> wrote: >> >>> I am using apache-tomcat-6.0.29,first i meet the same 404 error.as we >>> know,since tomcat6.x version,it add the memory detect module,but it is not >>> so smart,so i comment it,see below >>> 1.find server.xml in $TOMCAT_HOME/conf >>> 2.find the >>> <!-- Prevent memory leaks due to use of particular java/javax APIs >>> <Listener >>> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> >>> --> >>> 3.mvn deploy >>> so the 404 will not exist,but it then generate extra errors >>> >>> D:\workspace\DBSync\src\test\resources\login.xml:6: Wrong document title >>> found!. >>> >>> from 2010-11-3 22:12, Vanessa Pacheco say: >>>> Tried it, but I get the same 404 error. >>>> >>>> I already have tomcat installed in my c:\ dir that I use for my other >>>> applications. Is it possible to make Appfuse use this tomcat (v. 6.0.18)? >>>> What changes would I need to make to pom.xml and where else will I have to >>>> make changes? Would there be any changes to this file >>>> "myproject/web/.settings/org.eclipse.wst.common.component"?? >>>> >>>> Thanks in advance for all of your help >>>> >>>> Vanessa >>>> ----- Original Message ----- >>>> From: "dan"<cmaj...@gmail.com> >>>> To: users@appfuse.dev.java.net >>>> Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York >>>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch >>>> >>>> SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in >>>> login.xml still didn't change, >>>> let's see<invoke description="get Login Page" url="/"/> >>>> so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass >>>> the test,Good Luck >>>> >>>> >>>> On 2010-11-3 6:06, Matt Raible wrote: >>>>> 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 >>>>> >>>> --------------------------------------------------------------------- >>>> 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 > > <Copy of > pom.xml>--------------------------------------------------------------------- > 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