And does it work if you remove the # from the war name ?.

On Tue, Sep 8, 2015 at 2:58 PM, Supun Malinga <[email protected]> wrote:

> Do you have any third party libraries within the webapp ?. For example
> which try to read/ scan the webapp context for resources.
>
> thanks,
>
> On Tue, Sep 8, 2015 at 2:54 PM, Thusitha Thilina Dayaratne <
> [email protected]> wrote:
>
>> Hi Thilini,
>>
>> Is this a JaxRS webapp that you try to deploy?
>>
>>
>>
>> On Tue, Sep 8, 2015 at 2:46 PM, Nirmal Fernando <[email protected]> wrote:
>>
>>> What's the root context?
>>>
>>> On Tue, Sep 8, 2015 at 2:39 PM, Thilini Cooray <[email protected]>
>>> 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 : [email protected]
>>>>
>>>> WSO2 Inc. www.wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> 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
>>> [email protected]
>>> 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
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> email: [email protected] <[email protected]>
> mobile: +94 (0)71 56 91 321
>



-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: [email protected] <[email protected]>
mobile: +94 (0)71 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to