Re: [appfuse-user] cargo-maven2-plugin: Configuration for seperate test database?

2007-10-23 Thread Joachim Ansorg
Hi Rob, thanks for the second reply. Did you solve that problem somehow or do you just skip the tests in env-dev? That's evidently by design. For tests to work reliably they have to have the DB in a known state. I assumed that, too. So I've tried to configure appfuse to use a diffe

[appfuse-user] why the table is disappeared after i execute "mvn package"

2007-10-23 Thread Matthew Wu
I have post this problem before, but have not solved. Thanks all. The next is my detail process: 1: I execute oracle database script to build database, there are Group_List table and some other tables 2: I execute "mvn appfuse:gen-mode" to create POJO for Group_List 3: I exectue "mvn appfuse:

Re: [appfuse-user] Debugging an application running in Jetty

2007-10-23 Thread Matt Raible
Yes, it is possible. Just create a new Debug setting in IDEA and choose "Remote" application. Then copy the arguments it gives you into a MAVEN_OPTS environment variable and start Jetty from the command line. This works with Eclipse and any other IDE as well. Matt On 10/23/07, [EMAIL PROTECTED]

[appfuse-user] Debugging an application running in Jetty

2007-10-23 Thread masterg007
All: Is it possible to debug an application running under Jetty from within intelliJ? I ran the Jetty maven plugin, so Jetty is not installed standalone. I am trying to use the jetty plugin for intellJ but it expects a standalone instance of Jetty. I don't suspect that it is possible but I just wa

Re: [appfuse-user] accessing a folder in modular setup

2007-10-23 Thread kace
I have the below code which gives me what I want provided I am accessing the path in the same module. I am looking to access the exact same directory but in another module. My question is what would i replace getServletContext().getRealPath with so it accesses the other module. String file = re

Re: [appfuse-user] accessing a folder in modular setup

2007-10-23 Thread Ron Anderson
How about something like: File sourceDirectory = new File("/path/to/files"); File[] files = sourceDirectory.listFiles(); Hi guys, I have a modular project set up where files are uploaded into the resources folder from the admin module. The web module needs to access the resource folder in th

[appfuse-user] accessing a folder in modular setup

2007-10-23 Thread kace
Hi guys, I have a modular project set up where files are uploaded into the resources folder from the admin module. The web module needs to access the resource folder in the admin module(webapp/resources/images). Is it possible to access a directory in the admin module without going through a d

[appfuse-user] Hi guys,

2007-10-23 Thread kace
-- View this message in context: http://www.nabble.com/Hi-guys%2C-tf4680299s2369.html#a13373542 Sent from the AppFuse - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [appfuse-user] secured web services

2007-10-23 Thread George.Francis
Hmm, I modified security.xml as suggested but I'm still getting the 302 response. Here's the whole request/response: --request-- POST /services/UserService HTTP/1.1 Content-Type: text/xml;charset=UTF-8 SOAPAction: "" User-Agent: Jakarta Commons-HttpClient/3.0.1 Host: rad223:8080 Content-Length:

Re: [appfuse-user] Could not get ConfigurationTask ? sping mvc - jsf

2007-10-23 Thread Matt Raible
What do you see if you run "mvn -e"? On 10/23/07, emmettwalsh <[EMAIL PROTECTED]> wrote: > > here is the pom from core... > > > > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://

[appfuse-user] Time-only Data Fields - best practice

