Highlighted

aem instance not working

hemanthm9258359

15-04-2019

I am practising aem in my local. i updated java in my local and from then aem instance is not working. i cannot open author and publish instance. i can install aem once again but i might lose all the data. please help me on this. what should i do?

Replies

Highlighted

Ravi_Pampana

MVP

15-04-2019

Hi,

Which version of java you updated and what is the version of AEM you are using? Can you check error.log to see what is the exception/errors you are getting while opening author/publish instance.

Error log will present under /crx-quickstart/logs/error.log.

Please share the error logs which helps us to analyze further on your issue.

Also check After upgrading Java version, AEM does not start up | AEM in case you are facing similar issue.

Highlighted

nikhilgupta86

15-04-2019

Try Removing the following line from crx-quickstart/conf/sling.properties:

org.osgi.framework.system.capabilities=${eecap-${java.specification.version}}

and start AEM it should work, worked for me.

Highlighted

hemanthm9258359

16-04-2019

I updated to java version "1.8.0_151". I am using AEM6.3.

Try Removing the following line from crx-quickstart/conf/sling.properties:

org.osgi.framework.system.capabilities=${eecap-${java.specification.version}}

i TRIED CHECKING THIS. no such line exist. Thank you.

Highlighted
Highlighted

hemanthm9258359

17-04-2019

Low-memory action set to fork

Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]

The JVM reports a heap size of 1024 MB, meets our expectation of 1024 MB +/- 20

No console, will fork to get enough memory

Not forking JVM as -nofork option is set

Setting properties from filename 'C:/Users/Hemanth/Desktop/AEM6.3-20180223T145720Z-001/AEM6.3/aem6.3-author-p4702.jar'

Option '-quickstart.server.port' set to '4702' from filename aem6.3-author-p4702.jar

Verbose option not active, closing stdin and redirecting stdout and stderr

Redirecting stdout to C:\Users\Hemanth\Desktop\AEM6.3-20180223T145720Z-001\AEM6.3\crx-quickstart\logs\stdout.log

Redirecting stderr to C:\Users\Hemanth\Desktop\AEM6.3-20180223T145720Z-001\AEM6.3\crx-quickstart\logs\stderr.log

ResourceProvider paths=[/gui, /gui/default]

loadProperties: found /gui/default/gui.properties

loadProperties: found /gui/gui.properties

getResourceURL: found /gui/cq55icon_round_WIN_512x512.gif

getResourceURL: found /gui/cq55icon_round_WIN_256x256.gif

getResourceURL: found /gui/cq55icon_round_WIN_128x128.gif

getResourceURL: found /gui/cq55icon_round_WIN_64x64.gif

getResourceURL: found /gui/cq55icon_round_WIN_48x48.gif

getResourceURL: found /gui/cq55icon_round_WIN_32x32.gif

getResourceURL: found /gui/cq55icon_round_WIN_16x16_block.gif

getResourceURL: found /gui/gui_bg_start.png

getResourceURL: found /gui/gui_bg_on_blank.png

getResourceURL: found /gui/gui_bg_off.png

org.osgi.framework.BundleException: Exported package names cannot be zero length.

at org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:898)

at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:216)

at org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:250)

at org.apache.felix.framework.Felix.<init>(Felix.java:429)

Highlighted
Highlighted

Gaurav-Behl

MVP

17-04-2019

As Ravi mentioned above, allocate more RAM when starting up AEM. If you're using Mac, use top to check RAM used by AEM and assign more using -Xmx2048m or 4096m