Runtime error while connecting to Coherence server

Hi,
I am facing runtime exception while connection from java client to coherence server. I am trying to get named cache object, please find below cliend and server logs, any
help would be helpful :
Client logs :
2012-07-25 11:25:49.735/19.240 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=4): Service Management joined the cluster with senior service member 1
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache joined the cluster with senior service member 1
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): An exception (java.lang.RuntimeException) occurred reading Message MemberWelcome Type=-2 for Service=PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), Not initialized}
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): Terminating PartitionedCache due to unhandled exception: java.lang.RuntimeException
2012-07-25 11:25:51.033/20.538 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4):
java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.instantiateMessage(Grid.CDB:14)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcome.read(PartitionedCache.CDB:20)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
     at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
     at java.lang.Thread.run(Thread.java:662)
2012-07-25 11:25:51.050/20.555 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache, member=4): Service DistributedCache left the cluster
2012-07-25 11:25:51.066/20.571 Oracle Coherence GE 3.7.1.0 <Error> (thread=main, member=4): Error while starting service "DistributedCache": (Wrapped: Failed to start Service "DistributedCache" (ServiceState=SERVICE_STOPPED)) java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
     at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:38)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
     at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
     at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
     at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
     at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
     at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:1105)
     at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
     at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:919)
     at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1296)
     at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:297)
     at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:204)
     at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:181)
     at com.limited.esb.test.LoadStore.main(LoadStore.java:10)
Caused by: java.lang.RuntimeException: Service DistributedCache was unable to instantiate MessageType=1882023278
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.instantiateMessage(Grid.CDB:14)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcome.read(PartitionedCache.CDB:20)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:19)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
     at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
     at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
     at java.lang.Thread.run(Thread.java:662)
Server logs :
2012-07-25 11:25:49.345/8475.657 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
r, member=1): Member(Id=4, Timestamp=2012-07-25 11:25:49.173, Address=10.136.33.
168:8090, MachineId=52816, Location=site:,machine:KETTIBCOD04,process:3876, Role
=LimitedEsbTestLoadStore) joined Cluster with senior member 1
2012-07-25 11:25:49.751/8476.063 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
r, member=1): Member 4 joined Service Management with senior member 1
2012-07-25 11:25:51.050/8477.362 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluste
r, member=1): Member 4 left service DistributedCache with senior member 1
Thanks..

Can you paste your clients cache configs and override xml

