NullPointerException while connecting through HTTPUrlConnection with JavaUpdate 51

  Hi,
My java version is
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
I have a server/Device having untrusted certificate. When i connect to this device using HttpURLConnection its throwing null pointer exception as below.
The update51 has introduced many security things, but i belive it should pop-up a dialogue for the untrusted certificate not the NPException. Seems like a clear bug in Oracle java update51. I have created a bug in bugs.sun.com but i dont see my bug id is visible in their bug database.
Steps to reproduce.
----------------------------------------------- Start----------------------------------------
package com.xyz;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class Test {
    public static void main(String[] args) throws IOException {
        TrustManager.installDeployTrustManager();  // We are using "com.sun.deploy.security.X509Extended7DeployTrustManager".
        URL url = new URL("https://hostname/admin/version.xml");
        HttpURLConnection conn = (HttpURLConnection) url.openConnection();
       BufferedReader br =
             new BufferedReader(
                     new InputStreamReader(conn.getInputStream()));
     String input;
     while ((input = br.readLine()) != null){
        System.out.println(input);
---------------------------End of code snippet----------------------
replace the URL with your server Ip address which is having untrusted certificate. or change your PC time to feb 2015 and give the google ip address in the URL.
I see the following exception.
--------------------------------Start of the exception--------------------
java.lang.NullPointerException
    at com.sun.deploy.security.DeployManifestChecker.printWarningsIfRequired(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.doShowDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.TrustDeciderDialog.showDialog(Unknown Source)
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.cisco.launcher.Test.main(Test.java:17)
Exception in thread "main" javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Java couldn't trust Server
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
    at com.xyz.Test.main(Test.java:17)
Caused by: java.security.cert.CertificateException: Java couldn't trust Server
    at com.sun.deploy.security.X509Extended7DeployTrustManager.checkServerTrusted(Unknown Source)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
    ... 12 more
-------------------------------------------------End-------------------------------------------
Further note:
i see the doShowDialog() function in com.sun.deploy.security.TrustDeciderDialog has a new call to printWarningsIfRequired in DeployManifestChecker class.
static void printWarningsIfRequired(URL paramURL, AppInfo paramAppInfo)
    String str1 = (String)ToolkitStore.get().getAppContext().get("deploy-" + paramURL);
    Resource localResource = ResourceProvider.get().getCachedResource(paramURL, str1);
/// But here the str1 itself null or the Map doesnt have any key called "deploy-" + paramURL. So i guess its failing there.
In my opinion the call to this function should be available only incase of a webstart and not for the standalone applications.

I get the same error and try to turn off hostname verification by using the option :
-Dweblogic.security.SSL.ignoreHostnameVerification=true
but it does not seem to take this option. But wl 8.1 sp2 works. It starts fail to work since 8.1 sp3. I am looking for a solution as well. Any help would be appreciated.

Similar Messages

  • Problems sharing internet connection through Airport with a PS3

    Does anybody know how to share an internet connection wirelessly with a PS3? I've tried everything including following directions from the tech support people from both Sony and my ISP (Verizon) and nothing works. Last time I've talked to Verizon I've obtained a IP number from them as Sony recommended and that did not work either. Is anybody out there with a PS3 sharing the internet connection through Airport successfully? I'd really appreciate any help. Thanks.!!
    Message was edited by: pbranda

    Let's double-check your Mac's Internet Sharing settings ...
    To setup for Internet Sharing (Wired to Wireless):
    Setup the Network
    Cable Modem > (Ethernet cable) > \[Ethernet port] Mac > (wireless) > PS3
    Enable Software Firewall
    System Preferences > Security > Firewall
    o Block all incoming connections (enabled)
    Enable Internet Sharing
    System Preferences > Sharing
    o Select "Internet Sharing" from the options in the left column
    o Share your connection from: Built-in Ethernet
    o To computers using: AirPort (checked) (Note: Uncheck all other entries in the list.)
    AirPort Options...
    o Network Name: <anything you want>
    o Channel: Automatic
    o Enable encryption (using WEP) (optional)
    o Password: (optional)
    o Confirm Password: (optional)
    o WEP Key Length: (optional)
    o Click OK
    o Select "Internet Sharing" again
    o Click "Start" to start Internet Sharing
    o Click Start

  • Getting error ORA-12705, while connecting through Sql*Plus?

    Hi TOM,
    While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
    How to re-solve this one?
    Thanks & Regards,
    Senthil K Kumar.

    Maran,
    check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
    Nicolas.

  • Problem while connecting through ldap console

    hi ,
    we have our directory server 5.2 sp4 on red hat linux 4.
    i am able to connect through ldap broswer and ldapsearch is working but when i mtrying to connect through console it is saying as incorrect password or directory problem.i m not able to figure out what can be the problem. any help is appreciated.
    Thanks
    Message was edited by:
    ap7926

    yes admin server is up and here is the log
    - Sun Java(TM) System Directory Server/5.2_Patch_4 B2005.230.0415 (32-bit) starting up
    [18/Aug/2007:09:55:11 -0400] - Listening on all interfaces port 389 for LDAP requests
    [18/Aug/2007:09:55:11 -0400] - slapd started.
    [18/Aug/2007:09:55:11 -0400] - INFO: 100 entries in the directory database.
    [18/Aug/2007:09:55:11 -0400] - INFO: add:0, modify:0, modrdn:0, search:0, delete:0, compare:0, bind:0 since startup.
    and here is log from access
    conn=37 op=-1 msgId=-1 - fd=30 slot=30 LDAP connection from 192.168.1.43 to 192.168.1.4
    conn=37 op=-1 msgId=-1 - closing - B1
    conn=37 op=-1 msgId=-1 - closed.

  • Share internet connection through iMac with Time Capsule

    I have a scenario at work where I need to temporarily set another router as the DHCP server. I have a customer who has a typical office setup. They have an iMac which is plugged into a time capsule (TC). A network printer is also plugged into the same time capsule. I have had to move the WAN modem to where the wifi router is located in another room. The office needs to be able to connect to the new WIFI network while still having the network printer work. If I setup TC to "join another network" and put into bridge mode, I can no longer communicate with network printer. Can I choose "share internet" in OSX system preferences> Sharing on iMac, connect wirelessly through iMac and have TC function as a simple network switch somehow while being able to communicate with printer.
    Thanks

    jdmein wrote:
    First, before I get into too much detail: Is it even possible to set up a WPA2 network directly from the iMac without a separate router?
    Welcome to Apple's discussion groups.
    Despite the fact that WPA2 encryption has existed for years, Apple hasn't seen fit to include that option in its "Internet sharing" feature.

  • Error while connection through DDIC

    Hi
    WE are installing the NW2004 (ABAP +JAVA) on MNAXDB.
    While installing the ABAP dtabase instance we get the following error
    SAPINST cannot to SAP h system with user DDIC bcos password has changed
    But if we see the 
    rfc217294_00001.trc
    >TS> Thu Jul  5 16:29:45 2007
    resize I/O buffer to 16000 bytes
    >>>> [11] <unknown>    : EXT  <ac: 31> L ctsaix05 >>> OPEN  
    UUID: ab_drvstate create uuid {468D1523-1518-001A-0200-00008948E582}
    Error in program 'sapinstexe': ======> Connect to SAP gateway failed
    Connect_PM  GWHOST=ctsaix05, GWSERV=sapgw02, ASHOST=ctsaix05, SYSNR=02
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 137.72.229.130, service 3302)
    TIME        Thu Jul  5 16:29:45 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8642
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       79
    ERRNO TEXT  Connection refused
    COUNTER     11
    >>>> [11] <unknown>    : EXT  <ac: 32> L ctsaix05 >>> CLOSE abrfcio_mt.c 573 
      -{468D1523-1518-001A-0200-00008948E582}
    >>> RfcOpenEx ...
    Got following connect_param string:
       ASHOST=ctsaix05 CLIENT=000 LANG=EN LCHECK=1 PASSWD=******* PCS=1 SYSNR=02 TRACE=1 USER=DDIC
    >>>> [11] <unknown>    : EXT  <ac: 33> L ctsaix05 >>> FREE abrfcio_mt.c 3634 
      -{468D1523-1518-001A-0200-00008948E582}
    Trace file opened at 20070705 162945 , SAP-REL 640,0,118 RFC-VER 3 817057 MT-SL
    <<< RfcOpenEx failed
    I have started the sap server using the startsap command
    Best regards
    Manoj

    i tried no suceess
    Is it really a password issue.
    Boce if i set the rfc trace i get the folloiwng
    vi rfc217204_00001.trc
    "rfc217204_00001.trc" 145 lines, 4899 characters
    Trace file opened at 20070709 102510 , SAP-REL 640,0,118 RFC-VER 3 817057 MT-SL
    resize I/O buffer to 16000 bytes
    >>>> [1] <unknown>    : EXT  <ac: 1> L ctsaix05 >>> OPEN
    UUID: ab_drvstate create uuid {46920D07-0D06-001A-0200-00008948E582}
    Error in program 'sapinstexe': ======> Connect to SAP gateway failed
    Connect_PM  GWHOST=ctsaix05, GWSERV=sapgw02, ASHOST=ctsaix05, SYSNR=02
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 137.72.229.130, service 3302)
    TIME        Mon Jul  9 10:25:10 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r_mt.cpp
    LINE        8651
    DETAIL      NiPConnect
    SYSTEM CALL connect
    ERRNO       79
    ERRNO TEXT  Connection refused
    COUNTER     1
    >>>> [1] <unknown>    : EXT  <ac: 2> L ctsaix05 >>> CLOSE abrfcio_mt.c 573
      -{46920D07-0D06-001A-0200-00008948E582}
    >>> RfcOpenEx ...
    Got following connect_param string:
       ASHOST=ctsaix05 CLIENT=000 LANG=EN LCHECK=1 PASSWD=******* PCS=1 SYSNR=02 TRACE=1 USER=DDIC
    >>>> [1] <unknown>    : EXT  <ac: 3> L ctsaix05 >>> FREE abrfcio_mt.c 3634
      -{46920D07-0D06-001A-0200-00008948E582}
    Trace file opened at 20070709 102510 , SAP-REL 640,0,118 RFC-VER 3 817057 MT-SL
    :$
    ERRNO       79
    ERRNO TEXT  Connection refused
    COUNTER     4
    >>>> [4] <unknown>    : EXT  <ac: 11> L ctsaix05 >>> CLOSE abrfcio_mt.c 573
      -{46920D0A-0D06-001A-0200-00008948E582}
    >>> RfcOpenEx ...
    Got following connect_param string:
       ASHOST=ctsaix05 CLIENT=000 LANG=EN LCHECK=1 PASSWD=******* PCS=1 SYSNR=02 TRACE=1 USER=DDIC
    >>>> [4] <unknown>    : EXT  <ac: 12> L ctsaix05 >>> FREE abrfcio_mt.c 3634
      -{46920D0A-0D06-001A-0200-00008948E582}
    Trace file opened at 20070709 111251 , SAP-REL 640,0,118 RFC-VER 3 817057 MT-SL
    <<< RfcOpenEx failed
    Its getting connection refused error.
    I have startred all the servcie.
    Is there any servcie i am missing to start for DDIC.
    Best Regards
    Manoj

  • DPS 6.3.1.1 - Issues while connecting through SSL

    Hello !!
    I have a issue where my application client reported that they are unable to connect to the LDAP using SSL. Where as everything works fine in LDAP (non secured)
    This is how our deployment looks.
    Clients <=> Load Balancer <=> DPS (2 instance) <=> DS (2 masters)
    The DPS is configured with DSP (data source pool) (with proportional algorithm of 50:50 to backend data sources). Client Affinity ("read-write-affinity-after-any") is configured for this DSP. The DSP is attached with 2 data sources.
    So when the client connected in a secured port using LDAPS, they are unable to authenticate/search against this environment. No issues were found in DS logs for any of the bind/search requests. But in DPS, we noticed below log which i want to get clarification on.
    Note: I have removed the hostnames/Ip where ever applicable from the logs.
    =====================================================
    [04/May/2011:12:24:39 -0400] - PROFILE - INFO - conn=1255260 assigned to connection handler cn=default connection handler, cn=connection handlers,cn=config
    [04/May/2011:12:24:39 -0400] - CONNECT - INFO - conn=1255260 client=x.x.x.x:52461 server=x.x.x.x:636 protocol=LDAPS
    [04/May/2011:12:24:39 -0400] - OPERATION - INFO - conn=1255260 op=0 BIND dn="uid=app_id,ou=applications,dc=example,dc=com" method="SIMPLE" version=3
    [04/May/2011:12:24:39 -0400] - SERVER_OP - INFO - conn=1255260 op=0 BIND dn="uid=app_id,ou=Applications,dc=example,dc=com" method="SIMPLE" version=3 s_msgid=3 s_conn=ds_Master2:26560
    [04/May/2011:12:24:39 -0400] - SERVER_OP - INFO - conn=1255260 op=0 BIND RESPONSE err=0 msg="" s_conn=ds_Master2:26560
    [04/May/2011:12:24:39 -0400] - PROFILE - INFO - conn=1255260 assigned to connection handler cn=CH_ENV_catch-all_LDAPS,cn=connection handlers,cn=config
    [04/May/2011:12:24:39 -0400] - OPERATION - INFO - conn=1255260 op=0 BIND RESPONSE err=0 msg="" etime=0
    [04/May/2011:12:24:39 -0400] - OPERATION - INFO - conn=1255260 op=1 msgid=2 SEARCH base="ou=people,dc=example,dc=com" scope=2 filter="(uid=abcdef)" attrs="*"
    [04/May/2011:12:24:39 -0400] - SERVER_OP - INFO - conn=1255260 op=1 SEARCH base="ou=people,dc=example,dc=com" scope=2 filter="(uid=abcdef)" attrs="*" s_msgid=498 s_conn=ds_Master1:26072
    [04/May/2011:12:24:39 -0400] - SERVER_OP - INFO - conn=1255260 op=1 SEARCH RESPONSE err=0 msg="" nentries=0 s_conn=ds_Master1:26072
    [04/May/2011:12:24:39 -0400] - OPERATION - INFO - conn=1255260 op=1 SEARCH RESPONSE err=0 msg="" nentries=0 etime=0
    *[04/May/2011:12:24:39 -0400] - DISCONNECT - INFO - conn=1255260 reason="other" msg="Exception caught while polling client connection LDAPS.x.x.x.x.52461 -- javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?"*
    =======================================================
    If noticed in the above logs, the initial Bind request via LDAPS is routed to Master 2. But the susequent search request (for user abcdef) is routed to Master 1.
    And finally the DISCONNECT operation came (last line) without a proper unbind.
    Is this alternate routing a expected behavior when client affinity is turned ON ? Is this exception causing the application's search failures ?
    Please shed some pointers on this..
    Thanks.
    Edited by: Prasee on May 6, 2011 8:07 AM

    Pls see inside:
    Thanks for the reply. Yes the client is a loadbalancer in this case. So does it mean that this behavior (sending request to 2 different DS in a same connection) is expected ? I have few additional queries that arise from your reply :-)
    Loadbalancing algorithm takes precedence "if the request that starts client affinity has not yet occurred"
    Since its the load balancer that connects to DPS for any/every request every time., How do the DPS know whether a request that starts client affinity has occurred / not occurred ?Well, client affinity starts with a certain operation (not by establishing the client<->dps connection) as specified by your client affinity policy. In your case ("client-affinity-policy:read-write-affinity-after-any") it starts for all operations after the first read or write operation. DPS is not a (network) connection based router - so it does not route the client connection to the data source but forwards the client operations (request) on dedicated bind,read,write,.. connections to a data source selected by your load balancing and/or client affinity policy.
    In our case, Its the same connection (conn=1255260) that receives bind and search request from the client. So when a connection is established, the client affinity should have got enabled and sent the bind request to Master 2 initially, so for the next search request, shouldn't it be sent to Master 2 again ?No, see above.
    >
    Sorry for these questions, I am basically trying to understand more on how client affinity works when a load balancer is in between.
    Coming to the exception,
    [04/May/2011:12:24:39 -0400] - DISCONNECT - INFO - conn=1255260 reason="other" msg="Exception caught while polling client connection LDAPS.x.x.x.x.52461 -- javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?"
    Does this abrupt shutdown of connection means the search response would have got dropped before reaching the end client (application) ?Yes, that may be possible ...
    >
    Thanks for your help !!

  • Connection error while connecting to engine with names

    hi
    Due to DR setup one of our DEVLPMNT server are moved to different site and it's IP got changed.
    Both IP and system name are working for connecting to the engine, but if we try to connect from local through SSMS it is connecting only with IP and it is throwing error when we are using instance name.
    ->Two instances are there in server, both engines can be connected by using IP or INSTANCE NAME in server
    could please some one help me in this
    with regards,
    ram

    Sounds more likely to be a DNS issue than a SQL issue?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error while connecting through DB adapter in ESB

    ESB is getting data from siebel , but while sending to database through DB adapter , it gets the following error
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/temp_DeTokenizedSource_MeruGenericUpdateSubscriberESB_vtmwapcl.vlink.in/genericUpdateOracleARCustomer_DbAdp.wsdl [ genericUpdateOracleARCustomer_DbAdp_ptt::genericUpdateOracleARCustomer_DbAdp(InputParameters) ] - WSIF JCA Execute of operation 'genericUpdateOracleARCustomer_DbAdp' failed due to: Error while trying to prepare and execute an API. An error occurred while preparing and executing the XMERU.XMERU_CUST_INT_PKG.XMERU_CUST_INT_PROC API. Cause: java.sql.SQLException: ORA-20001: XMERU_CUSTOMER_API => Processing for Customer : Statement No : 13 Unhandled Oracle Exception Occured at 13-ORA-20001: XMERU_CUSTOMER_API => Processing for Customer : Statement No : 13 Unhandled Oracle Exception Occured at 13-ORA-20001: XMERU_CUSTOMER_API => Processing for Customer : Statement No : 13 Unhandled Oracle Exception Occured at 13 -ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at "XMERU.XMERU_UTIL_PKG", line 652 ORA-06512: at "XMERU.XMERU_CUST_INT_PKG", line 1122 ORA-06512: at line 1 ; nested exception is: ORABPEL-11811 Error while trying to prepare and execute an API. An error occurred while preparing and executing the XMERU.XMERU_CUST_INT_PKG.XMERU_CUST_INT_PROC API. Cause: java.sql.SQLException: ORA-20001: XMERU_CUSTOMER_API => Processing for Customer : Statement No : 13 Unhandled Oracle Exception Occured at 13-ORA-20001: XMERU_CUSTOMER_API => Processing for Customer : Statement No : 13 Unhandled Oracle Exception Occured at 13-ORA-20001: XMERU_CUSTOMER_API => Processing for Customer : Statement No : 13 Unhandled Oracle Exception Occured at 13 -ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at "XMERU.XMERU_UTIL_PKG", line 652 ORA-06512: at "XMERU.XMERU_CUST_INT_PKG", line 1122 ORA-06512: at line 1 Check to ensure that the API is defined in the database and that

    ORA 06508 PL/SQ could not find program unit being called  in the BPEL
    Regards,
    Anuj

  • Problem connecting through RFC with fully qualified domain name

    I am using the .NET Connector and RFC to call a BAPI
    I use a fully qualified domain name in the form <DOMAIN>\<HOST>
    The RFC seems to have problems with this form of address. It produces the following execption in my .NET code.
    SAP.Connector.RfcCommunicationException: Connect to SAP gateway failed
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'DOCUNET_AG\DWSAP' unknown
    TIME        Mon Feb 05 11:57:20 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        329
    DETAIL      NiPGetHostByName2: hostname 'DOCUNET_AG\DWSAP' not found
    SYSTEM CALL gethostbyname_r
    ERRNO       11004
    ERRNO TEXT  WSANO_DATA: Valid name,
       at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo
    , Encoding encoding, String languangeCode)
       at SAP.Connector.SAPConnection.Open()
    What can I do that I am able to use a fully qualifies domain name in this way?
    Thank you very much for your answers.
    Mirco

    Hi Mirco,
    additional to my first reply, open a shell window and type
    <b>
    ping <computername>
    </b>
    or
    <b>
    ping -a <ipaddress>
    </b>
    so you should get the full qualified name for the host.
    Regards
    Holger

  • Insufficient Privileges While Connected Through SYS.

    Hi,
    I came across following strang error while starting database as SYS.
    SQL>conn sys/pwd as sysdba
    Connected to Idle instance.
    SQL> startup
    ORA-01031 insufficient privileges.
    How come this insufficient privileges?
    Thanks.

    What's your OS platform?
    Windows Troubleshooting:
    - Verify yor user belongs to the ORA_DBA Oracle privileged group. If you are a domain authenticated user, ask your Windows Adminitrator to add your user to the previously mentioned group.
    - Make sure your sqlnet.ora file has this line: SQLNET.AUTHENTICATION_SERVICES= (NTS)
    Unix Like Troubleshooting:
    - Make sure your user belongs to the dba (or equivalent defined at install time) Oracle privileged group.
    Failing to do so, will unavoidably require you to provide SYS password at connect time.

  • Error Message while connecting Crystal reports with SAP CRM

    Hello Friends,
    I am able to establish a connection with Crystal Reports with SAP CRM but after that i get a error Function module "Crystal/Get_ODS_field_Info "not found & Database connection error RFC/invalid/ handle".
    Please advice how to solve this.
    Regards
    Swati

    Hi,
    You need to have the BusinessObjects Integration Kit for SAP. Integration Kit provides the database drivers and other features for reporting off SAP,to access sap objects into BO or Crystal Reports
    Link to download the useru2019s Guide:
    Please go to Http://help.sap.com
    Click on BusinessObjects tab
    Select the product as Integration Kit for SAP
    User guide: BusinessObjects Integration Kit for SAP Useru2019s Guide.
    It will list all the documents for Integration Kit for SAP which will be helpful to you.
    Also if you have any other questions around the SAP Integration Kit for Crystal Reports I recommend to post this query to the Integration Kits - SAP forumThis forum is dedicated to topics related to the BusinessObjects Integration Kit for SAP.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all SAP Kit queries remain in one place and thus can be easily searched in one place.
    you can download the complete documentation from the following link :
    http://support.businessobjects.com/documentation/product_guides/
    Choose "BusinessObjects XI Release 2" for the version and "Integration Kit for SAP" for the Product
    http://www.businessobjects.com/solutions/sap/default.asp
    Also Search ->Expert Forums->Business Objects-->Crystal Reports design
    Regards
    CSM Reddy

  • Running dbca while connecting through vpn

    I am working form home, when ran dbca or any other xwindow apps , its took forever....I am wondering what could be the case, should i request my network admin to provide more network speed ...any suggestion is appreciated........
    I have 10g RAC project coming in soon and need to use dbca , netca heavenly.....

    One method we've used is to have a client workstation available, which we 'take over' with remote desktop connection. The graphics are then between the servers and that client desktop (it's also good because if you lost your vpn connection, the connection between the client and server still persists.)
    If you are using dial-up - hang up and call a cable company for installation.

  • Error While Connecting through RMI

    Hi,
    I am getting the following error when connecting to the server through RMI.This problem is occurring only in Linux and when connecting remotely.In windows we are able to succeed and if both server and client in the same machine able to connect.The problem persists when connecting to the server remotely in Linux.
    Caused by: java.rmi.NoSuchObjectException: no such object in table
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 42)
    Can anybody please help me regarding this.
    Thanks in advance,
    Thanks & Regards,
    Jyothi.

    The remote object has been unexported, probably via DGC action. The solution is to hold a static reference to it in the server JVM.

  • IPod Touch Connecting Through Airport with Access Control

    Assistance requested.
    I want to connect my iPod Touch to my Airport wireless network. I have access controlled to my wireless network so that only devices with an Airport ID specified in the Airport configuration may connect to my wireless network.
    Does the iPod Touch have an Airport ID that I can enter into my Airport configuration? I realy do not want to make my wireless network open to anyone.
    Thank you,
    Doug

    Sorry,
    Thank you for the contribution. I found my own answer with some searching on the iPod. This was my solution in case somebody else is having a similar problem.
    Required address (Airport ID) of the iPod was found as follows:
    Settings
    General
    About
    Wi-Fi Address
    Added the Wi-Fi Address to my Airport Access Control List.
    On the iPod performed the following:
    Settings
    Wi-Fi
    Choose Another Network
    Typed in the wireless network name (case-sensitive)
    Selected the proper security protocall
    Typed in the password to access my Airport Network
    Click Join
    Problems connecting were resolved and my network remained closed to people not pre-approved to access it.

Maybe you are looking for