Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes Service unavailable error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Service unavailable error" Watch "Service unavailable error" New topic

Service unavailable error

Mario Almeida

Joined: Sep 13, 2010
Posts: 11
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(
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
    at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
    at org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor.invoke(
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
    at org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(
    at $Proxy124.quoteFlightPrice(Unknown Source)
    at com.isa.thinair.ibe.core.web.v2.action.reservation.LoadFareQuoteAction.execute(
    at sun.reflect.GeneratedMethodAccessor348.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    Rene Larsen
    Ranch Hand

    Joined: Oct 12, 2001
    Posts: 1179

    Which service does this class/method call ??

    Regards, Rene Larsen
    Dropbox Invite
    Mario Almeida

    Joined: Sep 13, 2010
    Posts: 11

    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 on line 168 I got this =>

    Mario Almeida

    Joined: Sep 13, 2010
    Posts: 11

    Ok here is the answer, It is availability search/price quote.
    Rene Larsen
    Ranch Hand

    Joined: Oct 12, 2001
    Posts: 1179

    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

    Joined: Sep 13, 2010
    Posts: 11
    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

    Joined: May 14, 2008
    Posts: 5812

    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.

    JBoss In Action
    navs jehan

    Joined: Apr 12, 2011
    Posts: 1
    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
    wood burning stoves
    subject: Service unavailable error
    Similar Threads
    Requesting help in connecting a DataSource(DSSDEV)
    EJB3.0 - java.lang.reflect.UndeclaredThrowableException problem
    Exception when webservice is invoked
    conflict Jboss+WebLogic web service
    Error while calling webservice client from EJB3 SLB Local interface.