shylu
asked on
error initializing acl filter
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.s etOption(P lainSocket Impl.java: 177)
at java.net.Socket.setTcpNoDe lay(Socket .java:783)
at weblogic.net.http.HttpClie nt.openSer ver(HttpCl ient.java: 305)
at weblogic.net.http.HttpClie nt.openSer ver(HttpCl ient.java: 354)
at weblogic.net.http.HttpClie nt.<init>( HttpClient .java:139)
at weblogic.net.http.HttpClie nt.New(Htt pClient.ja va:212)
at weblogic.net.http.HttpURLC onnection. connect(Ht tpURLConne ction.java :140)
at weblogic.net.http.HttpURLC onnection. getInputSt ream(HttpU RLConnecti on.java:31 9)
at weblogic.net.http.SOAPHttp URLConnect ion.getInp utStream(S OAPHttpURL Connection .java:28)
at java.net.URL.openStream(UR L.java:913 )
at weblogic.apache.xerces.imp l.XMLEntit yManager.s tartEntity (XMLEntity Manager.ja va:836)
at weblogic.apache.xerces.imp l.XMLEntit yManager.s tartDTDEnt ity(XMLEnt ityManager .java:796)
at weblogic.apache.xerces.imp l.XMLDTDSc annerImpl. setInputSo urce(XMLDT DScannerIm pl.java:27 5)
at weblogic.apache.xerces.imp l.XMLDocum entScanner Impl$DTDDi spatcher.d ispatch(XM LDocumentS cannerImpl .java:841)
at weblogic.apache.xerces.imp l.XMLDocum entFragmen tScannerIm pl.scanDoc ument(XMLD ocumentFra gmentScann erImpl.jav a:329)
at weblogic.apache.xerces.par sers.DTDCo nfiguratio n.parse(DT DConfigura tion.java: 525)
at weblogic.apache.xerces.par sers.DTDCo nfiguratio n.parse(DT DConfigura tion.java: 581)
at weblogic.apache.xerces.par sers.XMLPa rser.parse (XMLParser .java:152)
at weblogic.apache.xerces.par sers.Abstr actSAXPars er.parse(A bstractSAX Parser.jav a:1175)
at weblogic.xml.jaxp.WebLogic XMLReader. parse(WebL ogicXMLRea der.java:1 35)
at weblogic.xml.jaxp.Registry XMLReader. parse(Regi stryXMLRea der.java:1 52)
at javax.xml.parsers.SAXParse r.parse(SA XParser.ja va:345)
at javax.xml.parsers.SAXParse r.parse(SA XParser.ja va:143)
at com.pfizer.ost.util.WebXml Parser.doP arseFile(W ebXmlParse r.java:56)
at com.pfizer.ost.filters.Acc essControl Filter.par seACLFiles (AccessCon trolFilter .java:581)
at com.pfizer.ost.filters.Acc essControl Filter.ini t(AccessCo ntrolFilte r.java:552 )
at weblogic.servlet.internal. WebAppServ letContext $FilterIni tAction.ru n(WebAppSe rvletConte xt.java:70 74)
at weblogic.security.acl.inte rnal.Authe nticatedSu bject.doAs (Authentic atedSubjec t.java:321 )
at weblogic.security.service. SecurityMa nager.runA s(Security Manager.ja va:121)
at weblogic.servlet.internal. WebAppServ letContext .registerF ilter(WebA ppServletC ontext.jav a:3091)
at weblogic.servlet.internal. WebAppServ letContext .initFilte rs(WebAppS ervletCont ext.java:3 062)
at weblogic.servlet.internal. WebAppServ letContext .preloadRe sources(We bAppServle tContext.j ava:3380)
at weblogic.servlet.internal. WebAppServ letContext .setStarte d(WebAppSe rvletConte xt.java:62 62)
at weblogic.servlet.internal. WebAppModu le.start(W ebAppModul e.java:892 )
at weblogic.j2ee.J2EEApplicat ionContain er.start(J 2EEApplica tionContai ner.java:2 181)
at weblogic.j2ee.J2EEApplicat ionContain er.activat e(J2EEAppl icationCon tainer.jav a:2222)
at weblogic.j2ee.J2EEApplicat ionContain er.activat e(J2EEAppl icationCon tainer.jav a:2169)
at weblogic.management.deploy .slave.Sla veDeployer $Applicati on.setActi vation(Sla veDeployer .java:3111 )
at weblogic.management.deploy .slave.Sla veDeployer .setActiva tionStateF orAllAppli cations(Sl aveDeploye r.java:176 9)
at weblogic.management.deploy .slave.Sla veDeployer .resume(Sl aveDeploye r.java:352 )
at weblogic.management.deploy .Deploymen tManagerSe rverLifeCy cleImpl.re sume(Deplo ymentManag erServerLi feCycleImp l.java:229 )
at weblogic.t3.srvr.Subsystem Manager.re sume(Subsy stemManage r.java:136 )
at weblogic.t3.srvr.T3Srvr.re sume(T3Srv r.java:965 )
at weblogic.t3.srvr.T3Srvr.ru n(T3Srvr.j ava:360)
at weblogic.Server.main(Serve r.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: ##########################
INFO: ##########################
INFO: Initializing Access Control Filter. Activation status is: false
INFO: ##########################
FATAL: IOException:
java.net.SocketException: Socket Closed
at java.net.PlainSocketImpl.s
at java.net.Socket.setTcpNoDe
at weblogic.net.http.HttpClie
at weblogic.net.http.HttpClie
at weblogic.net.http.HttpClie
at weblogic.net.http.HttpClie
at weblogic.net.http.HttpURLC
at weblogic.net.http.HttpURLC
at weblogic.net.http.SOAPHttp
at java.net.URL.openStream(UR
at weblogic.apache.xerces.imp
at weblogic.apache.xerces.imp
at weblogic.apache.xerces.imp
at weblogic.apache.xerces.imp
at weblogic.apache.xerces.imp
at weblogic.apache.xerces.par
at weblogic.apache.xerces.par
at weblogic.apache.xerces.par
at weblogic.apache.xerces.par
at weblogic.xml.jaxp.WebLogic
at weblogic.xml.jaxp.Registry
at javax.xml.parsers.SAXParse
at javax.xml.parsers.SAXParse
at com.pfizer.ost.util.WebXml
at com.pfizer.ost.filters.Acc
at com.pfizer.ost.filters.Acc
at weblogic.servlet.internal.
at weblogic.security.acl.inte
at weblogic.security.service.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.servlet.internal.
at weblogic.j2ee.J2EEApplicat
at weblogic.j2ee.J2EEApplicat
at weblogic.j2ee.J2EEApplicat
at weblogic.management.deploy
at weblogic.management.deploy
at weblogic.management.deploy
at weblogic.management.deploy
at weblogic.t3.srvr.Subsystem
at weblogic.t3.srvr.T3Srvr.re
at weblogic.t3.srvr.T3Srvr.ru
at weblogic.Server.main(Serve
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: ##########################
The problem seems to be with your web.xml. You have defined somethign that the server does not like. Can you post it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ACL was not needed, and is removed from the web.xml