Could not save changes in CRXDE Lite. | Community
Skip to main content
RashidJorvee
Level 4
December 10, 2017
Question

Could not save changes in CRXDE Lite.

  • December 10, 2017
  • 8 replies
  • 7433 views

Hello Guys,

In CRX I am try to make some changes in a component based Java file, but when I try to save those changes, system is unable to save them and throwing error "Could not save changes. Received -1 (transaction aborted) for saving changes in workspace crx.default. Unknown error (Error Code: -1)". And file is okay and working and nothing wrong I find in program.

Could you please me to identify the issue and what is wrong happening here with me and why I am seeing this error?

Thanks!

Rashid Jorvee

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

8 replies

smacdonald2008
Level 10
December 10, 2017

Are you attempting to build an OSGi bundle in Java?

cquser1
Level 7
December 10, 2017

Hi,

To make changes in java, probably using an IDE and then deploying the code onto the AEM instance would be a better option.

manoj_devapath
Level 5
December 10, 2017

Hi Rashid,

Can pls make sure your session that you are using in java have read access permission. Generally this may an issue.

smacdonald2008
Level 10
December 10, 2017

By using Java in CRXDE, i assume you are trying to build an OSGi bundle in CRXDE lite. T His is not good practice at all. Not even sure where this is stated anymore.

To build an OSGi bundle, use Maven and an Adobe Archetype project. Here is a basic article that shows you getting started:

Scott's Digital Community: Creating your first AEM Service using an Adobe Maven Archetype project

This steps you through building a very basic service.

That is an older Archetype. However - here are articles on newer Maven Archetypes -- Scott's Digital Community: Creating your first AEM 6.2 Project using Adobe Maven Archetype 10

Scott's Digital Community: Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 11

RashidJorvee
Level 4
December 11, 2017

No smacdonald2008, I am not trying to build a bundle not even those file is belongs to any bundle. It is just a simple java file(similar like html) which have some logic. Sometimes I face this issue with other html files as well. And there is issue of authorization since I have logged in with admin credential.

RashidJorvee
Level 4
December 11, 2017

Session is active and i am logged in with admin. so there will not be any issue with privilege.

smacdonald2008
Level 10
December 11, 2017

If you close CRXDE and re-open it, does issue still occur? (we thought maybe you were attempting to build OSGi in CRXDE lite - we have seen that lately)

RashidJorvee
Level 4
December 15, 2017

Hismacdonald2008

I closed the CRX and browser as well, even I tried in some other browser as well with fresh login in CRX, still that error is occurring.