Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-08 Thread Gimantha Bandara
Hi all, Removing filtered tag solved the problem. Thanks a lot! On Fri, Feb 6, 2015 at 9:12 PM, Harsha Kumara hars...@wso2.com wrote: Also check whether the filtered tag is there. If that so, remove it and try. Sometimes filter tag causing issue when copying the zip files. On Fri, Feb 6,

Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread KasunG Gajasinghe
I'm not exactly sure what the error is, but this may be a file permission issue. You could check whether the fileMode is properly set for this webapp in your bin.xml. On Fri, Feb 6, 2015 at 7:42 PM, Gimantha Bandara giman...@wso2.com wrote: We have included it in a feature and extract it and

Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread Gimantha Bandara
We have included it in a feature and extract it and copy it via bin.xml to deployment/server/webapps. So it could shipped with the pack. On Fri, Feb 6, 2015 at 7:21 PM, KasunG Gajasinghe kas...@wso2.com wrote: How did you deploy the webapp before? On Fri, Feb 6, 2015 at 7:13 PM, Gimantha

Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread KasunG Gajasinghe
How did you deploy the webapp before? On Fri, Feb 6, 2015 at 7:13 PM, Gimantha Bandara giman...@wso2.com wrote: The thing is if I deploy the webapp by manually copying it to deployment/server/webapps, it get deployed properly. On Fri, Feb 6, 2015 at 7:10 PM, KasunG Gajasinghe kas...@wso2.com

Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread Gimantha Bandara
The thing is if I deploy the webapp by manually copying it to deployment/server/webapps, it get deployed properly. On Fri, Feb 6, 2015 at 7:10 PM, KasunG Gajasinghe kas...@wso2.com wrote: The error stack trace suggests that AS failed to open the zip file suggesting a possible corrupt war

[Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread Gimantha Bandara
Hi, We have created a REST APIs for carbon-analytics as a cxf webapp named analytics.war. This war file is contained in a feature so we can add it in the p2 profile and deploy this war file when we start the server (BAM). It worked fine till we did some changes to the maven plugins and

Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread KasunG Gajasinghe
The error stack trace suggests that AS failed to open the zip file suggesting a possible corrupt war file. See this - http://stackoverflow.com/questions/22536279/java-util-zip-ziperror-invalid-cen-header-bad-signature On Fri, Feb 6, 2015 at 7:05 PM, Gimantha Bandara giman...@wso2.com wrote: Hi,

Re: [Dev] Exception while deploying webapps : invalid CEN header (bad signature)

2015-02-06 Thread Harsha Kumara
Also check whether the filtered tag is there. If that so, remove it and try. Sometimes filter tag causing issue when copying the zip files. On Fri, Feb 6, 2015 at 7:45 PM, KasunG Gajasinghe kas...@wso2.com wrote: I'm not exactly sure what the error is, but this may be a file permission issue.