[appfuse-user] java.lang.NullPointerException on log4j

2007-08-08 Thread BruceLee
Team, When I start tomcat, I got java.lang.NullPointerException on log4j. But I didn't change anything on log4j except set log4j.rootCategory=DEBUG, stdout in log4j.properties. Any ideas? Thanks! -Mike ---catalina.log--- Aug 9, 2007 12:50:07 AM org.apache.catalina.core.AprLifecycleListener lif

[appfuse-user] Unicode problem in applicationContext-resources.xml

2007-08-08 Thread kkus
Env. is 1.9.4 Spring+Hibernate, XP SP2 and JDK5 Update 11. Chinese characters in that file became monster characters after related build target was implemented in some cases. For example, "报警历史记录" in that xml file will lead to all Chinese monster characters. Log file showed, [appfuse] ERROR [mai

Re: [appfuse-user] Data binding errors and java.util.Date

2007-08-08 Thread Developer Abe
Hi Matt, I read that post and it was helpful but I still don't think I understand what is meant by "use a String property, and then do some custom formatting (after validation) to make it into a date". If I understand correctly when you said that it doesn't make sense to "to validate a java.uti

Re: [appfuse-user] Data binding errors and java.util.Date

2007-08-08 Thread Matt Raible
This should help: http://www.jroller.com/raible/entry/validating_dates_with_commons_validator Matt On 8/8/07, Developer Abe <[EMAIL PROTECTED]> wrote: > Getting the following: > > [keymanager] DEBUG [main] > KeyMetadataFormController.showNewForm(322) | Displayin > g new form > [keymanager] DEBUG

[appfuse-user] Data binding errors and java.util.Date

2007-08-08 Thread Developer Abe
Getting the following: [keymanager] DEBUG [main] KeyMetadataFormController.showNewForm(322) | Displayin g new form [keymanager] DEBUG [main] KeyMetadataFormControllerTest.testSave(51) | 2005-01-0 1 00:00:00.0 [keymanager] DEBUG [main] KeyMetadataFormControllerTest.testSave(52) | 2007-01-0 1 00:00:

Re: [appfuse-user] Problem with signup user in M5

2007-08-08 Thread Matt Raible
You can use "mvn jetty:run-war -Djetty.port=9000" to run on another port. Matt On 8/8/07, Stephen More <[EMAIL PROTECTED]> wrote: > Yes I am trying it with MySQL. I have tried it both ways... > > 1. "mvn jetty:run-war" - "failed SelectChannelConnector @ > 0.0.0.0:8080" Is there a way to bind it t

Re: [appfuse-user] Problem with signup user in M5

2007-08-08 Thread Stephen More
Yes I am trying it with MySQL. I have tried it both ways... 1. "mvn jetty:run-war" - "failed SelectChannelConnector @ 0.0.0.0:8080" Is there a way to bind it to 1 specific ip, 8080 is already used on 2 out of my 5 ips ? 2. I copied it to a current running instance of tomcat. appFuse said it neede

Re: [appfuse-user] legacy passwords

2007-08-08 Thread Fred Forester
Thanx a bunch Matt Matt Raible wrote: StringUtil.encodePassword is used for encoding passwords on user signup - at least in 1.9.x. The PasswordEncoder (in security.xml) is used to encode and compare when logging in. You should be able to provide your own PasswordEncoder implementation to fit y

Re: [appfuse-user] execute junit tests in eclipse

2007-08-08 Thread arief
Yes, I could run the "mvn test". All test ran successfully. Initially, i used Candy4Appfuse. But now, the project that created just now is not using candy. And it still showing me that error. After googling around, several result came out and one of it answered by Rod ( http://forum.springframewo

Re: [appfuse-user] legacy passwords

2007-08-08 Thread Matt Raible
StringUtil.encodePassword is used for encoding passwords on user signup - at least in 1.9.x. The PasswordEncoder (in security.xml) is used to encode and compare when logging in. You should be able to provide your own PasswordEncoder implementation to fit your schema. Matt On 8/8/07, Fred Forester

[appfuse-user] legacy passwords

2007-08-08 Thread Fred Forester
Hi All, I have a legacy package that will be used for managing accounts. I would like my appfuse 1.9.x app to authenticate passwords that were encrptyed using crypt. I will have something run nightly to build the app_user, user_role tables from the legacy tables. I know (or at least I read)

Re: [appfuse-user] execute junit tests in eclipse

2007-08-08 Thread arief
Thanks Matt, I have tried them.. first running the "mvn resources..." but failed. Then I replaced the jdbc.properties with the actual values.. and still not working. Then, i tried to create the project using the mvn create new project from archtype (not from candy4appfuse that i used before) and

Re: [appfuse-user] execute junit tests in eclipse

2007-08-08 Thread Matt Raible
Can you run your tests from the command line using "mvn test"? If so, then it's probably an Eclipse issue. If you're using Candy4AppFuse, it may be related to that as well. Matt On 8/8/07, arief <[EMAIL PROTECTED]> wrote: > > Thanks Matt, I have tried them.. first running the "mvn resources..." b

Re: [appfuse-user] Need of a Timeline control

2007-08-08 Thread Sanjiv Jivan
Did you check out this project http://simile.mit.edu/timeline/ You should be able to integrate it in your AppFuse application since the timeline API is all Javascript. Sanjiv On 8/8/07, Sanath <[EMAIL PROTECTED]> wrote: > > > HI all, > I have been assigned to develop a timeline application in ap

Re: [appfuse-user] trying to send email

2007-08-08 Thread mikebgx
Thanks Matt, Injecting the MailEngine dependency into my class did the trick. I was surprised I needed to, thought I could achieve same by obtaining the mailEngine bean from code. But now it works and I understand dependency injection better too. And I had to fiddle with sender/ account setting

Re: [appfuse-user] In JSP page, cannot jump to new .jsp in pages/ directory

2007-08-08 Thread Michael Horwitz
Then it is the xwork.xml file you are interested in. For the example you site, editProfile.html, you will find an entry in the xwork.xml file: /WEB-INF/pages/userForm.jsp /WEB-INF/pages/mainMenu.jsp The dispatcher servlet will call the Spring bean "userAction" to process the request an

Re: [appfuse-user] In JSP page, cannot jump to new .jsp in pages/ directory

2007-08-08 Thread BruceLee
We use AppFuse 1.9 and WebWork. We plan to upgrade to 1.9.4 though. Thanks! Michael Horwitz wrote: > > It all depends on the web framework you have chosen. Which version of > AppFuse, and which web framework are you using? > > On 8/8/07, BruceLee <[EMAIL PROTECTED]> wrote: >> >> >> Thank Mike

Re: [appfuse-user] Problem with signup user in M5

2007-08-08 Thread Matt Raible
Are you using the default database (MySQL)? If so, what do you mean by "deployment" are you copying a WAR to Tomcat or are you using "mvn jetty:run-war"? Matt On 8/8/07, Stephen More <[EMAIL PROTECTED]> wrote: > I created a JSF project using: > > mvn archetype:create -DarchetypeGroupId=org.appfus

Re: [appfuse-user] spring BeanCreationException

2007-08-08 Thread Tomas Barrios
Running again ant setup worked for me, but you must backup your db no to lose any important information. Felipe Nascimento wrote: > > As your error massage say: > nested exception is java.lang.NoClassDefFoundError: > javax/transaction/TransactionManager > > You need to put jta.jar in your clas

Re: [appfuse-user] In JSP page, cannot jump to new .jsp in pages/ directory

2007-08-08 Thread Michael Horwitz
It all depends on the web framework you have chosen. Which version of AppFuse, and which web framework are you using? On 8/8/07, BruceLee <[EMAIL PROTECTED]> wrote: > > > Thank Mike for answer. > In mainMenu.html there is link to /editProfile.html. But I cannot find > editProfile.jsp anywhere. I g

Re: [appfuse-user] jQuery + scriptaculous + datePicker = frustration

2007-08-08 Thread Matt Raible
I haven't used jquery, so I don't have any advice for you. However, I do believe you should be able to use it w/o scriptaculous, so I don't know why you'd need to include them both. I'd suggest trying to get things to work in a standalone HTML page (outside of AppFuse). Once you have that working,

Re: [appfuse-user] In JSP page, cannot jump to new .jsp in pages/ directory

2007-08-08 Thread BruceLee
Thank Mike for answer. In mainMenu.html there is link to /editProfile.html. But I cannot find editProfile.jsp anywhere. I guess it jump to editProfile.action directly. So my question is, Which files control this mapping (like xwork.xml)? Any document link about the rules? Thanks a lot! -Bruce M

[appfuse-user] Problem with signup user in M5

2007-08-08 Thread Stephen More
I created a JSF project using: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-jsf -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m5 -DgroupId=com.mycompany.app -DartifactId=myJSFproject After deployment, I tried to signup

[appfuse-user] jQuery + scriptaculous + datePicker = frustration

2007-08-08 Thread syg6
Howdy. Anyone ever successfully used the http://kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html jQuery datePicker with appfuse? Lemme tell you a story: In default.jsp, the page that 'decorates' all of your jsps, you have the following js libraries: prototype.js scriptaculous.js glo

Re: [appfuse-user] In JSP page, cannot jump to new .jsp in pages/ directory

2007-08-08 Thread Michael Horwitz
Normally you do this by pointing to an .html link and then mapping it through your chosen web tier, e.g. mainMenu.html maps to mainMenu.jspthrough the web tier. Mike. On 8/8/07, BruceLee <[EMAIL PROTECTED]> wrote: > > Team, I'm new user of appfuse. In /web/pages/user/main.jsp, I want to > click

[appfuse-user] Need of a Timeline control

2007-08-08 Thread Sanath
HI all, I have been assigned to develop a timeline application in appfuse. This timeline needs to show the people who are in and out of an organization within the hours of a day. I just need some help from you to identify a good opensource timeline control that I can use in this scenario with in