Re: [appfuse-user] Change roles

2007-04-30 Thread Matt Raible
I don't know if you can switch between roles with it, but you might look into using the SwitchUserProcessingFilter from Acegi. http://www.nabble.com/Re:-Multiple-Usernames-p9167108s2369.html Matt On 4/30/07, muriloht <[EMAIL PROTECTED]> wrote: Good mourning, i would like to know if there is

Re: [appfuse-user] login.jsp and menus

2007-04-30 Thread Matt Raible
You should be able to add a roles attribute to it in menu-config.xml. This will disable the tab until you're logged in. Matt On 4/30/07, Will Berger <[EMAIL PROTECTED]> wrote: Does anyone know how to make the login.jsp not display the mainMenu tab. It is there you can click on it, but of cour

[appfuse-user] Need hint for integration of custom hibernate interceptor

2007-04-30 Thread Kehren, Peter (regio iT)
Hi, I wrote an own Hibernate Interceptor for my AppFuse 2.0.4 application. After that I registered the class in the META-INF/persistence.xml file: But nothing happend. It seems, that Hibernate ignores the configuration. What's my mistake? Did I missed s

Re: [appfuse-user] Workflow in appfuse

2007-04-30 Thread Nicolas Modrzyk
Hi Jonathan, There is a very nice newbie guide archive for OpenWfe at the following place: http://web.archive.org/web/20060207025750/web.openwfe.org/display/ openwfe/Vamsee's+Newbie+Guide In Magnolia, only 4 openwfe modules are needed: - openwfe-applic: application classes - openwfe-embed: c

[appfuse-user] tapestry - contrib table sorting

2007-04-30 Thread Yohan Yudanara
Hi.. I'm using tapestry 4.0.1 included in Appfuse 1.9.4 why does the sorting on contrib table not working (ascending to descending or descending to ascending) when I click on title column too quick? When I click in title column for the first time, the table data sorted ascending.. When I cli

[appfuse-user] JBossWeb versus Apache2.0+ mod_jk+Tomcat

2007-04-30 Thread dev dev
Have anyone running JBossWeb in production versus Apache2.0 + mod_jk+ Tomcat to handle very large load? thanks Dev

Re: [appfuse-user] login.jsp and menus

2007-04-30 Thread Nathan Anderson
Exclude the login.jsp from being decorated by SiteMesh and you can make it look like whatever you want. There is probably another way, but that is what I have done in the past. HTH, Nathan - Original Message - From: "Will Berger" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent

[appfuse-user] login.jsp and menus

2007-04-30 Thread Will Berger
Does anyone know how to make the login.jsp not display the mainMenu tab. It is there you can click on it, but of course can't access it because you have not logged in. My customer wants to turn it off. Any help much appreciated. Will -- View this message in context: http://www.nabble.com/lo

RE: [appfuse-user] Switch database from mySQL to Db/2 using JNDI datasources

2007-04-30 Thread Bajaj, Deepak
That's ok. How do I create the appropriate and correct tables in DB/2 to suppor the user and role in DB2. Presently MYSQL is using bitmap columns for permissions, DB2 does not have this as a datatype. I wonder, how do I get or generate the right and appropriate script for table creation for DB2.

Re: [appfuse-user] Switch database from mySQL to Db/2 using JNDI datasources

2007-04-30 Thread Christopher Love
You need too change your dataSource bean in the applicationContext-resources.xml file. Have this point too a jndi context factory. Example: On 4/30/07, Bajju <[EMAIL PROTECTED]> wrote: Any idea how I wuld accompalish above? basically, we wish to do following. (1) Use JNDI datasourc

RE: [appfuse-user] Switch database from mySQL to Db/2 using JNDI datasources

