Re: [appfuse-user] Re: Javascript and Struts2

2010-04-01 Thread Nathan Anderson
Struts 1 is supported in AppFuse 1.x. There are significant differences between the 1.x and 2.x branches. The most notable difference is 1.x uses an Ant build and 2.x uses Maven. AppFuse 1.x documentation: http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuse AppFuse 1.9.4 download: https://ap

Re: [appfuse-user] Linux / Tomcat issue

2009-02-13 Thread Nathan Anderson
gt; Waldo > > > On Thu, Feb 12, 2009 at 12:16 PM, Nathan Anderson > wrote: > >> Just to be clear this is an Ubuntu "feature", not an AppFuse problem. Any >> application you try deploying to Tomcat installed from the Ubuntu package >> manager will have the sa

Re: [appfuse-user] Linux / Tomcat issue

2009-02-12 Thread Nathan Anderson
x27;s a real shame, because I like the development approach that appfuse > offers, but I'm at a loss for using it in a production environment. > > If you have any other ideas, I would love to hear them. > > Regards, > Waldo > > > On Wed, Feb 11, 2009 at 3:18 PM, Ger-J

Re: [appfuse-user] Linux / Tomcat issue

2009-02-11 Thread Nathan Anderson
Hi Waldo, Sorry I didn't jump in sooner, I've been too busy to keep up on mail list items lately. I first reported the issues with Ubuntu and created the OS issues page you mentioned earlier. As I recall, you really only have 2 choices: disable the Java security, or build a java security policy

Re: [appfuse-user] Reverse Engineering - AppFuse -> Best Option