2007-10-23 Thread Rob Hills
Hi All, I am most of the way through implementing some time-only data fields (which store only the time of day, no date component). I am using the jQuery Time Entry component (http://jquery.com/plugins/project/timeEntry). I've got timeEntry basically working, but have a couple of issues and

Re: [appfuse-user] Method-level web service security for Users

2007-10-23 Thread Matt Raible
You could try changing Acegi to read the URLs-to-roles definition from your database, making it more dynamic: http://jnassef.blogspot.com/2007/07/dynamic-roles-management-in-acegi.html Matt On 10/23/07, George.Francis <[EMAIL PROTECTED]> wrote: > > Aha, > Is there any way to reload the security.

Re: [appfuse-user] secured web services

2007-10-23 Thread George.Francis
Thanks for your response. I think you're right about the redirect because the 302 error refers to login.jsp. I'm using AppFuse 2.0. I'm trying to test the webservice using SOAPUI-1.7.6 with WSS security enabled - won't this work as a Client? I thought the Acegi security AppFuse used was WSS compl

Re: [appfuse-user] MYSQL question

2007-10-23 Thread Ealden Escañan
On 10/22/07, channu <[EMAIL PROTECTED]> wrote: > > Hi Sudheer, > Thanks for the reply, Can you tell me the configuration file name where > I need to change the userid and password for getting connecting to > MYSQL? > Hi Srini, I assume you are using 1.9.x http://raibledesigns.com/wiki/Wiki.jsp?

Re: [appfuse-user] cargo-maven2-plugin: Configuration for seperate test database?

2007-10-23 Thread Rob Hills
Hi Joachim, On 23 Oct 2007 at 18:03, Joachim Ansorg wrote: > thanks for the help. This is a big step forward to a good solution to my > problem. Glad it helped. > The remaining problem is that the unit tests, which are executed in each > profile overwrite the data which is used by the web app

Re: [appfuse-user] secured web services

2007-10-23 Thread Brett Knights
You're probably getting a redirect to the login page. Assuming you can tell your web service clients to use Basic Authentication (easy with PHP) your solution can be as simple as adding a basicProcessingFilter to your acegi filter chain. For AppFuse 1.9.x in security.xml filterChainProxy bean

Re: [appfuse-user] Many-to-many collection problem

2007-10-23 Thread syg6
I spoke too soon ... While Hibernate is no longer duplicating my data, it's also not: 1. updating any changes made 2. deleting In the first case, I see that all my data arrives correctly, passes through my Custom PropertyEditor, and just before calling save() in the onSubmit() method, the valu

Re: [appfuse-user] cargo-maven2-plugin: Configuration for seperate test database?

2007-10-23 Thread Joachim Ansorg
Rob, thanks for the help. This is a big step forward to a good solution to my problem. I'm now using profiles.xml as well. The remaining problem is that the unit tests, which are executed in each profile overwrite the data which is used by the web application, i.e. all settings made in the ap

Re: [appfuse-user] secured web services

2007-10-23 Thread George.Francis
This is now urgent! I've been trying for days to get secure web-services going. I added /services/**=ROLE_ADMIN,ROLE_USER to security.xml as advised and using WSS with SoapUI-1.7.6 I am only getting an HTTP 302 response. Please help! George.Francis wrote: > > Once I've secured my Webservice b

Re: [appfuse-user] Different database settings for dbunit

2007-10-23 Thread Rob Hills
Hi Christhian, On 23 Oct 2007 at 10:15, Cristhian Daniel Parra Trepowski wrote: > How can i override properties and get a different database profile for > dbunit testing and other for the application use in deployment? See my answer to this other thread a short while ago: http://www.nabble.com/

[appfuse-user] Different database settings for dbunit

2007-10-23 Thread Cristhian Daniel Parra Trepowski
Hi, ¿How can i override properties and get a different database profile for dbunit testing and other for the application use in deployment? Greetings, -- Cristhian Daniel Parra Trepowski

Re: [appfuse-user] Many-to-many collection problem

2007-10-23 Thread syg6
That was it! Makes perfect sense now that someone else suggested it to me! Thanks again! Bob Mike Horwitz wrote: > > Are you passing the id in the call from your jsp? If you are not, then > Hibernate will think these are new entities and save rather than update > them. > > Mike > > On 10/22

Re: [appfuse-user] Method-level web service security for Users

2007-10-23 Thread George.Francis
Aha, Is there any way to reload the security.xml at runtime? The reason I ask is becase without that ability, if I went down the route of mapping ws-operations to Roles in security.xml it would be impossible to apply changes to this mapping without a restart of the web application? mraible wr

Re: [appfuse-user] cargo-maven2-plugin: Configuration for seperate test database?

2007-10-23 Thread Rob Hills
Hi Joachim, On 23 Oct 2007 at 15:49, Joachim Ansorg wrote: > I want test tests to use a seperate database. I already managed to change the > dbunit tests by fixing the > jdbc.properties in the test/resources dirs and by fixing some settings in the > pom.xml files. But the integration > tests wh

[appfuse-user] cargo-maven2-plugin: Configuration for seperate test database?

2007-10-23 Thread Joachim Ansorg
Hi all, currently I'm diving more into the appfuse2 world. I want test tests to use a seperate database. I already managed to change the dbunit tests by fixing the jdbc.properties in the test/resources dirs and by fixing some settings in the pom.xml files. But the integration tests which use c

Re: [appfuse-user] Could not get ConfigurationTask ? sping mvc - jsf

2007-10-23 Thread emmettwalsh
here is the pom from core... http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 com.xxx.com hbe 1.0-SNA

Re: [appfuse-user] Could not get ConfigurationTask ? sping mvc - jsf

2007-10-23 Thread Michael Horwitz
Looks like there is an issue with the configuration of the Maven Hibernate 3 project in your core module's pom.xml. Could you post the snippet from the pom.xml for this plugin? Mike On 10/23/07, emmettwalsh <[EMAIL PROTECTED]> wrote: > > > Hi, Im getting the following, anyone any ideas ? > > > D:

[appfuse-user] Could not get ConfigurationTask ? sping mvc - jsf

2007-10-23 Thread emmettwalsh
Hi, Im getting the following, anyone any ideas ? D:\Emmett\sandbox\hbe>mvn [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] AppFuse Modular Application [INFO] AppFuse Modular Application - Core [INFO] AppFuse Modular Application - Web (Spring MVC) [INFO] -

Re: [appfuse-user] Appfuse maven repository problems - maven-warpath-plugin-2.0

2007-10-23 Thread emmettwalsh
yes indeed, i just upgraded to maven 2.0.7 and forgot to change the proxy setting in settings.xml thanks Mike Horwitz wrote: > > Could you try running the build again? I have checked the repository on > static.appfuse.org and all the files for the maven-warpath-plugin are > there. > If it stil

Re: [appfuse-user] Appfuse maven repository problems - maven-warpath-plugin-2.0

2007-10-23 Thread Michael Horwitz
Could you try running the build again? I have checked the repository on static.appfuse.org and all the files for the maven-warpath-plugin are there. If it still fails, is it possible that you are behind a firewall/proxy that is preventing Maven from accessing the site? Mike On 10/23/07, emmettwal

[appfuse-user] Appfuse maven repository problems - maven-warpath-plugin-2.0

2007-10-23 Thread emmettwalsh
Hi, im getting this problem at the moment... D:\Emmett\sandbox\hbe>mvn [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] AppFuse Modular Application [INFO] AppFuse Modular Application - Core [INFO] AppFuse Modular Application - Web (Spring MVC) Downloading: http://static.ap