Michael

Thanks for your reply.


The strange thing is that it gives the same error for any username/password
which does not exist in my database table. My question is how to debug this
- don't we need to download the source jsps/servlets.


Michael Horwitz wrote:
> 
> Answers below:
> 
> On 4/11/07, nmall <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> 1) I downloaded appfuse source from svn and still cannot find tehe
>> LoginServlet.java and other jsps. How do we get these so we can modify
>> them
>> and use them.
> 
> 
> If you run mvn war:inplace in the web module (or at the top level if you
> started your project from a basic archetype) it will populate your project
> will all the jsp files. You will find them under src/main/webapp in your
> web
> module.
> 
> 2)  Can we use ant with appfuse 2.x. I am quite new to Maven and not sure
> we
>> can build a whole new app with it.
> 
> 
> There is a task on the roadmap to generate an ant build for AppFuse 2.0,
> but
> it has not happened yet. Many users (myself included) have built full
> applications using Maven - as Maven has an antrun task you can do most
> things with Maven that you can do with Ant.
> 
> 3)  I was trying to add a new user using my sample app and am getting the
>> following error  for any new record I add - how do we debug this w/o
>> access
>> to the java code for Signup etc. Any idea why i would get this. I am
>> running
>> with mvn -e jetty:run-war but it doesn't give much trace
>>
>> "This username (nobody) or email address (...) already exists. Please try
>> a different user name.
> 
> 
> As it says - the user is already entered on the database :-). There is a
> unique constraint on the username and email address fields on the database
> -
> the new user you are trying to create is violating one of these
> constraints.
> 
> 
>> 4) This is regrading security.  I can't find
>> applicationContext-security.xml
>> - is it in a jar - if so which one. Also, I am unable to find proper
>> documentation for where the security files/examples are located for 2.x.
> 
> 
> Once you run mvn war:inplace you will find the sercurity configuration
> under
> src/main/webapp/WEB-INF in your web module. Perhaps this FAQ entry will
> help: http://www.appfuse.org/display/APF/FAQ#FAQ-whereisthesource which
> reads:
> 
> 
> AppFuse 2.x is a fair amount different from 1.x in that you don't get all
> the source to start your project with. The main reason for this is to make
> it possible for you to upgrade your application to a newer version of
> AppFuse. For a more detailed explanation, please see this mailing list
> thread<http://www.nabble.com/Appfuse-2.0---where-are-the-sources-jsps--tf3119998s2369.html>
> .
> 
> If you're a savvy Maven 2 user, you can probably use AppFuse's
> source<http://www.appfuse.org/display/APF/Source+Repository>and piece
> together your own project with all the source files included. We
> may support a full source archetype in the future, but it's not likely for
> 2.0. To see how to modify AppFuse's core entity classes, see how to modify
> core classes <http://www.appfuse.org/display/APF/AppFuse+Core+Classes>. If
> you'd like to modify web classes, you may be able to use the
> <warpathExcludes> element in your WarPath Plugin
> configuration<http://static.appfuse.org/plugins/maven-warpath-plugin/excludingResources.html>
> .
> 
> Mike.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/multiple-questions-tf3559756s2369.html#a9941786
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to