2008-12-23 Thread Nathan Anderson
To make room for a larger application name (or any other layout change) you need to adjust the CSS for the app. Take a look in the webapp/styles folder if you have run full-source. Nathan On 12/23/08, Ice-Man wrote: >About Fisical Project Name, I already changed in pom.xml!! (otherwise I >

Re: [appfuse-user] passing values between Actions - any best practice?

2008-12-22 Thread Nathan Anderson
Those are your basic options--store it in the request or in the session. Neither is "better" than the other, but there are some differences that might make one better suited to a particular scenario. For example, if you need to hide the values from the user or ensure the are not tampered with, stor

Re: [appfuse-user] Appfuse2 Struts problem

2008-12-15 Thread Nathan Anderson
ink u guess what I mean. > > Gupta, > > But, I think it's almost impossible to set Hibernate to generate such ID > in automatic fashion. It's better to generate that ID by your application > and set Hibernate so that. I think that's the simplest way. >

Re: [appfuse-user] Appfuse2 Struts problem

2008-12-14 Thread Nathan Anderson
Just like Oscar stated, it is generally considered a best practice to have database primary keys that have no business meaning attached to them. The example you provide appears as though it probably should be defined as a unique not null column, but not primary key. But even if you change the dat

[appfuse-user] Re: Spring MVC test failure with Joda-Time

2008-12-04 Thread Nathan Anderson
Thanks. I basically figured that out last night but I see the email I started to post back to the list never made it out of my Drafts box. The DateTimePropertyEditor I ended up creating uses the "date.format" application property provided by AppFuse, and if that fails it tries the Joda-Time defaul

Re: [appfuse-user] Terracotta with appfuse 1.9.4

2008-12-03 Thread Nathan Anderson
The security filter does a redirect to the login page. I'd guess there is a problem with the Spring Security Framework configuration (Acegi). If you do some googling for terracotta and acegi you'll probably find some useful information. Let us know how it goes. Nathan On 12/3/08, jithesh <[EMAIL

[appfuse-user] Spring MVC test failure with Joda-Time

2008-12-02 Thread Nathan Anderson
Hi folks, I have an Appfuse 2.0.2 application with Spring MVC and iBatis. There is going to be a lot of date time math in this app, so I am trying to use Joda-Time for date fields in my POJO's. I figured out how to make iBatis convert the Timestamp to Joda's DateTime class. But I have one test

[appfuse-user] Using iBATIS to execute stored procedures

2008-11-11 Thread Nathan Anderson
Hi again, I thought I'd post a hail mary question before calling it a night. One of the requirements for this project I'm working on is they want to use stored procedures for basically all database queries. I figured iBATIS made the most sense because I'm going to be calling custom SQL for every

[appfuse-user] Re: problem configuring AppFuse for SQL Server

2008-11-11 Thread Nathan Anderson
ays Developer should be the same as Enterprise [at least for my purposes], but a fresh install of the full version of SQL Server works just fine. Now on to the next problem... Nathan On Sun, Nov 9, 2008 at 1:28 PM, Nathan Anderson <[EMAIL PROTECTED]> wrote: > Hello all! > > It&#

[appfuse-user] Re: problem configuring AppFuse for SQL Server

2008-11-09 Thread Nathan Anderson
pposed to allow multiple sessions with the same credentials (as opposed to "SINGLE_USER"). So until I figure out what is wrong with the server, Is it possible to run AppFuse with only one DB connection? Where do you set the DBCP properties? Thanks Nathan On Sun, Nov 9, 2008 at 1:28 PM

[appfuse-user] problem configuring AppFuse for SQL Server

2008-11-09 Thread Nathan Anderson
Hello all! It's been a long time since I have been able to work on an AppFuse project, so it is time for another crash course ;) There are a few technologies being used in this project that are a bit out of the norm for me, so I'll probably be asking a lot of questions. So far I have created a n

Re: [appfuse-user] Appfuse:gen and related entities (with very simple association)

2008-06-18 Thread Nathan Anderson
Hello AdityaG, The reason the tutorials don't mention associations is that they are not currently supported in appfuse:gen. There are 2 trains of thought here. What it boils down to is no one has developed an appropriate generic view for parent/child object relationships for Matt or someone

Re: [appfuse-user] [OT] Firefox 3 Download Day

2008-06-17 Thread Nathan Anderson
Looks like my post was a bit premature, the latest downloadable version is RC3. The links below are corrected, no hand editing of URLs are required. Sorry, Nathan - "Nathan Anderson" <[EMAIL PROTECTED]> wrote: > Hey folks, > > If any of you are intereste

[appfuse-user] [OT] Firefox 3 Download Day

2008-06-17 Thread Nathan Anderson
Hey folks, If any of you are interested in participating in the Firefox 3 download day, here are some links to hopefully make it easier: Windows: http://download.mozilla.org/?product=firefox-3.0&os=win&lang=en-US OSX: http://download.mozilla.org/?product=firefox-3.0&os=osx&lang=en-US Linu

Re: [appfuse-user] Captcha & Spring Security 2.0

2008-06-12 Thread Nathan Anderson
Hello Ernas, Prior to the 2.0 release Spring Security was called Acegi Security Framework. Obviously, the instructions were written for an older version, but it is likely that most if not all of the tutorial still applies. I did a quick Google and I found that the person who wrote the origina

Re: [appfuse-user] Disable GZip by default?

2008-05-07 Thread Nathan Anderson
+.5 I have semi-mixed feelings about including gzip filter but having it disabled by default. It has proven to make finding certain bugs harder, so I would say it should be disabled. However, if you were going to use it on a production server it would be best to have all the problems caused b

Re: [appfuse-user] IE auth

2008-04-01 Thread Nathan Anderson
It sounds like the reverse proxy is interfering with the Tomcat session. Do you know if it is handling the JSESSIONID cookie correctly? Another possibility is the proxy is rewriting the links which as the potential to cause the same types of problems. Nathan - "Leo Barrientos C" <[EMAIL

Re: [appfuse-user] Re: Re: How to create parent objects?

2008-04-01 Thread Nathan Anderson
- "Dustin Pearce" <[EMAIL PROTECTED]> wrote: > ... > Seems like we will need to clarify the DAO/Manager concept, so users > don't feel constrained by a one to one pattern. > > -D Not a bad idea... I just copied a couple of sentences taken from the AppGen wiki page: http://raibledesigns.

Re: [appfuse-user] Re: Re: Appfuse .war in tomcat

2008-03-31 Thread Nathan Anderson
Hi Derek, I remembered (and found) some more issues with Ubuntu 7.10. See the updated OS Specific Issues page for the goods... Nathan - "Derek Broughton" <[EMAIL PROTECTED]> wrote: > Nathan Anderson wrote: > > > Hi Derek, > > > > I don'

Re: [appfuse-user] Re: Re: Appfuse .war in tomcat

2008-03-31 Thread Nathan Anderson
won't startup at all. Unfortunately, I don't have access to my Ubuntu 7.10 server from here so I can't verify user names or directories. At least it is something else to check ;) Nathan - "Derek Broughton" <[EMAIL PROTECTED]> wrote: > Nathan Anderson w

Re: [appfuse-user] Re: Re: How to create parent objects?

2008-03-31 Thread Nathan Anderson
ference for the DAO in this case is because it is that the definition of these particular objects states one cannot exist without the other. If it were a different example I might have done the work in a Managers as well. Enjoy :) Nathan - "Rob Hills" <[EMAIL PROTECTED]

Re: [appfuse-user] Re: How to create parent objects?

2008-03-31 Thread Nathan Anderson
k for your situation? Nathan - "Derek Broughton" <[EMAIL PROTECTED]> wrote: > Nathan Anderson wrote: > > > Hello all, > > > > I assume a "JE" is a Journal Entry and in modern accounting > practices it > > is typical that a single &quo

Re: [appfuse-user] Re: Appfuse .war in tomcat

2008-03-31 Thread Nathan Anderson
Hi Derek, I don't remember the error message, but I had some issues when I upgraded to Ubuntu 7.10. See the link for explanation of the problem and the solution that I used: http://appfuse.org/display/APF/OS+Specific+Issues If this is not your problem and you find a solution. That wiki pag

Re: [appfuse-user] How to create parent objects?

2008-03-31 Thread Nathan Anderson
Hello all, I assume a "JE" is a Journal Entry and in modern accounting practices it is typical that a single "Transaction" has at least 2 JE's. What I'm not sure about is why the JE's are required to be created before the Transaction. This sounds like a case where you want to use a database

Re: [appfuse-user] Implementing Acegi ACLs

2008-03-20 Thread Nathan Anderson
Hi Vanessa, It looks like there are DAO's created in the tutorial. http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAcegiACLAddDAO At the bottom of that step there are two Spring bean definitions that look like they were intended to be autowired like you expected. I'm guessing the tutori

Re: [appfuse-user] IT Question in a hurry....

2008-03-13 Thread Nathan Anderson
Hi Carlos, I knew the system beep character was ASCII 7, but I wanted to verify my solution before posting. Then I found this article describing exactly what you want to do. Viva la Google! ;) Nathan http://www.java-tips.org/java-se-tips/java.lang/how-to-emit-a-beep-by-printing-the-as

Re: [appfuse-user] hi

2008-03-03 Thread Nathan Anderson
Khalid, If you want to use AppFuse and Struts 1, you should stick with AppFuse 1.9.x. The biggest difference is the Ant build system rather than Maven. Enjoy, Nathan - "khalid el hayani" <[EMAIL PROTECTED]> wrote: > please can you tell me if > can i use AppFuse 2.x with struts 1? > >

Re: [appfuse-user] Ahh shoot !!

2008-02-15 Thread Nathan Anderson
Hi Nikolay, Here is some helpful information on using Eclipse with AppFuse: http://appfuse.org/display/APF/Eclipse The short answer to your question is you run one of the following commands to prepare your application for Eclipse: (Basic project) mvn eclipse:eclipse (Modular project)

Re: [appfuse-user] why this happened ?

2008-02-05 Thread Nathan Anderson
Different email clients handle threads differently. In Zimbra (which is what I use) the threads are based on the subject line. It appears your reply subject is slightly different than the original message ("gothrough" rather than "go through"). That was enough of a difference for Zimbra to t

Re: [appfuse-user] viewing some web pages in a specific path without go through login

2008-02-05 Thread Nathan Anderson
If you take a look at the security.xml you will see some examples of how to require different roles for different URL patterns. http://fisheye4.cenqua.com/browse/appfuse/trunk/web/common/src/main/webapp/WEB-INF/security.xml?r=3044 There are two ways to accomplish your goal. First you could ex

Re: [appfuse-user] Ugrading servlet2.3 to 2.4

2008-01-23 Thread Nathan Anderson
Your question is not very clear. If your application works in a Java Servlet 2.3 container, you should be able to run it within a container that meets Java Servlet 2.4 specifications without any modification. What are you trying to accomplish? Nathan - "jithesh" <[EMAIL PROTECTED]> wrote

Re: [appfuse-user] Be careful with sessionVariables=FOREIGN_KEY_CHECKS=0?

2008-01-23 Thread Nathan Anderson
I can't really confirm it, but the scenario you described sounds like the expected behavior to me. So you are right that users should be careful, and should not use it in a production environment. But I will say that using it is a good tip for getting around the populating the database for tes

Re: [appfuse-user] Eclipse Europa Integration using sysdeo for quicker development

2008-01-17 Thread Nathan Anderson
Hi Olaf, This is some good information! Could you add it to the wiki? That would be the best place to refer to this kind of setup information. Thanks, Nathan - "Olaf Kittelmann" <[EMAIL PROTECTED]> wrote: > Hi, > > I managed to setup eclipse with sysdeo plugin for > appfuse projects. >

Re: [appfuse-user] More Css Theme

2008-01-16 Thread Nathan Anderson
There are some other themes found at: http://css.appfuse.org/themes/ However, I have found they do need to be modified to work within AppFuse. But they are there to play with. Also, this framework was based on the following article if you want tips to customize a theme or create a new one.

Re: [appfuse-user] ACEGI howto?

2008-01-04 Thread Nathan Anderson
I'm not sure how to get the radio button to work with Acegi, but if I understand the situation correctly you may not need the radio button at all. With Acegi you can set up multiple authentication providers. So you could use the authentication provider included with AppFuse for the username/pa

Re: [appfuse-user] just want to confirm if this is the correct way

2008-01-03 Thread Nathan Anderson
Hi Vanessa, See inline comments below... - [EMAIL PROTECTED] wrote: > Hi, > > > > I’m using Appfuse 1.9.4, Struts framework. I’ve made a few basic > appearance changes and just want to know whether it was the correct > way to go about it. Also have some questions at the same time. > > >

Re: [appfuse-user] The association relationship between JSP

2007-12-21 Thread Nathan Anderson
Hello, The configuration you described does not sound like one that I have heard other AppFuse users using. I think you might want to try and ask your question on a Jboss mailing list to see if people there might have an answer for you. Nathan - "soussou97" <[EMAIL PROTECTED]> wrote: > H

Re: [appfuse-user] Auto copy data from JSP page to data model when clicking a button

2007-12-17 Thread Nathan Anderson
I have three ideas that might help... The first solution that comes to mind is to have one form for uploading the picture and editing the user. I'm guessing that at the moment when you press "upload" it is a different form which means the fields used for editing the user are not passed back to

Re: [appfuse-user] No result defined for action au.com.myapp.webapp.action.DeliveryTonnageAction and result success

2007-12-13 Thread Nathan Anderson
s that >correct? Other than that I'm not sure where else to look :/ Nathan - "Rob Hills" <[EMAIL PROTECTED]> wrote: > Hi Nathan, > > Nathan Anderson wrote: > > Hi Rob, > > > > Shouldn't that Struts XML snippet look like this? > &

Re: [appfuse-user] No result defined for action au.com.myapp.webapp.action.DeliveryTonnageAction and result success

2007-12-12 Thread Nathan Anderson
Hi Rob, Shouldn't that Struts XML snippet look like this? /WEB-INF/pages/shiftList.jsp Also I think all of my actions have at least 2 tags, the other one being "input". Hope that helps, Nathan - "Rob Hills" <[EMAIL PROTECTED]> wrote: > Hi All, > > Using AppFuse 2.0 + Struts2 >

Re: [appfuse-user] Appfuse IChain Integration

2007-12-12 Thread Nathan Anderson
Looks like there have been a couple of threads on this list regarding AppFuse -> siteminder integration: http://appfuse.markmail.org/search/?q=siteminder But nothing on IChain... I would suggest asking on the Ageci forum: http://forum.springframework.org/forumdisplay.php?f=33 Hope that hel

Re: [appfuse-user] Re[appfuse-user] move jsessionid in Struts 2

2007-12-11 Thread Nathan Anderson
It is my understanding that the jsessionid is appended to all links by Tomcat when it creates a new session. But once the server knows your browser has cookies enabled it stops appending the links. Does that match what you are seeing? Nathan - "sarat.pediredla" <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-12-08 Thread Nathan Anderson
> > > result="dataAccessFailure" /> > > > > > > > > > security.xml AuthenticationProcessingFilter > > > > > > > > > > > > > > > ke

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-12-08 Thread Nathan Anderson
> > > key="org.hibernate.TransactionException">/login.jsp?error=true > > > > key="org.springframework.transaction.CannotCreateTransactionException">/login.jsp?error=true > > > >

Re: [appfuse-user] Appfuse and SOA.

2007-12-07 Thread Nathan Anderson
SOA = Service Oriented Architecture I would say AppFuse *supports* SOA in that it can be both a service provider and consumer. But I wouldn't call AppFuse a "SOA project" because it is not limited to only SOA. Nathan - "jclagache" <[EMAIL PROTECTED]> wrote: > So, what is a SOA project ?

Re: [appfuse-user] Acegi Security

2007-12-06 Thread Nathan Anderson
Some useful information can be found here: http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseSecurity Obviously, you can ignore the part talking about how to integrate Acegi for AppFuse projects prior to version 1.8. Other than that I'd suggest looking in your applicationContext-security.xml

Re: [appfuse-user] Could not open Hibernate Session for transaction; nested exception is

2007-12-05 Thread Nathan Anderson
I have an app that has this same problem running on: mysql-server-5.0 5.0.45-1ubuntu3 You are right it appears to be at the first login attempt that it fails, after that the app works normally. I hate bugs that are so hard to test [since they take so long to appear]. Nathan - "Matt Rai

Re: [appfuse-user] Concuurent session handling

2007-12-04 Thread Nathan Anderson
Doesn't look like anyone here has an answer for you. Maybe you should try the ACEGI section of the Spring forums. Nathan - "ujjala" <[EMAIL PROTECTED]> wrote: > Pls reply > > ujjala wrote: > > > > Hi, > > I have implemented the following in > applicationContext-Security.xml,to > > handle

Re: [appfuse-user] Question about retrieving a section of a div with id

2007-12-04 Thread Nathan Anderson
Not sure if you got this figured out, but this sounds like it would be easier to solve with javascript. http://www.w3schools.com/htmldom/dom_obj_document.asp Maybe this will help. Nathan - "Yongping" <[EMAIL PROTECTED]> wrote: > I know my question is nothing to do with Appfuse. However I

Re: [appfuse-user] work with excluding set in Hibernate/MySQL

2007-12-04 Thread Nathan Anderson
Don't know if you already found a solution, but here is what the SQL would look like... I imagine the HQL would be similar.. Here is how to get just the "other" users: SELECT user.* FROM user WHERE user.city NOT IN (SELECT city.name FROM city WHERE state = 'CA') Here is how to get all users an

Re: [appfuse-user] PickList Javascript error

2007-12-04 Thread Nathan Anderson
Have you found a solution to this? Also I see that there is a typo in your message "from" has no properties. Is that typo in your email or your code? Nathan - "Sanath" <[EMAIL PROTECTED]> wrote: > Hi Mike, > I did so, yes its a great tool!! > > the issue with me is that for the 1st page

Re: [appfuse-user] Entity Archival in a Manager

2007-12-04 Thread Nathan Anderson
ord was "messed up". To know that someone viewed and saved the record after the problem entry would also be useful so you know who is not cleaning up messes they come across. Nathan - "Rob Hills" <[EMAIL PROTECTED]> wrote: > Hi Nathan, > > On 27 Nov 2007

Re: [appfuse-user] Entity Archival in a Manager

2007-11-27 Thread Nathan Anderson
I just realized my reply was unclear. I meant to say at the time you save your object you save then NEW state to the archive. This is simpler because you don't have to look up the old state of the object at the time of saving. And there is no condition where you should not save to the archive

Re: [appfuse-user] Entity Archival in a Manager

2007-11-27 Thread Nathan Anderson
I've done archiving another way that worked pretty well. Basically at the time you save the object you also create a new archive entry. Seems a bit simpler than the approach you described. HTH, Nathan - "Rob Hills" <[EMAIL PROTECTED]> wrote: > Hi All, > > Using AppFuse 2.0 + Struts 2 +

Re: [appfuse-user] Doubt on Remember me

2007-11-21 Thread Nathan Anderson
I don't know the answer, but I think I know what Jithesh is asking. Is there a way to set "Remember Me" after the user has already logged in? In this scenario a user logs in then at some point during his session submits a form to set "Remember Me" for the next login. My guess is it is possible

Re: [appfuse-user] DBUnit, Oracle and time data

2007-11-20 Thread Nathan Anderson
I have not used Oracle in a while, but if you need to set some parameter at the time the connection is made there is a good chance the driver is set up to accept parameters in the jdbc url. I've recently needed to do the same for a DB2 database, an old MSSQL, and an old MySQL database. Nathan

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-19 Thread Nathan Anderson
is there is no console output [at least not that I can find]. /var/lib/tomcat5.5/webapps/myappname/WEB-INF/classes/log4j.xml I think that is everything I did that was useful... Nathan - "Nathan Anderson" <[EMAIL PROTECTED]> wrote: > Oh wait! Something did show up in

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-16 Thread Nathan Anderson
:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177) - "Nathan Anderson" <[EM

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-16 Thread Nathan Anderson
week. Thanks Nathan - "Rob Hills" <[EMAIL PROTECTED]> wrote: > Hi again Nathan, > > Nathan Anderson wrote: > > Hi Rob/Matt/Anyone else with a suggestion ;), > > > > Okay... so I found a problem with the database configuration [I > missed the sec

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
7 3:44:37 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] deploying to tomcat 5.5 Hi Nathan, Nathan Anderson wrote: > I'm away from that computer right now, so I can't confirm, but now that you > mention it... > > There is only one log file that had any

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hey Roy, Hijack away, I'm not proud :) Actually, the OOME I had was permgen space as well... and that was deploying from my Ubuntu 7.10 laptop to Ubuntu 7.10 server. So that does sound related to me. That was the problem that I haven't started to look at because I wanted to make the manual

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
where I find things that aren't logged in catalina.out. Matt On Nov 15, 2007 1:56 PM, Nathan Anderson <[EMAIL PROTECTED]> wrote: > yeah... catalina.out is where I got those two SEVERE messages from. Problem > is that is all that was in there... I tried in

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
I agree, a full stack trace would be nice :) Apparently I need to play with some more settings to make this happen. I'm noticing that the tomcat process runs as "jsvc". When I've set up tomcat by downloading it rather than from packages it runs as a "java" process. I'm curious now if this di

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
, it should tell you what failed when the app deployed. Matt On Nov 15, 2007 3:44 AM, Nathan Anderson <[EMAIL PROTECTED]> wrote: > Hey folks, > > So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready to deploy > to my production server. But I appear to be a bit s

