Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebFilter annotation missing required attributes #686

Closed
1 of 2 tasks
littleaj opened this issue Jun 12, 2018 · 0 comments
Closed
1 of 2 tasks

WebFilter annotation missing required attributes #686

littleaj opened this issue Jun 12, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@littleaj
Copy link
Contributor

littleaj commented Jun 12, 2018

It appears that WebLogic is the only appserver that enforces this; but it is in the J2EE spec: https://docs.oracle.com/javaee/6/tutorial/doc/bnagb.html

weblogic.j2ee.dd.xml.AnnotationProcessException: [HTTP:101397]The urlPatterns attribute, servletNames attribute, or value attribute of the WebFilter annotation MUST be specified: com.microsoft.applicationinsights.web.internal.WebRequestTrackingFilter

The fix is to specify the URL patterns in the filter annotation.

  • add required attribute
  • add weblogic to smoketests
@littleaj littleaj added the Bug label Jun 12, 2018
@littleaj littleaj added this to the 2.1.2 milestone Jun 12, 2018
@littleaj littleaj self-assigned this Jun 12, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Jul 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant