0 Replies Latest reply on Feb 5, 2010 9:59 AM by Burak Eliaçık

    Connection Problem

    Burak Eliaçık Newbie

      Hi,

       

      When i start my applicaion, the jboss throws an exception as below, but this exception is occured occasionally, i read http://docs.jboss.org/jbportal/v2.6.4/referenceGuide/html/wsrp.html#consumer_configuration documents and i reconfigure the wsrp producer and consumer, but it happens again. This error is the same with this one http://community.jboss.org/message/426224#426224, but in this thread member mentioned that "the simplest is to delete portal-wsrp.sar" is this the only way to fix this problem. I try this fix but i met this problem again. What should i do? This issue is a configuration problem or what? Thank you for your interest.

       

      Best Regards


      javax.management.MBeanException
            at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.varia.scheduler.Scheduler$MBeanListener.handleNotification(Scheduler.java:1346)
            at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
            at $Proxy158.handleNotification(Unknown Source)
            at javax.management.NotificationBroadcasterSupport.handleNotification(Unknown Source)
            at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Unknown Source)
            at javax.management.NotificationBroadcasterSupport$1.execute(Unknown Source)
            at javax.management.NotificationBroadcasterSupport.sendNotification(Unknown Source)
            at javax.management.timer.Timer.sendNotification(Unknown Source)
            at javax.management.timer.Timer.notifyAlarmClock(Unknown Source)
            at javax.management.timer.TimerAlarmClock.run(Unknown Source)
            at java.util.TimerThread.mainLoop(Unknown Source)
            at java.util.TimerThread.run(Unknown Source)
        Caused by: org.jboss.portal.portlet.InvokerUnavailableException: Problem getting service description for producer self, please see the logs for more information.
            at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsumerImpl.java:156)
            at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.getPortlets(FederatedPortletInvokerService.java:90)
            at org.jboss.portal.core.management.PortletDiscoveryService.processPortletDiscovery(PortletDiscoveryService.java:88)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            ... 22 more
        Caused by: java.io.IOException: Could not transmit message
            at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:210)
            at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
            at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:337)
            at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:517)
            at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277)
            at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156)
            at $Proxy223.getServiceDescription(Unknown Source)
            at org.jboss.portal.wsrp.consumer.ProducerInfo.getUnmanagedServiceDescription(ProducerInfo.java:618)
            at org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerInfo.java:303)
            at org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerInfo.java:254)
            at org.jboss.portal.wsrp.consumer.ProducerInfo.refresh(ProducerInfo.java:249)
            at org.jboss.portal.wsrp.consumer.ProducerInfo.getPortletMap(ProducerInfo.java:566)
            at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsumerImpl.java:151)
            ... 29 more
        Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Connection refused.
            at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
            at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)
            at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
            at org.jboss.remoting.Client.invoke(Client.java:1634)
            at org.jboss.remoting.Client.invoke(Client.java:548)
            at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:189)
            ... 41 more
        Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(Unknown Source)
            at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
            at java.net.PlainSocketImpl.connect(Unknown Source)
            at java.net.SocksSocketImpl.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at sun.net.NetworkClient.doConnect(Unknown Source)
            at sun.net.www.http.HttpClient.openServer(Unknown Source)
            at sun.net.www.http.HttpClient.openServer(Unknown Source)
            at sun.net.www.http.HttpClient.<init>(Unknown Source)
            at sun.net.www.http.HttpClient.New(Unknown Source)
            at sun.net.www.http.HttpClient.New(Unknown Source)
            at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
            at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
            at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
            at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
            at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:277)
            ... 46 more