[jboss-user] [JBoss Portal] - ConnectException when deploying Portal 2.6.4-GA to JBoss2.4.

jimpo991 do-not-reply at jboss.com
Mon Apr 21 07:47:23 EDT 2008


Hi,

I have configured two instances of JBossAS 2.4.1-GA, running on different ports. Using advice from http://wiki.jboss.org/wiki/ConfiguringMultipleJBossInstancesOnOneMachine and service binding configuration. My instances start up fine, but when I try to deploy portal on the ports-01 server I get errors in the log:


  | 14:42:27,734 ERROR [Scheduler$Listener] Invoke of the Schedulable MBean failed
  | 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.GeneratedMethodAccessor4.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
  |         at $Proxy12.handleNotification(Unknown Source)
  |         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
  |         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
  |         at javax.management.timer.Timer.sendNotification(Timer.java:1295)
  |         at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1264)
  |         at javax.management.timer.TimerAlarmClock.run(Timer.java:1347)
  |         at java.util.TimerThread.mainLoop(Timer.java:512)
  |         at java.util.TimerThread.run(Timer.java:462)
  | Caused by: org.jboss.portal.portlet.InvokerUnavailableException: Problem getting service description for producer self, please see the logs for more inform
  | ation.
  |         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(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  |         ... 20 more
  | Caused by: java.io.IOException: Could not transmit message
  |         at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
  |         at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
  |         at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
  |         at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:507)
  |         at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:276)
  |         at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:151)
  |         at $Proxy219.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)
  |         ... 27 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
  |         at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
  |         at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
  |         at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  |         at org.jboss.remoting.Client.invoke(Client.java:1550)
  |         at org.jboss.remoting.Client.invoke(Client.java:530)
  |         at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:171)
  |         ... 39 more
  | Caused by: java.net.ConnectException: Connection refused: connect
  |         at java.net.PlainSocketImpl.socketConnect(Native Method)
  |         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  |         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  |         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  |         at java.net.Socket.connect(Socket.java:516)
  |         at java.net.Socket.connect(Socket.java:466)
  |         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
  |         at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
  |         at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
  |         at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
  |         at sun.net.www.http.HttpClient.New(HttpClient.java:287)
  |         at sun.net.www.http.HttpClient.New(HttpClient.java:299)
  |         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
  |         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
  |         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
  |         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:840)
  |         at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:274)
  |         ... 44 more
  | 
  | 

The errors keep repeating periodically....but portal UI seems to works at least based on quick test.

Do I need to configure something to make portal run OK on non-default ports?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145463#4145463

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145463



More information about the jboss-user mailing list