• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Service unavailable error

 
Mario Almeida
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

OS: Centos 5.5 64bit
Java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
JBOSS: 4.2.3.GA

In my setup I am running jboss in 3 deployment mode.
  • Web module - ServerA
  • EJB - ServerB
  • JMS - ServerC

  • On my web module server I get the below error message. Basically it is unable to connect to EJB server.
    But at the same time if I telnet to the EJB server from web server on JNP port 1099 I can connect. (telnet ServerB 1099 -- OK)

    How can I find what is the cause of this problem.
  • Is it a network issue
  • More load
  • Jboss cluster failure.
  • or what is the reason.

  • 2010-09-18 16:41:01,095 ERROR [LoadFareQuoteAction] LoadFareQuoteAction==>
    java.lang.RuntimeException: Unreachable?: Service unavailable.
    at org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:176)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor.invoke(ClusteredIsLocalInterceptor.java:55)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:112)
    at $Proxy124.quoteFlightPrice(Unknown Source)
    at com.isa.thinair.ibe.core.web.v2.action.reservation.LoadFareQuoteAction.execute(LoadFareQuoteAction.java:168)
    at sun.reflect.GeneratedMethodAccessor348.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
     
    Rene Larsen
    Ranch Hand
    Posts: 1179
    Eclipse IDE Mac OS X
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Which service does this class/method call ??
     
    Mario Almeida
    Greenhorn
    Posts: 11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi,

    Since it is late night and I not being a developer I'll pass this Question to our development team tomorrow early morning,

    But from file LoadFareQuoteAction.java on line 168 I got this =>

     
    Mario Almeida
    Greenhorn
    Posts: 11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi,

    Ok here is the answer, It is availability search/price quote.
     
    Rene Larsen
    Ranch Hand
    Posts: 1179
    Eclipse IDE Mac OS X
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    And this "availability search/price quote" service are available from your EJB ?? Service are running and the server where it is running can be reached ??
     
    Mario Almeida
    Greenhorn
    Posts: 11
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Yes, they are available from EJB and the service is up

    I was doing a load test with jmeter

    60 users repeat 3 no errors
    then start the load again with 60 users repeat 3 and this time I will get the error.

    Then have to restart the web server.

    and if I repeat the above again I'll will get the error.

    EJB Server 1 Quad core Xeon processor
    Server has 8 GB RAM but -Xms and -Xmx is set to 1536m
     
    Peter Johnson
    author
    Bartender
    Posts: 5856
    7
    Android Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    This EJB that is being called, is is stateful or stateless? Sounds like your app is grabbing some limited resource and not releasing it. You might also look at the logs on the EJB server to see if they will tell you anything.
     
    navs jehan
    Greenhorn
    Posts: 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Guys,

    I'm getting the same exact error. Have a cluster with separate Web and app servers. This error will occasionally popup. Restarting the web server solves the problem. Does anyone know the root cause of this and how I can avoid it? I'm really stuck here!

    Best regards
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic