Ok, I was a little misleading when I said "relatively fresh checkout".
It was an older checkout, but with a brand new 'svn update' and a run of
'svn status' to make sure I had not modified anything.
Anyway, the problemm turns out that 'ant initportal' does NOT clean out
things. And if you have a checkout that has existed across a release.
then you can end up with multiple impl jars in your distribution.
$ ls webapps/uPortal/WEB-INF/lib/uPortal*
uportal-impl-3.0.1-SNAPSHOT.jar
uportal-impl-3.0.3-SNAPSHOT.jar
Completely removing tomcat, then redoing the build by first doing an
"ant clean" then an "ant initportal", fixed my problem.
While the above is certainly not a common case, what do people think
about having "ant clean" be a dependency for "ant initportal" ?
---- Cris J H
Cris J Holdorph wrote:
Before I start chasing this down, I thought I would ask here to see if
this is already a known bug or if anyone else is seeing the same thing.
I tried a relatively fresh checkout/build/deploy of uPortal 3.0.x from
the branch.
https://www.ja-sig.org/svn/uPortal/branches/rel-3-0-patches
My only changes are to rdbm.properties, dbloader.xml,
personDirectoryContext.xml and pom.xml in order to use MySQL. I started
with a fresh database and fresh tomcat.
'ant initportal' from the root complete successfully, tomcat starts
successfully, however the uPortal web application does not. The
following error (minus a several of the lest interesting lines of stack)
occurs.
ERROR [main] provider.ImpersonationFilter.[] Dec/11 16:35:17 - Falied to
read security.properties
java.lang.NullPointerException
at
org.jasig.portal.security.provider.ImpersonationFilter.init(ImpersonationFilter.java:119)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
... snip snip many uninteresting lines of the stack ...
ERROR [main] [localhost].[/uPortal].[] Dec/11 16:35:17 - Exception
starting filter Impersonation Filter
javax.servlet.ServletException: Falied to read security.properties
at
org.jasig.portal.security.provider.ImpersonationFilter.init(ImpersonationFilter.java:153)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
... snip snip many uninteresting lines of the stack ...
Does anyone else see this? Is this a partial commit from someone, or am
I really missing a new deployment step that I am unaware of?
---- Cris J H
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev