Skip to main content
srikanthbiradar
Level 2
Dec 29, 2015 3:48 PM UTC
Solved

Problem while uploading a Package

Hi Friends,

I have created a project in my local, using Maven Archetype. The project contains a listener component that listens to "Activate" button and a service that is used to migrate the content from old CMS. Everything is working fine in my localhost. I packaged /apps folder and sent it to a friend and it gives the attached error. 

Strangely, when I exclude the install directory from the apps, it uploads without any issues.

Can someone please advise why this is happening. Please let me know if any other details are required.

Thanks

Srikanth

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ogillAccepted solution
Adobe Employee
Dec 31, 2015 4:21 PM UTC

The apps folder will contain the java bundle jar file. So you need to include it, but why can't you send the zip package created by your maven project?

Regards,

Opkar

5 replies

edubey
Level 10
Dec 29, 2015 4:03 PM UTC

Looks like something went wrong with data in package.

Did you re-build the package, download and tried installing it again on another system?

Translate
GK-007
Level 9
Dec 31, 2015 10:21 AM UTC

Can you rebuild the package by excluding the content(pages/assets) and try upload the package.

Please post the results if you do this;

Thanks,

Kishore

Translate
Lokesh_Shivalingaiah
Level 10
Dec 31, 2015 4:08 PM UTC

Think, the package has not been ported fully to your friend. If you are sending to him over an email, there might be a chances of jar file getting blocked.

Did you try installing the package manager by yourself and see if you also encounter the same issue.

Translate
ogillAdobe EmployeeAccepted solution
Adobe Employee
Dec 31, 2015 4:21 PM UTC

The apps folder will contain the java bundle jar file. So you need to include it, but why can't you send the zip package created by your maven project?

Regards,

Opkar

Translate
Jitendra_S_Toma
Level 10
Jan 2, 2016 7:20 AM UTC

@bsloki is right on the spot. While sending packege to your friend, it has jar file (an executanle file) which is not allowed by your email service. So, Email service simply corrected it by removing the jar file from your package.But, it seems there is a reference of that jar file remain in the package, So in a way, it is corrupted.

I hope this is clear.

srikanthbiradar wrote...

Hi Friends,

I have created a project in my local, using Maven Archetype. The project contains a listener component that listens to "Activate" button and a service that is used to migrate the content from old CMS. Everything is working fine in my localhost. I packaged /apps folder and sent it to a friend and it gives the attached error. 

Strangely, when I exclude the install directory from the apps, it uploads without any issues.

Can someone please advise why this is happening. Please let me know if any other details are required.

Thanks

Srikanth

 

Translate