Compiling Client for SessionBean

on compilation of client program :
javac -classpath {$CLASSPATH}:ejb.jar Client.java
it is giving me the error showing that program is not able to locate EJB classes containg ejb.jar.
please help me on this

I have a Client program(HelloWorldClient.java) on compilation of this client i am getting following error. myejb.jar contains all ejb classes residing under com.desai package.
Same code is working on Unix machine.
I am not getting why it is not working for windows. please reply.
HelloWorldClient.java:3: package javax.ejb does not exist
import javax.ejb.*;
^
HelloWorldClient.java:8: package com.desai does not exist
import com.desai.*;
^
HelloWorldClient.java:24: cannot resolve symbol
symbol : class HelloHome
location: class HelloWorldClient
HelloHome home = (HelloHome) PortableRemoteObject.narrow(obj,Hel
loHome.class);
^
HelloWorldClient.java:24: cannot resolve symbol
symbol : class HelloHome
location: class HelloWorldClient
HelloHome home = (HelloHome) PortableRemoteObject.narrow(obj,Hel
loHome.class);
^
HelloWorldClient.java:24: cannot resolve symbol
symbol : class HelloHome
location: class HelloWorldClient
HelloHome home = (HelloHome) PortableRemoteObject.narrow(obj,Hel
loHome.class);
^
HelloWorldClient.java:25: cannot resolve symbol
symbol : class HelloRemote
location: class HelloWorldClient
HelloRemote remote = home.create();
^
6 errors

