Could not save changes in CRXDE Lite.

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

09-12-2017

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

Accepted Solutions (0)

Answers (8)

Answers (8)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

11-12-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)

Avatar

Avatar

mjb54261515

Avatar

mjb54261515

mjb54261515

10-12-2017

Hi Rashid,

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

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

15-12-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.

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

10-12-2017

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

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

10-12-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.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-12-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 Archet...

Avatar

Avatar

cquser1

Avatar

cquser1

cquser1

10-12-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.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-12-2017

Are you attempting to build an OSGi bundle in Java?