Expand my Community achievements bar.

Unable to see packages in AEM Package Manager

Avatar

Level 3

Hello - I have recently created a package using Adobe Package Manager. However, I cannot see any packages in the Package Manager after I created a package.

1451926_pastedImage_0.png

Checked error.log it says:

27.03.2018 17:50:11.814 *WARN* [qtp871638439-2633] org.eclipse.jetty.server.HttpChannel Could not send response error 500: java.lang.IllegalStateException: Committed

27.03.2018 17:50:17.680 *ERROR* [qtp871638439-2633] com.day.crx.packmgr.impl.servlets.ListServlet Error while retrieving infos: javax.jcr.RepositoryException: Invalid name or path: /etc/packages/content/forms//.snapshot/climes_Form-1.0

27.03.2018 17:50:17.680 *ERROR* [qtp871638439-2633] org.apache.felix.http.jetty Exception while processing request to /crx/packmgr/list.jsp (java.lang.IllegalStateException: Committed)

java.lang.IllegalStateException: Committed

at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1242)

at javax.servlet.ServletResponseWrapper.resetBuffer(ServletResponseWrapper.java:195)

at org.apache.felix.http.base.internal.dispatch.ServletResponseWrapper.sendError(ServletResponseWrapper.java:67)

at org.apache.felix.http.base.internal.dispatch.ServletResponseWrapper.sendError(ServletResponseWrapper.java:61)

at com.day.crx.packmgr.impl.servlets.ListServlet.doService(ListServlet.java:104)

at com.day.crx.packmgr.impl.AbstractServlet.service(AbstractServlet.java:54)

at com.day.crx.packmgr.impl.MainServlet.doService(MainServlet.java:157)

at com.day.crx.packmgr.impl.MainServlet.service(MainServlet.java:134)

at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79)

at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:96)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:295)

3 Replies

Avatar

Administrator

Please refer to this Package manager doesn't ​ and https://blog.kristianwright.com/2014/06/27/aem-gotchya-no-packages-in-package-manager/

//

Seems like a bug in crx package manager since you can create packages with spaces in the name with the GUI

In CRXDE Lite, rename the package by editing the ‘name’ property of the vault definition located at /etc/packages/my_packages/My Packagename-1.0.zip/jcr:content/vlt:definition. Then after refreshing the packages in Package Manager, packages would get displayed.



Kautuk Sahni

Avatar

Level 3

Its working now Thanks. Any points remember before creating a new package?