Similar Messages

  • Is there a working soulseek client for snow leopard ?  doesn't crash, pretty functional ?  can't compile nicotine, wont get a dock icon.

    is there a working soulseek client for snow leopard ?  doesn't crash, pretty functional ?  can't compile nicotine, wont get a dock icon.

    Try
    https://discussions.apple.com/community/mac_os/mac_os_x_technologies#/?tagSet=10 48

  • Error while compile client! Please help

    Hi everybody,
    I am new to J2EE. I hav got application server and client in the same computer.
    While compile client application to test the server part followint error is shown:
    28-Feb-2007 10:36:05 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/3122"
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:161)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
    at bank._CustomerFacadeRemote_DynamicStub.createAccount(_CustomerFacadeRemote_DynamicStub.java)
    at bankaccountclient.Main.insertInfo(Main.java:55)
    at bankaccountclient.Main.<init>(Main.java:38)
    at bankaccountclient.Main.main(Main.java:78)
    Caused by: java.rmi.RemoteException: Exception thrown from bean; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalInternalException: JDO76519: Failed to identify vendor type for the data store.
    NestedException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:199)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:853)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:160)
    at $Proxy22.createAccount(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:469)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1258)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    BUILD SUCCESSFUL (total time: 4 seconds)
    Please let me know the solution of the error!
    And also if client and application server is in same mechine which interface must be used to talk client with session bean?
    Please help me!

    1) It looks like you have an error in JDBC configuration.
    The main string is "Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource
    Check out JDBC connection pools and resources.
    2) If your beans and client there are at the same JVM you can use local interface, else use remote interface.

  • Compilation Error for import classes not found in generated Proxy Class

    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

    Hi,
    I resolved the other errors by changing all references from com.bea.jcom.Variant
    etc to com.linar.jintegra.class name..all were present under the com.linar.jintegra
    package.
    Thank you all anyways,
    Regards,
    rahul
    "Rahul Srivastava" <[email protected]> wrote:
    >
    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling
    the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch
    class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used
    by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found
    inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface
    with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch
    to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the
    COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

  • Oracle Instant Client for Intel MacOS X

    Hi all, this is my first post here (so I don't know if it's the proper place, but to try it is free. Sorry for any inconvenience).
    Anybody, can confirm/explain why, one year after launch, there isn't one available download of Oracle Instant Client for Intel MacOS X?
    Without it's impossible, for example, to compile PHP with OCI support under Intel MacOS X (native mode) and it's really a pain.
    With PPC version existing since ages, wouldn't be absolutely easy to recompile that cool stuff for Intel MacOS X?
    TIA and ciao, Eloy Lafuente :-)

    Hi again...
    just to know a bit more... two months later... how is customer demand going...?
    Have you searched for "macos x instant client intel" ?
    Aren't PHP/Perl/Ruby applications enough?
    I sincerely think it's a big mistake to don't offer native connectivity for MacOS X Intel users... of course, your mistake.
    Some developers, like me, will stop developing/improving Oracle support in their applications just because they use MacOS X to develop. So, those applications won't run ok under Oracle, no matter where you deploy them.
    With thousands of applications running natively under MacOS X Intel... isn't there (@ Oracle) able to recompile that tiny piece of software to run under Intels... sorry but I cannot believe it.
    I'll email SJ right now! Ciao :-)

  • Essbase Error(1200329): Error compiling formula for [Asset Description] (li

    Hi,
    I am having some problem in debugging one error
    Detail:Cannot calculate. Essbase Error(1200329): Error compiling formula for [Asset Description] (line 37): invalid assignment
    I am just creating a Add asset script as my client does not have license to CapEx module.
    Script Below- please let me know what can be an issue
    VAR numAsset = [NumAsset];
    VAR usFulLife=[UsefulLife];
    FIX(@CHILDREN("Total New"), [Scenario], [Version], [Entity], [Department], [AssetClass],[Year],"BegBalance","Local", "HSP_InputValue")
    "Asset Description" (
    IF (numAsset > 0 AND @MAXS(SKIPMISSING, @CHILDREN("Asset Properties")) == #MISSING )
    numAsset = numAsset - 1;
              "Asset Status" = 0; /* flag to know this is a new asset*/
              "Asset ID" = [AssetID];
    "Asset Description" = [AssetDesc];
              "CAR No." = [AssetCAR];
              "Purchase Units" = [AssetUnits];
              "Purchase Amount(per unit)" = [AssetRate];
              "In Service Date" = [InserviceDate];
         /*     "Total Cost" = "Purchase Units" *"Purchase Amount(per unit)";*/
    IF(usFulLife > 0)
              "Useful Life (in Years)" = usFulLife;
    ELSE
                   "Useful Life (in Years)" = "No Scenario"->"No Version"->"No Entity"->"No Department"->"No LineItem"->"Useful Life (in Years)";
    ENDIF
    ENDIF
    ENDFIX
    FIX([Scenario], [Version], [Entity], [Department], "Local", "HSP_InputValue")
    CALC DIM ("TimePeriod");
    @IANCESTORS("Line Item 1");
    @ANCESTORS([AssetClass]);
    ENDFIX
    Note- "Asset Description" is a member of Text type and in this script [AssetDesc] is a global variable of StringAsNumber
    Regards,
    -KP

    Thanks for responding but my issue resolved, it was a Space in the member name.
    -KP

  • Development Client for CMSDK 9.0.3

    Hi,
    I am trying to figure out what exactly I need to develop using CMSDK against the CMSDK server on a separate server. I have installed Oracle 9i jDeveloper, the Oracle 9i Database Client and the cmsdk.jar shipped with the CMSDK install on our AIX server. I am able to compile all sample programs but for some reason I do not seem to be able to connect to the CMSDK server. Using the exact same call on the AIX machine (java oracle.ifs.examples.api.DocumentSample jellema10 temp1 ifs://tstifc1.myhost.nl:1521:iasdb.tstifc1.myhost.nl:CM_SDK_TSTIFC1 iasadmin1) I am able to successfully create a LibraryService and Connection to the CMSDK server. On my NT Client however it complains about an invalid domain format (
    When I try to install CMSDK 9.0.3 for NT locally on my development machine, it fails telling me Oracle 9iASR2 should be installed. But I do not want to use my PC as CMSDK Server, just as Client for Development activities. Can someone tell me exactly what I should install on my client to get even the simplest shipped sample to work? Does it require a 9iASR2 install on such a client?
    Can I simply copy the files from the AIX CMSDK install - if so, which files? Are there any protocol servers or special processes that need to run on the CMSDK Server for my client to connect? (note: the ftp server runs and can be contacted from my client).
    Thanks for your help!
    Lucas Jelema
    AMIS Services BV

    How are you specifying your domain name:
    ifs://myhost.dept.comp.nl:1521:iasdb.myhost.dept.comp.nl:CM_SDK_OWNER
    or
    myhost.dept.comp.nl:1521:iasdb.myhost.dept.comp.nl:CM_SDK_OWNER
    It MUST contain the "ifs://"
    Here is an example:
    package oracle.ifs.examples.bootcamp.labs;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.IfsException;
    public class SimpleConnection
      public static String schemapassword = "cmsdk";
      public static String serviceconfiguration = "SmallServiceConfiguration";
      public static String domain =
        "ifs://ifspm-sun2.us.oracle.com:1521:mjs92.us.oracle.com:cmsdk903";
      public static String servicename = "TestService";
      public static String username = "sylvia";
      public static String password = "oracle";
      public static void main(String[] args)
        LibraryService service = null;
        LibrarySession session = null;
        // verbose exception messages are default
        // IfsException.setVerboseMessage(true);
        try
          // create LibraryService
          service = LibraryService.startService(
            servicename, schemapassword, serviceconfiguration, domain
          // generate Credential
          CleartextCredential cred = new CleartextCredential(username,password);
          // establish LibrarySession by supplying credential to LibraryService
          session = service.connect(cred, null);
          System.out.println("LibraryService: "+session.getServerVersionString());
          System.out.println("Connected as: "+session.getUser().getName());
          System.out.println("Credential Manager: "
            +session.getUser().getCredentialManager());
          System.out.println("Home Folder Name: "+
      session.getUser().getPrimaryUserProfile().getHomeFolder().getAnyFolderPath());
        catch (IfsException e)
          System.out.println(e.toLocalizedString());
        finally
          try
            // disconnect LibrarySession
            session.disconnect();
          catch(IfsException e)
            System.out.println(e.toLocalizedString());
    }

  • Build and Capture task sequence fails at 'Prepare ConfigMgr Client for Capture' step

    The scenario is as follows:
    Task Sequence is a Build and Capture of Windows 7 SP1 x64 Enterprise
    There are 17 Applications installed split into 2 'Install Application' steps due to the 9 item limit
    129 Software Updates are installed
    SCCM 2012 RTM
    I have built and captured on this system previously however there were no 'applications', just traditional SCCM 'packages'
    All task sequence steps run successfully until it gets to the 'Prepare ConfigMgr Client for Capture' step and it fails here. Here are the relevant parts of the SMSTS.log file:
    <![LOG[No certificates to delete]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1013">
    <![LOG[Deleting Client properties from file C:\Windows\SMSCFG.INI succeeded.]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:922">
    <![LOG[Reseting the Trusted Root Key successful]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1088">
    <![LOG[Deleting instance of 'CCM_Client' successful]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:170">
    <![LOG[Successfully reset Registration status flag to "not registered"]LOG]!><time="15:30:12.531-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:309">
    <![LOG[Successfully disabled provisioning mode.]LOG]!><time="15:30:12.546-660" date="11-13-2012" component="PrepareSMSClient" context="" type="1" thread="2880" file="preparesmsclient.cpp:1273">
    <![LOG[Start to cleanup TS policy]LOG]!><time="15:30:12.546-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2773">
    <![LOG[getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=ffffffff (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,389)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient"
    context="" type="0" thread="2880" file="wminamespace.cpp:389">
    <![LOG[ns.Query(sQuery, &spEnum), HRESULT=ffffffff (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,2800)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2800">
    <![LOG[Wmi query 'select * from CCM_Policy where PolicySource = 'CcmTaskSequence'' failed, hr=0xffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="utils.cpp:2800">
    <![LOG[End TS policy cleanup]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="utils.cpp:2821">
    <![LOG[TS::Utility::CleanupPolicyEx(false), HRESULT=ffffffff (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\preparesmsclient.cpp,457)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880"
    file="preparesmsclient.cpp:457">
    <![LOG[Failed to delete policies compiled by TaskSequence (0xffffffff)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="preparesmsclient.cpp:457">
    <![LOG[Failed to prepare SMS Client for capture, hr=ffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="preparesmsclient.cpp:472">
    <![LOG[pCmd->Execute(), HRESULT=ffffffff (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\main.cpp,136)]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="0" thread="2880" file="main.cpp:136">
    <![LOG[Failed to prepare SMS Client for capture, hr=ffffffff]LOG]!><time="15:35:21.000-660" date="11-13-2012" component="PrepareSMSClient" context="" type="3" thread="2880" file="main.cpp:136">
    <![LOG[Process completed with exit code 4294967295]LOG]!><time="15:35:21.015-660" date="11-13-2012" component="TSManager" context="" type="1" thread="2152" file="commandline.cpp:1098">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="15:35:21.015-660" date="11-13-2012" component="TSManager" context="" type="1" thread="2152" file="instruction.cxx:3011">
    <![LOG[Failed to run the action: Prepare ConfigMgr Client for Capture. 
    Unknown error (Error: FFFFFFFF; Source: Unknown)]LOG]!><time="15:35:21.046-660" date="11-13-2012" component="TSManager" context="" type="3" thread="2152" file="instruction.cxx:3102">
    It looks like there is a similar issue over here (http://www.windows-noob.com/forums/index.php?/topic/5906-task-sequence-error-0xffffffff/) that was resolved by removing the Application Installations one by one until a problematic one was found
    and removed - however I would rather avoid this very time consuming process if possible.
    I have also testing this using 'capture media' in the full OS and that also fails at the same step with the same errors in the smsts.log
    The only workaround I have for now is to let the task sequence fail at the 'Prepare ConfigMgr Client for Capture' step, then I uninstall the SCCM client using 'ccmsetup.exe /uninstall' and use the 'capture media' method - obviously with no SCCM client installed,
    it skips the 'Prepare ConfigMgr Client for Capture' step and goes straight to the 'Prepare OS' step and then to the actual capture to the WIM step.
    Anybody else seeing this or have any suggestions?
    My Microsoft Core Infrastructure & Systems Management blog -
    blog.danovich.com.au

    It looks like there is a similar issue over here (http://www.windows-noob.com/forums/index.php?/topic/5906-task-sequence-error-0xffffffff/) that was resolved by removing the Application Installations one by one until a problematic one was found
    and removed - however I would rather avoid this very time consuming process if possible.
    You dont have to test it 18 times....
    Just test with 50% of the applications first, if it fails, test with 25% and then on of the time...
    You should be able to find the application, within 4-5 tests...
    Ronni Pedersen | Microsoft MVP - ConfigMgr | Blogs:
    http://www.ronnipedersen.com/ and SCUG.dk/ | Twitter
    @ronnipedersen

  • Calendar client for 64 bit linux

    Is there a 64 bit linux calendar desktop client?

    I couldn't agree more - it's insane that an enterprise
    product isn't supporting x86_64 instructions in 2007.
    On a more constructive note - does anybody out there have a
    compiled connector for RHEL or CentOS 4.X, the 64 bit version? I
    ask because I've found numerous pages on the web describing how it
    works great for people after they compile it on their own. Well, I
    can't get it to work. I have CentOS 4.4 x64, and I try to run this
    script after successfully installing CFMX 7.0.2 by using the method
    to sed out the checks for the right kernels, etc. Here is the
    script I try to run inside the connectors/src directory:
    /usr/sbin/apxs -c -n jrun20 -S
    LIBEXECDIR=/opt/coldfusionmx7/runtime/lib/wsconfig/1/ mod_jrun20.c
    jrun_maptable_impl.c jrun_property.c jrun_session.c
    platform.c \
    jrun_mutex.c jrun_proxy.c jrun_utils.c | more
    /usr/sbin/apxs -i -n jrun20 -S
    LIBEXECDIR=/opt/coldfusionmx7/runtime/lib/wsconfig/1/ mod_jrun20.la
    strip /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so
    All the paths are correct, and when I run it I get about 1000
    warning lines from apxs about invalid characters and such in the .c
    file. Good times.
    Can somebody tell me how the hell to get this to work on 64
    bit CentOS 4.x? I'm going crazy here... and Adobe - GET OFF YOUR
    ***** AND PLEASE ADDRESS THIS ALREADY. IT'S BEEN YEARS SINCE AMD
    STARTED SHIPPING THEIR FIRST X64 BIT CHIPS.
    This is approaching the no iTunes on Vista level of insanity
    here....

  • When Instant Client for AIX 5L 32 and HP-UX PA-RISC 32 are released?

    Does anyone know when Instant Client for AIX 5L 32 might be release?
    and also, Instant Client for HP-UX PA-RISC 32 ?

    There isn't much to check. This is the Instant Client and it was downloaded specifically for the 32-bit PA-RISC platform. The "documentation" simply says I should set the "LD_LIBRARY_PATH" environment variable to include the directory where I unzipped the files. It is obviously looking at the libraries when I load my application, otherwise I would get a different type of error message along the lines of "missing Oracle client". FYI, This is not one of the newer 8x00 chips which support 64-bit addressing, but that is the point of the 32-bit option. I assumed this was compiled for my platform (which more specifically is an HP PA-RISC 7300LC 160MHz processor with 768MB RAM). I know this isn't the most modern box, but I would like to have a simple lab environment for my ERP application and save the hassle and additional expense of aquiring a 64-bit compatible workstation. I figure what I have works well with my application, and there is no 9i 32-bit client...so why not try the 10g Instant Client which should be backwards compatible with my database. BTW, the database is not running on this box, it's on a remote server which does support 64-bit and happens to be running Oracle 9.2.0.4.

  • Any simple program available for testing instant client for Windows

    Any simple program available for testing installation of instant client for Windows.
    Thankx in advance

    Having a program means you need a dev environment to compile, link and then test it with your instant client env.
    I would suggest you download sqlplus ZIP and connect to a DB server.

  • Compiling Clients on HP Server (2)

    I do not have DisplayProject in my supplier's plans.
    Previous Message:--------------------------------------------
    I am trying to compile a GUI-less application on the server and have
    received the following error many times.
    cpp: "ds.h", line 11: error 4036: Can't open include file 'Xm/Xm.h'.
    I did a find on unix and came back with nothing, which explain the error.
    From what I can tell Xm.h is a Motif header file, which leads me to ask thenext two question...
    1. Since my application has no window classes (btw: client and service
    partition are all on the server),
    why does would Forte need to access Motify?
    2. Is Xm.h a file that comes with Forte, part of the X/Motif package,
    Freeware/Shareware, or HP?
    We are running Forte 3.0.E.0 on a HP K420 (9000/800) on HPUX B.10.20
    Thanks in advance.
    Frank Lam
    Fax Cover Page:

    Just an FYI for everyone.
    Thanks Brad.
    Frank
    ---------------------- Forwarded by on 10/03/97 08:53 AM
    [email protected] on 10/02/97 02:21:21 PM
    To: [email protected]
    cc: (bcc: Frank Lam/Consultant/NAC)
    Subject: Re: Compiling Clients on HP Server (2)
    Frank,
    Alas, even if not a single line of code touches the display project,
    you
    must compile and link with the X Windows header files and libs on a UNIX
    machine, because the ErrMgr wants a console window to log errors to.
    At 10:27 AM 10/2/97 -0400, you wrote:
    >
    >
    >
    >
    >
    I do not have DisplayProject in my supplier's plans.
    Previous Message:--------------------------------------------
    I am trying to compile a GUI-less application on the server and have
    received the following error many times.
    cpp: "ds.h", line 11: error 4036: Can't open include file 'Xm/Xm.h'.
    I did a find on unix and came back with nothing, which explain the error.
    From what I can tell Xm.h is a Motif header file, which leads me to ask
    the
    next two question...
    1. Since my application has no window classes (btw: client and service
    partition are all on the server),
    why does would Forte need to access Motify?
    2. Is Xm.h a file that comes with Forte, part of the X/Motif package,
    Freeware/Shareware, or HP?
    We are running Forte 3.0.E.0 on a HP K420 (9000/800) on HPUX B.10.20
    Thanks in advance.
    Frank Lam
    Fax Cover Page:
    Brad Mayer
    Customer Service and Support
    Forte Software
    [email protected]
    Direct: (510) 869-3466
    Fax: (510) 869-2010
    Fax Cover Page:

  • Compiling Clients on HP Server

    I am trying to compile a GUI-less application on the server and have
    received the following error many times.
    cpp: "ds.h", line 11: error 4036: Can't open include file 'Xm/Xm.h'.
    I did a find on unix and came back with nothing, which explain the error.
    From what I can tell Xm.h is a Motif header file, which leads me to ask thenext two question...
    1. Since my application has no window classes (btw: client and service
    partition are all on the server),
    why does would Forte need to access Motify?
    2. Is Xm.h a file that comes with Forte, part of the X/Motif package,
    Freeware/Shareware, or HP?
    We are running Forte 3.0.E.0 on a HP K420 (9000/800) on HPUX B.10.20
    Thanks in advance.
    Frank Lam

    Just an FYI for everyone.
    Thanks Brad.
    Frank
    ---------------------- Forwarded by on 10/03/97 08:53 AM
    [email protected] on 10/02/97 02:21:21 PM
    To: [email protected]
    cc: (bcc: Frank Lam/Consultant/NAC)
    Subject: Re: Compiling Clients on HP Server (2)
    Frank,
    Alas, even if not a single line of code touches the display project,
    you
    must compile and link with the X Windows header files and libs on a UNIX
    machine, because the ErrMgr wants a console window to log errors to.
    At 10:27 AM 10/2/97 -0400, you wrote:
    >
    >
    >
    >
    >
    I do not have DisplayProject in my supplier's plans.
    Previous Message:--------------------------------------------
    I am trying to compile a GUI-less application on the server and have
    received the following error many times.
    cpp: "ds.h", line 11: error 4036: Can't open include file 'Xm/Xm.h'.
    I did a find on unix and came back with nothing, which explain the error.
    From what I can tell Xm.h is a Motif header file, which leads me to ask
    the
    next two question...
    1. Since my application has no window classes (btw: client and service
    partition are all on the server),
    why does would Forte need to access Motify?
    2. Is Xm.h a file that comes with Forte, part of the X/Motif package,
    Freeware/Shareware, or HP?
    We are running Forte 3.0.E.0 on a HP K420 (9000/800) on HPUX B.10.20
    Thanks in advance.
    Frank Lam
    Fax Cover Page:
    Brad Mayer
    Customer Service and Support
    Forte Software
    [email protected]
    Direct: (510) 869-3466
    Fax: (510) 869-2010
    Fax Cover Page:

  • RE: Compiling Clients on HP Server

    Hello,
    You have to verify, if you drag display projet in a server partition.
    You can have this problem whith suppliers projects.
    When a project A who is a supplier for a project B (A -> B), is in your
    partition server, you retrieve A and B in your partition. And also, all
    the supplier of B ... perhaps some display projects ...
    Example :
    A -> B (B Display)
    A -> C (C in server Partition)
    D -> B
    in partition where you put C, you Have A, C and B, D
    You can see the contain of your server partition whith the ShowApp
    command.
    De : Frank Lam[SMTP:[email protected]]
    Date : jeudi 2 octobre 1997 14:25
    A : [email protected]
    Objet : Compiling Clients on HP Server
    I am trying to compile a GUI-less application on the server and have
    received the following error many times.
    cpp: "ds.h", line 11: error 4036: Can't open include file 'Xm/Xm.h'.
    I did a find on unix and came back with nothing, which explain the error.
    From what I can tell Xm.h is a Motif header file, which leads me to ask the
    next two question...
    1. Since my application has no window classes (btw: client and service
    partition are all on the server),
    why does would Forte need to access Motify?
    2. Is Xm.h a file that comes with Forte, part of the X/Motif package,
    Freeware/Shareware, or HP?
    We are running Forte 3.0.E.0 on a HP K420 (9000/800) on HPUX B.10.20
    Thanks in advance.
    Frank Lam

    Just an FYI for everyone.
    Thanks Brad.
    Frank
    ---------------------- Forwarded by on 10/03/97 08:53 AM
    [email protected] on 10/02/97 02:21:21 PM
    To: [email protected]
    cc: (bcc: Frank Lam/Consultant/NAC)
    Subject: Re: Compiling Clients on HP Server (2)
    Frank,
    Alas, even if not a single line of code touches the display project,
    you
    must compile and link with the X Windows header files and libs on a UNIX
    machine, because the ErrMgr wants a console window to log errors to.
    At 10:27 AM 10/2/97 -0400, you wrote:
    >
    >
    >
    >
    >
    I do not have DisplayProject in my supplier's plans.
    Previous Message:--------------------------------------------
    I am trying to compile a GUI-less application on the server and have
    received the following error many times.
    cpp: "ds.h", line 11: error 4036: Can't open include file 'Xm/Xm.h'.
    I did a find on unix and came back with nothing, which explain the error.
    From what I can tell Xm.h is a Motif header file, which leads me to ask
    the
    next two question...
    1. Since my application has no window classes (btw: client and service
    partition are all on the server),
    why does would Forte need to access Motify?
    2. Is Xm.h a file that comes with Forte, part of the X/Motif package,
    Freeware/Shareware, or HP?
    We are running Forte 3.0.E.0 on a HP K420 (9000/800) on HPUX B.10.20
    Thanks in advance.
    Frank Lam
    Fax Cover Page:
    Brad Mayer
    Customer Service and Support
    Forte Software
    [email protected]
    Direct: (510) 869-3466
    Fax: (510) 869-2010
    Fax Cover Page:

  • Plsql client for twitter api (using oauth)

    Hi,
    I am probably being a bit optimistic, but does anybody have a plsql client for twitter that will allow me to post status updates from oracle? I found this http://somecodinghero.blogspot.com/2010/09/updating-twitter-from-database-using.html, but it doesn't work, simply giving me 401 Unauthorized whenver I try.
    Make my day? Please?
    Thanks
    Ralph

    So.... Are you ready? Let's go.....
    Twitter Part:
    1. Acess https://dev.twitter.com
    2. Login
    3. Create New Application
    4. Fill out the data requested by twitter(and create application).
    5. Click button "Create my acess token".
    6. Copy Consumer key     ,Consumer secret     ,Access token     ,Access token secret     to Notepad++(or elsewhere).
    7. Click the Tab Settings, and change Application Type to "Read, Write and Access direct messages". click the "Update..."
    After installing DB and verified that you have Java 1.5 in your local machine and downloaded twitter4j jar.
    1. Open Jdeveloper(i'm working with 11.1.2.1.0)
    2. Create a new Application. Create a java Class with:
    package client;
    import twitter4j.*;
    import twitter4j.conf.ConfigurationBuilder;
    public class TweetMeMan {
        public static String sendTweet(String msg, String sOAuthConsumerKey, String sOAuthConsumerSecret, String  sOAuthAccessToken, String sOAuthAccessTokenSecret ) {
            String result = "Ok";       
            try {
                ConfigurationBuilder cb = new ConfigurationBuilder();
                cb.setOAuthConsumerKey(sOAuthConsumerKey);
                cb.setOAuthConsumerSecret(sOAuthConsumerSecret);
                cb.setOAuthAccessToken(sOAuthAccessToken);
                cb.setOAuthAccessTokenSecret(sOAuthAccessTokenSecret);           
                TwitterFactory tf = new TwitterFactory(cb.build());
                Twitter twitter = tf.getInstance();
                Status status = twitter.updateStatus(msg);
                System.out.println("Successfully updated the status to [" + status.getText() + "].");
            } catch (Exception e) {
                System.out.println("Error : " + e.getMessage());
                result = e.getMessage();
            return result;
    }3. Click Project Settings and in Libraries add twitter4j(version).jar
    4. Compile project. No errors? Nice.... Errors? Check the log and fix them ;)
    5. Create a New Deployment Profile
    5.1. Profle Type : Jar File
    5.2 Deployment Profile Name : vrodriguestweet (in my case)
    6. Deploy the vrodriguestweet (it will save de jar file in deploy folder)
    7. Open command line (cmd.exe)
    8. Write
    loadjava -r -f -o -user vrodrigues/yourpaswword@YourDB your_location_of_the_jar_created_above\vrodriguestweet.jar9. Open Sqldeveloper(or sqlplus) and check if there is under Java this name exists : client/TweetMeMan
    9.1 client is the java package i created the java file.
    10. Now let's create the function:
    CREATE FUNCTION letsTweetVR (p_message varchar2, p_OAuthConsumerKey varchar2, p_OAuthConsumerSecret varchar2, p_OAuthAccessToken varchar2, p_OAuthAccessTokenSecret varchar2  )
       RETURN VARCHAR2
       AS LANGUAGE JAVA
       NAME 'client/TweetMeMan.sendTweet
         (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) return java.lang.String';   10.1. No errors? Amazing....keep going you are almost there...
    11. Let's tweet:
    BEGIN
      DBMS_OUTPUT.PUT_LINE(letsTweetVR('Tweeting from database...Awesome, right?',
                                              'your_OAuthConsumerKey',
                                             ' your_OAuthConsumerSecret',
                                             'your_OAuthAccessToken',
                                            'your_OAuthAccessTokenSecret')
    END;Of course you can do this inside a package or passing the values from some interface.... And you can also do other things that twitter4j does... Like Search for Tweets and so on and so on. ;)
    Did someone like this? Or i'm an idiot? : D
    All credits goes to the developer of twitter4j....
    P.S Remember that this is my first usage of java in DB...so if you can do better, please advise ;)
    P.S.1. I will blog this with entire full steps.... just trying to get the time for it :/
    https://lh6.googleusercontent.com/-ktXgF_N5rQU/Tz0hx8cEbgI/AAAAAAAAA-s/LOoTf_5pnd0/s864/twiiter.png
    Edited by: Vitor Rodrigues on 16/Fev/2012 15:46

Maybe you are looking for