[英]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.