简体   繁体   English

无法将WSO2 JAX-RS服务添加/导入StratosLive Application Server

[英]Unable to add/import WSO2 JAX-RS service into StratosLive Application Server

I have a WSO2 Application Server, version 5.0.1 installed on my local machine. 我在本地计算机上安装了WSO2 Application Server,版本5.0.1。

I created a JAX-RS service and tested it locally. 我创建了一个JAX-RS服务并在本地测试它。

The WAR file was built and deployed to the local Application Server successfully. WAR文件已成功构建并部署到本地Application Server。 When I log in to the local Application server Admin console, I see it displayed under Applications as type JaxWebApp with 'Find Services' listed under the Actions column. 当我登录到本地应用程序服务器管理控制台时,我看到它显示在Applications下,类型为JaxWebApp,其中“操作”列下列出了“查找服务”。

I have a StratosLive subscription and I am trying to ADD/UPLOAD this JAX-RS service as a WAR file to the StratosLive Application Server. 我有一个StratosLive订阅,我正在尝试将此JAX-RS服务作为WAR文件添加/上传到StratosLive Application Server。 The Admin Console for the StratosLive Application Server is different. StratosLive Application Server的管理控制台是不同的。 On the Main tab, It displays Web Applications and Web Services rather than the Applications and Services on the Admin console for the 5.0.1 Application Server I am running locally. 在主选项卡上,它显示Web应用程序和Web服务,而不是我在本地运行的5.0.1应用程序服务器的管理控制台上的应用程序和服务。

Consequently, I do not see an option to ADD/UPLOAD my JAX-RS service as a WAR file. 因此,我没有看到将JAX-RS服务作为WAR文件添加/上传的选项。 The only option is to add a Web Application WAR file (I tried this and it does not work properly - thinks it's a web app) or JAX-WS Web Service as a annotated JAR file. 唯一的选择是添加Web应用程序WAR文件(我试过这个并且它无法正常工作 - 认为它是一个Web应用程序)或JAX-WS Web服务作为带注释的JAR文件。

It looks like the StratosLive Application Server I am using may be a different version (earlier maybe) than the 5.0.1 I am using locally. 看起来我正在使用的StratosLive应用服务器可能是不同于我在本地使用的5.0.1版本(可能更早)。

Has anyone else been able to ADD/UPLOAD a JAX-RS service to a StratosLive Application Server? 有没有其他人能够将JAX-RS服务添加/上传到StratosLive应用服务器?

Usually it takes small time to upgrade StratosLive version of a product to latest standalone product version. 通常,将产品的StratosLive版本升级到最新的独立产品版本需要很短的时间。 Now StratosLive has been upgraded to latest Application Server version and you should able to run above use case on StratosLive without any issue. 现在StratosLive已升级到最新的Application Server版本,您应该可以在StratosLive上运行上述用例而不会出现任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM