http://localhost:4502/libs/granite/core/content/login.html/j_security_check | Community
Skip to main content
September 11, 2019

http://localhost:4502/libs/granite/core/content/login.html/j_security_check

  • September 11, 2019
  • 3 replies
  • 19020 views

Hi,

My AEM instance has suddenly broke.

It logged me out and all the style sheets look weird.

As you can see below the fonts and input boxes are weird and when i click sign in i get taken to this url:

http://localhost:4502/libs/granite/core/content/login.html/j_security_check

and on the url there is this error message:

Access to localhost was denied

You don't have authorisation to view this page.

HTTP ERROR 403

i cant get to any other urls so i cant even get to the sling logs.

when i go to the CRX and try logging in it says details dont match:

can anyone help me fix this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

antoniom5495929
September 11, 2019

Hi,

could you please share stdout.log and error log?

Thanks,

Antonio

September 11, 2019

Loading quickstart properties: default

Loading quickstart properties: instance

Quickstart startup at Wed Sep 11 16:46:03 BST 2019

UpgradeUtil.handleInstallAndUpgrade has mode RESTART

11.09.2019 16:46:03.911 *INFO * [main] Setting sling.home=C:\apps\crx-quickstart (command line)

11.09.2019 16:46:03.912 *INFO * [main] Starting Apache Sling in C:\apps\crx-quickstart

11.09.2019 16:46:03.914 *INFO * [main] Sling  Extension Lib Home : C:\apps\crx-quickstart\launchpad\ext

11.09.2019 16:46:03.926 *INFO * [main] Checking launcher JAR in folder C:\apps\crx-quickstart\launchpad

11.09.2019 16:46:03.944 *INFO * [main] Existing launcher is up to date, using it: 5.4.0.2_6_10-B004 (org.apache.sling.launchpad.base.jar)

11.09.2019 16:46:03.948 *INFO * [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from org.apache.sling.launchpad.base.jar

11.09.2019 16:46:03.950 *INFO * [main] Sling Extension jars found = [ C:\apps\crx-quickstart\launchpad\ext\bcmail-jdk15-1.35.jar,C:\apps\crx-quickstart\launchpad\ext\bcprov-jdk15-1.35.jar,C:\apps\crx-quickstart\launchpad\ext\certjFIPS-2.1.2.0.jar,C:\apps\crx-quickstart\launchpad\ext\cryptojce-6.0.0.jar,C:\apps\crx-quickstart\launchpad\ext\cryptojcommon-6.0.0.jar,C:\apps\crx-quickstart\launchpad\ext\jcmFIPS-6.0.0.jar, ]

11.09.2019 16:46:04.029 *INFO * [main] Setting sling.properties=conf/sling.properties

11.09.2019 16:46:04.029 *INFO * [main] Setting sling.home=C:\apps\crx-quickstart

11.09.2019 16:46:04.030 *INFO * [main] Setting sling.launchpad=C:\apps\crx-quickstart\launchpad

11.09.2019 16:46:04.030 *INFO * [main] Setting org.osgi.service.http.port=4502

11.09.2019 16:46:04.030 *INFO * [main] Starting launcher ...

11.09.2019 16:46:04.039 *INFO * [main] HTTP server port: 4502

11.09.2019 16:46:14.400 *INFO* [FelixStartLevel] org.apache.sling.commons.log.logback.internal.Activator LogbackManager initialized at bundle startup

11.09.2019 16:46:14.425 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogServiceFactory,18, [org.osgi.service.log.LogService]] ServiceEvent REGISTERED

11.09.2019 16:46:14.427 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice Service [org.apache.sling.commons.logservice.internal.LogReaderServiceFactory,19, [org.osgi.service.log.LogReaderService]] ServiceEvent REGISTERED

11.09.2019 16:46:14.427 *INFO* [FelixStartLevel] org.apache.sling.commons.logservice BundleEvent STARTED

Attempting to load ESAPI.properties via file I/O.

Attempting to load ESAPI.properties as resource file via file I/O.

Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\apps\ESAPI.properties

Not found in SystemResource Directory/resourceDirectory: .esapi\ESAPI.properties

Not found in 'user.home' (C:\Users\KWCE47P) directory: C:\Users\KWCE47P\esapi\ESAPI.properties

Loading ESAPI.properties via file I/O failed. Exception was: java.io.FileNotFoundException

Attempting to load ESAPI.properties via the classpath.

SUCCESSFULLY LOADED ESAPI.properties via the CLASSPATH from '/ (root)' using class loader for DefaultSecurityConfiguration class!

Attempting to load validation.properties via file I/O.

Attempting to load validation.properties as resource file via file I/O.

