[CONTROLLER-888] java.lang.IllegalArgumentException: Security Mapping [free access] is already registered Created: 23/Sep/14  Updated: 25/Jul/23  Resolved: 15/Jun/15

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: RichardHill Assignee: RichardHill
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2048

 Description   

The error below is seen during startup. Doesn't seem to break anything so maybe should reduced to a warning.

Version

http://nexus.opendaylight.org/content/groups/staging/org/opendaylight/integration/distribution-karaf/0.2.0-Helium/distribution-karaf-0.2.0-Helium.zip

java.lang.IllegalArgumentException: Security Mapping [free access] is already registered.
at org.ops4j.pax.web.service.spi.model.ServiceModel.addSecurityConstraintMappingModel(ServiceModel.java:330)[178:org.ops4j.pax.web.pax-web-spi:3.1.0]
at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerConstraintMapping(HttpServiceStarted.java:929)[179:org.ops4j.pax.web.pax-web-runtime:3.1.0]
at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerConstraintMapping(HttpServiceProxy.java:356)[179:org.ops4j.pax.web.pax-web-runtime:3.1.0]
at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:329)[185:org.ops4j.pax.web.pax-web-extender-war:3.1.0]
at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:669)[185:org.ops4j.pax.web.pax-web-extender-war:3.1.0]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:237)[185:org.ops4j.pax.web.pax-web-extender-war:3.1.0]
at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:182)[185:org.ops4j.pax.web.pax-web-extender-war:3.1.0]



 Comments   
Comment by RichardHill [ 23/Sep/14 ]

Steps

Started up Karaf with no config changes and loaded the features

feature:install odl-mdsal-broker odl-restconf odl-openflowplugin-all odl-netconf-all odl-netconf-connector-all

Comment by Liem Nguyen [ 13/Nov/14 ]

May be caused by this: https://ops4j1.jira.com/browse/PAXWEB-622

Comment by Maros Marsalek [ 17/Mar/15 ]

This comes up after installing restconf feature (I believe). Moving to restconf since it might get forgotten in other.

Comment by Vaclav Demcak [ 09/Jun/15 ]

I've tested a reported bug in actual stable/lithium & stable/helium branches and I can not confirm occurrence behavior. So could you please confirm my observations and close this bug?

Comment by RichardHill [ 15/Jun/15 ]

Not present in build

0.3.0-SNAPSHOT/distribution-karaf-0.3.0-20150615.153636-2528.tar.gz

Generated at Wed Feb 07 19:54:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.