Problem running remote client.

Hi,
I'm trying to use remoting and have come across a problem and i was hoping someone could help me out.
When i try to run my Server App. I get the following Error:
Connection refused to host: localHost; nested exception is:
java.net.ConnectException: Connection refused: connect
My runService class is : -
package DAO;
import java.rmi.*;
public class runService {
     * @param args the command line arguments
    public static void main(String[] args) {
       try
         {Naming.rebind("//localHost:8100/dataAccess", new DataAccessObjectImpl());
          System.out.println( "Data Access Server is ready" );
         catch(Exception e){
         System.out.println(e.getMessage());}
}I have trimmed the classes down to three methods as the post can only have 5000 :)
the DataAccessObject interface is : -
package DAO;
* To change this template, choose Tools | Templates
* and open the template in the editor.
import java.sql.*;
import com.sun.rowset.CachedRowSetImpl;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface dataAccessObject extends Remote{
    public String generateConnectionString()throws RemoteException  ;
    public String getUserPassword(String username)throws RemoteException  ;
    public void ExecuteDML(String username, String sql)throws RemoteException  ;
   }the DataAccessObjectImpl class reads as : -
package DAO;
import java.sql.*;
import java.util.Properties;
import java.io.*;
import com.sun.rowset.CachedRowSetImpl;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.*;
import java.rmi.server.*;
public class DataAccessObjectImpl extends UnicastRemoteObject implements dataAccessObject{
Connection conn ;
    String  driver = "oracle.jdbc.driver.OracleDriver";
    CachedRowSetImpl ds ;
    String theString;
    int theNumber;
    Date theDate;
    ResultSet rs;
    String theConnectionURL;
    String thePassword;
    public DataAccessObjectImpl() throws RemoteException{
    public String generateConnectionString() throws RemoteException  {
        Properties configFile = new Properties();
        try {
            configFile.load(this.getClass().getClassLoader().getResourceAsStream("app_config.properties"));
        } catch (IOException error) {
            throw new RemoteException(error.getMessage());
        String connection = configFile.getProperty("JTSTORESConnection");
        return connection;
    public String getUserPassword(String username)throws RemoteException  {
        Properties configFile = new Properties();
        try {
            configFile.load(this.getClass().getClassLoader().getResourceAsStream("app_config.properties"));
        } catch (IOException error) {
            throw new RemoteException(error.getMessage());
        String pwd = configFile.getProperty(username.toUpperCase() + "_PWD");
        return pwd;
    public void ExecuteDML(String username, String sql) throws RemoteException  {
        try {
            Class.forName(driver); // load Oracle driver
            theConnectionURL = generateConnectionString();
            thePassword = getUserPassword(username);
            conn = DriverManager.getConnection(theConnectionURL, username, thePassword);
            Statement s = conn.createStatement();
            s.executeUpdate(sql);
            conn.commit();
            s.close();
            conn.close();
        } catch (SQLException error) {
            throw new RemoteException(error.getMessage());
        } catch (ClassNotFoundException error) {
            throw new RemoteException(error.getMessage());
   If anyone can enlighten me unto what is happening i would be very grateful
thanks
James

Hi,
I'm trying to use remoting and have come across a problem and i was hoping someone could help me out.
When i try to run my Server App. I get the following Error:
Connection refused to host: localHost; nested exception is:
java.net.ConnectException: Connection refused: connect
My runService class is : -
package DAO;
import java.rmi.*;
public class runService {
     * @param args the command line arguments
    public static void main(String[] args) {
       try
         {Naming.rebind("//localHost:8100/dataAccess", new DataAccessObjectImpl());
          System.out.println( "Data Access Server is ready" );
         catch(Exception e){
         System.out.println(e.getMessage());}
}I have trimmed the classes down to three methods as the post can only have 5000 :)
the DataAccessObject interface is : -
package DAO;
* To change this template, choose Tools | Templates
* and open the template in the editor.
import java.sql.*;
import com.sun.rowset.CachedRowSetImpl;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface dataAccessObject extends Remote{
    public String generateConnectionString()throws RemoteException  ;
    public String getUserPassword(String username)throws RemoteException  ;
    public void ExecuteDML(String username, String sql)throws RemoteException  ;
   }the DataAccessObjectImpl class reads as : -
package DAO;
import java.sql.*;
import java.util.Properties;
import java.io.*;
import com.sun.rowset.CachedRowSetImpl;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.*;
import java.rmi.server.*;
public class DataAccessObjectImpl extends UnicastRemoteObject implements dataAccessObject{
Connection conn ;
    String  driver = "oracle.jdbc.driver.OracleDriver";
    CachedRowSetImpl ds ;
    String theString;
    int theNumber;
    Date theDate;
    ResultSet rs;
    String theConnectionURL;
    String thePassword;
    public DataAccessObjectImpl() throws RemoteException{
    public String generateConnectionString() throws RemoteException  {
        Properties configFile = new Properties();
        try {
            configFile.load(this.getClass().getClassLoader().getResourceAsStream("app_config.properties"));
        } catch (IOException error) {
            throw new RemoteException(error.getMessage());
        String connection = configFile.getProperty("JTSTORESConnection");
        return connection;
    public String getUserPassword(String username)throws RemoteException  {
        Properties configFile = new Properties();
        try {
            configFile.load(this.getClass().getClassLoader().getResourceAsStream("app_config.properties"));
        } catch (IOException error) {
            throw new RemoteException(error.getMessage());
        String pwd = configFile.getProperty(username.toUpperCase() + "_PWD");
        return pwd;
    public void ExecuteDML(String username, String sql) throws RemoteException  {
        try {
            Class.forName(driver); // load Oracle driver
            theConnectionURL = generateConnectionString();
            thePassword = getUserPassword(username);
            conn = DriverManager.getConnection(theConnectionURL, username, thePassword);
            Statement s = conn.createStatement();
            s.executeUpdate(sql);
            conn.commit();
            s.close();
            conn.close();
        } catch (SQLException error) {
            throw new RemoteException(error.getMessage());
        } catch (ClassNotFoundException error) {
            throw new RemoteException(error.getMessage());
   If anyone can enlighten me unto what is happening i would be very grateful
thanks
James

Similar Messages

  • Problem in run remote client with appclient

    I am having problems to execute remote clients (remote machines) using script of client conteiner: appclient. Local it functions perfectly, however when executed in a remote machine, the application not run wheel.
    Thanks!

    Have you looked at the Developer's Guide?
    http://docs.sun.com/app/docs?q=clients&p=doc%2F819-0079
    Specifically the section on creating clients with and without the app client container?
    http://docs.sun.com/source/819-0079/dgacc.html

  • Problem running Java client of EJB deployed on WebSphere

    Hi,
    I am using websphere studio 5.1.2 with fix pack 3. I have a sample Stateless Session Bean (EJB) deployed and running on websphere.
    I wrote a small Java client program as below.
    import java.util.Hashtable;
    import HelloJavaHome;
    import HelloJava;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.ejb.EJBHome;
    import javax.ejb.EJBObject;
    public class RemoteConn {
    public static void main(String[] ar) throws Exception{
    String greeting = "";
    try{
    Hashtable env = new Hashtable();
    //env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
    //env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ejs.ns.jndi.CNInitialContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ws.naming.util.WsnInitCtxFactory");
    //env.put(Context.PROVIDER_URL, "corbaloc:iiop:myhost.mycompany.com:2809/NameServiceCellPersistentRoot");
    env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
    System.out.println("Before creating context ");
    InitialContext initContext = new InitialContext(env);
    System.out.println("Before looking up HelloJavaHome.");
    //Object obj = initContext.lookup("java:comp/env/ejb/HelloJavaHome");
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    System.out.println("After lookup javahome.");
    HelloJavaHome home = (HelloJavaHome) javax.rmi.PortableRemoteObject.narrow(obj, HelloJavaHome.class);
    HelloJava remote = home.create();
    greeting = remote.getGreeting("John");
    catch(Exception e){
    e.printStackTrace();
    System.out.println("Greeting::"+ greeting);
    I did not have any problem if I write and run this client from Websphere studio environment..
    However its giving lot of compilation and runtime errors when I tried to run from command line.
    I could eliminated compilation errors by setting the below jar files in the classpath.
    testclient.jar; (client jar of my EJB)
    j2ee.jar;
    naming.jar;ras.jar;
    wsexception.jar;
    bootstrap.jar;
    namingclient.jar;
    websphere.jar;server.jar;
    ejbcontainer.jar;
    ecutils.jar;
    Now it is throwing runtime error after the statement, "Before looking up HelloJavaHome.", has printed. Here is the stack trace of exception ..
    Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.CORBA.iiop.GlobalORBFactory
    at com.ibm.ejs.oa.EJSORBImpl.class$(EJSORBImpl.java:44)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:195)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:93)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:65)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:385)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:369)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at RemoteEJBConn.main(RemoteEJBConn.java:38)
    I appreciate if sombody could help me ASAP fixing this problem.
    Thanks in advance.

    Try using the IBM JVM (theres one shipped with WebSphere in websphere_home\AppServer\java
    Also include idl.jar and ffdc.jar on the classpath

  • Problems running DII client for consuming webservices

    Hello webservices experts,
    am running into problems - when I try running my DII client for a webservice that I've successfully deployed on j2sdkee1.4.
    The exception goes like this
    java.rmi.RemoteException: JAXRPC.JAXRPCSERVLET.28: Missing port information
         at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:462)
    I've searched this forum and others as well. Although a lot of people seem to be having this problem nobody seems to have got it solved. Any way out? The client is a mere copy paste of the DII client example in j2eetutorial 1.4

    Solved it ! Some endpoint alias problem during deployment ! Now works fine !

  • Problems running JSP Client for ApplicationModule

    Hi All,
    I'm still having trouble getting a simple JSP client up and running for an AppModule. The AppModule tests okay using the java client, but when I try to run the main.jsp for my Module, it starts up with the following error. I've tried building several projects and have had no success with JSP.
    Does this really work? Has anyone here successfully gotten a JSP Client running?
    Thanks,
    Rich
    AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
    Copyright (c) 1997-1998 Borland International. All Rights Reserved.
    Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
    log3: oracle.jsp.runner.JspRunner: init
    log3: Loading from CLASSPATH backend_AppModule.properties
    log3: Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput
    =silent to remove)
    [0] Diagnostic Properties: (from /oracle/jbo/common/Diagnostic.properties)log3:
    [1] Timing:false Functions:false Linecount:true Threshold:6log3:
    [2] CSMessageBundle (language base) being initializedlog3:
    log3: oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create a
    pplication module.
    log3: at oracle.jbo.server.ApplicationModuleHomeImpl.create(Compiled Code)
    log3: at oracle.jbo.common.appmgr.AppModuleInfo.getReservedAppModuleInstance(C
    ompiled Code)
    log3: at oracle.jbo.common.appmgr.AppRegistry.getAppModuleInstance(Compiled Co
    de)
    log3: at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPro
    pertyFile(Compiled Code)
    log3: at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPro
    pertyFile(Compiled Code)
    log3: at webapp1.main._jspService(main.jsp:7)
    log3: at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    log3: at oracle.jsp.runner.JspRunner.dispatch(Compiled Code)
    log3: at oracle.jsp.runner.JspRunner.service(Compiled Code)
    log3: at javax.servlet.http.HttpServlet.service(Compiled Code)
    log3: at oracle.lite.web.JupServlet.service(Compiled Code)
    log3: at oracle.lite.web.MimeServletHandler.handle(Compiled Code)
    log3: at oracle.lite.web.JupApplication.service(Compiled Code)
    log3: at oracle.lite.web.JupAppHandler.handle(Compiled Code)
    log3: at oracle.lite.web.HTTPServer.include(Compiled Code)
    log3: at oracle.lite.web.HTTPServer.forward(Compiled Code)
    log3: at oracle.lite.web.HTTPServer.handleRequest(Compiled Code)
    log3: at oracle.lite.web.JupServer.handle(Compiled Code)
    log3: at oracle.lite.web.JupHTTPListener$JupHTTP.run(Compiled Code)
    log3: oracle.lite.web.workspace.WorkSpaceDevel: init

    Is the Appmodule running locally or as EJB in Oracle8i.
    Unable to create appmodule genrally is result of not all the required libraries in classpath.
    If you have deployed as EJB then in the project properties make sure that JBOEJBCLIENT and EJBSTUBS(Generated during deployment) are on top of the list.
    If this is not the scenario, give more details on your env.
    raghu
    null

  • Problem running a client

    Hi,
    we are having difficulties accessing EJBs that are deployed to oracle 9ias
    We get
    [Root exception is org.omg.CORBA.UNKNOWN: minor code: 16 completed: Maybe]javax.naming.NamingException: Unknown reasons
    java.lang.Object oracle.aurora.jndi.sess_iiop.SessionCtx.activateObject(oracle.aurora.AuroraServices.PublishedObject)
    java.lang.Object oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void package1.MyEJBJSClient.main(java.lang.String[])
    Does anybody know how to solve this problem???
    Thanks
    null

    Hi,
    we are having difficulties accessing EJBs that are deployed to oracle 9ias
    We get
    [Root exception is org.omg.CORBA.UNKNOWN: minor code: 16 completed: Maybe]javax.naming.NamingException: Unknown reasons
    java.lang.Object oracle.aurora.jndi.sess_iiop.SessionCtx.activateObject(oracle.aurora.AuroraServices.PublishedObject)
    java.lang.Object oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(javax.naming.Name)
    java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void package1.MyEJBJSClient.main(java.lang.String[])
    Does anybody know how to solve this problem???
    Thanks
    null

  • Remote client copy (SCC9) runs a very long time!

    remote client copy (SCC9) runs a very long time!
    how to do it quickly process?
    (eg use imp and exp-oracle tool, as it can be done to understand what the SAP data has been copied and are now in a different location, for Developers)

    scn001 wrote:
    remote client copy (SCC9) runs a very long time!
    > how to do it quickly process?
    > (eg use imp and exp-oracle tool, as it can be done to understand what the SAP data has been copied and are now in a different location, for Developers)
    Hi,
    You can export the client, as well but it will take long time too, depended to your client size. Please note that client copy operation should be performed by standard SAP client management tools, such as client export/import or remote copy.
    Ask this question to SAP support first. Technically, you can choose many ways to copy a SAP client, but as far as I know that SAP will not support you (such as errors you faced during the client export/import or the problems related by the copy operation), if you use any other 3rd party tool while for the client copy purposes.
    Best regards,
    Orkun Gedik
    Edited by: Orkun Gedik on Jun 30, 2011 10:57 AM

  • Error in running EJB Client on a remote machine

    I delploy my beans and can run the EJB Client locally. However when I try to run the Client on another machine, there are errors.
    Here is the errors
    Syntax error
    Out of environment space
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/appclient/Main
    I have follow the step in the j2ee tutorial and set the env variables according. Here is the bat file I write
    set APPCPATH=CBSAppClient.jar
    set VMARGS=-Dj2eelogin.name=guest -Dj2eelogin.password=guest123 -Dorg.omg.CORBA.ORBInitialHost=192.168.0.2
    runclient -client CBSApp.ear -name CBSClient -textauth
    Do anyone facing the same problem with me?
    And how can I solve the problems?
    This is really URGENT, please help

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • Problem with running sessionBean Client

    Hi,
    I deployed SessionBean(stateless) bean on Weblogib8.1 succesfully..
    But when i run my client i am getting the fallowing exception...
    any body plz help me out....
    My Client:
    import javax.naming.*;
    import javax.naming.spi.*;
    import java.util.*;
    import javax.rmi.PortableRemoteObject;
    import java.rmi.*;
    public class MyClient
         public static void main(String[] args)
         try
              Hashtable h = new Hashtable();
                                            h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
              h.put(Context.PROVIDER_URL,"t3://localhost:7001");
              Context ctx = new InitialContext(h);
              Object objref = ctx.lookup("java:comp/env/ejb/myjndi2");
              MyHome home = (MyHome)PortableRemoteObject.narrow(objref,MyHome.class);
              MyRemote rm = home.create();
              rm.getName();
         }catch(Exception e)
              System.out.println(e);
    exception:
    C:\test>java MyClient
    Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/AssertionEr
    ror
    at weblogic.security.subject.DelegatingSubjectStack.<clinit>(DelegatingS
    ubjectStack.java:18)
    at weblogic.security.service.SubjectManagerImpl.<init>(SubjectManagerImp
    l.java:40)
    at weblogic.security.service.SubjectManagerImpl.ensureInitialized(Subjec
    tManagerImpl.java:286)
    at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialConte
    xtFactoryDelegate.java:144)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:131)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at MyClient.m(MyClient.java:21)
    at MyClient.main(MyClient.java:46)

    Since you are receiving a NoClassDefFoundError, you would need to check your classpath for the client application. Make sure that you have the Weblogic JAR and the EJBClient JAR (containing the home and remote interfaces) set in the classpath.
    I am not sure if your JNDI name "java:comp/env/ejb/myjndi2" would work in this case, since your application is not a part of the application container. You would need to use the global JNDI name for the EJB (which is set in weblogic-ejb-jar.xml)

  • Problem while running EJB client

    my TaxClient program caught an exception when i issued this command:
    java -classpath %J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\j2ee.jar;TaxClient.jar;. TaxClient
    the exception look like this:
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Porta
    bleRemoteObject.java:296)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at TaxClient.main(TaxClient.java:13)
    and this is my client code:
    import bmp.*;
    import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    public class TaxClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    Object objRef = initial.lookup("MyTaxBean");
    TaxHome home = (TaxHome) PortableRemoteObject.narrow(objRef, TaxHome.class);
    Tax tax = null;
    tax = home.create("IL", 5.00f);
    tax = home.create("CA", 6.25f);
    tax = home.create("FL", 8.50f);
    tax = home.create("CO", 6.75f);
    tax = home.findByPrimaryKey("CA");
    System.out.println("CA tax rate: " + tax.getTaxRate());
    System.out.println("Changing tax rate for CA state");
    tax.setTaxRate(8.25f);
    System.out.println("New CA tax rate: " + tax.getTaxRate());
    Collection taxArray = home.findInRange(5.0f, 7.0f);
    Iterator it = taxArray.iterator();
    while (it.hasNext()) {
    Object objRef2 = it.next();
    tax = (Tax)PortableRemoteObject.narrow(objRef2, Tax.class);
    System.out.println("Tax Rate in " + tax.getPrimaryKey() + ": "
    + tax.getTaxRate());
    tax.remove();
    } catch (Exception ex) {
    System.err.println("Caught an exception.");
    ex.printStackTrace();
    anyone who know what is problem pls help. i'm using win2k, j2sdk 1.3.1_02 and j2ee1.3.1. thanks

    yeah its run. some problem with the deployer descriptor. but problem occured again when i try to run the client for the second time it throws exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: O
    bject state could not be saved; nested exception is:
    javax.ejb.EJBException: Object state could not be saved
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Object st
    ate could not be saved; nested exception is:
    javax.ejb.EJBException: Object state could not be saved
    javax.ejb.EJBException: Object state could not be saved
    <<no stack trace available>>
    why it runs for the first time but not for the second?

  • Upgrade to SQL Anywhere16, is application w.Remote Client 9 running the same ?

    Hi SQLAnywhere folks,
    My customer is running SQL Anywhere9 + Remote Client 9(WinCE 5.0), however,
    they have to upgrade OS Windows sever 2003 to 2012, thus they have to upgrade SQL Anywhere 16.
    And I found from <http://scn.sap.com/docs/DOC-35934>
    " SQL Anywhere 16 database servers support connections from client applications using software from version 6.0.0 or
    later." i.e SQL Anywhere 16 supports Remote Client 9. Right ?
    Then the question is the applications with Remote Client 9(WinCE 5.0) are running well with SQL Anywhere 16.
    Any application modification required ?
    Any consideration/advice would be highly appreciated.
    Thanks a lot.
    JY Yang

    Hi Chris,
    Thanks for your reply.
    I'm afraid I don't have enough infomation how complex the application it is.
    Hence, we'll try it first, and then share the result.
    Thank you again.
    JH.

  • HT4664 I have problem running final cut pro X because  NVIDIA GeForce 7300 GT graphics card I live in a remote area what are my options to fix this ?

    I have problem running final cut pro X because  NVIDIA GeForce 7300 GT graphics card I live in a remote area what are my options to fix this

    This is the list of Apple approved graphics, except for the cards for laptops. Replace your card with one of these. Get the best you can afford.
    NVIDIA
    GeForce GT 120
    GeForce GT 130
    GeForce GTX 285
    GeForce 8800 GT
    GeForce 8800 GS
    Quadro FX 4800
    Quadro FX5600
    ATI
    Radeon HD 4670
    Radeon HD 4850
    Radeon HD 4870
    Radeon HD 5670
    Radeon HD 5750
    Radeon HD 5770
    Radeon HD 5870

  • HELP - problem in running SSLSocket client/server application

    Hi,
    I want to create a SSLSocket based client/server application for this i have used EchoServer.Java and EchoClient.Java files. Both files are successfully compiled and when i ran EchoServer it throws an exception "Server certificate not found".
    I want to make a complete auto-controlled client/server application which will automatically gets certificate and all configuration itself from program because i will use both client and server application in as a servlet part.
    I did as per following instructions:
    -Create a keystore to hold the private and public keys for the server. e.g.
    keytool -genkey -keystore mykeystore -alias "myalias" -keypass "mysecret"
    -Export the X509 certificate from this store
    keytool -export -alias "myalias" -keystore mykeystore -file mycertfile.cer
    -Import this into a trustStore for the client
    keytool -import -alias "myalias" -keystore mytruststore -file mycertfile.cer
    -Run the server using the keystore
    java -Djavax.net.ssl.keyStore=mykeystore -Djavax.net.ssl.keyStorePassword="mysecret" EchoServer
    -Run the client using the truststore
    java -Djavax.net.ssl.trustStore=mytruststore -Djavax.net.ssl.trustStorePassword="mysecret" EchoClient localhost
    EchoServer.Java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.net.Socket;
    import javax.net.ssl.SSLServerSocket;
    import javax.net.ssl.SSLServerSocketFactory;
    public class EchoServer {
    public static int MYECHOPORT = 8189;
    public static void main(String argv[]) {
    try {
    SSLServerSocketFactory factory =
    (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
    SSLServerSocket sslSocket =
    (SSLServerSocket) factory.createServerSocket(MYECHOPORT);
    while (true) {
    Socket incoming = sslSocket.accept();
    new SocketHandler(incoming).start();
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(30);
    class SocketHandler extends Thread {
    Socket incoming;
    SocketHandler(Socket incoming) {
    this.incoming = incoming;
    public void run() {
    try {
    BufferedReader reader =
    new BufferedReader(new InputStreamReader(incoming.getInputStream()));
    PrintStream out =
    new PrintStream(incoming.getOutputStream());
    boolean done = false;
    while (!done) {
    String str = reader.readLine();
    if (str == null)
    done = true;
    else {
    System.out.println("Read from client: " + str);
    out.println("Echo: " + str);
    if (str.trim().equals("BYE"))
    done = true;
    incoming.close();
    } catch (IOException e) {
    e.printStackTrace();
    EchoClient.Java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.net.InetAddress;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class EchoClient {
    public EchoClient(){}
    public static final int MYECHOPORT = 8189;
    public static void main(String[] args) {
    /*if (args.length != 1) {
    System.err.println("Usage: Client address");
    System.exit(1);
    String sAddress="localhost";
    InetAddress address = null;
    try {
    //address = InetAddress.getByName(args[0]);
    address = InetAddress.getByName(sAddress);
    } catch (UnknownHostException e) {
    e.printStackTrace();
    System.exit(2);
    Socket sock = null;
    try {
    sock = new Socket(address, MYECHOPORT);
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(3);
    SSLSocketFactory factory =
    (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket sslSocket = null;
    try {
    sslSocket =
    (SSLSocket) factory.createSocket(sock, args[0], MYECHOPORT, true);
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(3);
    BufferedReader reader = null;
    PrintStream out = null;
    try {
    reader = new BufferedReader(new InputStreamReader(sslSocket.getInputStream()));
    out = new PrintStream(sslSocket.getOutputStream());
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(6);
    String line = null;
    try {
    // Just send a goodbye message, for testing
    out.println("BYE");
    line = reader.readLine();
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(6);
    System.out.println(line);
    System.exit(0);
    } // Client
    Can anybody will please help me to solve my problem i am using JDK1.4.2_07
    Thanks in advance.

    Hi,
    I want to create a SSLSocket based client/server application for this i have used EchoServer.Java and EchoClient.Java files. Both files are successfully compiled and when i ran EchoServer it throws an exception "Server certificate not found".
    I want to make a complete auto-controlled client/server application which will automatically gets certificate and all configuration itself from program because i will use both client and server application in as a servlet part.
    I did as per following instructions:
    -Create a keystore to hold the private and public keys for the server. e.g.
    keytool -genkey -keystore mykeystore -alias "myalias" -keypass "mysecret"
    -Export the X509 certificate from this store
    keytool -export -alias "myalias" -keystore mykeystore -file mycertfile.cer
    -Import this into a trustStore for the client
    keytool -import -alias "myalias" -keystore mytruststore -file mycertfile.cer
    -Run the server using the keystore
    java -Djavax.net.ssl.keyStore=mykeystore -Djavax.net.ssl.keyStorePassword="mysecret" EchoServer
    -Run the client using the truststore
    java -Djavax.net.ssl.trustStore=mytruststore -Djavax.net.ssl.trustStorePassword="mysecret" EchoClient localhost
    EchoServer.Java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.net.Socket;
    import javax.net.ssl.SSLServerSocket;
    import javax.net.ssl.SSLServerSocketFactory;
    public class EchoServer {
    public static int MYECHOPORT = 8189;
    public static void main(String argv[]) {
    try {
    SSLServerSocketFactory factory =
    (SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
    SSLServerSocket sslSocket =
    (SSLServerSocket) factory.createServerSocket(MYECHOPORT);
    while (true) {
    Socket incoming = sslSocket.accept();
    new SocketHandler(incoming).start();
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(30);
    class SocketHandler extends Thread {
    Socket incoming;
    SocketHandler(Socket incoming) {
    this.incoming = incoming;
    public void run() {
    try {
    BufferedReader reader =
    new BufferedReader(new InputStreamReader(incoming.getInputStream()));
    PrintStream out =
    new PrintStream(incoming.getOutputStream());
    boolean done = false;
    while (!done) {
    String str = reader.readLine();
    if (str == null)
    done = true;
    else {
    System.out.println("Read from client: " + str);
    out.println("Echo: " + str);
    if (str.trim().equals("BYE"))
    done = true;
    incoming.close();
    } catch (IOException e) {
    e.printStackTrace();
    EchoClient.Java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.net.InetAddress;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class EchoClient {
    public EchoClient(){}
    public static final int MYECHOPORT = 8189;
    public static void main(String[] args) {
    /*if (args.length != 1) {
    System.err.println("Usage: Client address");
    System.exit(1);
    String sAddress="localhost";
    InetAddress address = null;
    try {
    //address = InetAddress.getByName(args[0]);
    address = InetAddress.getByName(sAddress);
    } catch (UnknownHostException e) {
    e.printStackTrace();
    System.exit(2);
    Socket sock = null;
    try {
    sock = new Socket(address, MYECHOPORT);
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(3);
    SSLSocketFactory factory =
    (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket sslSocket = null;
    try {
    sslSocket =
    (SSLSocket) factory.createSocket(sock, args[0], MYECHOPORT, true);
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(3);
    BufferedReader reader = null;
    PrintStream out = null;
    try {
    reader = new BufferedReader(new InputStreamReader(sslSocket.getInputStream()));
    out = new PrintStream(sslSocket.getOutputStream());
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(6);
    String line = null;
    try {
    // Just send a goodbye message, for testing
    out.println("BYE");
    line = reader.readLine();
    } catch (IOException e) {
    e.printStackTrace();
    System.exit(6);
    System.out.println(line);
    System.exit(0);
    } // Client
    Can anybody will please help me to solve my problem i am using JDK1.4.2_07
    Thanks in advance.

  • Problem running Access 2013 on a Remote Desktop

    Folks:
    We have Office 2013 Pro installed on a Windows 2008 R2 server running Remote Desktop Services.  Multiple people log into the server through Citrix XenApp and use the Office applications without problem.  Every few weeks (and sometimes few days),
    the Access 2013 gets funky -- buttons disappear, tables and queries don't show up in the navigation bar after they are created.  Has anyone else seen this and is there a solution to this problem?  Please advise.
    Thanks,
    DDD
    Debbie Data Architect

    Does this only happen when you access via a remote desktop connection? what if you access it locally?
    Probably install all available updates and then try again. Also, troubleshooting on the add-ins aspect and see if any of the third party add-in is causing the issue.

  • Remote Client Copy - Ended in Erros

    Hi Friends,
    We recently performed a Remote client copy. What we normally do is we restore an latest offline backup of the Prod into an instance built exclusively for performing client copies into our QA system.
    So if our actual PROD is ABC ( production ), the replica system is ADC. We restore latest backup onto ADC. Then from ADC we do a client copy onto AQC ( Quality ). We have n number of clients in AQC. When copying into a particular client we are facing this problem of 3 tables not being able to get copied. They are BKPF,LTAK and SOST. It happened twice that the Remote client ended with errors.
    It says "Read or conversion error". The detailed error looks like below ;
    TAB_COPY_R_CONTINUE LTAK WITH KEY:
    I01 0000066362
    Read or conversion error system: ADCT500 table: LTAK
    ERROR: Internal error when inserting in table: LTAK
    Internal error:      1,262,713         65,536 VERIFY_CNT
    Process 00001 has copied data 25.02.2010 18:04:16
    Read or conversion error system: ADC500 table: BKPF
    Process 00002 has copied data 25.02.2010 19:09:00
    Start: Recopy errors 25.02.2010 19:09:02
    TAB_COPY_R_CONTINUE BKPF WITH KEY:
    2100 5100019665 2008
    Read or conversion error system: ADC500 table: BKPF
    ERROR: Internal error when inserting in table: BKPF
    Internal error:      6,948,636      1,777,664 VERIFY_CNT
    Read or conversion error system: ADC500 table: LTAK
    TAB_COPY_R_CONTINUE SOST WITH KEY:
    OTF 34 000000019247
    Read or conversion error system: ADC500 table: SOST
    ERROR: Internal error when inserting in table: SOST
    Internal error:      2,594,254        180,224 VERIFY_CNT
    We approached SAP and they asked to do a DB reorg, run update statistics on both source and target and then re run the client copy.
    Well DB reorg is a big activity so we just updated the statistics and ran again the "recopying errors" but still it is the same problem.
    Can anybody please suggest something. Thank you.
    regards
    Vinod K

    Hi Friends,
    My apologies for coming back to you guys so late. I kind of was lost to find a solution for this.
    Hi Sanujit,
    The database logs dont indicate anything at all about this error or i am not able to locate them.
    Rajesh,
    There was a table comparison done for these tables properties in both source and target and everything looked ok and confirmed by the application.
    At this moment we have anyway decided to go a fresh client copy again as lot of time has already passed and there would be differences in source and target tables.
    But anyway could you please tell me the procedure to transport tables between source and target systems?
    Hi Anil,
    SAP iS ECC 6.0 and Oracle is 10.2.0.4.0
    Thanks again for your time and pateince.
    Regards
    Vinod K

Maybe you are looking for

  • SNP Optimiser issue (Annual Planning Run)

    Dear Friends, My fiscal year is 01.04.2010 to 31.03.2011, Now I am trying to run Annual planning run for the current FY. After the run, If i see in SNPOPLOG, all demand is showing as unfulfilled. If i run for the next FY it is planning. I want to run

  • [SOLVED] boot hangs after system update

    Hi, I upgraded to latest kernel26 and latest udev packages, but unfortunately my system hangs somewhere early at boot, the last lines I see are: sd 0:0:0:0: [sda] Attached SCSI disk done. Waiting 10 seconds for device /dev/disk/by-uuid/7133... EXT4-f

  • Formula in Report

    Hi, I have following fields in the reports Vendor, Net Due Date, Clearing Date and Credit Amount. Cube being used is 0FIAP_C03. I want to display the difference in Days (Net Due Date - Clearing Date) for each Vendor Payment made. How can this be done

  • Can't use airport for iphone if macbook is using ethernet cable

    I recently switched to a new internet provider and noticed that downloads are faster for my macbook if it is connected by ethernet to my router. However in order to use the ethernet connection, I have to turn off airport in system preferences. When I

  • Photoshop CS6 Options Bar Issue - OSX

    Hello, I am using Photoshop cs6 on my Mac and I hm having trouble with the options bar in the way. When I open two or more windows within Photoshop the options bar is covering up the X's that allows me to close them out and the tabs themselves. I hav