Access to local DataSource tries to connect to remote server after ejb call to remote server

I've run into a problem with code that worked fine under WebLogic 6.1 SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
          I have two weblogic instances running in separate domains (InstanceA and InstanceB). The two domains have the same crentential configured to setup the trust relationship.
          InstanceA runs on my local machine. It contains Stateless Session Beans StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
          InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
          A function A1Func1 in StatelessSessionBeanA1
          1) creates an initial context to connect to InstanceB
          2) calls a method B1Func1 on StatelessSessionBeanB1
          3) closes that context to InstanceB
          4) Calls a method A2Func1 on StatelessSessionBeanA2
          5) manipulates several entity beans
          6) returns
          A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
          Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a Connection from the DataSourceA1, it gets an exception:
          java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
          at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
          at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
          at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
          ... enters my application code
          A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have the "RequiresNew" transaction attribute. This causes steps 1,2,3,4 to work, but in step 5, when the entity beans attempt to get a connection from DataSourceA1, it runs into the same exception
          java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
          at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
          at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
          at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
          at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
          Any ideas why calling out to StatelessSessionBeanB1 would cause things inside the same transaction to try to get their datasource from InstanceB? Again, this code worked fine under WebLogic 6.1
          And ideas would be appreciated.
          Thanks,
          --Andy
          

          As a follow up, no solution, but a workaround - we changed the transaction setting
          on B1Func1 (which was a read type method) on InstanceB's StatelessSessionBeanB1
          to NotSupported, and everything started working again.
          --Andy
          Andrew Delpha <[email protected]> wrote:
          >I've run into a problem with code that worked fine under WebLogic 6.1
          >SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
          >
          >I have two weblogic instances running in separate domains (InstanceA
          >and InstanceB). The two domains have the same crentential configured
          >to setup the trust relationship.
          >
          >InstanceA runs on my local machine. It contains Stateless Session Beans
          >StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
          >
          >InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
          >
          >
          >A function A1Func1 in StatelessSessionBeanA1
          >1) creates an initial context to connect to InstanceB
          >2) calls a method B1Func1 on StatelessSessionBeanB1
          >3) closes that context to InstanceB
          >4) Calls a method A2Func1 on StatelessSessionBeanA2
          >5) manipulates several entity beans
          >6) returns
          >
          >A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
          >
          >
          >Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a
          >Connection from the DataSourceA1, it gets an exception:
          >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
          >of InstanceB)
          > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
          > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
          > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
          > ... enters my application code
          >
          >A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have
          >the "RequiresNew" transaction attribute. This causes steps 1,2,3,4
          >to work, but in step 5, when the entity beans attempt to get a connection
          >from DataSourceA1, it runs into the same exception
          >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
          >of InstanceB)
          > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
          > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
          > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
          > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
          >
          >Any ideas why calling out to StatelessSessionBeanB1 would cause things
          >inside the same transaction to try to get their datasource from InstanceB?
          > Again, this code worked fine under WebLogic 6.1
          >
          >And ideas would be appreciated.
          >Thanks,
          >--Andy
          