Re: [appfuse-user] Doubt on Cookies

2007-11-15 Thread Nathan Anderson
I thought that cookies *always* had a value. Here is the javascript for "setCookie()" in my AppFuse 1.8 app. /* This function is used to set cookies */ function setCookie(name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + ex

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hills" <[EMAIL PROTECTED]> wrote: > Hi Nathan, > > Nathan Anderson wrote: > > So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready > to deploy to my production server. But I appear to be a bit stuck... > > > > > I'm sure there is some way

[appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread Nathan Anderson
Hey folks, So I finally have my AppFuse 2 (Struts 2 + Hibernate) webapp ready to deploy to my production server. But I appear to be a bit stuck... I'm sure there is some way to have maven 2 deploy for me, but I have not figured out how yet. So I was just planning on going old school and cop

Re: [appfuse-user] File Upload behavior not consistent on different web server

2007-11-14 Thread Nathan Anderson
I think just because it is generally a good idea, or at a minimum a common requirement. It is pretty simple to change or remove if you are making your own FileUploadAction based on the one provided. Nathan - Original Message - From: "John Kwon" <[EMAIL PROTECTED]> To: users@appfuse.de

Re: [appfuse-user] File Upload behavior not consistent on different web server

2007-11-14 Thread Nathan Anderson
You should be able to open a file based on the relative path on all servers. I'm guessing there is some other difference on the XP server causing that to not work. I'd start by trying to access the image directly in your web browser. Nathan - Original Message - From: "BruceLee" <[EMA

Re: [appfuse-user] Incomplete "decoration" of

2007-11-13 Thread Nathan Anderson
The best way to make sure this gets fixed is to make a bug report in JIRA: http://issues.appfuse.org/browse/APF You will need to create an account but it is a painless process ;) Nathan - Original Message - From: "Daniel Kibler" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent

Re: [appfuse-user] Incomplete "decoration" of

2007-11-12 Thread Nathan Anderson
Sounds like a Struts 2 bug. You should probably report it to their bug tracker. Nathan - Original Message - From: "Daniel Kibler" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Sunday, November 11, 2007 10:16:36 PM (GMT-0800) America/Los_Angeles Subject: [appfuse-user] Incomple

Re: [appfuse-user] Appfuse/Spring MVC app freezing up on Tomcat

2007-11-09 Thread Nathan Anderson
I don't have any idea what the problem may be, but I would suggest installing lambda probe or something that can give you a better idea of what is happening in tomcat while your app is running. http://www.lambdaprobe.org/d/index.htm Nathan - Original Message - From: "John Kwon" <[EMAI

Re: [appfuse-user] Appfuse & Spring MVC

2007-11-07 Thread Nathan Anderson
I have not used Spring MVC yet, so I can't say for sure. But my understanding was that AMP should create everything you need. http://appfuse.org/display/APF/AppFuse+Maven+Plugin Maybe someone else has more information... Nathan - Original Message - From: "cloude1080" <[EMAIL PROTEC

Re: [appfuse-user] Granted Authorities

2007-11-03 Thread Nathan Anderson
Groups in LDAP or AD are translated to granted authorities in Acegi. IIRC, a prefix is added to the group name. So if you have an ad group called "Webapp" the authority is "ROLE_Webapp". Hope that helps Nathan - Original Message - From: "Rick Osborn" <[EMAIL PROTECTED]> To: users@app

Re: [appfuse-user] Failed to run the cargo when install appfuse 2

2007-10-31 Thread Nathan Anderson
It looks like you may have some configuration problems. The paths listed in the log messages all look like Windows paths, but you said this is on Ubuntu 7.10. Something isn't right there :? On a side note, I just upgraded a couple computers to Ubuntu 7.10 and it went mostly smooth. One word

Re: [appfuse-user] add/update library

2007-10-30 Thread Nathan Anderson
The AppFuse 1.x documentation is located here: http://raibledesigns.com/wiki/ And the page you are looking for is here: http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAddLibrary Enjoy :) Nathan - Original Message - From: "L." <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net

Re: [appfuse-user] Sample Code for Acegi CustomAuthenticationProvider

2007-10-29 Thread Nathan Anderson
You can even leave the definition of the daoAuthenticationProvider in place, add a new definition for your customeDaoAuthenticationProvider [or whatever you call it], and then switch back and forth while testing [or if appropriate, you can use both providers]. Nathan - Original Message

Re: [appfuse-user] Sample Code for Acegi CustomAuthenticationProvider

2007-10-29 Thread Nathan Anderson
The best examples I have found are in Acegi itself. http://tinyurl.com/2s42qb Nathan - Original Message - From: "John Kwon" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, October 29, 2007 12:18:41 PM (GMT-0800) America/Los_Angeles Subject: [appfuse-user] Sample Code fo

Re: [appfuse-user] Zero size response when using LDAP based authentication

2007-10-22 Thread Nathan Anderson
Wow.. that's some good detective work ;) Glad you found the problem and reported it back here. Thanks, Nathan - Original Message - From: "Florian Kirchhoff" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Monday, October 22, 2007 7:21:17 AM (GMT-0800) America/Los_Angeles Subjec

Re: [appfuse-user] CSS Driving me up the wall

2007-10-21 Thread Nathan Anderson
There are a few elements with fixed widths in Simplicity. I'm trying to make some modifications as well that haven't all panned out yet. The easiest place to start is to use Firebug extension for Firefox to tweak things. But you may run into the same problem I'm having where IE 6 doesn't rend

Re: [appfuse-user] Zero size response when using LDAP based authentication

2007-10-19 Thread Nathan Anderson
Which web layer are you using in your app? I had a zero size response in a Struts 2 app which I found to be caused by trying to read from a non-existent session variable [which was caused by a typo ;)]. Nathan - Original Message - From: "Florian Kirchhoff" <[EMAIL PROTECTED]> To: user

Re: [appfuse-user] Getting LDAP Bad Credentials exception...

2007-10-17 Thread Nathan Anderson
We have an AppFuse 1.9.3 app that connects to an AD server. Here is the relevant part of our security.xml file. Nathan ldap://adserver.domain.local:389/dc=domain,dc=local"/> cn=admin,cn=users,dc=domain,dc=local strongPassword cn=users

Re: [appfuse-user] Getting LDAP Bad Credentials exception...

2007-10-17 Thread Nathan Anderson
It looks to me like Acegi is trying to connect to the wrong server [127.0.0.1]. Have you tried connecting to the server "DC01.mycompany.corp" rather than "DC01"? Nathan - Original Message - From: "gempy" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Wednesday, October 17, 2

Re: [appfuse-user] Re: Re[appfuse-user] ading emails at a defined time

2007-10-15 Thread Nathan Anderson
I think you have answered your own question... AppFuse has a built in mechanism for sending email, but not receiving. So you will likely have to integrate another library or implement JavaMail like you suggest. As for scheduling I don't know of a better choice than Quartz. Nathan - Orig

Re: [appfuse-user] Data Archive pattern in AppFuse

2007-10-10 Thread Nathan Anderson
Wow.. I guess we created these a while ago... they are all MyISAM tables, so there are no relationships enforced by MySQL, only Hibernate is enforcing the relationships. Nathan - Original Message - From: "Rob Hills" <[EMAIL PROTECTED]> To: "Nathan Anderson"

Re: [appfuse-user] Data Archive pattern in AppFuse

2007-10-09 Thread Nathan Anderson
We have an app that uses the Hibernate version attribute to make a "archive table" like you describe. Some things to think about before you get too far... The foreign key constraint means you will not be able to delete an object without deleting it's archive [which is bad ;)]. We used the c

Re: [appfuse-user] Dropbox list for Country and State

2007-10-09 Thread Nathan Anderson
Hello Bruce, AppFuse uses the countries listed in the JVM for localization, so it is not really a complete list of countries anyway. The only way to have a complete list is to compile one yourself [e.g. make a database] or use an existing library [several commercial options available]. The c

Re: [appfuse-user] Hibernate Example.create

2007-10-05 Thread Nathan Anderson
I think you might need to provide some more information for someone to help with this. Could you share your POJO's so we can see how you built the relationships betwen Manager and Employees. Are you trying to retrieve one Manager and a List of Employees? If the relationships are set up correc

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
you should find something Mike On 10/2/07 , benoit moraillon < [EMAIL PROTECTED] > wrote: I just want to know how to get an error message instead of a blank page for this case. Have you got any idea ? Thanks, Benoît. -----Message d'origine- De : Nathan Anderson [mailto:

Re: [appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
- Original Message - From: "Nathan Anderson" <[EMAIL PROTECTED]> To: "users" Sent: Tuesday, October 2, 2007 1:23:22 AM (GMT-0800) America/Los_Angeles Subject: [appfuse-user] Struts2 problem Howdy folks, I'm in this weird predicament where I have an error on my

[appfuse-user] Struts2 problem

2007-10-02 Thread Nathan Anderson
Howdy folks, I'm in this weird predicament where I have an error on my Struts 2 JSP page, but rather than throwing an exception I get nothing... just a completely blank page [even "view source" is completely empty]. But process of elimination I have narrowed down the problem to a single line

Re: [appfuse-user] Database immediate commit with DWR ?

2007-10-01 Thread Nathan Anderson
Hi Nat, I don't have a certain answer for your situation but I have a couple of things to consider. I know that the HibernateTemplate.flush() method is used to commit a transaction: http://tinyurl.com/35xf46 But I'm not sure what to do about your synchronization problem. I'm guessing you

Re: [appfuse-user] J2EE fundumentals

2007-10-01 Thread Nathan Anderson
You should never feel bad about asking questions!!! Questions are encouraged here and even uncertain answers are encouraged. One of the great things about AppFuse is the willingness of the community to help each other out. If you have any trouble understanding something please ask. Anyone wh

Re: [appfuse-user] appfuse vs other web applications

2007-10-01 Thread Nathan Anderson
I'm not going to say it can't be done, but that sounds like an ambitious list of goals for someone who is not already familiar with many of the tools AppFuse is built on. I do think an existing DMS could be learned and adapted to meet any needs it currently does not--but if that is not an optio

Re: [appfuse-user] appfuse 1.6.1

2007-10-01 Thread Nathan Anderson
It could be a permission issue. Also you may be better off looking at the documentation that is checked into SVN [at least I hope it was checked in]. The link you pointed to was for the AppFuse 1.9.x branch. Obviously a lot would be the same, but not everything [e.g. I'm not sure 1.6.x had Ac

Re: [appfuse-user] where can I find the errors?

2007-09-29 Thread Nathan Anderson
sage - From: "Nathan Anderson" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Saturday, September 29, 2007 6:31:01 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] where can I find the errors? Hey Matt, I turned on devMove and I'm getting more me

  1   2   3   >