You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by "John D. Ament" <jo...@apache.org> on 2016/09/11 23:56:27 UTC

Filter not being invoked

Hi,

I'm working on a bit of a demonstration w/ EE technologies working well
with non-EE techs.  I found a bit of an issue w/ TomEE I think.

Take a look at this project:
https://github.com/johnament/bootee/tree/master/spark

If you run this using "mvn clean install tomee:run" TomEE will start up,
and deploy the application.  However, invoking any URL does not go through
the filter.  Now, i had this issue previously w/ an embedded Tomcat
instance, but started using the default servlet in tomcat and that fixed
the issue.  I would be surprised if TomEE didn't already use the default
servlet, so I'm not even thinking that.

But any idea why its not executing my filter?

One other thing I noticed, which doesn't look right,

*INFO - Using annotated mode for
file:/Users/johnament/src/bootee/spark/target/apache-tomee/webapps/spark-1.0-SNAPSHOT/WEB-INF/beans.xml
looking all classes to find CDI beans, maybe think to add a beans.xml if
not there or add the jar to exclusions.list*
....
*INFO - Unable to set the web application class loader property
[clearReferencesRmiTargets] to [true] as the property does not exist*

In the first case, I have a valid beans.xml.

Re: Filter not being invoked

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi John

2016-09-12 1:56 GMT+02:00 John D. Ament <jo...@apache.org>:

> Hi,
>
> I'm working on a bit of a demonstration w/ EE technologies working well
> with non-EE techs.  I found a bit of an issue w/ TomEE I think.
>
> Take a look at this project:
> https://github.com/johnament/bootee/tree/master/spark
>
> If you run this using "mvn clean install tomee:run" TomEE will start up,
> and deploy the application.  However, invoking any URL does not go through
> the filter.  Now, i had this issue previously w/ an embedded Tomcat
> instance, but started using the default servlet in tomcat and that fixed
> the issue.  I would be surprised if TomEE didn't already use the default
> servlet, so I'm not even thinking that.
>
> But any idea why its not executing my filter?
>
>
Works for me on win 10, think we maybe fixed an issue for symlinks or
equivalent (including a win issue) for @WebXXX which is on 7.0.2-SNAPSHOT,
maybe does worth a try


> One other thing I noticed, which doesn't look right,
>
> *INFO - Using annotated mode for
> file:/Users/johnament/src/bootee/spark/target/apache-
> tomee/webapps/spark-1.0-SNAPSHOT/WEB-INF/beans.xml
> looking all classes to find CDI beans, maybe think to add a beans.xml if
> not there or add the jar to exclusions.list*
> ....
> *INFO - Unable to set the web application class loader property
> [clearReferencesRmiTargets] to [true] as the property does not exist*
>
> In the first case, I have a valid beans.xml.
>

What's the issue there? the phrasing?