cancel
Showing results for 
Search instead for 
Did you mean: 

Error while connecting SCC to unwired server

Former Member
0 Kudos

Hi All,

The SUP services and connections including the SCC and device  where running normally as seen last week, And when we tried to open the SCC console today we are getting some issues. "Falied to connect to Unwired server, Ensure the server is running" and even the devices are not able to connect to the server.

Findings so far -

1) The cluster role in  Unwired Server properties has been changed to secondary from primary.(Its a single server environment not a cluster environment)

2) we have ensured all the SUP Services are up-end running and tried restarting the services and services started successfully normally, but still the SCC      is showing error.

3) we have even rebooted the server , but no positive response.

4) it seems sup.properties are being changed under the "C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\sup\server\SUPServer" . But does this really causes this issue ?.

5) Below are the some exceptions we found at the SCC logs -> gateway.log

Caused by: com.sybase.uep.sysadmin.management.mo.exception.SUPArtifactMOException: com.sybase.uep.sysadmin.management.mbean.UEPAdminException: com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Connection refused: connect

  at com.sybase.uep.sysadmin.management.mo.SUPArtifactBaseMO.executeAdminCommand(SUPArtifactBaseMO.java:113)

  at com.sybase.uep.sysadmin.management.mo.SUPArtifactBaseMO.executeAdminCommand(SUPArtifactBaseMO.java:96)

  at com.sybase.uep.sysadmin.management.mo.SUPArtifactBaseMO.doAdminAction(SUPArtifactBaseMO.java:137)

  at com.sybase.uep.sysadmin.management.mo.ClusterMO.getServersAndCache(ClusterMO.java:567)

  at com.sybase.uep.sysadmin.management.mo.ClusterMO.ping(ClusterMO.java:949)

  at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

  at java.lang.reflect.Method.invoke(Method.java:597)

  at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)

  at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)

  at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)

  ... 59 more

Caused by: com.sybase.uep.sysadmin.management.mbean.UEPAdminException: com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Connection refused: connect

  at com.sybase.uep.sysadmin.management.runtime.SupRuntimeAdminister.getClusterConnectionTryBest(SupRuntimeAdminister.java:82)

  at com.sybase.uep.sysadmin.management.runtime.KeyedPoolableAdminObjectFactory.makeObject(KeyedPoolableAdminObjectFactory.java:49)

  at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964)

  at com.sybase.uep.sysadmin.management.runtime.SUPAdminObjectPool.borrowAdminObject(SUPAdminObjectPool.java:64)

  at com.sybase.uep.sysadmin.management.runtime.SUPAdminObjectFactory.acquireValidPrimaryServerAdmin(SUPAdminObjectFactory.java:80)

  at com.sybase.uep.sysadmin.management.runtime.SUPAdminObjectFactory.createAdminObjectFromPool(SUPAdminObjectFactory.java:47)

  at com.sybase.uep.sysadmin.management.runtime.AdminRuntimeContext.getRuntimeAdminObject(AdminRuntimeContext.java:25)

  at com.sybase.uep.sysadmin.management.runtime.SUPAdminCommandExecutor.execute(SUPAdminCommandExecutor.java:18)

  at com.sybase.uep.sysadmin.management.mo.SUPArtifactBaseMO.executeAdminCommand(SUPArtifactBaseMO.java:109)

  ... 69 more

Caused by: com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Connection refused: connect

  at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:95)

  at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:35)

  at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)

  at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)

  at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:240)

  at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:147)

  at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:117)

  at com.sybase.uep.sysadmin.management.runtime.SupRuntimeAdminister.getConnection0(SupRuntimeAdminister.java:138)

  at com.sybase.uep.sysadmin.management.runtime.SupRuntimeAdminister.getConnection(SupRuntimeAdminister.java:124)

  at com.sybase.uep.sysadmin.management.runtime.SupRuntimeAdminister.getClusterConnection(SupRuntimeAdminister.java:101)

  at com.sybase.uep.sysadmin.management.runtime.SupRuntimeAdminister.getClusterConnectionTryBest(SupRuntimeAdminister.java:47)

  ... 77 more

Caused by: com.sybase.djc.SystemException: Connection refused: connect

  at com.sybase.djc.rmi.iiop.client.SSLConnection.init(SSLConnection.java:56)

  at com.sybase.djc.rmi.iiop.client.SSLConnection.getSSLInstance(SSLConnection.java:27)

  at com.sybase.djc.rmi.iiop.client.ConnectionPool.iiopsConnection(ConnectionPool.java:462)

  at com.sybase.djc.rmi.iiop.client.ConnectionPool.newConnection(ConnectionPool.java:415)

  at com.sybase.djc.rmi.iiop.client.ConnectionPool.get(ConnectionPool.java:152)

  at com.sybase.djc.rmi.iiop.client.ConnectionPool_DJC.get(ConnectionPool_DJC.java:30)

  at com.sybase.djc.rmi.iiop.ObjectRef.$connect(ObjectRef.java:274)

  at com.sybase.djc.org.omg.CosNaming.iiop_stubs.NamingContext._is_a(NamingContext.java:60)

  at com.sybase.djc.rmi.iiop.client.ClientNamingContext.init(ClientNamingContext.java:710)

  at com.sybase.djc.rmi.iiop.client.ClientNamingContext.getInstance(ClientNamingContext.java:76)

  at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:88)

  ... 87 more

Caused by: java.net.ConnectException: Connection refused: connect

  at java.net.PlainSocketImpl.socketConnect(Native Method)

  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)

  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)

  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)

  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

  at java.net.Socket.connect(Socket.java:529)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:564)

  at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)

  at com.sybase.djc.rmi.iiop.client.SSLConnection.connectSecure(SSLConnection.java:93)

  at com.sybase.djc.rmi.iiop.client.SSLConnection.init(SSLConnection.java:52)

  ... 97 more

Kindly, have a check on the above information provided and waiting for the valuable reply.

Quick reply will be appreciated as we are facing the issue on our production environment.

Thanks,

Rakshit

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186566
Active Participant
0 Kudos

hi rakshit br

Changes in sup.properties will affect the SUP server, I had this experience when im upgrading the server. In my case property loginCacheTimeout had changed in default.property, so servers were not working as expected.

If you have other SUP server check and compare all the properties of sup.property. Fix it and restart the all the services.

This link is something related to your issue. http://scn.sap.com/thread/3441152

This may be helpful to you.

Regards

Yokesvaran Kumarasamy

Former Member
0 Kudos

Did the issue get resolved? In not, you can try the following,

Stop all the services in the following order, First stop Relay, SUP services( Make sure the processes mlsrv.exe and OBservicemgr are also stopped) then the Data Tier.

Later bounce all the services in the order, Data Tier, SUP then Relay service.

Thanks,

Shiv

midhun_vp
Active Contributor
0 Kudos

I am assuming that the SUP server related files are corrupted, you can raise a ticket to SAP for a solution.

- Midhun VP