Error while connecting to DB2 7.2 from a servlet

Hello!
I am trying to access DB2 from a Java servlet. This causes an error -
"The instruction at 0x0040b9f8 referenced memory at 0x00000001. The memory could not be read." and
"COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0617E Error closing socket. SQLSTATE=08S01"
But I am able to connect successfully from a command-line Java program.
Any ideas?
Thanks.
Deepa

I had installed DB2 under the Program Files folder (C:\Program Files\SQLLIB). The space in the name was causing the problem.
I re-installed DB2(C:\SQLLIB) and this fixed it.

Similar Messages

  • Error while connecting to an OData Feed from Excel 2013 PowerPivot . Error: Failed to connect to the server. Reason: The payload kind 'BinaryValue' of the given data feed is not supported

    I am trying to connect to a Odata Data feed from Excel 2013 Power Pivot
    The datasource is in sharepoint site eg: https://sitename/Shared%20Documents/datafeed.atomsvc
    getting below error
    Error message:
    Failed to connect to the server. Reason: The payload kind 'BinaryValue' of the given data feed is not supported.
    ============================
    Call Stack:
    ============================
       at Microsoft.Data.DataFeedClient.DataFeedODataReader.ValidatePayloadKind(ODataPayloadKind payloadKind, ODataMessageReader odataMessageReader)
       at Microsoft.Data.DataFeedClient.DataFeedODataReader.InterceptODataException(Action action)
       at Microsoft.Data.DataFeedClient.DataFeedODataReader..ctor(IODataResponseMessage responseMessage, Int64 maxReceivedMessageSize)
       at Microsoft.Data.DataFeedClient.DataFeedODataReader.CreateReader(IWebResponse webResponse, Int64 maxReceivedMessageSize, Boolean applySlashUpdatingBaseUriResolver)
       at Microsoft.Data.DataFeedClient.ODataHelper.GetCollectionsFromServiceDocumentUrl(Uri serviceDocumentUrl, DataFeedConnection connection)
       at Microsoft.Data.DataFeedClient.DataFeedConnection.Open()
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open(String& connectionIdentifier)
       at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open()
       at Microsoft.AnalysisServices.Common.DataSourceBasic.ClickTestConnection(Object progressControl)
    Appreciate suggestions/answers
    NOTE: The error is showing only while using Excel 2013 powerpivot
    its working good with Excel 2010 powerpivot

    Anita,
    Please look into using Power Query to use OData as a source in Power Pivot.
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Error while connecting executing a webi report from Bex query.

    hi all,
    i need to create one webi report fron Bex query based on sab BW.
    But when I execute the query its shows "Unspecified error invoking method or accessing property "on change DocID"".
    i didnt get this msg.
    please help

    Hi Mohit Gupta,
    Degrade the java version to java 7 update 45 and also degrade the java security level to low from medium. Also delete the java temporary files and also clear your IE browser cache as well.
    This solved the issue for me.
    Thanks,
    Chaitanya Krishna

  • Error while connecting to the database from a JSP Page

    Hi,
    I am using a simple JSP page which is based on the sample JSP pages from OTN.
    When I try to connect to my database using the following code:
    InitialContext ic = new InitialContext();
    OracleDataSource ds = (OracleDataSource)ic.lookup("jdbc/OTN9iDS");
    m_connection = ds.getConnection();
    I get the following error:
    Naming exception Error while connecting to the database : javax.naming.NameNotFoundException: jdbc/OTN9iDS not found in JDBCTest-JDBCTestProject-webapp
    Does anybody know wht this is happening?
    Any help would be appreciated
    FRank

    Hi Frank,
    Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
    If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
    Ensure the case of the JNDI lookup string, since, it is case sensitive.
    Hope this helps.
    Abhijeet

  • Error while connecting to SQL SERVER from OWB

    HI All,
    I got the following error while connecting to SQL SERVER from OWB(10gR2).
    1). Created DSN with (GMSCADA)
    2). tnsnames file is updated with the following information
    GMSCADA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
    (CONNECT_DATA =
    (SERVICE_NAME = SA)
    3). Tried to connect to SQL SERVER frm OWB
    Username: sa
    password: sa
    host: 172.16.60.29
    port: 1433
    service name: GMSCADA
    schema: sa
    I got the following error, when I click Test Connection:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB_3095
    Regards,
    Kumar.

    Hi David,
    What is Gateway, How I have to setup, Please let me know.
    I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
    Can u please let me know.
    Regards,
    Kumar.

  • HTTP/1.1 302 error while connecting UCM server from ODC Commit profile

    Hi Team,
    We are getting HTTP/1.1 302 error while connecting UCM server from ODC Commit profile.
    Error Code
    oracle.stellent.ridc.protocol.http.HttpProtocolException: Http/1.1 302
    Please note that target UCM is SSO enabled.
    Regards,
    Piyush

    I am having a similar problem.
    Have you been able to figure out what the issue is and/or what the library location should be?

  • Infrequent Error while connection application from Workspace

    In HFM Workspace (9.3.1) some users are getting the following error while connecting to application. The error is infrequent.
    " Please make sure that the Application you are trying to launch is registered with SharedSerivces. SharedServices must be running for the feature you are trying to access. Close the browser window and try logging into workspace again after a little while. Contact your administrator for further information.'
    Shared service is running fine and the users are able to connect to application after they close the browser and try again. Has any one experienced this?

    You might want to try applying HSS 9.3.1 Service fix 12
    this addressed the following two issues.
    7595698 – “Registered app is not active …” error. Active Financial Management application is sometimes listed as inactive.
    7586480 –Inactive Planning applications. After about 30 minutes, Planning applications in User Management Console are listed in inactive status.

  • Error while importing music in iMovie 11 From itunes 10

    Error while importing music in iMovie 11
    I have the same error explained in a other post which was still left unanswered
    I have this sound problem after reorganising folders by itunes, i tried to delete al files in itunes and also
    deleted the xml file in the itunes dir, created new playlists, but still i have no music sound in imovie timeline
    after dragging a mp3 into it. When i preview the file in imovie it souds ok.
    Also i see the red dot with the number 1 in the itunes logo while dragging the mp3.
    Is there a solution for this problem?
    Former post;
    Re: Error while importing music in iMovie 09 from iTunes 09
    Posted: Jul 24, 2010 8:08 AM   in response to: vincentplaces  
    I'm having the exact same issue, but still haven't figured out what it is. I note that at the top of this thread it indicates that there are two "helpful" entries and one "solved" entry, but I can't find the solved one, so maybe someone will repost it here or kindly link to it.
    There is one icon missing though.
    As I read through the excellent tutorial at http://www.kenstone.net/fcphomepage/imovie_09stone.html I scroll down to the point where he talks about dragging music in from iTunes, which is what I'm trying to do. I can see, in his screen shot, the extra little icon that is a red oval and a white "1" in it. I don't get that icon when I am trying to drag my music into the video. I do get the green and white plus icon when I try to drag my music in. Also I DO get BOTH the red 1 and the green plus when I try dragging in a sound effect, which I can do with no problem. But why not the music?
    I've been able to drag in music with no problem in other productions, so I can't figure out what is going on with this one. I'm sure there is a setting somewhere that got flipped, but I can't figure out where.
    In desperation I also tried adding an extra title slide at the end of my video just to make sure there is more video time than music time in the production, but that didn't help at all.
    Any help guys?
    iMac 27"   Mac OS X (10.6.4)    

    Hi
    Due to some kind of copy protection in iTunes - I don't copy directly from this in iMovie
    to my projects. (Most often the result of doing it in iMovie is a DVD without any sound)
    I do
    • In iTunes - collect needed audio into a new Playlist
    • then burn this out as an Audio-CD .aiff (NOT .mp3)
    • This CD I copy into a folder on my Mac (often containing other material that's connected to the project)
    • And then I drag and drop these .aiff files into my movie project in iMovie.
    This works Greatly and even more so when I do my DVD.
    Yours Bengt W

  • Error while connecting to workflow builder after installation...first time!

    Hi,
    I have installed Oracle Workflow Builder 2.6.3 recently on my system and after installation, when I am trying to connect the workflow builder (using database username/password of that particular instance), it is throwing me the following error:
    220: Unable to set NLS_LANGUAGE.
    210: Oracle Error: ORA-01403: no data found
    . SQL text: SELECT NLS_LANGUAGE FROM WF_LANGUAGES WHERE :l IN (NLS_LANGUAGE, CODE)
    In the previous threads when I searched for the same issue, I found that if
    select value from v$nls_parameters
    where parameter='NLS_CHARACTERSET';
    returns the value other then WE8ISO8859P1 then that is what I should change my NLS_LANG entry for the builder - i.e. AMERICAN_AMERICA.<character set>.
    But I am not getting where should I change NLS_LANG, it is located where...some file? I am new to Workflow.
    Please help me. I tried a lot. Any type of help will be highly appreciated.
    Thanks,
    Sumir

    This issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
    HTH
    Srini

  • Installing Java Dialog Instance - Error while connecting to DB

    We would like to add a dialog instance to our production Portal server.  We installed Portal as stand-alone on the central instance.  We have another server we would like to setup to serve as a Portal dialog instance.
    So far I have installed Windows 2003 Server Standard.  Installed MSSQL server client tools (database is mssql server).  Installed jdk 1.4.62.  Set java home and path environmental variables.  I'm now installing the Java dialog instance (I can't find any documentation on this).  From Netweaver installation CD> SAP NetWeaver '04 Support Release 1> Java System> MS SQL Server> Dialog Instance Installation>
    SAP System ID: (sid) ES2
    Central Host: SAPEPS02
    Path to JAVA DVD supplied> JDK Directory confirmed> Domain paramaters confirmed> domain<sid> account passwords supplied> domain<service><sid> account password supplied> Instance number confirmed>
    Installation started> It gets to step 8 and fails stating "Error while connecting to DB".  I looked through all the log files and couldn't come up with anything (i'm very thorough).
    I tried adding the users to the database as dbowners (no luck).  I installed SQL server 2000 with SP4.  No where during this installation did I get prompted for database parameters?
    Is there something basic i'm missing?  Does this scenario not work?  Any help would be greatly appreciated.  Pointing me in the right direction of the correct documentation would also be appreciated.  Thank you in advance.
    Sincerely,
    Brad Dridi

    Hi Brad,
    I am facing the same problem. I hope by now you must have got the solution for this.
    Can you please let me know how did you overcome this situation?
    Thank you!!
    Regards,
    Abhijeet Bhagat

  • Error while connecting to db

    Hi,
    We are getting the error while connecting the database.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Error persists only for second or two & again connection comes back.
    NOTE-- When this happens only new connection recives the error while existing connection work properly.
    On metalink the error description is.
    Cause:     Unable to locate shared memory realm
    Action:     Verify that the realm is accessible
    also I have checked
    SQL> select resource_name,current_utilization,max_utilization,limit_value from v$resource_limit;
    RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALU
    processes 1044 1091 1100
    sessions 1052 1097 1400
    enqueue_locks 208 437 17404
    enqueue_resources 248 335 UNLIMITED
    ges_procs 0 0 0
    Kindly advice urgent.

    IBM AIX 5L
    10.2.0.3
    Client OS is Windows XP & oracle client using is oracle 8 & 9i client.
    TNS Entery of client
    AIX.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1521))
    (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = 192.168.16.50)(Port = 1526))
    (CONNECT_DATA =
    (SID = ORCL)
    There is only one oracle home on the client mechine
    entries in sql* net are
    names.directory_path = (TNSNAMES)
    names.default_domain = world
    name.default_zone = world
    names.default_domain=world
    erro in the listener log is
    18-MAY-2009 16:42:25 * (CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=UdyogGrid.Exe)(HOST=Windows NT PC)(USER=vmittal))) * (ADDRESS=(PROTOCOL=tcp)(HOST=221.135.27.180)(PORT=2021)) * establish * ORCL * 0
    18-MAY-2009 16:42:33 * ping * 0
    WARNING: Subscription for node down event still pending.
    NOTE-- Problem started from the day we have set the password for the listener.
    Kindly advice.
    Edited by: Sachin A on May 18, 2009 10:08 PM

  • Deserialization Error while connecting to web service

    I am getting a deserialization error while connecting to a web service.
    Deserializing parameter 'ScheduleReceiveService': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType...
    There are two methods ex
    UserDefinedClass1 methodA(java.lang.Object ) and
    UserDefinedClass2 methodB(UserDefinedClass3)
    And when i generate java files using WSDL2Java using apache axis the UserDefinedClass is generated as follows.
    public class UserDefinedClassA implements java.io.Serializable {
    private java.lang.Object _return;
    // There are other methods for setting the attributes,hashCode,equals etc
    Now when i try to invoke the method from the client i get this as an error ?
    Deserializing parameter 'UserDefinedClass': could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
    Appreciate any suggestion.

    Hi Manohara,
    To download the file from SharePoint, I recommend to use the credential for a user who can access the file in SharePoint in the client object model.
    NetworkCredential credentials = new NetworkCredential(“username”, “pwd”, “domain”);
    ClientContext context = new ClientContext(“http://thesitecollection”);
    context.Credentials = credentials;
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error while connecting for Java to SAP

    Hi All,
    I am encountering the following error while connecting from Java to SAP through JCO:
    RFC_ERROR_LOGON_FAILURE: You are not authorized to logon to the target system
    I have checked the connection string and everything appears to be fine.
    Please let me know what the problem is.
    Regards,
    Rupesh.

    Hi rupesh,
    See this thread:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    Regards, Suresh KB

  • I am getting error while connecting to sqlplus by using apps account in 11i

    i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
    [applmgr@appsc05t01 admin]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

    yes.
    login as: gorantla
    [email protected]'s password:
    Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
    [gorantla@appsc05t01 ~]$ sudo su - applmgr
    [applmgr@appsc05t01 ~]$ ora_setup
    Available databases:
    x = ATUXX
    y = ATUYY
    z = ATUZZ
    Select database: \c
    y
    ORACLE_SID=ATUYY
    IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
    ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
    APPL_TOP=/apps/ATUYY/atuyyappl
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$ tnsping ATUYY
    TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
    OK (0 msec)
    [applmgr@appsc05t01 ~]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

  • Error while connecting MYSQL Database

    Hi,
    I use a 30 days trial of Crystal Reports 2008. When i try to connect with the database i always get the next error: [http://www.visiscan.nl/error.jpg]
    The database is 4.1GB large and there is 10GB free space on the database.
    Anybody can tell me what to do?

    Hi Tom,
    As I understand the error while connecting to database is
    u201CFailed to retrieve data from databaseu201D
    There could be some could be multiple reasons for this.
    If you are using an ODBC connection then try to check the DSN. Recreate the same and then try.
    If the database is oracle check if native client is installed and try to ping from the native client to check if it responds.
    When connecting to Oracle, ensure that the Service name is identical to that used in the <ORA_HOME>/network/admin/tnsnames.ora file on the BusinessObjects XI Release 2 server.
    For ODBC databases, ensure that the ODBC DSN is exactly the same in the ODBC Manager as on the BusinessObjects XI Release 2 server.
    Please let us know if this helps
    Regards,
    Aditya Joshi

Maybe you are looking for

  • What is the appropriate data expiration / eviction scheme for the following scenario

    We currently have an expiration scheme through which data entries in cache-A get expired after the cache hits a certain size. The LRU entries are expired after the max threshold is reached. But the issue is that certain entries in the cache are rende

  • How do I get this app to stop coming on?

    I don't use this software and it's a real bummer, when I mis-strike a key and it opens up. Apparently the hot key is Command-Escape, and I just want to disable it, but once in the software I can not get to any preference pane. Any suggestions appreci

  • Payment card not valid for Poland?

    How come is my payment card not valid for Poland? I purchased some application for my iPhone like a few months ago and it was ok and today I wanted to buy some song and that kind of message showed up: "Your payment card is not valid for Poland". What

  • Screen garbled after update to 10.8.3

    A few days ago I updated from 10.6 to 10.8.3 and now after I come back to my computer in the mornings, the screen is corrupted, or garbled. There are random boxes all over, but everything still functions if you can guess where you are pointing. Today

  • No wlan after standby modus

    hey, I have no wlan connection after standby. I have to deactivate and then activate again... Can anybody help? Macbook Pro Mid 2012 Yosemite 10.0.2