Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

NPM Connection Error Using SDK 10.1

$
0
0

Team,

 

We are currently able to connect to the NPM v 10.1 via your SDK(not sure of the SDK verion here) to retrieve any alerts and pull them into our system. At times, for some unknown reason that I would like to understand, we are not able to connect at all. This just happens out of the clear blue sky.

 

I would like to understand if this is a result of devices changing or what. The last time I saw this error, I blew away my database and started fresh and it began to connect again. Is there some configuration change that needs to take place? I think there is another answer other than starting fresh each time I get these errors:

 

"java.lang.IllegalArgumentException: 9" is one that I have seen before and also "java.lang.IllegalArgumentException: 10". I would love to understand what this means and how to fix it. Again....this works for a while, then I'm assuming maybe devices change and it affects how we connect somehow? Errors below...

 

2013-03-24 00:24:08,151 -:- Caught exception

java.lang.IllegalArgumentException: 9

    at com.ray.sv.smc.orion.collector.OrionAvailability.fromValue(OrionAvailability.java:58)

    at com.ray.sv.smc.orion.collector.OrionNodeCollector.collectNodeAvailability(OrionNodeCollector.java:126)

    at com.ray.sv.smc.orion.collector.OrionNodeCollector.collectStatus(OrionNodeCollector.java:72)

    at com.ray.sv.smc.orion.offering.NodeWarehouse.collectNodes(NodeWarehouse.java:77)

    at com.ray.sv.smc.orion.offering.NodeWarehouseLocator$1.run(NodeWarehouseLocator.java:124)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

2013-03-24 00:24:08,151 -:- Creating Solarwinds Orion node collector for

2013-03-24 00:24:08,259 -:- No Orion status

-----------------------------------------------------------------------------------------------------------------------------------------------------------------

 

2013-03-24 00:23:59,275 -:- Caught exception

java.lang.IllegalStateException: Failed to create node collector

    at com.ray.sv.smc.orion.offering.NodeCollectorFactory$NodeCollectorImpl.<init>(NodeCollectorFactory.java:50)

    at com.ray.sv.smc.orion.offering.NodeCollectorFactory.createNodeCollector(NodeCollectorFactory.java:36)

    at com.ray.sv.smc.orion.offering.NodeWarehouse.collectNodes(NodeWarehouse.java:65)

    at com.ray.sv.smc.orion.offering.NodeWarehouseLocator$1.run(NodeWarehouseLocator.java:124)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

    at java.lang.Thread.run(Thread.java:662)

Caused by: javax.xml.ws.WebServiceException: The following WSDL exception occurred: WSDLException: faultCode=WSDL4JWrapper : : javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : java.net.ConnectException: Connection refused: connect

    at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)

    at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)

    at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupWsdlDefinition(ServiceDescriptionImpl.java:1054)

    at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:226)

    at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:156)

    at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:133)

    at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:79)

    at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:76)

    at org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:212)

    at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:59)

    at javax.xml.ws.Service.<init>(Service.java:56)

    at org.tempuri.InformationService_Service.<init>(InformationService_Service.java:42)

    at com.ray.sv.smc.orion.collector.OrionConnection.<init>(OrionConnection.java:78)

    at com.ray.sv.smc.orion.offering.NodeCollectorFactory$NodeCollectorImpl.<init>(NodeCollectorFactory.java:46)

    ... 12 more

Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : java.net.ConnectException: Connection refused: connect

    at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:234)

    at org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:156)

    at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupWsdlDefinition(ServiceDescriptionImpl.java:1034)

    ... 23 more

Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : java.net.ConnectException: Connection refused: connect

    at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:203)

    ... 25 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 sun.net.NetworkClient.doConnect(NetworkClient.java:163)

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)

    at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)

    at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)

    at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)

    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)

    at org.apache.axis2.jaxws.util.WSDL4JWrapper$14.run(WSDL4JWrapper.java:973)

    at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)

    at org.apache.axis2.jaxws.util.WSDL4JWrapper.getInputStream(WSDL4JWrapper.java:970)

    at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:189)

    ... 25 more

2013-03-24 00:24:00,259 -:- No Orion status


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>