I see two separate exceptions in your logs. The first is the removeFromGroups
issue which I will address farther down in the email.
The second issue, and possibly the one which is a bigger problem, does
actually have to do with ehcache. The are a couple of caches that the app
expects to be defined in ehcache.xml. At least one of these configurations
seems to be missing, which causes a name lookup of that cache to return null,
which shortly thereafter causes a NullPointerException.
When I look closer at your description of what you have already done with
ehcache, I see that you moved OWF's ehcache.xml into webapps/owf/WEB-INF.
That is not the correct directory. To get it on the classpath it needs to be
in webapps/owf/WEB-INF/classes. I suspect that this misplacement is what is
preventing the configuration from being found and ultimately what is
preventing the app from starting.
Back to the removeFromGroups issue, that exception seems to imply that you
have at least one "App" in your database that does not have a corresponding
Default Group. I'm not sure how that would have happened but it is an invalid
state and is likely to continue causing problems in the future, even if we
work around or ignore this particular error. You said that this deployment is
in a test environment? What pre-existing database state is present when OWF
starts in this environment? Would it be feasible to blow away that data and
start over?
Ross Pokorny
On Tuesday, December 6, 2016 12:59:04 PM EST
coalesce....@gmail.com
wrote:
> We have a tomcat server that we deploy OWF along with our WARs which are
> currently uber jars to avoid dependency conflicts. However OWF refuses to
> start due to the errors in the attached logs. My understanding is that the
> ehcache is shared between the wars? So my thought processes is maybe a
> newer version of OWF cache is being initialized and OWF is not compatible?
> I know that the ehcache.xml that came with the OWF tomcat instance is not
> compatible with the version of ehcahe libraries that we are using which is
> why we had to move it down into webapps/owf/WEB-INF to avoid our WARs from
> picking it up.
>
> On Tuesday, December 6, 2016 at 8:52:55 AM UTC-5, Ross Pokorny wrote:
> > After searching through the github tickets that were closed over the past
> > year, I see that I may have been mistaken about this being an issue that
> > we
> > have already seen and fixed. In that case could you elaborate on what you
> > are
> > seeing? What steps do you perform that lead up to this issue? Is there
> > any
> > other information about the error, such as a stacktrace in the server log
> > files?
> >
> > Note that I wouldn't necessarily think that this is a classloader issue.
> > Since OWF is written in groovy, which is dynamically typed,
> > MissingMethodExceptions are not uncommon.
> >
> > Ross Pokorny
> >
> > On Tuesday, December 6, 2016 5:36:47 AM EST
coalesce....@gmail.com
> > <javascript:>