ATG-Client-Class-Path and ATG-Class-Path

What is the difference between ATG-Client-Class-Path and ATG-Class-Path (defined in MANIFEST.MF)? Is it mandatory that these two should have same values all the time? If the values are different, where the application will behave differently?
Thanks,
Gopinath Ramasamy

ATG-Class-Path specifies resources that a module requires and same are assembled in the EAR's lib folder when EAR is created using runAssembler. While ATG-Client-Class-Path mention those resources which are required for client side functionality (like ACC) of that module. If you don't specify this it would not affect your application anyways as EAR will be assembled from ATG-Class-Path. Please refer this for details and all the supported manifest attributes:
http://docs.oracle.com/cd/E35318_01/Platform.10-1-1/ATGPlatformProgGuide/html/s0403applicationmodulemanifestfile01.html

Similar Messages

  • EJB Client class could not run......very urgent

    Hi
    My classpath is as follows.
    C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar;
    C:\Sun\j2eesdk1.4_beta2\lib\j2ee.jar;
    C:\DSTA\session\Sisters\temp\SampleObject.jar;
    C:\bea\weblogic81\server\lib\weblogic.jar;
    C:\DSTA\session\Sisters\temp\StatelessEJB.jar;
    C:\DSTA\session\drools\drools-2.0-beta-11\examples\drools2.jar;
    I am getting ClassDefNotFoundError as follows.
    C:\DSTA\session\Sisters\Sisters\sisters\ejb>java sisterclient
    Exception in thread "main" java.lang.NoClassDefFoundError: sisterclient (wrong
    n
    ame: sisters/ejb/sisterclient)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ===================
    If you need further info. please see my previous mail.
    Thanks
    Murali

    Murali,
    Run the client class with the fully qualified class name.
    java sisters.ejb.sisterclientthanks,
    Deepak
    "murali" <[email protected]> wrote:
    >
    Hi Gurus
    I am trying to run a weblogic application EJB application. I
    could deploy
    the application
    in weblogic 8.1 successfully. But I am getting the following error. I
    have the
    following jars
    in my CLASSPATH .
    1. weblogic.jar 2. j2ee.jar 3. my ejb jar file called StatelessEJB.jar
    Further I had set JAVA_HOME, JDK_HOME etc . My jdk is jdk_141_02 .
    My ejb-jar.xml and weblogic-ejb-jar.xml are deployed in META-INF directory.
    Is it necessary I should populate an application.xml file in the META-INF
    directory.
    Please help me. I had tried my best but all failing.
    In additon to that I had added a jar called wl_client.jar file in CLASS-PATH
    too, but my problem
    still exists. Please provide me a workable solution ASAP. I am struggling
    a lot.
    Thanks in advance
    Murali
    ========================== ERROR MESSAGE =========
    C:\DSTA\session\Sisters\Sisters\sisters\ejb>java sisterclient
    Exception in thread "main" java.lang.NoClassDefFoundError: sisterclient
    (wrong
    n
    ame: sisters/ejb/sisterclient)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ======================================

  • Explanation of a client-class configuration in a CNR

    Hi, we have a CNR with a client-class configured, and the value defined in the client-lookup-id field is: "(try (request option "relay-agent-info" "remote-id") "default")". I can understand the expression but what I don't know is where is defined this parameter "default", which fields does it include, etc.
    Can anybody please help me?
    Kind regards.

    I just did another test to make sure I'm not blowing smoke ;)
    and it works, here's the manifest:
    Manifest-Version: 1.0
    Main-Class: LongManifest
    Created-By: 1.3.0 (Sun Microsystems Inc.)
    Class-Path: aaaaaaaaaaaaaaaaaaaaaaaaa.jar bbbbbbbbbbbbbbbbbbbbbbbbb.jar ccccccccccccccccccccccccc.jar ddddddddddddddddddddddddd.jar
    And what it looks like after the jar cmf ...
    Manifest-Version: 1.0
    Created-By: 1.3.0 (Sun Microsystems Inc.)
    Class-Path: aaaaaaaaaaaaaaaaaaaaaaaaa.jar bbbbbbbbbbbbbbbbbbbbbbbbb.ja
    r ccccccccccccccccccccccccc.jar ddddddddddddddddddddddddd.jar
    Main-Class: LongManifest
    Which is just like what you posted, and mine works - why didn't yours?
    To be honest, when I did my first test a long time ago, I never bothered to see what the resultant manifest looked like, I was just happy that it worked. :)
    -Ron
    I can email you my sample if you like

  • Web service proxy client class missing

    Hi,
    I am using Jdev 11g.
    I created web service proxy but I cannot find a client class.
    Where is a client class jdev created?
    This is jdev help I refered;
    Designing and Developing Applications &gt; Developing with Web Services &gt; Using Existing Web Services in Applications &gt; Creating Web Service Proxies &gt; Using Web Service Proxies
    Thanks

    Hi,
    I created a client class with jdev10134 and put class in my jdev11g project.
    I got following error when run client class
    Exception in thread "main" java.lang.Error: Jaxrpc 1.1 method is not supported.
         at weblogic.webservice.core.rpc.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:65)
    I found this thread.
    "Jaxrpc 1.1 method not supported" when running jdev ws-proxy on weblogic
    I checked WLS10.3 release note, it seems supported.
    Please could someone help me?
    Thanks
    Edited by: user10445424 on 2008/11/10 17:21

  • Invoking a method in WSDL file from client class

    Hi,
    I have got a WSDL file and I have to invoke certian methods from a client class from the WSDL file. What exactly should I do to invoke them from a Java standalone program /servlet/JSP. There is a sayHello() method in the WSDL. Please tell me how to invoke that method from client side. Aslo please let me know the jar files that are needed.
    Below is the WSDL file
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://tutorial.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://tutorial.com" xmlns:intf="http://tutorial.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.2.1Built on Jun 14, 2005 (09:15:57 EDT)-->
    <wsdl:message name="sayHelloResponse">
    </wsdl:message>
    <wsdl:message name="sayHelloResponse1">
    <wsdl:part name="sayHelloReturn" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="addRequest">
    <wsdl:part name="a" type="xsd:int"/>
    <wsdl:part name="b" type="xsd:int"/>
    </wsdl:message>
    <wsdl:message name="sayHelloRequest">
    </wsdl:message>
    <wsdl:message name="addResponse">
    <wsdl:part name="addReturn" type="xsd:int"/>
    </wsdl:message>
    <wsdl:message name="sayHelloRequest1">
    <wsdl:part name="name" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="Hello">
    <wsdl:operation name="sayHello">
    <wsdl:input message="impl:sayHelloRequest" name="sayHelloRequest"/>
    <wsdl:output message="impl:sayHelloResponse" name="sayHelloResponse"/>
    </wsdl:operation>
    <wsdl:operation name="sayHello" parameterOrder="name">
    <wsdl:input message="impl:sayHelloRequest1" name="sayHelloRequest1"/>
    <wsdl:output message="impl:sayHelloResponse1" name="sayHelloResponse1"/>
    </wsdl:operation>
    <wsdl:operation name="add" parameterOrder="a b">
    <wsdl:input message="impl:addRequest" name="addRequest"/>
    <wsdl:output message="impl:addResponse" name="addResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="HelloSoapBinding" type="impl:Hello">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="sayHello">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sayHelloRequest1">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="sayHelloResponse1">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="add">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="addRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:input>
    <wsdl:output name="addResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://tutorial.com" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="HelloService">
    <wsdl:port binding="impl:HelloSoapBinding" name="Hello">
    <wsdlsoap:address location="http://localhost/WebService1/services/Hello"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thanks in advance
    Prashanth

    Hi.
    Please put this line in the google search engine "Invoking java web service" u will get lots of the links.
    Sanjay Kumar Gupta
    [email protected]

  • OLAP client classes are missing - BIB-16626

    Hello
    BI Beans Diagnostics(v1.0.0.0) 11/12/03
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\JDev9032
    JAVA_HOME .................................... = C:\JDev9032\jdk
    JDeveloper version ........................... = 9.0.3.2.1145
    BI Beans version ............................. = 9.0.3.6.0
    BI Beans internal version .................... = 2.7.0.13.1
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.3.0
    JDBC JAR file location ....................... = C:\JDev9032\jdbc\lib
    Database version ............................. = 9.2.0.4.0
    OLAP Catalog version ......................... = 9.2.0.4.1
    OLAP AW Engine version ....................... = 9.2.0.4.1
    OLAP API Server version ...................... = 9.2.0.4.1
    BI Beans Catalog version ..................... = N/A; not installed in BIBDEMO
    OLAP API JAR file version .................... = N/A
    OLAP API JAR file location ................... = C:\JDev9032\jdev\lib\ext
    Load OLAP API metadata ....................... = Unsuccessful
    Error: BIB-10100 Cannot connect to the database. (Reason: See error BIB-16626)
    See C:\JDev9032\bibeans\bin\bi_error.log
    BIB-16626 Cannot connect to the database because OLAP client classes are missing.
    Cause: The CLASSPATH setting does not contain the OLAP client classes (olap_api_xx.zip).
    Action: Include the OLAP client classes in the CLASSPATH setting.
    I tried to add the olap_api_92.jar to the Classpath, I restarted my machine, I reexecuted the \olap\admin\olapu92041.sql, the cwmlite\admin\amdpatch.sql and the olap\admin\olap.sql script... But nothing helped.
    At First all was going wright, then I created some own Dimensions, a cube and materialzed views...
    Can somebody please tell me how I can solve this problem?

    Sorry I placed it in the wrong forum... ;)

  • Create client classes in Abstract Factory

    Hi!
    Let's we have one of the next classes in AbstractDesign patterns:
    1.WindowFactory - abstract factory
    2.MotifWindowFactory, MacWindowFactory - concrete factory
    3.Window - abstract product
    4.MotifWindow, MacWindow - concrete products
    5.Client - client class
    6.ClientCreator - class that creates our client class
    The source code of Client is like this:
    public class Client {
    private AbstractFactory af = null;
    public Client(AbstractFactory af) {
    this.af = af;
    af.createAbstractProduct();
    The code of ClientCreator will be like this:
    public class ClientCreator {
    Client client = new Client(new MotifWindowFactory());
    OK!
    But we can have many client classes. And this client classes can create from different places (many ClientCreator classes) in our project.In our project we have:
    public class ClientCreator1 {
    Client client1 = new Client(new MotifWindowFactory());
    public class ClientCreator2 {
    Client client2 = new Client(new MotifWindowFactory());
    public class ClientCreatorN {
    Client clientN = new Client(new MotifWindowFactory());
    And what will happen when I need to change concrete factory. I must go to EVERY ClientCreator classe and change code to create client classes with another concrete factory:
    public class ClientCreator1 {
    Client client1 = new Client(new MacWindowFactory());
    public class ClientCreator2 {
    Client client2 = new Client(new MacWindowFactory());
    public class ClientCreatorN {
    Client clientN = new Client(new MacWindowFactory());
    I think that this is not flexibility.
    Can any tell me what I wrong understand in AbstractFactory pattern?
    Thanks.

    The code
    Client client1 = new Client(new MacWindowFactory());
    Client clientN = new Client(new MacWindowFactory());results in the creation of a factory for each client. This is unnecessary. Typically, you'd use a singleton here - this is mentioned in GoF 1995:
    Client client1 = new Client(MacWindowFactory.getInstance());
    Client clientN = new Client(MacWindowFactory.getInstance());This means that only one factory is created (assuming a singleton implementation within MacWindowFactory.getInstance).
    This approach ties each client creation to a given factory type. If you want all clients to use the same factory type, then you would change the code to:
    Client client1 = new Client(WindowFactory.getInstance());
    Client clientN = new Client(WindowFactory.getInstance());where WindowFactory would return the appropriate factory type. Now if WindowFactory is an interface, then you create a "Factory Factory", or "Factory Manager". i.e.
    Client client1 = new Client(WindowFactoryManager.getFactoryInstance());
    Client clientN = new Client(WindowFactoryManager.getFactoryInstance());The implemenetation of getFactoryInstance can work any of many ways. If you've only one concrete WindowFactory for now, then hard code it into getFactoryInstance. If you have many, then you could have a setFactoryInstance method on WindowFactoryManager. Or getFactoryInstance could use reflection to create a factory based on a Property, etc.

  • BI Java-Client Class wizard not started

    Hi all,
    I follow the steps described in http://www.oracle.com/technology/obe/obe_bi/bibeans/bibeans_1012/buildbibeansapps/generatejavaapp.htm
    to build BI Beans Java client application.
    But when I create new Business Intelligence Beans --> Client Tier for OLAP --> Java-Client Class, the BI Java-Client Class wizard not displayed.
    Has anyone get this situation? Please help me.
    The version of Jdeveloper is 10.1.2.2.0 (build 1929) and BI Beans is 10.1.2.2
    Thanks very much.

    That's because a bug in BI bean 10.1.2.2.
    I have to use Jdeveloper 10.1.2.1 with BI Bean 10.1.2.1. I pass that error but another occur :(

  • Can't get a client class to run

    hi all,
    this is my first post and i'm a j2ee newbie.
    I'm studying a book 'headfirst ejb' at the moment. i've installed the server and configurated everything. the first example in the book creates a simple application where there's a string[] full of strings which are advice eg "don't eat yellow snow" :) i've three files AdviceBean, AdviceHome and advice. i can post the code if necessary. i've used the deploytool and compiled and deployed them to the server, everythings fine so far. i then have to run a client use the bean. the client class compiles but when i try to run the client it gives me a 'java.lang.noclassdeffounderror : AdviceClient '
    this is what i typed to run the client
    java -cp {$CLASSPATH}:AdviceAppClient.jar;C:\j2sdkee1.3.1\lib\j2ee.jar;C:\projects\advice\classes AdviceClient
    has anyone got this book or can help?
    thanks in advance
    mat

    sorry to double post but here are the.java files, the 1st 3 are on the server and the forth one is the one that is giving me the error.
    Advice.java
    package headfirst;
    import javax.ejb.*;
    import java.rmi.RemoteException;
    public interface Advice extends EJBObject{
         public String getAdvice() throws RemoteException;
    }AdviceBean.java
    package headfirst;
    import javax.ejb.*;
    public class AdviceBean implements SessionBean {
         private String[] adviceStrings = {"bbbbbbbb", "vvvvvvv", "gggggggggg"
    , "jjjjjjj", "rrrrrrr", "qqqqqqqq"};
         public void ejbActivate(){
              System.out.println("ejb activate");
         public void ejbPassivate(){
              System.out.println("ejb passivate");
         public void ejbRemove(){
              System.out.println("ejb remove");
         public void setSessionContext(SessionContext ctx){
              System.out.println("SessionContext");
         public String getAdvice(){
              System.out.println("in getadvice");
              int random = (int) (Math.random() * adviceStrings.length);
              return adviceStrings[random];
         public void ejbCreate(){
              System.out.println("in ejbCreate");
    }AdviceHome.java
    package headfirst;
    import javax.ejb.*;
    import java.rmi.RemoteException;
    public interface AdviceHome extends EJBHome{
         public Advice create() throws  CreateException, RemoteException;
    }AdviceClient.java
    import javax.naming.*;
    import java.rmi.*;
    import javax.rmi.*;
    import headfirst.*;
    import javax.ejb.*;
    public class AdviceClient {
         public static void main (String[] args){
              new AdviceClient().go();
              }  // end of main
         public void go() {
              try{
              Context ic = new InitialContext();
              Object o = ic.lookup("Advisor");
              AdviceHome home = (AdviceHome) PortableRemoteObject.narrow(o, AdviceHome.class);
              Advice advisor = home.create();
              System.out.println(advisor.getAdvice());
              } catch (Exception ex) {
              ex.printStackTrace();
              } // end of try|catch
         } // end of go
    } // end of class

  • NullPointerException while Invoking the Application Client class

    I am trying to use Application Client Testing Tool in WSAD 5.0. Getting NullPointerException while the class is getting invoked. Could somebody help me...
    IBM WebSphere Application Server, Release 5.0
    J2EE Application Client Tool
    Copyright IBM Corp., 1997-2002
    WSCL0012I: Processing command line arguments.
    WSCL0001I: Command line, property file, and system property arguments resolved to:
    File to launch = D:/test/TestEAR
    CC Property File = null
    Client Jar File = <default>
    Alternate DD = null
    BootstrapHost = hostxyz
    BootstrapPort = <default>
    Trace enabled = false
    Tracefile = null
    Init only = false
    Classpath Parameter = null
    Security Manager = disable
    Security Manager Class = Not used. -CCsecurityManager=disable
    Security Manager Policy = Not used. -CCsecurityManager=disable
    Exit VM = false
    Soap Connector Port = null
    Application Parameters =
    WSCL0013I: Initializing the J2EE Application Client Environment.
    WSCL0600I: Binding HandleDelegate object.
    WSCL0031I: The object was bound successfully.
    WSCL0900I: Initializing and starting components.
    WSCL0910I: Initializing component: com.ibm.ws.activity.ActivityServiceComponentImpl
    WSCL0911I: Component initialized successfully.
    WSCL0901I: Component initialization completed successfully.
    WSCL0035I: Initialization of the J2EE Application Client Environment has completed.
    WSCL0014I: Invoking the Application Client class TestMDB
    WSCL0100E: Exception received: java.lang.NullPointerException     at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:616)
         at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)

    Some more info:
    This is in ApplicationClientModule of TestEAR. This EAR has an EJBModule. ApplicationClientModule invokes one of the EJBs. Selected TestEAR as Enterprise Application.

  • CNR DHCP Client-class

    We are using CNR with multiple scopes to provide ip addressing for both computers and IPTV set top boxes. The STB's require boot params in dhcp option-131 and option-240. I have set up a client-class-policy that contains the two options and when I set up a client with an exact mac address, then the information is provided correctly.
    The problem is we have hundreds of STB's. How do I get CNR to generalize the client mac address to just the first 3 bytes?
    I have tried creating a client with 00:00:00 for the last three bytes and then altering the dhcp-client-identifier to match, but it doesn't work.
    The docs state that you can create a client-lookup-id expression but shows no examples.
    Thanks.

    Reread the docs closer and found that the environment parameter 'default-client-class-name' is only visible in the pre-client-lookup extension. So in the post-packet-decode extension I check the request parameter 'dhcp-class-identifier' and then set a environment parameter stb-type to a class name.
    In the pre-client-lookup I check to see if the stb-type is in the environment dictionary. If it is then I set 'default-client-class-name' to that value. This forces the DHCP to use the client-class of the same name as the default for this DHCP request. Since I set the option 131 in the appropriate client-class-policy then it all works. Don't even need a client set up at all.
    Thanks for the response on expressions. Looks like I may have been able to do it that way too.

  • JMS client classes

    Hi
              Where can I get WL JMS client classes? Are they available as free distribution?
              Thanks
              

    The server's "weblogic.jar" is also the WL JMS client classes. And yes, there
              is no charge for clients. For a smaller jar, see the messages in the
              thread "how can I create a smaller jms client jar".
              Alex wrote:
              > Hi
              >
              > Where can I get WL JMS client classes? Are they available as free distribution?
              >
              > Thanks
              

  • What is this ?   com.apple.audio.DriverHelper[162]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.

    What is this ?   com.apple.audio.DriverHelper[162]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.

    What is this ?   com.apple.audio.DriverHelper[162]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.

  • Oracle Client 64-bit and Oracle Client 32-bit on the same server

    Hi,
    I have a Windows 2008 server 64-bit with Oracle Client 64-bit and Oracle Client 32-bit installed on different directories (D:\Oracle and D:\Oracle32)
    Is it possible to define for certain applications to use the TNSNAMES entry from the 64-bit Oracle Client
    and for other applications to use the TNSNAMES entry from the 32-bit Oracle Client
    Once I installed the Oracle Client 32-bit (Oracle Client 64-bit version was already installed) and restarted the server I performed a TNSPING and it defaulted to the Oracle Client 32-bit installation path
    Thanks,
    Barry

    Hello,
    When you install a new client on a server, it will update the PATH variable, and add the ORACLE_HOME\bin path to it, at the first place. That explains why the tnsping use the last installed ORACLE_HOME.
    What you can do if you want only to change the default path to the tnsnames is to set the environment variable TNS_ADMIN to the path where the tnsnames you want to use is located. You can modify this variable in your application if you want to use another tnsnames.
    If you want switch from 32 bits to 64 bits client, then you have to modify the PATH variable.
    Hope this will help.
    Best regards,
    Sylvie

  • Instant Client 11.1 and Visual C++ 2005

    Hi..
    I'm trying to develop a simple program in c++ using OCCI in MS VC++ 2005 but I can't seem to link the right files.
    Can someone help me out with some steps to how to make things work? I'm not used to Visual studio and even less to Oracle libraries.
    Since I wanted to not use a lot of space I've downloaded the Instant Client 11.1 and the Instant Clien SDK from the same version. I've been palying with the PATH variable and some extra linking libraries in Visual Studio but I'm still getting some errors.
    Are those the only things I have to download and how can I put it to work with Visual C++?
    Thanks..

    ligacao = env->createConnection (user, passwd, db);
    where db is a string in the form of: dblocation:1521/apexMy db string is either:
    "//host:port/SID" where SID is of the form DBNAME.DOMAIN, i.e. the full database name as entered in dbca;
    or
    "SID", where SID is just the DBNAME "alias" (I guess) configured in tnsnames.ora, $ORACLE_HOME/NETWORK/ADMIN.
    Note that I'm no expert in these things. I figured out the first form from the doc, and was shown the second by an Oracle Consultant who did the listener.ora and tnsnames.ora himself. See http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/naming.htm#NETAG255
    --DD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for