Solved

error initializing acl filter

Posted on 2010-11-19
3
491 Views
Last Modified: 2013-12-10
We get an error message while logiing in to the application. ACL filter is defined in the web.xml file and tthe below error message is thrown in the init() method of the Access Control Filter which gets invoked when you restart the application/server/JVM


INFO: ##########################
 INFO: Initializing Access Control Filter. Activation status is: false
 INFO: ##########################
FATAL: IOException:
java.net.SocketException: Socket Closed
      at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:177)
      at java.net.Socket.setTcpNoDelay(Socket.java:783)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:305)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:354)
      at weblogic.net.http.HttpClient.<init>(HttpClient.java:139)
      at weblogic.net.http.HttpClient.New(HttpClient.java:212)
      at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:140)
      at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:319)
      at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:28)
      at java.net.URL.openStream(URL.java:913)
      at weblogic.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:836)
      at weblogic.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:796)
      at weblogic.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:275)
      at weblogic.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:841)
      at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
      at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
      at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
      at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
      at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
      at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
      at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
      at com.pfizer.ost.util.WebXmlParser.doParseFile(WebXmlParser.java:56)
      at com.pfizer.ost.filters.AccessControlFilter.parseACLFiles(AccessControlFilter.java:581)
      at com.pfizer.ost.filters.AccessControlFilter.init(AccessControlFilter.java:552)
      at weblogic.servlet.internal.WebAppServletContext$FilterInitAction.run(WebAppServletContext.java:7074)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppServletContext.java:3091)
      at weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServletContext.java:3062)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3380)
      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6262)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2169)
      at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3111)
      at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1769)
      at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:352)
      at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)
FATAL: ##########################
FATAL: WARNING! SECURITY INIT FAILURE! Could not PARSE web xml or ost ACL! Security override engaged! Access to the application has been disabled for all users!
FATAL: ##########################
0
Comment
Question by:shylu
  • 2
3 Comments
 
LVL 35

Expert Comment

by:girionis
Comment Utility
The problem seems to be with your web.xml. You have defined somethign that the server does not like. Can you post it?
0
 

Accepted Solution

by:
shylu earned 0 total points
Comment Utility
ACL was not needed, and is removed from the web.xml
0
 

Author Closing Comment

by:shylu
Comment Utility
ACL was not needed, and is removed from the web.xml
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now