struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Struts2, convention plugin, websphere 6.1
Date Wed, 17 Nov 2010 17:17:58 GMT
Without further information it'll be difficult to help; is devMode
turned on? Do you have DEBUG set for *everything*, or just s2
packages, or xwork, or...? It shouldn't matter, but do you have the
WebFear filter compatibility flag set (or don't need it due to patch
level)?

Dave

On Wed, Nov 17, 2010 at 11:56 AM, Aaron Brown <aaron@thebrownproject.com> wrote:
> I've been working on implementing Struts 2.1.8 on WebSphere 6.1 and
> I'm having trouble with the convention plugin and annotation-based
> configuration. It appears that none of my struts configs are being
> scanned and/or processed from the annotations.  Here's what I know:
>
> 1) Struts2 and WebSphere is an ugly partnership. There are lots of
> outstanding issues, so I'm wondering if this particular one has been
> solved and if there's anything I can do.
>
> 2) I know WebSphere is scanning other annotations, since my
> spring/hibernate annotations are working as expected.
>
> 3) Config browser tells me that my annotated packages/namespaces have
> no actions defined. When I load the action configs into .xml files
> instead, the actions are correctly loaded and working.
>
> 4) I tried tossing in some extra struts convention constants just to
> prod things, but no help:
> struts.convention.action.disableScanning = false
> struts.convention.action.packages = com.mycompany.myapp.action
>
> 5) This app with all its annotations is working perfectly in Tomcat,
> just not in WebSphere.
>
> 6) I have log4j set to DEBUG and I don't see any information about
> actions being defined by the convention plugin - it's as if it isn't
> even executing.
>
> I have a workaround - the xml config works - but would prefer to use
> annotations if I can. Anyone else run into this and solved it?
>
> thanks,
>  - Aaron
>
> --
> Aaron Brown : aaron@thebrownproject.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message