Similar Messages

  • Error trying to Connect to WSE 2012 R2 with Connector Software - The server is not available

    I had to completely reset my MS Surface Pro 3 due to virus activity, so it was wiped and reinstalled. It had previously connected to the Server without
    hiccup. Ever since doing this I cannot reconnect using the SERVERNAME\Connect process - it continually fails. I have reviewed the forums and web for a week trying different solutions to no avail. I would appreciate it if someone could advise?
    I have:
    Ensured that the Connector Software update is not installed from Installed Updates
    Checked the Bindings in IIS Manager against the WSS Certificate Web Service and it is set to SERVERNAME.
    Ensured my time on the Client is synchronised
    Tried connecting using the original PC-Name and when that didn't work, I have tried a new name and removed the old device from the server.
    I have ensured that I am on a Workgroup.
    The install process finds the server sets up connector and asks for my network user name and password and then continues for a fair time until it
    comes back with the error”:
    "The server is not available/ Try connecting this computer again, of for more information, see Troubleshoot connecting computers to the server.”
    I am not sure how much of the log to include as it all doesn’t fit:
    [1380] 150118.132140.0358: ClientSetup: Start of ClientDeploy
    [1380] 150118.132140.5201: General: Initializing...C:\windows\system32\Essentials\ClientDeploy.exe
    [1380] 150118.132140.5201: ClientSetup: Create client deployment registry subkey if necessary
    [1380] 150118.132140.5358: ClientSetup: The initial launching way: -LaunchedFrom:installer
    [1380] 150118.132140.5358: ClientSetup: The initial state is set
    [1380] 150118.132140.5358: ClientSetup: The initial serverName: 192.168.1.100
    [1380] 150118.132140.5358: ClientSetup: Loading Wizard Data
    [1380] 150118.132140.5670: ClientSetup: Saving Wizard Data
    [1380] 150118.132140.5826: ClientSetup: Current DeploymentStatus=Start
    [1380] 150118.132140.9420: ClientSetup: Showing the Client Deployment Wizard
    [1380] 150118.132141.0670: ClientSetup: Machine name:SURFACE3RUTH, length:12
    [1380] 150118.132141.0983: ClientSetup: The input server name is 192.168.1.100
    [1404] 150118.132141.1295: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [1404] 150118.132141.1295: ClientSetup: Running Task with Id=ClientDeploy.PreConfiguration
    [1380] 150118.132141.1295: ClientSetup: InitWizard, The currrent stage is ConnectingToServer
    [1380] 150118.132141.1295: ClientSetup: Set the Deployment Sync Event
    [1404] 150118.132141.1764: ClientSetup: The configuration cab will be downloaded from 192.168.1.100
    [1404] 150118.132141.1920: ClientSetup: Download file Setup.cab from server
    [1404] 150118.132141.2233: ClientSetup: Making web request: https://192.168.1.100//connect/default.aspx?Get=Setup.cab&LanguageId=2057&64bit=1
    [1404] 150118.132141.5358: ClientSetup: Failed to download Setup.cab from server: System.Net.WebException: The underlying connection was closed: Could
    not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
    at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
    at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
    at System.Net.ConnectStream.WriteHeaders(Boolean async)
    --- End of inner exception stack trace ---
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.WindowsServerSolutions.ClientSetup.CSCommon.DownloadFileFromConnectSite(String outputDirectory, Uri serverUrl, String fileName, Int32 languageId, Boolean is64bit)
    [1404] 150118.132141.5358: ClientSetup: Cannot get configuration file with https, will try http...
    [1404] 150118.132141.5358: ClientSetup: Download file Setup.cab from server
    [1404] 150118.132141.5358: ClientSetup: Making web request: http://192.168.1.100//connect/default.aspx?Get=Setup.cab&LanguageId=2057&64bit=1
    [1404] 150118.132141.7233: ClientSetup: Downloaded file C:\windows\Temp\ClientDeploymentTempFiles\Setup.cab
    [1404] 150118.132141.7233: ClientSetup: The configuration cab is downloaded to C:\windows\Temp\ClientDeploymentTempFiles\Setup.cab
    [1404] 150118.132141.9264: ClientSetup: Adding Server Info data in the Product Registry
    [1404] 150118.132142.8170: Networking:DnsEnvironmentDetector: Dns.GetHostAddresses threw exception: System.Net.Sockets.SocketException (0x80004005):
    No such host is known
    at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
    at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
    at Microsoft.WindowsServerSolutions.Networking.ServerDiscovery.DnsEnvironmentDetector.GetAddressesFromDns(String machine)
    [1404] 150118.132142.8170: DnsEnvironmentDetector: No result from GetHostAddresses(), normal environment
    [1404] 150118.132142.8170: ClientSetup: Exiting PreConfigTask.Run()
    [1404] 150118.132142.8170: ClientSetup: Task with Id=ClientDeploy.PreConfiguration has TaskStatus=Success
    [1404] 150118.132142.8170: ClientSetup: Task with Id=ClientDeploy.PreConfiguration has RebootStatus=NoReboot
    [1404] 150118.132142.8170: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [1896] 150118.132158.7568: ClientSetup: Running InstallRootCert Task at WizardPage DomainUserCred
    [1896] 150118.132158.7568: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [1896] 150118.132158.7568: ClientSetup: Running Task with Id=ClientDeploy.InstallRootCertTask
    [1896] 150118.132158.7880: ClientSetup: Entering InstallRootCertTask.Run
    [1896] 150118.132158.7880: ClientSetup: Install root cert to local trusted store
    [1896] 150118.132158.7880: ClientSetup: Exiting InstallRootCertTask.Run
    [1896] 150118.132158.7880: ClientSetup: Task with Id=ClientDeploy.InstallRootCertTask has TaskStatus=Success
    [1896] 150118.132158.7880: ClientSetup: Task with Id=ClientDeploy.InstallRootCertTask has RebootStatus=NoReboot
    [1896] 150118.132158.7880: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [1896] 150118.132158.7880: ClientSetup: Running SetupVPNAndDA Task at WizardPage DomainUserCred
    [1896] 150118.132158.7880: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [1896] 150118.132158.7880: ClientSetup: Running Task with Id=ClientDeploy.SetupVpnAndDATask
    [1896] 150118.132158.8193: ClientSetup: Entering SetupVpnAndDATask.Run
    [1896] 150118.132158.8974: ClientSetup: Exting SetupVpnAndDATask.Run
    [1896] 150118.132158.8974: ClientSetup: Task with Id=ClientDeploy.SetupVpnAndDATask has TaskStatus=Success
    [1896] 150118.132158.8974: ClientSetup: Task with Id=ClientDeploy.SetupVpnAndDATask has RebootStatus=NoReboot
    [1896] 150118.132158.8974: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [1896] 150118.132158.8974: ClientSetup: Running ValidateUser Tasks at WizardPage DomainUserCred
    [1896] 150118.132158.8974: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [1896] 150118.132158.8974: ClientSetup: Running Task with Id=ClientDeploy.ValidateUser
    [1896] 150118.132158.9286: ClientSetup: Entering ValidateUserTask.Run
    [1896] 150118.132158.9286: ClientSetup: Validating User
    [1896] 150118.132158.9286: ClientSetup: Call MachineIdentityManager.GetMachineStatus
    [1896] 150118.132200.2412: ClientSetup: Current Machine Join Status: NotExists
    [1896] 150118.132200.2412: ClientSetup: Exiting ValidateUserTask.Run
    [1896] 150118.132200.2412: ClientSetup: Task with Id=ClientDeploy.ValidateUser has TaskStatus=Warning
    [1896] 150118.132200.2412: ClientSetup: Task with Id=ClientDeploy.ValidateUser has RebootStatus=NoReboot
    [1896] 150118.132200.2412: ClientSetup: Exting ConnectorWizardForm.RunTasks
    [1896] 150118.132203.5996: ClientSetup: User has chosen to continue using domain admin credentials
    [1896] 150118.132203.5996: ClientSetup: Running JoinNetwork Tasks at WizardPage DomainUserCred
    [1896] 150118.132203.5996: ClientSetup: Entering ConnectorWizardForm.RunTasks
    [1896] 150118.132203.5996: ClientSetup: Running Task with Id=ClientDeploy.JoinDomain
    [1896] 150118.132203.6152: ClientSetup: Entering JoinDomainTask.Run
    [1896] 150118.132203.6152: ClientSetup: Domain Join Client to Server Domain: ClientComputerName=SURFACE3RUTH ServerDomainNetBiosName=AHYICK
    [1896] 150118.132203.6152: ClientSetup: Trying to evaluate if we need to set Local Nic Dns address be the same as server DNS setting.
    [1896] 150118.132204.4590: ClientSetup: DNS failed to resolve server's host name, needs set DNS
    [1896] 150118.132204.4590: ClientSetup: Trying to set DNS setting.
    [1896] 150118.132204.4590: ClientSetup: Configure DNS settings on local NIC
    [1896] 150118.132205.7153: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132206.7787: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132207.8293: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132214.6885: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132224.7076: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132234.7311: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132235.8561: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132236.9186: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132237.9655: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132244.8406: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132254.8601: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132304.8898: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132306.0148: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132307.0461: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132308.1131: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132314.9742: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132324.9961: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132335.0140: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132336.1495: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132337.1888: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132338.2320: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132345.1355: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132355.1699: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132405.2086: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132406.3337: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132407.3883: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132408.4351: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132415.3043: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132425.3696: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132435.4170: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132436.5769: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132437.6137: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132438.6607: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '192.168.1.1', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132445.5693: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132455.5861: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1404] 150118.132505.6068: PInvoke: DnsValidateServerStatus(out serverStatus = 'DNS_VALSVR_ERROR_NO_TCP (0x00000010)', serverIP = '10.0.0.138', queryName
    = '') returns 'DNS_ERROR_RCODE_NO_ERROR (0x00000000)'
    [1896] 150118.132505.6068: ClientSetup: Could not successfully set the DNS of any client NIC
    [1896] 150118.132505.6068: ClientSetup: Failed to set Local Nic Dns address as the Server IP.
    [1896] 150118.132505.6068: ClientSetup: NetGetJoinInformation (server = [], ...)
    [1896] 150118.132505.6148: ClientSetup: Running Join Domain
    [1896] 150118.132505.6148: ClientSetup: Disconnect any share to the server.
    [1896] 150118.132505.6148: ClientSetup: NetUseEnum (UncServerName = [] )
    [1896] 150118.132505.6304: ClientSetup: NetUseEnum (UncServerName = [] )
    [1896] 150118.132505.6304: ClientSetup: Trying to clear dns cache.
    [1896] 150118.132505.6304: ClientSetup: ComputerMgmt.FlushDnsCache starts
    [1896] 150118.132505.6461: ClientSetup: ProcessHelper.StartProcessWithRedirectOutput() Executing "C:\windows\system32\ipconfig.exe" /flushdns
    [1404] 150118.132505.6832: ClientSetup: Standard Ouptput:
    [1404] 150118.132505.6832: ClientSetup: Standard Ouptput: Windows IP Configuration
    [1404] 150118.132505.6832: ClientSetup: Standard Ouptput:
    [3964] 150118.132505.6832: ClientSetup: Standard Ouptput: Successfully flushed the DNS Resolver Cache.
    [3964] 150118.132505.6832: ClientSetup: Standard Ouptput:
    [5080] 150118.132505.6832: ClientSetup: Standard Error:
    [1896] 150118.132505.6832: ClientSetup: The exit code of the process (C:\windows\system32\ipconfig.exe) is: 0
    [1896] 150118.132505.6832: ClientSetup: Calling SetPrimaryDnsSuffix.
    [1896] 150118.132505.6832: ClientSetup: SetPrimaryDnsSuffix (AHYICK.local)
    [1896] 150118.132505.6832: ClientSetup: SetComputerNameEx (AHYICK.local)
    [1896] 150118.132505.6832: ClientSetup: Update tcpip Domain parameter with AHYICK.local
    [1896] 150118.132505.6832: ClientSetup: Calling join domain [AHYICK.local] with domain user [AHYICK.local\Basil] credential.
    [1896] 150118.132505.6832: ClientSetup: Joining local machine to domain AHYICK.local
    [1896] 150118.132505.6832: ClientSetup: NetJoinDomain( , AHYICK.local, , AHYICK.local\Basil, *, NetSetupJoinDomain, NetSetupAcctCreate, NetSetupAcctDelete,
    NetSetupDomainJoinIfJoined, NetSetupDeferSpnSet)
    [1896] 150118.132505.7457: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132506.7789: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132507.8248: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132508.8666: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132509.8997: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132510.9440: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132511.9868: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132513.0218: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132514.0673: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132515.0987: ClientSetup: nativeNetJoinDomain returned ErrCode=1355
    [1896] 150118.132515.1143: ClientSetup: Join domain fails on the first time, exception: System.ComponentModel.Win32Exception (0x80004005): The specified
    domain either does not exist or could not be contacted
    at Microsoft.WindowsServerSolutions.ClientSetup.NativeMethods.NativeMethodRetryWrapper(NativeMethodInvoker nmi, UInt32 numTries, TimeSpan timeToWaitBetweenRetries, String descriptionForLog, UInt32[] retryableErrorCodes)
    at Microsoft.WindowsServerSolutions.ClientSetup.NativeMethods.NetJoinDomain(String server, String domain, String destinationOuPath, String user, SecureString password, JoinDomainOptions joinOptions)
    at Microsoft.WindowsServerSolutions.ClientSetup.ComputerMgmt.JoinDomain(String domainName, String domainUserName, SecureString domainUserPass, String machineAccountOU)
    at Microsoft.WindowsServerSolutions.ClientSetup.ClientDeploy.JoinDomainTask.Run(WizData data)
    I am running a Telstra ADSL modem with a separate Cisco router and Netgear Switch.
    I would appreciate any help I can get please as I am a novice and do not understand a lot about the certificate and DNS errors.

    Would you please try manually set the DNS address on client NIC to the IP of your server, then try run the connector again?

  • Trying to connect via tablet's tethering hotspot, firefox says proxy server refused connection

    Hi there, today I tried to connect my laptop to my tablet using the lattering as tethering hotspot. Laptop connected itself to tablet, signal was excellent, password OK, no apparent problems.
    When I try to load the home page I got this answer: connection refused by proxy server.
    What shall I do, check or change to make things work?
    When a use my internet key or any other wi-fi I don't get the same problem, it only happened today with the tethering hotspot of the Tablet.
    Thanks in advance for any help you guys might be able to give me!
    Happy new year,
    Ira

    Hey Ira,
    Does your computer use a proxy server to connect to the internet?
    1.You can hold your window key and press r at the same time to open a dialog box. 2.in the dialog box type ncpa.cpl and press enter. 3.Your networks will open 4.right click the network named wifi or the network you connect through and select properties. 5.this will again open a dialog. in this dialog scroll and go to internet protocol version4 6.double click on it. do you see obtain an ip address automatically checked or use the following ip checked.
    if obtain ip automatically then your connection doesn't use proxy.
    now go to firefox>option>advanced>network>setting and see if your connecion is automatic,no proxy etc. If your computer use proxy you can use system proxy or manually configure proxy.
    You have two scenarios.
    1. When you use internet key or any other wi-fi. Keep the setting as it is. remember in this case "use system proxy settings"
    2. Now when you use tethering from your table, you will have to make only a tiny change. Go to firefox setting, dont make any change to windows setting and click on no proxy or automatically detect proxy (1 of the first two). One of them should work for you Either no proxy or automatically detect proxy
    hope it helps. :-)

  • Win7 clients can't connect to OSX Server after 10.10.2 and Server 4.0.3 update

    I'm troubleshooting an annoying issue with our Yosemite fileserver at work and hoping someone has suggestions.
    The server is running Yosemite, clients a mix of MacOS from 10.6 through 10.10, and some Windows 7 boxes.
    With the server on 10.10.1 and the just-prior version of Server (4.0, I assume; were 4.0.1 and 4.0.2 ever available to the public?), everything basically worked. Last night, I updated the server to 10.10.2 and 4.0.3.  Nothing unusual during the update apart from a bunch of spotlight indexing processes running as individual users sucking up a lot of CPU for the first few minutes, which may be normal.
    However, now almost all the Macs are fine, but the Windows clients are all getting permissions errors when trying to connect. Even weirder, one Yosemite client was also getting an error on login when trying to connect via SMB, both on 10.10.1 and 10.10.2; the same computer connecting via AFP works fine.
    I'm inclined to think that it has something to do with the switch to SMB3 mentioned in the changelog for Server 4.0.3, although I'm not 100% sure that didn't exist under 4.0 as well, and if this is the problem I'm not sure what to try to fix it.
    I'm already aware of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel needing to be at least 3 (or non-existent, so it defaults to 3 on Win7) to work with Yosemite; these clients already have that registry key set. Suggestions?

    Addendum:  I just realized that the Windows users *can* see their own home folder when they connect to the server without the main share I'm trying to mount specified.  So it's not that they're completely unable to connect, it's just that the server isn't offering them any of the main share when they do.
    When I tried mounting the server from 10.6 manually forcing SMB (with an admin user, no less), I got the same thing--just my user folder, none of the main shared volumes...

  • Accessing server side EJB directly using remote applet

    Hello, I have some EJB's running on a sun app server and would like them to be invoked directly, if possible, by a remote applet (obviously it would be delivered from my app server). At the moment I am simply testing them using an application client returned by Deploytool.
    I am wondering how difficult this will be, particularly how the applet would look up the beans (is the Context setup similar etc.?) and whether there is a huge difference between the applet code and the app client I have been using.

    I suspected that was the issue - no way for the local system to know when to route to VPN or local.
    Problem with changing the network ranges is often the client network is not something I control - 'client' offices, wireless hotspots, hotels, etc.
    Changing the server network while not impossible would be difficult as everything from printers, servers, network switches, not to mention how X Server so easily allows changing it's primary IP, are effected.
    I can certain test that this is my only problem by reconfig'g my home setup.
    I'm guessing a simpler and more flexible option in my case is creating a 10.0.2.x (VPN only) network internally adding an alias IPs to my XServe and other servers/boxes I would need to access from VPN (which would dish out 10.0.2 client numbers instad of 10.0.1 numbers). The only tricky part is name resolution, but since I control the DNS server and search names handed to the client, I could create a vpn.ourdomain.com and that could be the primary search domain, where all the records for VPN resources would return their 10.0.2.x. Client systems would/should be referencing resources by short name (hp8150).
    Does that make sense - a VPN network on top the existing server network?
    XServe Dual G4

  • Leopard trying to connect to missing server

    I updated my MacBook Pro from Tiger to Leopard some time ago with no serious problems using Archive & Install.
    Just recently our home network had to be reconfigured with a different IP range. Now, whenever I log into my MacBook Pro I get an error that a server can not be found. This only happens with my account on the MMP.
    I probably had set the MBP up in Tiger to connect to one of our home file servers by IP address instead of name, and the settings were migrated from Tiger to Leopard. The problem is I can not figure out how to stop it from trying to connect - or for that matter what it's trying to connect to since the alert does not specify what server it cannot connect to. I can not find any error in the Console that I can understand as this "can not connect" alert.
    I have removed the two network shares from my account's Login Items but the error still comes up when I log in. I deleted all Recent Servers. I searched online and could not find a reference to this issue, though I found mention of a /Mounts/ folder - which I do not have, and an /automount folder which I as the administrator do not have access to. There's nothing in my account's LaunchAgents folder...
    I think Tiger did automounting differently from how Leopard does it, so the setting may have been migrated to a setting that does not exist in Leopard, but I have no idea where that may be. I did a search on my HD for any content with the network's old iP range, but found nothing.
    I'm stymied. It's not an earth-shaking issue - the alert can be dismised - but I'd like to know how to fix it.

    Its a while since I used the software but I seem to recall it can register the client in active directory, hence the network admin password. This would be typed in by a Windows Network admin not by the user and only required the once.
    Anyway there is evaluation email support so they can answer questions about their software much better than I can. Be interesting to confirm if it will do the job.
    Just seen the post from Halmat, this would confirm what I thought. Please contact Thursby I am sure it can be sorted.
    regards

  • SQL Server 2005 replaced with SQL Server 2014 trying to connect front end Access as guest (read only ODBC)

    We have replaced a SQL Server 2005 with a SQL Server 2014 (new physical server.)  Have the new server set up to use SQL Server login OR Windows user login. Had old server connecting (for a particular DB) to front end Access (2010 or 2013) as guest for
    anyone logged into the Windows NT Network with a read only ODBC connection. Have the DB in the new server set to include guest as db_datareader (with only SELECT permission for the securables of each table and view being linked) but when any Windows user not
    specifically listed as a SQL DB user tries to use the front end they get an error of:
    Microsoft SQL Server Login
    Connection failed:
    SQL State: '28000'
    SQL Server Error: 18456
    [Microsoft][OCBC SQL Server Driver][SQL Server] Login failed for user {domain\user}.
    After closing that pop-up window a server login window appears. Of course, since the guest user is not specifically listed as a user in the DB that fails also. It seems like there should be a very simple solution to this, but I can't seem to find it. I want
    to allow anyone logged in on the Windows system (locally) to be able to open the MS Access file (on their work station machine) and run their own (read only; select) queries on the SQL Server database. Any suggestions?
    Thanks a billion in advance ----

    Thanks for the response Olaf. I have now spent weeks researching this. I realize that using the guest account in most situations is not advised. As mentioned, I have restricted the guest account to allow the db_datareader role only, and have explicitly denied
    all other roles, as well as allowing select only, and still have no access for the guest account.
    The suggested fix in the second link you provided, of using Windows groups is not plausible for my situation either. We are a scientific field research institution, with a few long term users and lots of users that may have Windows accounts for a few months,
    and then they are gone. It would be a nightmare for the network tech to try to keep a group account up to date, and we need to give access (read only, of course) to anyone logged into the system. Realize that the ONLY access of any kind to this database is
    thru MS Access ACCDB, using a (by default) read only OCDB connection.
    This type of access is used particularly because researchers need to be able to set up their own queries, and the MS Access query interface is particularly convenient for people who are not themselves SQL experts, yet are trying to get some very advanced
    levels of output. Putting the database online is not practical because then we are back to the need for a comprehensive query interface, and just picking up general subsets of the data online (from a basic web page search feature) would be out of the question,
    since the result set would involve hundreds of thousands if not millions of records.
    So - that said - what exactly would you suggest, assuming we don't have the funds to buy a whole new system, and have spent plenty of money with Microsoft's Enterprise level MS Office so that all work stations have MS Access, and Microsoft's SQL Server,
    as well as running our network on Microsoft's network software.

  • [SOLVED] vsftpd suddenly gives 550 on trying to connect locally

    Yesterday I could access my PC's vsftpd server just fine from my phone via wifi.
    Today the 2 ftp clients I tried on my (android) phone both give error 550 permission denied.
    I tried restarting my pc and the service, but it didn't help.
    I didn't change anything on vsftpd configuration, so why it suddenly no longer works?
    The only thing I did was some pacman -Suy update.
    Since it's in the same local network, I use active mode to connect. I didn't change any configuration in my android ftp client either of course. And trying to connect passively of course doesn't work either.
    Here is my vsftpd.conf:
    anonymous_enable=NO
    local_enable=YES
    guest_enable=YES
    guest_username=virtual
    virtual_use_local_privs=YES
    local_root=/home/virtual/$USER
    user_sub_token=$USER
    allow_writeable_chroot=YES
    check_shell=NO
    write_enable=YES
    local_umask=71
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=NO
    chown_uploads=YES
    chown_username=mirage
    nopriv_user=virtual
    ftpd_banner=Welcome!
    chroot_local_user=YES
    chroot_list_enable=YES
    chroot_list_file=/etc/vsftpd.chroot_list
    listen=YES
    local_max_rate=1000000 # Maximum data transfer rate in bytes per second
    max_clients=4 # Maximum number of clients that may be connected
    max_per_ip=3 # Maximum connections per IP
    listen_port=1921
    pasv_addr_resolve=YES
    pasv_address=my.dyndns.com
    pasv_min_port=41921
    pasv_max_port=47921
    pasv_enable=YES
    port_enable=YES
    setproctitle_enable=YES
    cmds_allowed=ABOR,APPE,CWD,DELE,HELP,LIST,MDTM,MKD,NLST,PASS,PASV,PWD,QUIT,RETR,RMD,RNFR,RNTO,SIZE,STOR,TYPE,USER,LS,CDUP
    The only lines that are shown in /var/log/vsftpd.log are:
    Tue Jul 8 16:42:04 2014 [pid 2] CONNECT: Client "192.168.1.22"
    Tue Jul 8 16:42:04 2014 [pid 1] [mirage] OK LOGIN: Client "192.168.1.22"
    Edit: It seems the 550 permission denied only happens when the client is in the same local network, as with my phone.
    I tried to connect from the internet and that actually worked. So the problem is that vsftpd doesn't accept "local" connections anymore it seems, although I have local_enable=YES.
    Last edited by mir91 (2014-07-23 15:50:13)

    Ok, I actually fixed it.
    It was due to a
    cmds_allowed=...
    line. Apparently vsftpd will BLACKLIST all commands that are NOT in this list, if and only if this line exists in the config file!
    After adding PORT,LPRT and SYST to it, everything was ok.
    Last edited by mir91 (2014-07-23 15:49:57)

  • I have a tesco router and an external hard drive attached to it as a network drive (shared) for my macbook and MB-Air. Have no problems with my MB accessing it, but with MB-AIR it says -  'the version of the server you are trying to connect to is not supp

    I have a tesco router and an external hard drive attached to it as a network drive (shared) for my macbook and MB-Air. Have no problems with my MB accessing it, but with MB-AIR it says -  'the version of the server you are trying to connect to is not supported. pls contact your system administrator to resolve the problem'. MB-Air uses maverick downloaded yesterday - upgrade from mountain lion. MB uses snow leopard still, as i am quite used to it and am thinking of upgrade if mavericks work fine on air. Also have parallel on snow leopard but it is no longer supported according to mac website - if i upgrade am i going to lose my parallel and will have to buy a new one!!!

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • HT1212 my i phone screen is black  i cannot access anything. i am trying to get my photos off of it and when i connect to i tunes it says my phone has a passcode which i cannot enter because my phone is black

    my i phone screen is black  i cannot access anything. i am trying to get my photos off of it and when i connect to i tunes it says my phone has a passcode which i cannot enter because my phone is black

    It's too late. If you had been syncing your phone with that computer prior to the screen failing, it wouldn't be asking you for a passcode...

  • While trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    while trying to access my local network I get the message..."The page could not be opened because server cannot be found."  This, after updating to Yosemite and paying (again) for the server app.

    It's absolutley scandalous that a company with Apple's resources can let this happen.  They should have staggered the release by region rather than opening the flood gates.  The upgrade itself took me about 10 attempts to download it, and then I thought I was home free.  That was until it rebooted and won't activate.  It's over 2 hours now.
    Scandalous!

  • I'm trying to connect to my work's VPN.  I am connected to the VPN, but I cannot access the server. I keep getting a message that says the server may not exist or is unavailable.  I know that's not the case because my coworkers are connected. Can someone

    I'm trying to connect to my work's VPN.  I am connected to the VPN, but I cannot access the server. I keep getting a message that says the server may not exist or is unavailable.  I know that’s not the case because my coworkers are connected. Can someone please help me? 

    I have the same problem. It is only with tv shows and only with programs I have downloaded after the software update.
    Apple support sent me the above link too....but it doesn't solve the problem...my computer is authorized and the content is in my library and will play on my Mac air, but it will not sync the tv shows, it keeps saying my computer isn't authorized for it.
    No answers here, but you are definitely not alone with this issue.

  • HT204053 I have come across following error when accessing my icloud account " icloud encountered an error while trying to connect to the server" please help...

    Please help with below error...
    I have been trying to access my icloud account in laptop with windows 7 operating, but I couldn't able to log in to icloud which show following error " icloud encountered an error while trying to connect to the server".
    I have icloud icloud control panel.
    But I can access my same icloud account in another laptop with windows xp operating.

    My recommendation is to download Apple’s Safari version 5.1.7 for Windows to access iCloud.com. It consistently works for me!!!! To make things easier with Safari, I made iCloud.com its Homepage. I’m using it to access iCloud.com from all of my PCs.
    On my Windows 7 systems it appears that some add-ons are causing problems when you try to access iCloud.com with the 32-bit version of IE9, but the 64-bit version seems to work fine, more than likely because there are few add-ons that are 64-bit and the 64-bit version of IE9 can't be the default browser in Windows 7.

  • Whenever I open ITunes it automatically tries to connect to the store. It does not connect but freezes iTunes so I can't access my own music. Help.

    Whenever I open iTunes it automatically tries to connect to the itunes store. But it cannot connect and it freezes evrything so I cannot listen to or access my music. What is wrong?

    post in the iTunes for Mac forum.

  • Access denied when trying to connect client cd rom to vm

    Hey guys,
    One of my users is using the client to build a vm, tries to connect their cdrom using the client and gets access denied.  What is the minimum permissions needed to be able to connect a remote physical cd rom to a vm?  VC 2.5, esx 3.0, I believe they currently have virtual machine power user role on the object.
    Respectfully,
    Matthew
    Kaizen!

    Hey Guys,
    I think there is something else going on here Probably not permissions or roles, maybe a service needs restarting?  The user gets the following error:
    Exception of type Vmomi.fault.no permission' was thrown
    Ideas?
    Respectfully,
    Matthew
    Kaizen!

Maybe you are looking for