2007-04-30 Thread Bajaj, Deepak
2.0_M4 From: Michael Horwitz [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 1:49 PM To: users@appfuse.dev.java.net Subject: Re: [appfuse-user] Switch database from mySQL to Db/2 using JNDI datasources Which version of AppFuse are you using? Mike On

Re: [appfuse-user] Switch database from mySQL to Db/2 using JNDI datasources

2007-04-30 Thread Michael Horwitz
Which version of AppFuse are you using? Mike On 4/30/07, Bajju <[EMAIL PROTECTED]> wrote: Any idea how I wuld accompalish above? basically, we wish to do following. (1) Use JNDI datasources (on websphere 6.1.x), instead of spring managed. (2) Use DB/2 instead of MySQL Rgds, Deepak BAJAJ -

[appfuse-user] Switch database from mySQL to Db/2 using JNDI datasources

2007-04-30 Thread Bajju
Any idea how I wuld accompalish above? basically, we wish to do following. (1) Use JNDI datasources (on websphere 6.1.x), instead of spring managed. (2) Use DB/2 instead of MySQL Rgds, Deepak BAJAJ -- View this message in context: http://www.nabble.com/Switch-database-from-mySQL-to-Db-2-us

Re: [appfuse-user] Appofuse on ubuntu

2007-04-30 Thread Nathan Anderson
Hi there, How did you install Tomcat? Did you download the binaries from Apache's website, or did you use apt-get or synaptic package manager? Nathan - Original Message - From: "reddeagle9" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, April 30, 2007 3:56:59 AM (GM

[appfuse-user] Change roles

2007-04-30 Thread muriloht
Good mourning, i would like to know if there is a way to create a combobox to allow the users switch between the roles that he haves. something like: i am an user and my roles are: "teacher,student,coordinator" when i login to the system i would like to switch between the views of indivudual

Re: [appfuse-user] finding appfuse tutorial classes in netbeans

2007-04-30 Thread J. David Mendoza
Ahh... but you can use it... just add these lines under the warpath dependency and it should work (but you will have to comment it each time you wish to do a mvn clean, 'cause the jar isn't there yet :) org.appfuse appfuse-${web.framework} ${appfuse.vers

[appfuse-user] Need hint for integration of custom hibernate interceptor

2007-04-30 Thread Kehren, Peter (regio iT)
Hi, I wrote an own Hibernate Interceptor for my AppFuse 2.0.4 application. After that I registered the class in the META-INF/persistence.xml file: But nothing happend. It seems, that Hibernate ignores the configuration. What's my mistake? Did I miss som

Re: [appfuse-user] Appofuse on ubuntu

2007-04-30 Thread tibi
and has the file reading permission? (ls -l) tibi reddeagle9 wrote: Like a try appfuse guy, i said i would check out development on ubuntu. I am not a linux head and have most experience with windows etc. but just to open my eyes Have everything set up and created a default appfuse 1.9.4 proj

Re: [appfuse-user] strange classloading problem

2007-04-30 Thread Michael Horwitz
I assume it is Tomcat that is running out of memory. You will need to increase the heap size when running Tomcat. To do this set the environment variable CATALINA_OPTS to contain: -Xms64m -Xmx512m The above values are examples - feel free to change the numbers as suits. See the following thread

Re: [appfuse-user] strange classloading problem

2007-04-30 Thread nmall
I tried to deploy the same project to tomcat using the default maven plugin by doing mvn tomcat:deploy and it runs out of java heap memory space. I am not sure where I can increase the heap size now. Why would it run out of heapspace. This is the ONLY app it has in tomcat. Thanks for your help

Re: [appfuse-user] strange classloading problem

2007-04-30 Thread Michael Horwitz
No need to build a whole new project! It is possible to configure Maven to switch from using Jetty to using Tomcat, but before going down that route I would suggest trying to deploy your project to Tomcat manually to see if it solves the problem. If it does, the switch can be made. To do a manual

Re: [appfuse-user] strange classloading problem

2007-04-30 Thread nmall
Thanks, Mike. I do have the jar files containing these classes in the WEB-INF/lib directory. It looks like jetty is invoking this webappclassloader right. Pentaho is a reporting application I am invoking. How do I switch from using Jetty to Tomcat using the appfuse-struts m4 basic project. I

Re: [appfuse-user] Keeping User Object in Session (SecurityContextImpl / SessionRegistry)

2007-04-30 Thread Michael Horwitz
I'm afraid not - always gone the ContextHolder route. Mike. On 4/30/07, sionsmith <[EMAIL PROTECTED]> wrote: Awesome thanx mate! I'm using that now - although i've made a session Registery - just to have a play around - what the hell is the point in them? Have you ever used them? Dont need it

[appfuse-user] Appofuse on ubuntu

2007-04-30 Thread reddeagle9
Like a try appfuse guy, i said i would check out development on ubuntu. I am not a linux head and have most experience with windows etc. but just to open my eyes Have everything set up and created a default appfuse 1.9.4 project called jubuntu: i have successfully run tests etc and am able to b

Re: [appfuse-user] Keeping User Object in Session (SecurityContextImpl / SessionRegistry)

2007-04-30 Thread sionsmith
Awesome thanx mate! I'm using that now - although i've made a session Registery - just to have a play around - what the hell is the point in them? Have you ever used them? Dont need it now as i'm using the ContextHolder - just curious really. Cheers Sion Michael Horwitz wrote: > > The AppFuse

Re: [appfuse-user] Keeping User Object in Session (SecurityContextImpl / SessionRegistry)

2007-04-30 Thread Michael Horwitz
The AppFuse user security advice has a good example of how to look up the current user. Source code can be found here: http://fisheye4.cenqua.com/browse/appfuse/trunk/service/src/main/java/org/appfuse/service/UserSecurityAdvice.java Basically use the SecurityContextHolder to access the current u

[appfuse-user] Keeping User Object in Session (SecurityContextImpl / SessionRegistry)

2007-04-30 Thread sionsmith
Hiya guys & girls, i'm using the acegi security provider as my authentication Manger. If the user is successfully authenticated the "Principal" object is placed the session - however when retrieving the user object to use i'm unsure whether i shud be using: SecurityContextImpl auth = (Security

Re: [appfuse-user] Newbie questions -- no file extension and Jetty config

2007-04-30 Thread Michael Horwitz
Some containers use the servlet name default to refer to the default servlet (can't remember is Jetty is one of them!), and can be mapped using: default /whatever/* And now the infamous word of warning: try and deploy in a container that does not know about the default servlet, and it will

Re: [appfuse-user] Overriding Controllers?

2007-04-30 Thread hiugong.gwok
I did that before. All I need to do is get the source files from svn and put them to src/main/java. As long as the className and package didn't change, this works. It depends on the execution sequense of building to make sure files from war\work\appfuse-spring* is replaced by files from target/cla

Re: [appfuse-user] classes directories

2007-04-30 Thread Michael Horwitz
It all depends how you invoke Jetty using the maven plugin. More details can be found here here: http://www.mortbay.org/maven-plugin/index.html, but basically: 1) mvn jetty:run will use the target/classes directory (./target/classes). 2) mvn jetty:run-war will use the war file directly under targ

Re: [appfuse-user] Workflow in appfuse

2007-04-30 Thread Jonathan Tse
Hi Niko, Do you mind giving us some very brief information (like the technologies, architectures) of OpenWFE? It seems that OpenWFE got many modules , how many of them have you integrated to Magnolia? Maybe if we have more information/idea to get started, the community will be more involv

RE: [appfuse-user] Web Tests failing because of BaseControllerTestCase

2007-04-30 Thread Jon Loken
Hi, We have had the same problem cropping up from time to time. Simply doing an ant 'setup' followed by 'test-all' solves our problem. Regards Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: 27 April 2007 20:18 To: user

Re: [appfuse-user] strange classloading problem

2007-04-30 Thread Michael Horwitz
Very easily I'm afraid. The call stack is unrelated to the classloading mechanism. I am also unable to see the same class appearing in the call stack - it complains it is missing com.pentaho.repository.subscribe.SubscriptionHibernateHandler whereas the class in your call stack is com.pentaho.repos