Skip to content

WebFilter annotation missing required attributes #686

@littleaj

Description

@littleaj

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions