Hi Nilashan
You have created a web application type app. So the launch url is
configured to a url like [1]. I guess what you want is something like
jax-rs web application.


[1]
https://appserver.dev.cloud.wso2.com/t/nilashan/webapps/tag-default-SNAPSHOT/

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Mon, Jul 28, 2014 at 11:19 AM, Nilashan Namasivayam <[email protected]>
wrote:

> If I click the launch button, it goes directly to
> https://appserver.dev.cloud.wso2.com/t/nilashan/webapps/tag-default-SNAPSHOT/
>
> Before I add the interceptor, I have invoked the service by
>
> https://appserver.dev.cloud.wso2.com/t/nilashan/webapps/tag-default-SNAPSHOT/Tagger/getUser
> and it has worked fine.
>
> But Now I'm unable to invoke the service.
>
> Thanks.
>
> Regards,
> Nilashan
>
>
> On Mon, Jul 28, 2014 at 11:11 AM, Kasun Gajasinghe <[email protected]>
> wrote:
>
>>
>> What's the url you are using for the wadl? Can you invoke the service?
>>
>>
>> On Sun, Jul 27, 2014 at 10:11 PM, Nilashan Namasivayam <
>> [email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I'm trying to deploying a web app in WSO2 App Cloud. I have written a
>>> service in using JAX-RS. I'm trying to use
>>> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
>>> instead of org.apache.cxf.transport.servlet.CXFServlet  in web.xml file
>>> as I configure a SecurityInterceptor in my project to handle roles and
>>> authentication. I couldn't find other way to use it. It works fine in my
>>> localhost. But not work in cloud.
>>>
>>> I already have added these dependencies in pom.xml.
>>>       <dependency>
>>>             <groupId>org.jboss.resteasy</groupId>
>>>             <artifactId>resteasy-jackson-provider</artifactId>
>>>             <version>2.2.1.GA <http://2.2.1.ga/></version>
>>>         </dependency>
>>>
>>>       <dependency>
>>>             <groupId>org.jboss.resteasy</groupId>
>>>             <artifactId>resteasy-jaxrs</artifactId>
>>>             <version>2.3.1.GA <http://2.3.1.ga/></version>
>>>          </dependency>
>>>
>>> When I build it in cloud, it shows build success as shown in below:
>>>
>>>
>>> [JENKINS] Recording test results
>>> [INFO]
>>> [INFO] *--- maven-war-plugin:2.1.1:war (default-war) @ tag ---
>>> *[INFO] Packaging webapp
>>> [INFO] Assembling webapp [tag] in 
>>> [/mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/webapp]
>>> [INFO] Processing war project
>>> [INFO] Copying webapp resources 
>>> [/mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/src/main/webapp]
>>> [INFO] Webapp assembled in [174 msecs]
>>> [INFO] Building war: 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/target/tag.war
>>> [INFO] WEB-INF/web.xml already added, skipping
>>> [INFO]
>>> [INFO] *--- maven-install-plugin:2.3.1:install (default-install) @ tag ---
>>> *[INFO] Installing 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/target/tag.war
>>>  to 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/mavenhome/repository/org/wso2/af/tag/default-SNAPSHOT/tag-default-SNAPSHOT.war
>>> [INFO] Installing 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/pom.xml
>>>  to 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/mavenhome/repository/org/wso2/af/tag/default-SNAPSHOT/tag-default-SNAPSHOT.pom
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESS
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 5.776s
>>> [INFO] Finished at: Sun Jul 27 21:20:37 PDT 2014
>>> [INFO] Final Memory: 14M/448M
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [JENKINS] Archiving 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/pom.xml
>>>  to 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/modules/org.wso2.af$tag/builds/2014-07-27_21-20-26/archive/org.wso2.af/tag/default-SNAPSHOT/tag-default-SNAPSHOT.pom
>>> [JENKINS] Archiving 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/workspace/target/tag.war
>>>  to 
>>> /mnt/10.0.0.196/wso2jppserver-5.2.0/repository/jenkins/tenants/nilashan/jenkinshome/jobs/tag-trunk-default/modules/org.wso2.af$tag/builds/2014-07-27_21-20-26/archive/org.wso2.af/tag/default-SNAPSHOT/tag-default-SNAPSHOT.war
>>> Waiting for Jenkins to finish collecting data
>>> channel stopped
>>> tag : trunk : nilashan.live.com@nilashan : original >>  notified as 
>>> SUCCESSsending message to deploy to stage Development with tag  
>>> Successfully finished tag-trunk-default #54Storing artifact permanently 
>>> with the tag name  Unable to create the tag directoryFinished: SUCCESS
>>>
>>>
>>> But I'm unable to find the wadl endpoint.  What can be the issue?
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Nilashan
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to