Unable to connect to remote Jrockit instance

Hi,
I Tried configuring Jrockit and integrating weblogic server with it.
I was successfull in monitoring the locally deployed app through integrated weblogic in JRMC 4.0.
Please suggest if the following steps mentioned are proper or not.
1) Installed JRMC 4.0 .
2. Configured in default domain/bin folder of Weblogic server setDomainEnv.cmd as follows:-(Configuring oracle Jrockit in Weblogic since i have to use Jrockit JVM instead of Sun JDK Hot Spot)
set BEA_JAVA_HOME=C:\Program Files\Java\jrmc-4.0.0-1.6.0
set SUN_JAVA_HOME=D:\Oracle\Middleware\jdk160_18
if "%JAVA_VENDOR%"=="Oracle" (
     set JAVA_HOME=%BEA_JAVA_HOME%
) else (
if "%JAVA_VENDOR%"=="Sun" (
          set JAVA_HOME=%SUN_JAVA_HOME%
     ) else (
          set JAVA_VENDOR=Oracle
          set JAVA_HOME=C:\Program Files\Java\jrmc-4.0.0-1.6.0
3.Inturn i modified Java_Options in my local weblogic server startWebLogic.cmd and Remote weblogic server startWebLogic.cmd as follows:-
Local weblogic server startWebLogic.cmd :-
set SAVE_JAVA_OPTIONS="-Djava.rmi.server.hostname=ZSLW521 -Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
export JAVA_OPTIONS
Remote weblogic server startWebLogic.cmd :-
set SAVE_JAVA_OPTIONS="-Djava.rmi.server.hostname=ZSLW577 -Xmanagement:ssl=false,authenticate=false,port=7091,autodiscovery=true"
export JAVA_OPTIONS
4. My Oracle Jrockit Start parameters are as follows:-
C:\Program Files\Java\jrmc-4.0.0-1.6.0\bin>java -Xmanagement:port=7091,ssl=false,authenticate=false,autodiscovery=true
and even i am getting the status as follows in command prompt:
[INFO ][mgmnt  ] Remote JMX connector started at address zslw577:7091
[INFO ][mgmnt  ] Local JMX connector started
[INFO ][mgmnt  ] JDP autodiscovery started at address 232.192.1.212:7095
Iin jrmc4.0 UI i am getting JDP (JRockit Discovered protocal)as follows:-
1. Discovered --> JDP --> zslw577:zsl.local and
zslw51
2.But the Problem is that in the tabbed menu
Discovered-->LOACL-->Getting Local JRockit Weblogic server Instance and Not Remote Server Weblogic Server Instance
is when i am trying to establish a connection :-
HOST:zslw521
PORT:7091
1.And testing the connection giving me : Unable to Connect
Even If I want To test The JDP of Remote and Local JVM Instances by right clicking and selecting the option of START CONSOLE
Could not open Management Console for zslw577.zsl.local.
com.jrockit.mc.rjmx.ConnectionException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
     java.net.ConnectException: Connection refused: connect]
com.jrockit.mc.rjmx.ConnectionException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
         java.net.ConnectException: Connection refused: connect]
     at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:63)
     at com.jrockit.mc.console.ui.actions.StartConsole$1.preConnect(StartConsole.java:39)
     at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
         java.net.ConnectException: Connection refused: connect]
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
     at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
     at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
     at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
     at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
     ... 3 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
         java.net.ConnectException: Connection refused: connect]
     at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
     at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
     at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
     ... 12 more
Caused by: java.rmi.ConnectException: Connection refused to host: 172.16.26.60; nested exception is:
     java.net.ConnectException: Connection refused: connect
     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
     at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
     at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
     at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
     at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:228)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:594)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:146)
     at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
     at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:158)
     ... 5 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.SocksSocketImpl.connect(SocksSocketImpl.java:366)
     at java.net.Socket.connect(Socket.java:525)
     at java.net.Socket.connect(Socket.java:475)
     at java.net.Socket.<init>(Socket.java:372)
     at java.net.Socket.<init>(Socket.java:186)
     at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
     at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
     at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
     at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
     at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
     at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
     at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
     at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
     at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
     at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
     at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
     at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
     at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
     ... 5 more
