I see references to this in the forums, but no resolution. In
my case, running under MacOS X 10.2, 1.3.1_01, with
JBoss 3.0.2, occassionally I will get this exception. Reload
the web browser page and all is fine. Normal response time
for a page in our system is about 100 milliseconds. When
this happens, there is a 5 second delay before the exception
occurs. This happens maybe every 100 page views.

Anyone know the cause of this? Has this occurred under
linux? (our production server which we are close to rolling
out 3.0.2...at least we were).

Here is the exception....

22:37:00,099 WARN  [NamingContext] Failed to connect to localhost:1099
javax.naming.CommunicationException: Failed to connect to server
localhost:1099.  Root exception is
javax.naming.ServiceUnavailableException: Failed to connect to server
localhost:1099.  Root exception is
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
        at java.net.Socket.<init>(Socket.java:268)
        at java.net.Socket.<init>(Socket.java:172)
        at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:6
9)
        at
org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:6
2)
        at
org.jnp.interfaces.NamingContext.getServer(NamingContext.java:156)
        at
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1006)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:447)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:440)
        at javax.naming.InitialContext.lookup(InitialContext.java:345)
        at com.base2inc.bean.util.Factory.getProfileValue(Factory.java:138)
        at
com.base2inc.evaluate.profile.EditProfileRetrieve.run(EditProfileRetrieve.ja
va:53)
        at
com.base2inc.app.framework.JspFramework.doService(JspFramework.java:191)
        at
com.base2inc.app.util.HttpServletExtended.doGet(HttpServletExtended.java:50)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:313)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:183)
        at org.mortbay.jetty.servlet.Invoker.service(Invoker.java:115)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:313)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:554)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler
.java:199)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
        at org.mortbay.http.HttpServer.service(HttpServer.java:795)
        at org.jboss.jetty.Jetty.service(Jetty.java:531)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:186)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
        at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
        at java.lang.Thread.run(Thread.java:491)





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to