Not found in 'org.owasp.esapi.resources' directory or file not readable: C:\apps\validation.properties

Not found in SystemResource Directory/resourceDirectory: .esapi\validation.properties

Not found in 'user.home' (C:\Users\KWCE47P) directory: C:\Users\KWCE47P\esapi\validation.properties

Loading validation.properties via file I/O failed.

Attempting to load validation.properties via the classpath.

SUCCESSFULLY LOADED validation.properties via the CLASSPATH from '/ (root)' using class loader for DefaultSecurityConfiguration class!

11.09.2019 16:52:32.802 *INFO * [main] Startup completed

Adobe Employee
September 11, 2019

Did you have a chance to clear a browser cache or use an Incognito Tab?

sunjot16
Adobe Employee
Adobe Employee
September 11, 2019

The issue could have been caused by the custom code.

Your custom code failed creating the component instance, due to failure to bind reference factory. [1] [2]

It seems to be coming from SoapLaganInterfaceFactory.java class.

The component manager & the page manager are also unavailable. [4] [5].

Try resetting the password using the following link:

How to reset the admin password in AEM 6.3

1.)

11.09.2019 16:48:20.582 *ERROR* [FelixStartLevel] uk.gov.sheffield.scc-site.lagan [uk.gov.sheffield.lagan.internal.soap.SoapLaganInterfaceFactory(3201)] Failed creating the component instance; see log for reason

11.09.2019 16:48:20.582 *WARN* [FelixStartLevel] uk.gov.sheffield.scc-site.lagan [uk.gov.sheffield.lagan.internal.service.LaganCaseService(3200)] Could not get service from ref [uk.gov.sheffield.lagan.LaganInterfaceFactory]

11.09.2019 16:48:20.582 *ERROR* [FelixDispatchQueue] uk.gov.sheffield.scc-site.lagan FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: uk.gov.sheffield.lagan.internal.soap.SoapLaganInterfaceFactory (3201)))

org.osgi.framework.ServiceException: Service factory returned null. (Component: uk.gov.sheffield.lagan.internal.soap.SoapLaganInterfaceFactory (3201))

2.)

11.09.2019 16:48:20.582 *ERROR* [FelixStartLevel] uk.gov.sheffield.scc-site.lagan [uk.gov.sheffield.lagan.internal.service.LaganCaseService(3200)] Cannot create component instance due to failure to bind reference factory

11.09.2019 16:48:20.583 *ERROR* [FelixStartLevel] uk.gov.sheffield.scc-site.lagan [uk.gov.sheffield.lagan.internal.service.LaganCaseService(3200)] Failed creating the component instance; see log for reason

3.)

javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://shfvdwmapp01:8080/lagan/services/FL?WSDL. It failed with:

Connection timed out: connect.

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)

at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)

at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)

at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)

at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)

at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)

at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)

at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)

at javax.xml.ws.Service.<init>(Unknown Source)

at com.lagan.wsdl.flservice.FLWebService.<init>(FLWebService.java:50)

at uk.gov.sheffield.lagan.internal.soap.SoapLaganInterfaceFactory.configure(SoapLaganInterfa ceFactory.java:88)

at uk.gov.sheffield.lagan.internal.soap.SoapLaganInterfaceFactory.activate(SoapLaganInterfac eFactory.java:72)

4.)

11.09.2019 16:54:30.784 *WARN* [0:0:0:0:0:0:0:1 [1568217270781] GET /libs/granite/core/content/login.html HTTP/1.1] com.day.cq.wcm.commons.WCMUtils Unable to retrieve component manager for JcrNodeResource, type=granite/core/components/login, superType=null, path=/libs/granite/core/content/login

5.)

11.09.2019 16:54:30.785 *WARN* [0:0:0:0:0:0:0:1 [1568217270781] GET /libs/granite/core/content/login.html HTTP/1.1] libs.granite.core.components.login.login$jsp j_reason param value 'unknown' cannot be mapped to a valid reason message: ignoring

11.09.2019 16:54:30.790 *ERROR* [0:0:0:0:0:0:0:1 [1568217270781] GET /libs/granite/core/content/login.html HTTP/1.1] com.day.cq.wcm.mobile.core.MobileUtil isMobileResource: cannot check resource [/libs/granite/core/content/login], page manager unavailable.

September 12, 2019

thanks but i havent changed any of these files for this to happen so it just seems to happen randomly.

ive had this issue before and the only way i can figure out how to fix it is to reinstall AEM which isnt great because i need to add all my settings and files back in after.

even when i rebuild it with the exact same files it all works fine but eventually it breaks

September 27, 2023

Were you able to find any solution to it?