Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Mar 20, 2018 3:24 PM UTC

Using a personal AEM DEV instance is the best way to code with AEM. Make sure you solution is sound before pushing to a staging server.

Anyhow - i recommend setup a fresh instance and repeat your steps. Lets see if you can reproduce in order to pinpoint where the issue is. I still think its related to that bundle.

14 replies

Hemant_arora
Level 8
Mar 20, 2018 10:48 AM UTC

Can you share the STR ? what did you do exactly ?

Translate
jamesm77050123
Level 2
Mar 20, 2018 11:05 AM UTC

Sorry, you've lost me there. Whats the STR?

The problem started when I installed a custom package using this tutorial, https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html

Adobe Experience Manager Help | Submitting Adobe Experience Manager form data to Java Sling Servlets

The package installed just fine but siteadmin disappeared. I've deleted the package on system/console, deleted the clientlib folder based on a suggestion in the forum. Thats about it.

Translate
Hemant_arora
Level 8
Mar 20, 2018 11:09 AM UTC

What version of AEM are you using, because the above package is supported till 6.2. By STR i mean steps to reproduce. Apology my bad.

Translate
jamesm77050123
Level 2
Mar 20, 2018 11:16 AM UTC

No problem. I'm on 6.2.

As I mentioned before, I created a package for Maxmind GeoIP2 using the tutorial link. Package was installed without problems on the system console. After restarting the instance, i noticed I couldn't access siteadmin. I delete the bundle, didn't help

Translate
Hemant_arora
Level 8
Mar 20, 2018 11:19 AM UTC

I am not able to reproduce the issue. It works fine . Let me drill down to the above logs

Translate
smacdonald2008
Level 10
Mar 20, 2018 1:28 PM UTC

That package contains a JSP that implements a basic form and a clientlib. Nothing in that would cause site admin to disappear.

Package works fine on 6.2 - been tested many times. See below

For your issue - can you access the Felix web console to see the OSGi bundles?

Translate
smacdonald2008
Level 10
Mar 20, 2018 1:32 PM UTC

You stated:

" I created a package for Maxmind GeoIP2 using the tutorial link"

In which tutorial does it use Maxmind GeoIP2?

Translate
jamesm77050123
Level 2
Mar 20, 2018 1:57 PM UTC

For better context, please see this AEM not working with GeoIP2 databasereader  question which I asked last week which you helped me out with. I was using the Maxmind GeoIP2 db and needed to build an OSGI package for it using the instructions on the tutorial. I built the package and installed it. Something went wrong after that, siteadmin, login, content pages don't work. Crxde, system console pages are working

Translate
smacdonald2008
Level 10
Mar 20, 2018 2:02 PM UTC

Now I rememeber that. I answer many question each week. Anyhow - I pointed you to the Servlet article as an example of how to wrap 3rd party  JAR files into an OSGi bundle using an Eclipse plug-in project. IN the Servlet article - we wrap the SIMPLE JSON JAR.

Now for your issue - I am wondering if the cause of the issue is the GEO JAR files. How many JAR files did you try and place into the OSGi bundle?

Translate
jamesm77050123
Level 2
Mar 20, 2018 2:41 PM UTC

There were 11 jar files in the bundle. I've tried disabling and deleting the bundle. Doesn't make a difference

Translate