Hi Thilini,

It seems that your app contains a context.xml file. We have a known issue
for this[1]
You should be able to deploy the app after delete the context.xml file
without any issue.
[1] - https://wso2.org/jira/browse/CARBON-15385
<https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fbrowse%2FCARBON-15385&sa=D&sntz=1&usg=AFQjCNFth8kVIacj_UKHHl9KFqxkzWS2Kg>

Thanks

On Tue, Sep 8, 2015 at 3:23 PM, Thilini Cooray <thili...@wso2.com> wrote:

> Hi,
>
> @Thusitha : This is a JaxRS webapp generated using Apache CXF.
>
> @Nirmal : The root context is "/api".
>
> @Supun : we have not used any third party libraries but the RESTful API
> consists of  complex paths with path parameters etc.
>                  The issue gets solved when we remove #v1. But whenever we
> try to add a version to the webapp using Management console , this error
>                        occurs again.
>
> Thanks.
>
>
> On Tue, Sep 8, 2015 at 2:54 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Thilini,
>>
>> Is this a JaxRS webapp that you try to deploy?
>>
>>
>>
>> On Tue, Sep 8, 2015 at 2:46 PM, Nirmal Fernando <nir...@wso2.com> wrote:
>>
>>> What's the root context?
>>>
>>> On Tue, Sep 8, 2015 at 2:39 PM, Thilini Cooray <thili...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am getting following error while trying to deploy a webapp in both
>>>> API Manager and Application Server.
>>>>
>>>> Any help is appreciated.
>>>>
>>>> org.wso2.carbon.CarbonException: Error while deploying webapp:
>>>> StandardContext[api#v1.war].File[/Users/thilinicooray/gitrepo/APIManager-snapshots/wso2am-1.10.0-SNAPSHOT/wso2am-1.10.0-SNAPSHOT/repository/deployment/server/webapps/api#v1.war]
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:354)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWarWebappDeployment(TomcatGenericWebappsDeployer.java:207)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleHotDeployment(TomcatGenericWebappsDeployer.java:174)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.deploy(TomcatGenericWebappsDeployer.java:139)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deployThisWebApp(AbstractWebappDeployer.java:207)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.deploy(AbstractWebappDeployer.java:114)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.deployer.WebappDeployer.deploy(WebappDeployer.java:42)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
>>>>
>>>> at
>>>> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
>>>>
>>>> at
>>>> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)
>>>>
>>>> at
>>>> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
>>>>
>>>> at
>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>>
>>>> at
>>>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>>>>
>>>> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>>>>
>>>> at
>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>>>>
>>>> at
>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>>>
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>>>
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>>>
>>>> at java.lang.Thread.run(Thread.java:722)
>>>>
>>>> Caused by: org.wso2.carbon.tomcat.CarbonTomcatException: Webapp failed
>>>> to deploy
>>>>
>>>> at
>>>> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:356)
>>>>
>>>> at
>>>> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:189)
>>>>
>>>> at
>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.handleWebappDeployment(TomcatGenericWebappsDeployer.java:257)
>>>>
>>>> ... 24 more
>>>>
>>>> Caused by: java.net.MalformedURLException: no !/ in spec
>>>>
>>>> at java.net.URL.<init>(URL.java:617)
>>>>
>>>> at java.net.URL.<init>(URL.java:480)
>>>>
>>>> at java.net.URL.<init>(URL.java:429)
>>>>
>>>> at
>>>> org.wso2.carbon.tomcat.internal.CarbonTomcat.addWebApp(CarbonTomcat.java:334)
>>>>
>>>> ... 26 more
>>>>
>>>> Caused by: java.lang.NullPointerException: no !/ in spec
>>>>
>>>> at sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:170)
>>>>
>>>> at sun.net.www.protocol.jar.Handler.parseURL(Handler.java:150)
>>>>
>>>> at java.net.URL.<init>(URL.java:612)
>>>>
>>>> ... 29 more
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Best Regards,
>>>>
>>>> *Thilini Cooray*
>>>> Software Engineer
>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>> E-mail : thili...@wso2.com
>>>>
>>>> WSO2 Inc. www.wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Team Lead - WSO2 Machine Learner
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog      alokayasoya.blogspot.com
>> About    http://about.me/thusithathilina
>>
>>
>
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to