10

急啊!jboss部署ejb问题

找了个单独的服务器用jboss部署ejb,在我的电脑上用客户端访问ejb是正常的,放在服务器上用客户端访问ejb就提示下边错误信息,这一般什么原因引起的?防火墙关掉了,网上找了好多答案都试过了,都不行!急求啊:

 javax.naming.CommunicationException: Could not obtain connection to any of these
 urls: 192.168.0.20:1099 and discovery failed with error: javax.naming.Communica
tionException: error setting options [Root exception is java.net.SocketException
: error setting options] [Root exception is javax.naming.CommunicationException:
 Failed to connect to server 192.168.0.20:1099 [Root exception is javax.naming.S
erviceUnavailableException: Failed to connect to server 192.168.0.20:1099 [Root
exception is java.net.ConnectException: Connection timed out: connect]]]
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
        at javax.naming.InitialContext.lookup(InitialContext.java:411)
        at my.ejb.EjbGetter.geDlResumeProvider(EjbGetter.java:20)
        at com.gk.weihu.res.ResAction.res_downLoaded(ResAction.java:930)
        at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.cv.mvc.controler.ActionControler.execute(ActionControler.java:45)

        at com.cv.mvc.controler.RequestControler.service(RequestControler.java:1
61)
        at com.cv.mvc.controler.RequestControler.execute(RequestControler.java:2
64)
        at com.cv.mvc.controler.RequestControler.execute(RequestControler.java:2
54)
        at com.cv.framework.InitFrameWork.service(InitFrameWork.java:69)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at com.cv.common.web.filter.WeihuSessionFilter.doFilter(WeihuSessionFilt
er.java:185)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcesso
r.java:879)

图片说明

查看全部
bzwc830819
bzwc830819
2015/08/17 04:14
  • server
  • jboss
  • 服务器
  • ejb
  • 点赞
  • 收藏
  • 回答
    私信

0个回复