Similar Messages

  • 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.

  • Authentication error while connecting to application server IntegratedWebL

    When I start the IntegrationWeblogicServer in JDeveloper11.1.1.3.0, the server can be started, the IntegratedWeblogicServer cann't be connected because of the authentication error.
    The integrated weblogic server can be started successfully outside the Jdevelper, and I never changed the password of user weblogic.
    <2010-8-24 下午02时55分17秒 CST> <Warning> <Server> <BEA-002611> <Hostname "ppan-cn.cn.oracle.com", maps to multiple IP addresses: 10.182.254.102, 192.168.174.1, 192.168.65.1>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <2010-8-24 下午02时55分17秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    User: weblogic, failed to be authenticated.
    **** Authentication error while connecting to application server IntegratedWebLogicServer. Please check settings.
    **** Failed to complete start-up of application server IntegratedWebLogicServer.
    [Server Instance IntegratedWebLogicServer is shutting down.  All applications currently running will be terminated and undeployed.]
    [Forcing termination of IntegratedWebLogicServer]
    taskkill /F /PID 748
    Process exited.
    What's wrong with the JDeveloper11.1.1.3.0? And How to fix it? Any help is appreciated in advance.
    _Paula                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Paula:
    You may want to check if one of your applications has its own users and groups settings. If you define your own Application's users ang groups settings, you may need to uncheck the setting in JDeveloper ADF Security wizard to avoid overwriting the embedded WLS security settings. Otherwise, even you reset your embedded WLS or recreate it, its settings will be overwritten again once you run your application on it.
    The way to reset or recreate your embedded WLS is to follow Frank's tips.
    Good luck,
    Alex

  • Getting the error while connection to SAP Server

    Hi,
        I am getting the below mentioned error while connection to SAP Sever using SAP.Net Connector.   What could be the possible reason?
    "<i>
    <b>Connect to SAP gateway failed
    Connect_PM  GWHOST=ia2-ms.boi.hp.com, GWSERV=sapgw01, ASHOST=ia2-ms.boi.hp.com, SYSNR=01
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner not reached (host 15.78.80.31, service 3301)
    TIME        Fri Feb 02 11:10:35 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -10
    MODULE      nixxi_r.cpp
    LINE        8716
    DETAIL      NiPConnect2
    SYSTEM CALL SiPeekPendConn
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER</b>
    </i>"

    Hi
    The gateway monitor is used to analyze and administer the SAP Gateway from outside the SAP System.  The profile you assign to it must be the same as for the gateway. This process has different names:
    UNIX: gwmon
    Windows: gwmon.exe
    more on this.. please go thru  ..
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/bb/9f13c24b9b11d189750000e8322d00/frameset.htm
    hope this info helps!
    with regards,
    raj.
    <i>pls, award points</i>

  • Error while connecting to SAP Server from Windows XP Client.

    Hi,
    I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error.
    Connection Failed :
    SQL State : '08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]Named Pipe Provider Could not open the connection SQL Server [233].
    Connection Failed :
    SQL State : "HYT00"
    SQL Server Error : 0
    [Microsoft][SQL Native Client]Login Timeout Expired
    Connection Failed:
    SQL State :'08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]An Error has occured while establishing new connection to the server.
    When connecting SQL Server 2005, this failure may caused by the fact that under the default setting SQL Server does not allow remote connection.
    Regards,
    Arpit Shah

    Hi Arpit,
    Solution of Error in starting B1 after installation should help here too.
    Kind regards
    Mario
    SAP Business One Forums team

  • Runtime error while connecting from SAP to MS-SQL DB

    Hi,
    I am writing a program to send data from SAP to MS SQL DB.
    The stored procedure when run alone works fine.
    I have defined connection 'C04' in DBCO with correct attributes.
    But the 'CONNECT TO C04' statement gives me runtime error DBIF_DSQL2_CONNECTERR saying that 'Connection to Database system with the identifier C04 is not possible;.
    First of all, I am not very clear if it is a ABAP problem or BASIS problem.
    I did a lot of research but could not find a solution.
    Please help me.
    Thanks & Regards,
    Shubha.

    Hi shubha,
    1. If your application server
       is unix/aix,
       then connection to MSSQL db
       is not possible.
    (Bcos both OS are different,
      and the connector is not provided
      by sap / not available)
    2. After making an entry in DBCON Table,
       probably something may be required to
       be done on the application server,
       by the basis team.
    3. If this connection is required
       to be made to oracle server,
       then basis definitely requires
       to make a connection string
       on the application server
       (apart from the dbcon entry)
    regards,
    amit m.

  • Error while connecting to MDM server from Webdynpro

    Hi ,
       I am trying to connect to MDM server (5.5 SP04 no patches) through a webdynpro application . The following is the piece of code that I am using as a test .
    CatalogData CatalogData = new CatalogData();
        int resultLogin = 0;
        try {
              resultLogin = CatalogData.Login("USNOC01AQ05",2005,"Admin","Erico1234","English [US]");
        }catch(Exception e){
              wdContext.currentContextElement().setValueattr("Not Connected");
             //System.out.println("Error while establishing connection");
        if (resultLogin != RC.RC_OK){
              wdContext.currentContextElement().setValueattr("Not Connected");
             //System.out.println("Error logging to the SDM server");
             //System.exit(-1);
         wdContext.currentContextElement().setValueattr("Connected");
        //System.out.println("MDM server connected");
    The import statements are as follows
    import a2i.common.CatalogData;
    import a2i.generated.RC;
    I have put the following jar files in the java build path
    MDM4J
    mdm-admin
    mdm-common
    mdm-core
    mdm-data
    mdm-protocol
    When I deploy my application I get the following error
    java.lang.NoClassDefFoundError: a2i/common/CatalogData
    It can't be determined from the exception chain, which class loader failed to load the above class. But at least the class loader of the current application does not contain a resource with name 'a2i/common/CatalogData'.
    What do you guys think is the problem ?
    Regards
    DeepaK Singh

    Hi ,
       I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
    Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
    Regards
    DeepaK Singh

  • Error while connect to the server?

    Signing in ICloud (www.icloud.com) on my PC it says: ICloud encountered an error while trying to connect to the server. But everything is ok with iCloud panel on my control panel. What could i do?

    Last time there was not thiskind of problem.

  • ERROR WHILE CONNECTING COMPANIES TO SERVER IN VISTA CLIENTS

    Hi All !
    We upgraded one of our client to 2007A. Only  2 client machine are getting an error while trying to connect them to server.  Connection Error. SQL state 08001. Error de SQL Server: 21. Microsoft SQL Native Client  No se admite el cifrado del cliente. Thanks
    Regars
    claudia

    Hi:
    The complete error is the following:  Error en la Conexión. SQL state 08001.  Error de SQL Server: 21. Microsoft SQL Native Client  No se admite el cifrado del cliente. Error en la Conexión. Error de SQL Server: 21. Microsoft SQL Native Client El cliente no pudo establecer la conexión.
    Error en la Conexión. SQL state 08001. Error de SQL Server: 0. Microsoft SQL Native Client Error al establecer la conexión con el servidor. Cuando se conecta SQL Server 2005, la configuración predeterminada de SQL Server 2005 no permite conexiones remotas.
    REGARDS
    CLAUDIA

  • Error while connecting to ESB server Connection

    Hi friends...
    I am encountering the fallowing error while i try to register the ESB to the server connection
    error code: 0 : 10
    summary: An unhandled exception has been thrown in the ESB system. The exception reported is: "java.lang.NullPointerException
         at oracle.tip.esb.lifecycle.AuxiliaryFileHandler.copyToRepository(Unknown Source)
         at oracle.tip.esb.lifecycle.AuxiliaryFileHandler.copyToRepository(Unknown Source)
         at oracle.tip.esb.console.XMLConsoleManagerImpl.commit(Unknown Source)
         at oracle.tip.esb.configuration.deployment.JDevDeploymentManager.deploy(Unknown Source)
         at oracle.tip.esb.configuration.deployment.DeploymentServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Fix: -
    Can anyone help me out to resolve the issue

    hi pavan
    more help
    check this thread for similar problem
    JDBC Communication channel : Error establishing socket
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    Find the right driver there and deploy the JDBC driver using SDM.
    JDBC Driver Deployment Guide -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    regards
    Ramesh P

  • -net.sourceforge.jtds.jdbc.Driver ERROR WHILE CONNECTING TO SQL SERVER

    Hi,
    While making a new connection to Sql Server Express Edition Database, through Oracle Sql Developer i am getting a problem when retrieving the database.The error is "-net.sourceforge.jtds.jdbc.Driver" .I have downloaded the "jTDS - SQL Server and Sybase JDBC driver " from sourceforge website, but i am confused about where to paste it.
    thanks.

    I'm not sure why you are having the error but I am sure of the following:
    1. This forum is not appropriate for SQL*Developer questions.
    2. Or questions about code from SourceForge
    3. Or Microsoft products.
    It seems unlikely this has anything to do with Oracle so I would recommend you find a forum related to the driver if one exists. Otherwise you can try the SQL*Developer forum but I would be there aren't more than a dozen other people on the product trying to do this.

  • Crystal Reports 2008 runtime error while running on Windows Server X64

    I have a .NET web application compiled as X86 in Visual Studio 2008 invoking Crystal Reports 2008 SP2 that's running fine at a number of sites running Windows Server 2003 X86.</br>
    </br>
    When deploying this app to Windows Server 2008 X64 I get the error message below. </br>
    </br>
    I'm aware that there is an unanswered question similar to this already in the forum but my application is compiled for X86 and I've tryed installing a variety of run times including "crruntime_12_2_mlb.msi" and "crredist2008_x86.msi".</br>
    </br>
    What combination of compile and run time is needed to get around this issue?</br>
    </br>
    Thanks.</br>
    </br>
    </br>
    ERROR MESSAGE **.</br>
    </br>
    An error has occurred while attempting to load the Crystal Reports run time..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. .</br>
    </br>
    Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information..</br>
    </br>
    Source Error: .</br>
    </br>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  .</br>
    </br>
    Stack Trace: .</br>
    </br>
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +399.</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +218.</br>
    </br>
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.].</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0.</br>
       ChartsEnterprise.UI.GenReport.CreateReport(String reportname) +42.</br>
       System.EventHandler.Invoke(Object sender, EventArgs e) +0.</br>
       System.Web.UI.Control.OnLoad(EventArgs e) +132.</br>
       System.Web.UI.Control.LoadRecursive() +66.</br>
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean .</br>includeStagesAfterAsyncPoint) +2428.</br>
    Edited by: PSernz on Mar 25, 2010 3:58 AM

    What combination of compile and run time is needed to get around this issue?
    See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki. I think I may not have that wiki updated up to FP2.5, so the FP2.5 msm is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975182010E/cr2008fp25_mm.zip
    msi is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975312010E/cr2008fp25_redist.zip
    Check the version of the CR assemblies referenced in your project. The use the wiki above to deploy the correct runtime.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Error while connecting to SQL Server

    hello guys ,I am getting a small probs when Itry to connect Sql Server.
    after code is complied, firstly,it can run,but secondly it can't run
    error is:
    Exception in thread "main" java.lang.nullPointerException

    my code is:
    import java.sql.*;
    public class ConnectionBean
    private Connection connection;
    private Statement statement;
    private static final String      
    drive="com.microsoft.jdbc.sqlserver.SQLServerDriver";
    private static final String dbURL="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=java";
    private static final String login="sa";
    private static final String password="";
    public ConnectionBean()
    try
         Class.forName(drive);
         connection = DriverManager.getConnection(dbURL,login,password);
         statement = connection.createStatement();
    catch (ClassNotFoundException e)
    System.err.println("ConnectionBean: driver unavailable");
    connection = null;
    catch (SQLException e) {}
    public ResultSet executeQuery(String sql) throws SQLException
         return statement.executeQuery(sql);
    protected void finalize()
    try
    connection.close();
    catch (SQLException e) { }
    public static void main(String[] args)
         ConnectionBean bean = new ConnectionBean();
         String sql = "select * from Conferences";
         try
              ResultSet rs= bean.executeQuery(sql);
              while ( rs.next())
                   System.out.println(rs.getString("ID"));
                   System.out.println(rs.getString("city"));
                   System.out.println(rs.getString("airport"));
                   System.out.println(rs.getString("seats"));
         catch (SQLException e)
         finally
         bean.finalize();     
    }

  • Error While connecting a DL585 server using Emulex LightPulse (A8002A) to a 3par Storage Array

    When connecting this Windows 2003 server to the HP 3PAR Array, the customer receive warnings (6-7 per second), for example:
    ==================================
    Device (4,3,14) is reserved by other host.
    DsmSendTURSynchronous: Device(4,3,12), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    DsmSendTURSynchronous: Device(4,3,14), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    Device (4,2,12) is reserved by other host.
    Device (4,2,14) is reserved by other host.
    Device (4,3,10) is reserved by other host.
    DsmSendTURSynchronous: Device(4,2,12), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    DsmSendTURSynchronous: Device(4,2,14), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    DsmSendTURSynchronous: Device(4,3,10), NTStatus(c0000185), SrbStatus(4), ScsiStatus(18).
    ==================================
    The HBA details are as follows :
     Fibre Channel HBA Drivers
      [elxfc] ................................... Emulex StorPort driver, Version: 7.2.70.18
         [Number of Physical Devices] ........... 2
          Device 0 .............................. Emulex LightPulse HBA - Storport Miniport Driver
           Adapter ID ........................... Emulex A8002A, PCI Slot 6, Storport Miniport Driver
           Location of Device 0 ................. PCI bus 79, device 0, function 0
          Device 1 .............................. Emulex LightPulse HBA - Storport Miniport Driver
           Adapter ID ........................... Emulex A8002A, PCI Slot 4, Storport Miniport Driver
           Location of Device 1 ................. PCI bus 76, device 0, function 0
    # I am not much experdized in Microsoft OS but the issue seems to be related to the Multipath or path repated to the Array. Just want to check anyone has ever came across with such error ? They have access to the external 3Par Array volumes without
    issues. the server is in fact also connected to an HP EVA Array with HP EVA MPIO Dsm installed.
    It may a normal event or error so want to know the full details of the above events and any further actin plan is highly appreciated.
    Thanks in advance,
    Prodyott

    are these LUNs shared or standalone?
    I don't think it's really wise to have more than one DSM on the same server, so you're mixing the EVA and 3par DSMs and on 2003...
    other than ensuring that HBA firmware and drivers are all up to date and DMS drivers are at the latest, not much else you can do from the host side...maybe update the storport.sys driver to the latest for that OS
    are you sure that the HBAs are in fact supported/compatible with both storage back-ends? what about their driver/firmware/DSM versions - some SANs are very picky when it comes to this stuff, check the interop matrixes to find out
    overall, if you don't need SAN connection to one of these storage back-ends, I suggest you get rid of it and its DSM

  • Error while connecting to SQL Server 2000 using Heteregenous Services 11g

    Hope this is the right thread to post on! We have been given the challenge of connecting to and reading data from a SQL Server 2000 database.
    Our Infrastructure guys have set up the network access.
    The SQL Server DB is set to windows NT Authentication only (N.B. NOT Mixed Mode) as there is an application running against the DB locally that will not run under Mixed Mode.
    Our Oracle partner has download and installed the 11g Heteregenous Services. all works fine until the point we try to create the DBLink and then connect to the SQL Server DB when we get:
    SQL> CREATE DATABASE LINK infoteam1.sco.infoteam.co.uk CONNECT TO "sco.infoteam.co.uk/infoteam" IDENTIFIED BY "########" USING 'dg4msql';
    Database link created.
    SQL> select * from "systables"@infoteam1.sco.infoteam.co.uk;
    select * from "systables"@infoteam1.sco.infoteam.co.uk
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC SQL Server Driver][SQL Server]Login failed for user
    'sco.infoteam.co.uk/infoteam'. Reason: Not associated with a trusted SQL Server
    connection.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
    ORA-02063: preceding 2 lines from INFOTEAM1.SCO.INFOTEAM.CO.UK
    The question is can we (and if so how)?) connect to the SQL Server using an NT Windows Authorised account?
    Jeremy

    Hi,
    Please look at MOS note
    ORA-28500: Generic connectivity using ODBC DSN over mapped drive fails [ID 105210.1]
    Ora-28500 with Ms Sqlserver - Not associated with a trusted SQL Server connection [ID 333775.1]
    Regards,
    Edited by: gjilevski1 on Aug 31, 2010 8:23 AM

