[OT] {BEER] commercial J2EE application server recommendations.

2005-08-05 Thread Gareth Meyrick
hi,

perhaps the subject should be stout vs. porter vs. bitter vs. pale ale vs.
pilsner;)

as an open source advocate and user, i usually recommend open source
solutions.  however, i have a rapidly growing client that is uncomfortable
with open source, and has plenty of money.

i haven't worked with many recent commercial J2EE application servers,
or other the pieces that i'll need.  while i have my opinions, i'd like
those of the community so that i can present an unbiased (ok - less
biased;) presentation of the client's options.  comments like IMO product
X has the following advantages and disadvantages would be greatly
appreciated.

J2EE app servers?

RDBMS?

integration issues (eg: one vendor's app server talking to another vendor's
RDBMS)?

as the implementation will involve some open source frameworks, any 
vendor specific issues (eg: with Struts or Hibernate)?

etc..

TIA  have a great weekend -gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[SOLVED] Re: Cannot retrieve definition for form bean null disaster

2005-07-25 Thread Gareth Meyrick
hi,

thanks for the responses.. the subject line did look like a FAQ question,
hence there were few replies (thanks Lucas and Vincent).

as per the FAQ, i added a null form bean for the action question.. although
it still didn't work:(

i was confused because the web application worked the first time.. but never
again.  the problem was caused by a misbehaving JAAS servlet filter (arguably
OT for this list, but i'll probably post a URL for the fixed incarnation
since the login question comes up so often).

programming late at night and then making lame posts for help is not
a practice i'd advocate.. unfortunately i broke my own rules..  sorry
for any noise.

cheers -gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cannot retrieve definition for form bean null disaster

2005-07-24 Thread Gareth Meyrick
hi,

i'm at a loss.. i've verified the usual suspects, checked the usual places,
but still can't find an answer.

background:

  /Login - /LoginSubmit - /Survey - /SurveySubmit

  from struts-config.xml (IMHO unrelelated stuff elided):

  form-beans
form-bean  name=surveyForm
type=com.w3elements.form.SurveyForm/
  /form-beans

  global-forwards
forward  name=survey path=/Survey.do/
  /global-forwards

  action-mappings
action path=/Survey
forward=/pages/Survey.jsp/
  /action-mappings

the first time everything works.

the next time tomcat bails with:

snip
  - Root Cause -
  javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null 
on
 action /Survey
/snip

and won't work again unless you restart tomcat.

well.. it's just a forward hiding a JSP.  Survey.jsp contains a form
that forwards to /SurveySubmit (which _is_ associated with a form bean..
yup.. also works the first time).

software:
tomcat 5.0.19
struts 1.2.6

i'm probably doing something incredibly stupid..

any comments or suggestions appreciated.

TIA -gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cannot retrieve definition for form bean null disaster

2005-07-24 Thread Gareth Meyrick
hi,

Lucas Bern wrote:
 
 Hi, I think the problem should be arround the SurveySubmit action...
 Coul you paste that definition form struts-config???

action path=/SurveySubmit
type=com.w3elements.action.SurveyAction
name=surveyForm
input=survey
validate=false
parameter=dispatch
/action

 What is failing??, the load of the form, or the submit???

tomcat barfs about not finding a form bean for /Survey. note:

  global-forwards
forward  name=survey path=/Survey.do/
  /global-forwards

and that survey is /SurveySubmit input source.

it's a simple form display/submission pattern that i've used in a number
of web applications (that has always worked).  even wierder, it always
works the _first_ time the app is depolyed.. after that, it's hosed.

hosed in the sense that reoloading the original URI (that worked the
first time) barfs.  worse yet, the web.xml error-page directive is
ignored and the exceptions are displayed on the browser.

any ideas or thoughts greatly appreciated.

cheers -gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Too late to become a rock star?

2005-05-12 Thread Gareth Meyrick
hi,

Dave Newton wrote:
 
 When we see Perversion of Control fronted by Hot Dependency 
 Injection THEN I'll be scared.

actually i'm already scared..

imagine the VU reincarnating itself to play something like I'm waiting for
my IDE..

'guess i'm _really_ showing my age;)

isn't today thursday?

-gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Gareth Meyrick
hi,

Frank W. Zammetti wrote:
 
 I'm working on something for which I need to know what the os.name 
 property on various OS's is.

[...]

 I'm particularly interested in various *nix variants, Linux, Mac and 
 such.

(solaris 9):
[EMAIL PROTECTED] 130 uname -a
SunOS galois 5.9 Generic_112233-02 sun4u sparc SUNW,UltraSPARC-IIi-Engine
[EMAIL PROTECTED] 129 java Test
SunOS

(MacOS X):
[EMAIL PROTECTED] 507 uname -a
Darwin chiba.kirkstonepass.com 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10 
12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC  Power Macintosh 
powerpc
[EMAIL PROTECTED] 506 java Test
Mac OS X

cheers -gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help Validating Accepted/Not Accepted radio buttons

2004-12-02 Thread Gareth Meyrick
hi,

Wendy Smoak wrote:
 
 From: Jeff Beal [EMAIL PROTECTED]
  I'd just put that in the Action class instead of in validation.  It
  seems like more of a business decision than a validation decision.
  (After all, 'Y' and 'N' are both valid responses.)
 
  In Action:
 
  if (Y.equals(myForm.getAccept)) {
 return mapping.findForward(accept)
  } else {
   ActionMessages errors = new ActionMessages();
   errors.add(ActionMessages.GLOBAL_MESSAGE,
 new ActionMessage(Constants.ACCEPT_TERMS_ERROR));
   saveErrors(req,errors);
 return mapping.getInputForward();
  }
 
 It's not that simple... something about creating an ActionError and putting
 it somewhere so it will magically make the message appear on the page when I
 forward back to the input form.  I used to know how to do it, but then
 things changed.  And that's why I want to use Validator.

where Constants.ACCEPT_TERMS_ERROR is a key in the message properties file
should work.

-gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: using JSTL with struts (stupid question?)

2004-11-17 Thread Gareth Meyrick
hi,

Guillaume Cottenceau wrote:
 
 Any place to check where this feature could be turned off
 inadvertandly?

try inserting the page directive

  %@ page isELIgnored=false %

before any expression language (EL) stuff.

hope this helps..

-gm

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]