Thanks in advance
Regards
RK
Edited by: user9352887 on Jun 17, 2010 6:52 AM
Edited by: user9352887 on Jun 17, 2010 7:07 AM
Edited by: user9352887 on Jun 17, 2010 7:13 AM

Probably, you'll have more luck on the JRockit forum, I would guess - or perhaps the WebLogic Server forum :)
John

Similar Messages

  • SSRS 2008 - Unable to connect to remote server

    Win2k3 R2 SP2/SQL Server 2008 instance with SSRS/Visual Studio 2008
    I installed SQL 2008 and SSRS with native mode default configuration.
    All SQL 2008 services are running under "NT Authority\Network Service" account.
    When i try to deploy a new report, I get the "Unable to connect to remote server" error.
    The deploy operation creates empty folders on the web server (hosted by the SQL Server 2008 service)
    for e.g.
    my instance name is <machinename>$sql2008. i configured the WebService URL and the Reports Manager URL to port 85
    the deploy from VS creates ssrs2008Test folder and a Shared Data Sources folder in the following virtual directory
      - Report Manager URL: http://<machinename>:85/Reports_SQL2008/
      - Web Service URL: http://<machinename>:85/ReportServer_SQL2008
    however these folders are empty w/ no .rdl or .rds file. and i get the "Unable to connect to remote server"  error in Visual Studio 2008 when i deploy it.
    is there something else i have to tweak in either the SQL Server/SSRS Configuration Manager or the Windows Server Settings(like port settings or group policy) to get the reports to work?
    thanks
    -vt

    SecureConnectionLevel = 2
    From logFile:
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:30:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 started.
    appdomainmanager!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: RS authentication mode is 5; effective ASP.NET authentication mode is Windows. vdir=/ReportServer_SQL2008.
    httpruntime!ReportServer_0-3!740!08/29/2008-08:00:31:: i INFO: Report Builder manifest file C:\Program Files\Microsoft SQL Server\MSRS10.SQL2008\Reporting Services\ReportServer\ReportBuilder\ReportBuilder_2_0_0_0\MSReportBuilder.exe.manifest not found.
    appdomainmanager!DefaultDomain!740!08/29/2008-08:00:31:: i INFO: Appdomain:6 ReportServer_SQL2008_0-3-128644956308203194 initialized (#2).
    webserver!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Web Server started
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Reporting Services starting SKU: Developer
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Evaluation copy: 0 days left
    resourceutilities!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running on 1 physical processors, 4 logical processors
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-3!740!08/29/2008-08:00:37:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    library!ReportServer_0-3!1588!08/29/2008-08:00:38:: Call to GetItemTypeAction(/ssrs2008Test).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Catalog SQL Server Edition = Developer
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Initializing crypto as user: NT AUTHORITY\NETWORK SERVICE
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Exporting public key
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Performing sku validation
    crypto!ReportServer_0-3!1588!08/29/2008-08:00:39:: i INFO: Importing existing encryption key
    library!ReportServer_0-3!740!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources).
    library!ReportServer_0-3!1588!08/29/2008-08:00:39:: Call to GetItemTypeAction(/Data Sources/masterDB).
    library!ReportServer_0-3!740!08/29/2008-08:00:40:: Call to GetItemTypeAction(/ssrs2008Test/sp_who2).

  • SharePoint Online - "Unable to connect to remote server"

    Hi,
    I have a Provider Hosted App which gets the data from a different site collection. Now, when i try to connect to a different site collection, the TokenHelper
    class gives me an error -  "Unable to connect to remote server". 
    The error is thrown in the below line:
    acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm);
    The above error is not thrown always. It throws occasionally. I am not getting the reason for this. Could anybody explain what is the problem, please? 

    Hi,
    According to your description, my understanding is that the error "Unable to connect to remote server" occurs in the WebClient.DownloadData Function.
    As this error throws occasionally, it should be related to the network issue, for a better troubleshooting, I suggest you can check the detailed error message using Fiddler.
    Fiddler
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HTTP Response :500 unable to connect to remote system.

    Hi,
    I am doing proxy-xi-file scenario, where i am getting this error in sxmb_moni in R/3.
    The error reads with red flag:
    HTTP Response :500 unable to connect to remote system.
    Please  tell me what can be the reason.

    Snehal,
    Error: The error message 503 Service unavailable Application stopped! is displayed.
    Description: The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay MAY be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
    Possible Tips: Because of J2EE application com.sap.aii.af.ms.app not active
    • Try to (re)start the application using the Visual Administrator Choose Server --> Services --> Deploy --> View on Application or restart the J2EE engine
    • The problem is that not all J2EE services can be started by the J2EE. i.e Start the Visual Administrator and select Server->Services->Deploy in the tree on the left. On the right-hand side, choose the Runtime tab page. You see a tree in the right window with all applications if you select the APPLICATION radio button. Check if they are running, otherwise choose Start. Usually the J2EE engine starts all services automatically.
    • Refer SAP Note 803145,807000,791655
    You can have a look on this blog for the same.
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Regards,
    Sarvesh

  • Debugger unable to connect to remote process

    Hi There,
    I am running Jdev on pc and OAS 10g on an unix environment. I followed the step in the doc to set up the remote debugging. However, when I start the remote debugger from jdev, i got the following error message.
    Debugger attempting to connect to remote process at ax-portal-www6.dev.ipass.com 4000..
    Debugger unable to connect to remote process.
    Your help wuld be greatly appreciated.

    A couple things to try:
    1) Verify your jdk version and build bug 4411232
    2) Increase your Debugger preferences Connection retries to double the default (especially if multiple apps running, low memory or a slow machine)
    Without more specifics on versions, type of debugging or details not much more I can suggest.

  • Xcode - Unable to Connect to Remote Repository

    I have a mac mini running OS X Server 4 on Yosemite 10.10.1 and I am trying to set up the Xcode server to host my repositories.
    On my development machine, when I try to create a project on the remote server, or when I try to push to the server I get the error..
    "Unable to Connect to Remote Repository
    Could not connect to the remote repository because the server was unreachable. Verify the server is running and try again."
    My machine knows that the remote server is there and alive.  I am able to add the server in Xcode preferences without any problem.
    I can even pull projects that were already on the server.  But anything new I cannot push or create.
    All the other services I use on the server are working.  Hosting a website, Screen sharing and I can SSH into it without any problem.
    The strangest part is that when I get the error about being unable to connect, the project I am trying to push actually does show up on the server.
    The project shows up on the server in the Repositories.  Just my development machine doesn't know it.
    Its driving me nuts, can anyone offer any ideas?

         You said you had SSH access working so this may be a different issue.  I was able to ssh into my server only with my admin account which made me think that ssh was working, but it turns out it wasn't for all user accounts.   I had the same error message and it turned out I could not ssh into the server with my developer accounts.  If I tried to clone a local repository to the server I got the same error, however the repository was actually create, but it was empty.   For reasons that don't matter to this discussion I originally setup all my users as "local network users" with no "Home Folder".  And that was the problem.  Basically ssh won't allow you to login without a home directory. 
         I had to go back and add a "Home Folder" of  "Local Only" for those users who were going to have xCode access.  Once the "home" directory was created I could login via ssh on those accounts AND creating and cloning repositories through xCode worked fine. The admin account that I was able to login with already had a home directory and wasn't a network user.
    Your issue slightly different even though I got the same error message, so not sure if this will solve your issue or not.  But on the off  chance that it is the same issue,   I figured I would post my solution to my problem.  ymmv
    P.S. I did turn off websites on my server and haven't turned it back on yet, so not sure if that will be a problem if I turn it back on.

  • Cannot open Report Manager URL -- "Unable to Connect to Remote Server"

    Hi, 
    I have recently installed SSRS 2012 on my remote server (Native Mode). I had the default configurations set except for the port has been changed to "8081". I created an Inbound Rule in Firewall to make sure it's enabled. 
    I'm unable to connect to the report manager locally at all, I got a Domain\username authentication and the credentials are never accepted locally.  I tried accessing my report server using the remote server host name and I was successfully logged in,
    however,  I got a message "Unable to Connect to the remote server". 
    I checked the log folder and there was no files created for my unsuccessful login. 
    I've been stumbling with this issue for almost a week, Any ideas or suggestions ?

    Hi SB User,
    Per my understanding that after you change the IP to "8081" then you can't connect to the report server both locally and remotely, right?
    Is that mean before you have changed the IP, everything works fine and did you got some pop up window ask for credential when you connect to the report server?
    You issue can be caused by many factors, please try to check details information below and do some configurations:
    Go to Reporting Services Configuration Manager and change the account to "Network Service" to see if it will works fine.
    Change the account to domain account and re-enter the username and password to see if it works fine. 
    Remove the SSL if configured.
    Go to C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config 
    In rsreportserver.config Change the SecureConnectionLevel value to "0":
    <Add Key="SecureConnectionLevel" Value="0"/>
    Stop and restart the report services instance to see if you can connect to report server.
    please also Using IP instead of computer name as the <servername> in the URL to have a test.
    If your issue still exists, please try to change the IP to have a test.
    If you still have any problem,please fee free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Unable to connect to the database instance using Enterprise Manager.

    I just install Oracle 10gr2 in my computer and after successful installation created a database instance which also install successfully. I then configure the listener using Net Manager and then start the database instance, the listener and dbconsole, everything seems to work fine and checking the status of this services from the command prompt indicates everything started successfully. But when I try to use Enterprise Manager I was directed to the Database Down Page with a message unable to connect to database instance. I try to use startup and perform recovery but every time I log-in to the database an error message comes out:
    SQLEXCEPTION
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified.
    It seems for Enterprise Manager to connect to the database it needs to access this NLS(National Language Support) data files or specify an environment variable to point to this data files. I am just new to Oracle and I am having difficulty solving this particular problem. Where is this data files located and how do I configure Enterprise Manager to access this NLS data Files?
    Any help however small will be highly appreciated.

    Are you able to connect to the database via SQLPlus?
    What Operating System are you using?
    Assuming Windows, can you RUN regedit to open Windows Registry and check the value or NLS_LANG when you select
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_<your_oracle_home>
    Examples of vaules you may find:
    1. ENGLISH_UNITED KINGDOM.WE8MSWIN1252
    2. AMERICAN_AMERICA.US7ASCII
    3. AMERICAN_AMERICA.WE8MSWIN1252
    4. FRENCH_FRANCE.WE8MSWIN1252
    5. GERMAN_GERMANY.WE8MSWIN1252
    If you are not able to connect to SQLPlus, from the command prompt try setting one of the above:
    e.g.
    D:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    D:\>sqlplus /nolog
    SQL>connect sysman/password

  • [E2010] [EWS] [C#] [Windows]: Unable to connect to remote server

    I have a Windows Service that uses EWS to connect to a mailbox and do some things with certain emails. The service has been running for a while now, with little to no issues. Just recently the service will stop and when viewing the event log, we receive
    the following error.
    Error Message: The request failed. Unable to connect to the remote server
    Inner Exception: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
       at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.InternalBind(EndPoint localEP)
       at System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
       at System.Net.Sockets.Socket.UnsafeBeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
       at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    Target Site: Microsoft.Exchange.WebServices.Data.IEwsHttpWebResponse GetEwsHttpWebResponse(Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest)
    Source: Microsoft.Exchange.WebServices
    Stack Trace:    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
       at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
       at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
       at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems[TItem](IEnumerable`1 parentFolderIds, SearchFilter searchFilter, String queryString, ViewBase view, Grouping groupBy, ServiceErrorHandling errorHandlingMode)
       at Microsoft.Exchange.WebServices.Data.ExchangeService.FindItems(FolderId parentFolderId, SearchFilter searchFilter, ViewBase view)
       at MyClass.CleanupDeletedItems()
       at MyClass.ReadEmail()
       at MyService.WorkerFunction()
    This so far has only occured twice, but I am not sure if the issue is on the exchange servers, or the server where the service itself is running. Any ideas on what would cause this issue and how to go about fixing it?
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

    Hi Clayman
    Well it makes sense to me that the registry could help, checking the lines in the error code, it appears that the for some reason the server could not stablish a connection, the error states: because the system lacked sufficient buffer space or because a queue
    was full.
    It seems don't make sence untill you have a look at Socket Class (MSDN article), which say: The Socket class provides a rich set of methods and properties for network communications. The Socket class allows you to perform both synchronous and asynchronous data
    transfer using any of the communication protocols listed in the ProtocolType
    Checking also the HttpWebRequest Class, we can see the it also relays on Socket Class, as it says by the end of your exception:
    [at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)]
    I also don't know if you could reboot your machine, but it would be good.
    Also I really think its worthy a try, as not much information can befound on this EWS issue.
    MaxUserPort
    From <http://technet.microsoft.com/en-us/library/cc938196.aspx> 
    Socket Class
    From <http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=vs.110).aspx> 
    HttpWebRequest.GetResponse Method
    From <http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.getresponse(v=vs.110).aspx> 
    HttpWebRequest Class
    From <http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest(v=vs.110).aspx> 
    If you apply the registry change, let me know.
    Think before you ask, be detalist as much as possible, then ask and you will get help! Always have in mind, people do not guess! :)

  • Cannot connect to remote SSRS instance with SSMS

    I recent installed a named instance of SSRS 2005 on a remote server. The server has a side by side install of SSRS 2000 and SSRS 2005, with the SSRS 2005 being a named instance. The server also has SSL and MS Sharepoint Portal Server installed.
    When I try and connect to the SSRS 2005 instance with my client install of Mangement Studio, I get the error message:
    "The underlying connection was closed: Could not establish a trust relationship for the SSL/TLS secure channel. (System.Web.Services)
    Additional Information: The remote certificate is invalid according to the validation procedure. (System)."
    Obviously, this is a SLL issue, but, not being a security guru, I have no clue on how to fix this. I do know the certificate is valid, not expired and properly working. Both installs of SSRS are set up using the SSL certificate. Also, I am not connecting to SSIS with Management Studio, as I heard there is a bug connecting to both SSRS and SSIS at the same time.
    Anyone have any ideas?
    Thanks!!
    Jeff

    I know this is an old topic, but I just had a similar issue on SSRS 2008R2 and trying to connect to it with SSMS 2008R2.
    The SSRS is using a self-signed certificate. The problem then is how to allow SSMS to accept this untrusted certificate.
    I found success with the following steps in the SSMS connection dialogue:
    Server Type: Reporting Services
    Server name: the exact server name on the certificate does not appear to be required (e.g., "localhost" is fine for a local connection)
    On the Options>Connection tab, check
    Always Use SSL
    On the Options>Additional Connections Parameters
    tab, enter the following text:
    encrypt=true;trustServerCertificate=true
    Click Connect and you should connect without any further certificate trust issues
    for that session. Note that these steps must be repeated each time a new connection is made between SSMS and SSRS.

  • Dupremove.ncf unable to connect to SQL DB instance

    I have ZDM7SP1_IR3a, my inventory database is running as a named instance on SQL2005. I am unable to get the dupremove module to connect to the data base. I keep getting a message:
    Trying to (re)connect to the database -> mw_dba
    Jdbc:sqlserver://10.10.11.55:1433;selectMethod=cursor
    Com.microsoft.sqlserver.jdbc.SQLServerException: The TCP?IP connection to the host
    Has failed. Java.net.ConnectException: Connection refused
    at com.microsoft.sqlserver.jdbc.SQLServer Connection.connect(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServer Connection.connect(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.conne ct(Unknown Source)
    at java.sql.DrierManager.getConnection(DriverManager. java:512)
    at java.sql.DrierManager.getConnection(DriverManager. java:140)
    at com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.create(DatabaseOperator.jav:830)
    at com.novell.zenworks.desktop.inventory.storer.Datab aseOperator<init>(DatabaseOperator.jav:589)
    at com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.main(DatabaseOperator.jav:7162)
    Could not connect to database.
    My dupremove.ncp is as follows:
    java -ns -sn"ZENworks Inventory Dupremove utility" -neh -mx128m -classpath $tmppath;"$classpath" -Djava.compiler= com.novell.zenworks.desktop.inventory.storer.Datab aseOperator -host=10.10.11.55 -listwsdup -dbtype=2 -sid=mgmtdb -port=3855
    It appears that this module is ignoring the port number provided. Is there a way to get it to accept the port given so that the connection to the database can be made?
    I appreciate any and all suggestions.

    DMPotter,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Cannot Connect to Remote Named Instance of SQL Server

    We have 3x instances of SQL Server 2012 installed on a single remote server - there's the default MSSQLSERVER instance, then \INSTANCE01 and \INSTANCE02. I can remotely connect to the default MSSQLSERVER instance through SSMS, but I cannot connect to
    either of the additional named instances (\INSTANCE01 or \INSTANCE02). 
    For example, if I try to connect to "sql.domain.com", I can successfully access the default instance on the remote server. If I try to connect to "sql.domain.com\INSTANCE01", I get an error stating
    "A network-related or instance-specific error occurred while establishing a connection to SQL Server".
    HOWEVER - if I try to connect to "sql.domain.com\INSTANCE01, 49301" (where 49301 is the TCP Port for the TCP/IP Protocol for this SQL Server instance), I am able to successfully connect.
    This leads me to think that there's a communication issue with the SQL Server Browser service running on the remote SQL Server and my workstation. 
    The following items have been verified:
    SQL Server Browser is running on the remote SQL Server
    Windows Firewall has been disabled on the SQL Server
    TCP Ports 1433, 1434, 1954, and 49301 have been opened up on the remote destination's firewall
    UDP Port 1434 has been opened up on the remote destination's firewall
    Thoughts? Did I miss something?

    Hi brgnewman,
    Use computername\instancename to connect to the database engine. Please try again. I think the configuration is OK.
    Refer to Connecting from Another Computer:
    http://msdn.microsoft.com/en-us/library/ms345343.aspx.
    Thanks.
    Maggie Luo
    TechNet Community Support

  • Oracle 8.0.5 on RH6.0, unable to connect to remote database

    Hi Everybody,
    I have this problem, i have running oracle 8.0.5 on RH6.0
    everything works ok for me. But when i use sqlplus on box where
    is my Oracle running and try to connect to another database on
    my site (which is running on HPUX) I got resul ORA-01017 invalid
    username/password. Tnsping to this machine is ok, so i have this
    in my tnsname.ora When i create dabase link (with user which I
    try to use to connect remote database) on my local datbase to
    this database then link works sucessfully too. select * from
    dual@remote_database Ok. What's wrong ??? Remote database is
    Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
    Oracle7 and 8 ???
    null

    Try putting
    disable_oob = ON
    in your sqlnet.ora file.
    Anwar.
    Radek Sedmak (guest) wrote:
    : Hi Everybody,
    : I have this problem, i have running oracle 8.0.5 on RH6.0
    : everything works ok for me. But when i use sqlplus on box where
    : is my Oracle running and try to connect to another database on
    : my site (which is running on HPUX) I got resul ORA-01017
    invalid
    : username/password. Tnsping to this machine is ok, so i have
    this
    : in my tnsname.ora When i create dabase link (with user which I
    : try to use to connect remote database) on my local datbase to
    : this database then link works sucessfully too. select * from
    : dual@remote_database Ok. What's wrong ??? Remote database is
    : Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
    : Oracle7 and 8 ???
    null

  • Unable to connect to remote JMX

    Hi guys,
    In our development environment in linux, we are using resin + jdk1.5.
    i started my resin server with these options:
    -Dcom.sun.management.jmxremote
    -Dcom.sun.management.jmxremote.port=8004
    -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=false
    It returns "Connection failed" when i tried to connect to it from local.
    If i use those options and start it locally, i am able to connect.
    Anyone has any ideas what am i missing?
    Thanks.
    Message was edited by:
    jinchuriki

    I'm also running into this issue on a Linux machine running JDK 1.6.0_12:
    java -version
    java version "1.6.0_12"
    Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)I'm running with the following VM parameters:
    -Dcom.sun.management.jmxremote.port=9958 -Dcom.sun.management.jmxremote.authenticate=false
    -Dcom.sun.management.jmxremote.ssl=falseFrom a windows machine I run jconsole:
    JConsole version "1.6.0_10-rc2-b32"
    Java(TM) SE Runtime Environment (build 1.6.0_10-rc2-b32)
    Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)jconsole 192.168.10.143:9958
    It appears to begin to connect (I see the JMX monitoring tabs and a progress bar) then it says:
    Connection Failed: Retry?
    The connection to 192.168.10.143:9958 did not succeed. Would you like to try again?It seems like the JConsole is able to partial connect to the remote JMX service but then fails somewhere in the process.
    If I try to connect to a non-JMX listening port on 192.168.10.143 I receive a message in the connection selection dialogue:
    Connection failed: non-JRMP server at remote endpointIf I connect to a port that the remote server isn't listening to I do not get the Connection Failed error, it ends up timing out then I sending me back to the New Connection window.

  • Unable to connect to remote EJB

    Hi All,
    I have a remote Session Bean deployed on JBOSS App Server on a linux machine. and I am trying to call the session bean method from a servlet, which is deployed on Tomcat 5.5 web server on windows machine.
    My Session Code:_
    // My seesion bean
    public class HelloSessionBean implements SessionBean, HelloBeanSessionRemote
          private SessionContext context;
          public void setSessionContext(SessionContext aContext)
             context = aContext;   
          public void ejbActivate()
          public void ejbPassivate()
          public void ejbRemove()
          public void ejbCreate()
          public String hello()
                    SOP("Hi to ALL");
    // my remote Interfaces
    public interface HelloBeanSessionRemote extends EJBObject, HelloBeanSessionRemoteBusiness
    public interface HelloBeanSessionRemoteBusiness
         public String hello()  throws RemoteException;     
    //my home interface
    public interface HelloSessionRemoteHome extends EJBHome
        HelloBeanSessionRemote create()  throws CreateException, RemoteException;
    My Servlet Code:_
    // Servlet in TOMCAT
    public class RequestHandler extends HttpServlet
          protected void processRequest(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException
                    Context context = getInitialContext();
                        Object objectReference = context.lookup("HelloSessionBean");
                        HelloSessionRemoteHome home = (HelloSessionRemoteHome)
                                    PortableRemoteObject.narrow(objectReference, HelloSessionRemoteHome.class);
                   HelloBeanSessionRemoteBusiness remoteBusiness =  (HelloBeanSessionRemoteBusiness) home.create();          
              remoteBusiness.hello();
          public Context getInitialContext() throws Exception
                   Properties jbossProperties = new Properties();
                   jbossProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
                   jbossProperties.put(Context.PROVIDER_URL, "jnp://myIP:1199");
                   jbossProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
                   return new InitialContext(jbossProperties);
    }Now I am trying to call the session bean method from my servlet. But I am continously getting the following:
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
         java.net.SocketException: Connection reset]
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
         at javax.naming.InitialContext.lookup(Unknown Source)Please anyone try to sort my issue. I have been trying, but cudnt get a solution. Is it because both the JVMs are installed on a different platform OS.
    Thanking You.

    Hi All,
    I have a remote Session Bean deployed on JBOSS App Server on a linux machine. and I am trying to call the session bean method from a servlet, which is deployed on Tomcat 5.5 web server on windows machine.
    My Session Code:_
    // My seesion bean
    public class HelloSessionBean implements SessionBean, HelloBeanSessionRemote
          private SessionContext context;
          public void setSessionContext(SessionContext aContext)
             context = aContext;   
          public void ejbActivate()
          public void ejbPassivate()
          public void ejbRemove()
          public void ejbCreate()
          public String hello()
                    SOP("Hi to ALL");
    // my remote Interfaces
    public interface HelloBeanSessionRemote extends EJBObject, HelloBeanSessionRemoteBusiness
    public interface HelloBeanSessionRemoteBusiness
         public String hello()  throws RemoteException;     
    //my home interface
    public interface HelloSessionRemoteHome extends EJBHome
        HelloBeanSessionRemote create()  throws CreateException, RemoteException;
    My Servlet Code:_
    // Servlet in TOMCAT
    public class RequestHandler extends HttpServlet
          protected void processRequest(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, IOException
                    Context context = getInitialContext();
                        Object objectReference = context.lookup("HelloSessionBean");
                        HelloSessionRemoteHome home = (HelloSessionRemoteHome)
                                    PortableRemoteObject.narrow(objectReference, HelloSessionRemoteHome.class);
                   HelloBeanSessionRemoteBusiness remoteBusiness =  (HelloBeanSessionRemoteBusiness) home.create();          
              remoteBusiness.hello();
          public Context getInitialContext() throws Exception
                   Properties jbossProperties = new Properties();
                   jbossProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
                   jbossProperties.put(Context.PROVIDER_URL, "jnp://myIP:1199");
                   jbossProperties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
                   return new InitialContext(jbossProperties);
    }Now I am trying to call the session bean method from my servlet. But I am continously getting the following:
    javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
         java.net.SocketException: Connection reset]
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
         at javax.naming.InitialContext.lookup(Unknown Source)Please anyone try to sort my issue. I have been trying, but cudnt get a solution. Is it because both the JVMs are installed on a different platform OS.
    Thanking You.

Maybe you are looking for