Maybe you are looking for

  • Upgrade CRM 5.0 to CRM 7.0  with MS SQL 2005

    Hi, I am stuck with this error while working on an upgrade of CRM system. Any help is highly appreciated. Please let me know if you require more information. 4 ETW000 H:\usr\sap\C7D\upg\abap\exe\R3trans.exe version 6.14 (release 701 - 05.03.09 - 08:2

  • Trying to keep PC CPU cooler

    Hi, I have the MSI MS-6712 Motherboard with an Athlon XP 2100 CPU. It runs BEAUTIFULLY. However, I do notice that my CPU temp goes up around 75 degrees when under a full load. When I turn on the coolerXP function in the PCAlert4 Menu, it drops down a

  • Imovie8

    Hmm. I just started using imovie8. I'm sure this is old hat to most of you, but am I wrong for wanting my old imovie back?!? Yikes. On top of everything being so different and old options no longer existing, it keeps closing on me. Does imovie 8 only

  • QoS on pvc or virtual interfaces

    Suppose you have some pvc configured on a physical interface, or some subinterfaces, point-to-point with an associated pvc. All the traffic comes out from the same physical interface, so same buffer and hardware queue for all pvcs. If you send all vo

  • Calculate response time according to contract

    What is missing ? Service request task We can not get oracle to calculate and auto populate start date & time fields according to responsetime scheme set up in contract coverage template. It should populate when you choose task type.