Re: [appfuse-user] Xfire exposes all methods by default

2009-02-08 Thread mschipperheyn
Looking around I've seen the following suggested solutions * Specifiying an interface as an endpoint which just contains the methods I need. This is an ok solution. This should work if I create an interface which I extend by the service manager interface because I guess it has to be a service mana

[appfuse-user] Linux / Tomcat issue

2009-02-08 Thread Waldo Rochow
Hi all, I am trying to get an appfuse project deployed into Tomcat5.5. When I go to the http://localhost:8080/myappname I get a generic Tomcat 404 error, yet the Tomcat sample war (http://tomcat.apache.org/tomcat-5.5-doc/appdev/sample/) works fine. What's also odd is that the description of the 40

[appfuse-user] Access Denied: Only administrators are allowed to modify other users

2009-02-08 Thread Su
Hi All, I'm new to appfuse. I add a new field in User.java, I'd like to change the field by other user. But It shows that "Access Denied: Only administrators are allowed to modify other users". Is there any way for a user to change the field by other user?their role are both user. Maybe create a l

Re: [appfuse-user] Access Denied: Only administrators are allowed to modify other users

2009-02-08 Thread Matt Raible
The UserSecurityAdvice.java class has the logic that prevents you from modifying other user's data. http://source.appfuse.org/browse/~raw,r=trunk/appfuse/trunk/service/src/main/java/org/appfuse/service/UserSecurityAdvice.java I was able to disable this in AppFuse Light by doing the following: 1.

Re: [appfuse-user] Linux / Tomcat issue

2009-02-08 Thread Matt Raible
Without any pom.xml modifications, you should be able to run "mvn package" and copy target/yourapp-version.war to $CATALINA_HOME/webapps and run it. If it fails to start, look at the log files in $CATALINA_HOME/logs. Hope this helps, Matt On Sun, Feb 8, 2009 at 8:35 AM, Waldo Rochow wrote: > Hi

Re: [appfuse-user] How to redeploy the war without stop the jetty run by mvn

2009-02-08 Thread tonylu880042
Hi, The problem is solved. I also documented this into my blog at the following link. http://tony880042.blogspot.com/2009/02/how-to-redeploy-war-without-stop-jetty.html I want to thank you all to help me out of this. Best regards, tony Ice-Man wrote: > > The answer to your question is in: > ht

Re: [appfuse-user] LogIn using my own User Table (2.0.2 Struts2 Modular-Eclipse -Poracle)

2009-02-08 Thread Matt Raible
I've never done this myself, but I believe you'd have to create new dataSource and sessionFactory beans that points to your legacy database and then configure the userDao to talk to this sessionFactory. Of course, you might also need to change the table names on the User and Role classes. You also

[appfuse-user] Newbie:Followed Quickstart to the letter, but lot of errors

2009-02-08 Thread suhaizal
I'm new to AppFuse, so decided to give it a go. I followed the quickstart guide, but bumped into a lot of errors. Here's my system settings: 1.mvn -v Maven version: 2.0.9 Java version: 1.5.0_16 OS name: "linux" version: "2.6.27-7-generic" arch: "i386" Family: "unix" 2. Project creation command (C

Re: [appfuse-user] Newbie:Followed Quickstart to the letter, but lot of errors

2009-02-08 Thread Matt Raible
Are you behind a firewall or proxy server? I haven't seen these errors before. However, you might try changing your repositories to the following to see if it helps: appfuse http://oss.sonatype.org/content/repositories/appfuse-releases