简体   繁体   English

从BB仿真器访问部署在本地jboss服务器上的Web服务

[英]Access webservices deployed on a local jboss server from bb simulator

I have deployed a webservice on my local jboss server which runs on port 9090. So my webservice url will be http://localhost:9090/app/Services/blah . 我已经在运行于端口9090的本地jboss服务器上部署了Web服务。因此,我的Web服务URL将为http:// localhost:9090 / app / Services / blah I have written a mobile client code(for blackberry) which connects to this url to get the data. 我已经编写了一个移动客户端代码(用于blackberry),该代码连接到该URL以获取数据。 Initially the client code when run on a bb simulator threw HTTP 403 error. 最初,客户端代码在bb仿真器上运行时引发HTTP 403错误。 Found that addressing urls as localhost won't work on a bb simulator ( on a simualtor localhost refers to the MDS? ). 发现将url作为localhost寻址在bb模拟器上不起作用(在simualtor localhost上是指MDS?)。

So I tried accessing the local jboss server using http://127.0.0.1:9090 , http://machinename:9090/ , http://ipaddress:9090 and nothing works. 因此,我尝试使用http://127.0.0.1:9090,http:// machinename:9090 /http:// ipaddress:9090访问本地jboss服务器,但没有任何效果。 All these urls throw HTTP 501(Service unavailable) which is weird. 所有这些网址都抛出了奇怪的HTTP 501(服务不可用)。 Can someone tell me what is wrong with this and what is the correct way to access the server? 有人可以告诉我这有什么问题吗?访问服务器的正确方法是什么?

http://machinename:9090/ , http://ipaddress:9090 -> These urls are not even working when i try directly on a desktop browser. http://机器名称:9090 /http:// ipaddress:9090- >当我直接在桌面浏览器上尝试时,这些URL甚至无法正常工作。 FYI, its a windows machine. 仅供参考,它是Windows机器。 Do I have to change any nw settings on my machine.? 我是否需要更改计算机上的任何西北设置??

chedine, 切丁
I am not good at bb. 我不擅长bb。 But, can you please ensure that your App Server is up & running? 但是,您能否确保您的App Server已启动并正在运行? Can you access the JMX-Console screen of JBoss in your desktop browser - ie. 您是否可以在桌面浏览器中访问JBoss的JMX-Console屏幕? http://abcd:9090/jmx-console or something similar. http:// abcd:9090 / jmx-console或类似的名称。 Only if the app server is up, we can dig further into this issue. 仅当应用服务器启动时,我们才能进一步研究此问题。 Please let us know the result. 请让我们知道结果。

暂无
暂无

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

相关问题 如何从部署到JBoss EAP 6的Web应用程序访问部署到GlassFish 2服务器的EJB? - How to access EJB deployed to GlassFish 2 server from web app deployed to JBoss EAP 6? 从独立客户端访问部署在JBoss 7.1.1上的WAR中的@Remote EJB - access @Remote EJB deployed in WAR on JBoss 7.1.1 from standalone client JBoss Application Server:从另一台机器访问已部署的Web应用程序 - JBoss Application Server: Accessing deployed web application from another machine 如何从服务器上部署的Java Web服务访问本地文件? - How can I access a local file from a Java webservice deployed on a server? 在服务器中部署代码后,无法访问本地网络摄像头 - unable to the access the local webcam after the code is deployed in server 如何从已部署的Web应用程序访问本地文件系统上的文件? - how to access files on local file system from deployed web app? Jboss 6我正在尝试在服务器上部署Restfull Web服务,但遇到异常 - Jboss 6 I am trying to deploy restfull webservices on server but faced exception 如何从JBoss 7或WildFly中部署的应用程序访问JDK tools.jar javac - How to access JDK tools.jar javac from application deployed in JBoss 7 or WildFly 无法通过局域网连接的其他系统访问部署在jboss上的Web应用程序 - Unable to access web application deployed on jboss from other system connected via lan 任何服务器,如jboss或tomcat,我想从已部署的应用程序实例化一个类 - Any server like jboss or tomcat, I want to instantiate a class from a deployed application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM