I know it's an old story...but I've been away from S2 and AF for a while and
maybe I am rusty.

I've got an almost out-of-the-box AF project using S2. It was working fine I
could login and load the mainMenu.jsp page.  Then I modified the Acegi setup
to use LDAP and that part *seems* to work, i.e. my custom Voter locates
Authorities successfully and grants access.

Immediately after my Acegi success though, upon login, the mainMenu.jsp page
would not load - stops at a white screen. Ffox TamperData records the HTTP
response to the GET request for /mainMenu.html as an OK 200.  

I guess it's related to authorities..?  but I need more info to be sure. The
console is unclear to me.  I have tuned my log4j.xml to max DEBUG I believe
- definitely struts and acegisecurity packages are included.  This is the
relevant console output, starting with the servlet dispatcher:

############# CONSOLE SNIP BEGIN ###################

DEBUG [btpool0-1] ServletDispatcherResult.doExecute(113) | Forwarding to
location /WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] ServerNameMatcher.debug(182) | looking for hostname match
on current server name localhost
DEBUG [btpool0-1] UrlRewriteFilter.debug(182) | checking for status path on
/WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing request for
/WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] UrlRewriter.debug(182) | after utf-8 decoding
/WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] RuleBase.debug(182) | Rule 0 run called with
/WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] RuleBase.trace(137) | no match on "from" for
^/admin/user/(.*).html$ and /WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] RuleBase.debug(182) | Rule 1 run called with
/WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] RuleBase.trace(137) | no match on "from" for
^/struts/css_xhtml/validation.js$ and /WEB-INF/pages/main
Menu.jsp
DEBUG [btpool0-1] RuleBase.debug(182) | Rule 2 run called with
/WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] RuleBase.trace(137) | no match on "from" for
^//services/(.*)$ and /WEB-INF/pages/mainMenu.jsp
DEBUG [btpool0-1] InstantiatingNullHandler.nullPropertyValue(72) | Entering
nullPropertyValue [target=[com.opensymphony.
[EMAIL PROTECTED],
[EMAIL PROTECTED], property=org]
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/editProfile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/editProfile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/editProfile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/editProfile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/uploadFile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/uploadFile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/uploadFile.html
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/uploadFile.html
DEBUG [btpool0-1] ActionContextCleanUp.cleanUp(122) | skipping cleanup
counter=2
DEBUG [btpool0-1] ActionContextCleanUp.cleanUp(122) | skipping cleanup
counter=1
DEBUG [btpool0-1] I18nInterceptor.intercept(145) | after Locale=en_US
DEBUG [btpool0-1] I18nInterceptor.intercept(149) | intercept }
DEBUG [btpool0-1] ActionContextCleanUp.cleanUp(122) | skipping cleanup
counter=1
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/images/favicon.ico
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/images/favicon.ico
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/theme.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/theme.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/print.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/print.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/scripts/prototype.js
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/scripts/prototype.js
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/scripts/scriptaculous.js
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/scripts/scriptaculous.js
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/scripts/global.js
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/scripts/global.js
DEBUG [btpool0-1] ConfigurationManager.conditionalReload(156) | Checking
ConfigurationProviders for reload.
DEBUG [btpool0-1] ConfigurationManager.conditionalReload(156) | Checking
ConfigurationProviders for reload.
DEBUG [btpool0-1] UseMenuDisplayerTag.setConfig(71) | setting config to:
cssHorizontalMenu.vm
DEBUG [btpool0-1] UseMenuDisplayerTag.doStartTag(132) | Looking for
repository named 'net.sf.navigator.menu.MENU_REPOSIT
ORY'
DEBUG [btpool0-1] UseMenuDisplayerTag.doStartTag(145) | stuffing repository
into pageContext...
DEBUG [btpool0-1] VelocityMenuDisplayer.displayComponents(102) | using
template: cssHorizontalMenu.vm
DEBUG [btpool0-1] VelocityMenuDisplayer.getMessage(62) | Looking up string
'communitySearch.title' in ResourceBundle
DEBUG [btpool0-1] ServerNameMatcher.debug(182) | looking for hostname match
on current server name localhost
DEBUG [btpool0-1] UrlRewriteFilter.debug(182) | checking for status path on
/error.jsp
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing request for /error.jsp
DEBUG [btpool0-1] UrlRewriter.debug(182) | after utf-8 decoding /error.jsp
DEBUG [btpool0-1] RuleBase.debug(182) | Rule 0 run called with /error.jsp
DEBUG [btpool0-1] RuleBase.trace(137) | no match on "from" for
^/admin/user/(.*).html$ and /error.jsp
DEBUG [btpool0-1] RuleBase.debug(182) | Rule 1 run called with /error.jsp
DEBUG [btpool0-1] RuleBase.trace(137) | no match on "from" for
^/struts/css_xhtml/validation.js$ and /error.jsp
DEBUG [btpool0-1] RuleBase.debug(182) | Rule 2 run called with /error.jsp
DEBUG [btpool0-1] RuleBase.trace(137) | no match on "from" for
^//services/(.*)$ and /error.jsp
DEBUG [btpool0-1] InstantiatingNullHandler.nullPropertyValue(72) | Entering
nullPropertyValue [target=[com.opensymphony.
[EMAIL PROTECTED],
[EMAIL PROTECTED], property=org]
DEBUG [btpool0-1] InstantiatingNullHandler.nullPropertyValue(72) | Entering
nullPropertyValue [target=[com.opensymphony.
[EMAIL PROTECTED],
[EMAIL PROTECTED], property=appConfig]
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/theme.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/theme.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/theme.css
DEBUG [btpool0-1] UrlRewriter.debug(182) | processing outbound url for
/styles/andreas01/theme.css
DEBUG [btpool0-1] ActionContextCleanUp.cleanUp(122) | skipping cleanup
counter=2
DEBUG [btpool0-1] ActionContextCleanUp.cleanUp(122) | skipping cleanup
counter=1
DEBUG [btpool0-1] ExceptionTranslationFilter.doFilter(169) | Chain processed
normally
DEBUG [btpool0-1] HttpSessionContextIntegrationFilter.doFilter(269) |
SecurityContextHolder now cleared, as request processing completed

############# CONSOLE SNIP END ###################

Note the line towards the end

   DEBUG [btpool0-1] UrlRewriter.debug(182) | processing request for
/error.jsp

it appears to me that an error is encountered and processing has been
redirected.  But error.jsp appears to be only the error page for taglibs and
500 errors (via web.xml). Which seems strange..the mainMenu.jsp does almost
nothing, and has not changed.  And furthermore, we have this line at the end

   DEBUG [btpool0-1] ExceptionTranslationFilter.doFilter(169) | Chain
processed normally

which seems to contradict this theory, unless an exception was swallowed.

So at the end of all this is a white screen.  Any ideas on getting more info
out of the machine? Velocity.log does have (what appears to be) the usual
complaints which I can post, but those seem to be there in fair conditions
also.

Thanks -



-- 
View this message in context: 
http://www.nabble.com/Page-not-loading-tp20260419s2369p20260419.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


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

Reply via email to