HS - Generic - Transparent Confusion

I am attempting to connect to a SQL Server machine via Oracle 10gR1 on Windows.
I think I am getting the differences between heterogeneous services, generic connectivity and transparent gateways confused - and as a result am mixing up my configurations.
So far I have created a system DSN via the ODBC admin. called "oracletest". This DSN has been tested and is working just fine. Just in case it is important, it is using SQL Server Authentication.
Then I created the $ORACLE_HOME/hs/admin/iniths_oracletest.ora file with the following entries:
HS_FDS_CONNECT_INFO = oracletest
HS_FDS_TRACE_LEVEL = OFF
I then modified $ORACLE_HOME/network/admin/tnsnames.ora with
ORACLETEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ECYDBLCYADD01)(PORT = 1521))
(CONNECT_DATA = (SID=oracletest)
(HS = OK)
and $ORACLE_HOME/network/admin/listener.ora with
(SID_DESC =
     (PROGRAM = hsodbc)
(ORACLE_HOME = e:\oracle\product\10.1.0\db_1)
(SID_NAME = oracletest)
I then bounced the listener and the database was registered. There was no registration of the oracletest entry. [Edit - the listener file was improperly named, once this was fixed the oracletest entry was registered at startup]
In sqlplus I created a database link
SQL> create databsase link oracletest using 'oracletest';
SQL> select * from combined_cd@oracletest;
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from ORACLETEST
I also changed $ORACLE_HOME/network/admin/sqlnet.ora
to SQLNET.AUTHENTICATION_SERVICES= (NONE)
from SQLNET.AUTHENTICATION_SERVICES= (NTS)
I haven't found any errors in the listener.log
I am guessing I am missing something small or have created some sort of vulcan mind meld of the different options that will never work.
Message was edited by: T
T

T,
For your information:
'Hetrogenous Services' is the name of the system that allows an Oracle database to make SQL-like connections to non-Oracle systems. There are two types - 'Generic Connectivity' and 'Transparent Gateway'. 'Generic Connectivity' allows you to connect to ODBC and OleDB sources, and is provided as part of the database license and install. The 'Transparent Gateways' are built for specific systems (such as Sybase), and are licensed seperately. I think 'Generic Connectivity' used to be called 'Transparent Gateway for ODBC'.
Your problem:
I think the file in '$ORACLE_HOME/hs/admin/' should be named 'initoracletest.ora', not 'iniths_oracletest.ora'.
Here is a guide to getting started with Generic Connectivity:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4406709207206#18830681837358
Mr T :-)

Similar Messages

  • Click On Icon In Dock And Icon's Appearance Changes?

    I am sure this didn't happen before but can't be certain.
    When I click on an icon in the right hand section of the Dock, the icon loses its image and has a generic transparent appearance with a downward pointing triangle whilst the contents are being displayed.
    Take a look at the screenshot where I have clicked on my User Icon which normally looks like a little house.
    The same thing happens to any of the folder icons and I'm sure it didn't do it before?
    Any suggestions or explanations . . . . . . or is it all perfectly normal?

    Thanks for both your replies.
    It happens with both Fan and Grid View as you mentioned, together with Auto.
    It doesn't occur when you open in finder or use List View.
    So it appears that it is perfectly normal and I must have been looking at it for the past year without it registering in my brain . . . . what's left of it!

  • How to create hetrogeneous connection with access to connect with oracle

    how to connect hetrogeneous connection to connect access with oracle to copy data from access to oracle.

    That's a very cool link (add to favorites, thanks
    Krystian Zieja) It is :)
    but you can link the oracle table
    within MS Access itself via ODBC with a DSN (data
    source name) you create through the control
    panel/administrative tools/data sources (ODBC) if you
    are running Windows XP. Once you have the DSN
    created you can link the tables and work with the
    data directly (depending on the login user
    privaleges) or just import the data directly into
    Access and work with it there since it seems like
    that is what you want to do.
    Regards.I am using Generic Connectivity in the present.Before that i used to use ODBC to connect ORACLE with MS access but for diffrent client i had to encapsulate the MS access sequel as well any enhancment mess the code.
    As well I tried to centralised this practice at server side for that i had to encapsualte these sequel and coding into procedure for the client accesbility.
    As well if i had to connect outsource others db like sybase which knows diffrent sequel so i had to cope with other db.
    But thanks for ORACLE they give us a very nice NON-ORALCE connectivity tool (generic,transparent gateway) it fade up all those garbage which i compelled to follow.
    Its like one interface mutltiple methods :)
    However, it also enabled me to control which columns were visible and what they were called in MS access or in Sybase etc.
    So i would suggest to OP go for HS service rather old fashioned ODBC with DSN.
    Khurram

  • Tints vs. transparency; printing indesign file - so confused now

    Hello!
    I'm still learning indesign so i'm definitely not a pro. I've been working on an assignment which consists of creating compositions in indesign. The indesign file basically has text, lines and colored areas.
    I've just realized that I am only allowed to use a couple of colors and their tints. This whole time i've been using color and working with its transparency. Is that remotely the same thing? I am not sure how to get the exact same color i've produced when working with the transparency of a color as a tint. (I'm not suppose to be using transparency yet... XD) Please help.
    Also, once the above is figured out, what is the correct way to export this file as a pdf? Finally, I also need to export all 12 compositions as a 72dpi jpeg to upload online-- how do i do that? The file in indesign is a cmyk file and i'm pretty sure it exports as a cmyk pdf which is okay since i'm printing the pdf. The jpeg part really throws me off though.
    So far, this is what i'm 100% sure on:
    Indesign:
    File> Adobe PDF presets> High Quality Print> give the file a name and save
    then
    this is where i get confused - do I changed the standard options and compability options as well? what about the compression? i've basically printed so many variations of the project playing with the above (from what i've read) and have reached a point in which i'm no longer sure what the correct colors of my file are once exported as a pdf.
    Please help me. Thank you in advance!!!
    (forgot to mention i'm working with indesign CS5.5 and adobe acrobat pro x)

    Hello!
    Thank you for your kind and helpful replies. I was away celebrating Thanksgiving. Hope everyone had a good Thanksgiving, rest of the week!
    @ Peter
    Thank you for your explanation of what offset printing is. It really helped me visualize the process. Is this something used only when it comes to printing large quantities of work then? (I'm assuming large files as well)
    @ Dov
    Thanks for explaining your answer in simpler terms. I now understand what you meant. If i'm understanding things correctly, it's not good to use tints over other colors/objects yet it's alright to use them when they are on white backgrounds. Also, it's best not to use tints when it comes to overprinting; transparency is best.
    @ Will
    Thanks for your information! I'm a bit confused now to be honest; pdfx-4 is not recommended when overprinting with transparency?
    @ Dov
    If I'm understanding correctly, what you and Will are saying is that it's best not to import pdfs that are saved as pdfx-4? I really enjoyed reading all the extra info. It's all quite exciting! (trying to wrap my head around this)
    Thanks guys!!
    I decided to export the indesing file under Adobe Pdf Presets> High Quality Print. I didn't change any of the standard settings. With regards to the jpgs, I used the advice recommended - File > Export, choose JPEG, 72 ppi. I do have one large question though...
    This is what one of the compositions looks like in indesign:
    This is what it looks like when I view it under View> Proof Colors in Indesign:
    This is what it looks like when I export it as a Hight Quality Print pdf:
    This is what the jpeg image looks like when I export it under the following settings:
    And this is what the jpeg image looks like when I export it under these settings:
    Is it correct of me to use the exported jpegs with the simulate overprint option selected even though i'm only digital printing this pdf file? The color of the jpeg resenmbles the most of the pdf color. Thus... is it alright to do that?
    Thank you

  • Get 'Generic Error' when attempting to import .mov files with transparency?

    I get the 'Generic Error' when attempting to import .mov files with transparency? I'm trying to use mattes with an alpha channel but I cannot import them. I have had this same issue since cs6, now I have it with cc 2014? Any clues would be most appreciated.
    I have uninstalled the DVCPro Codec, but it didn't help.
    I have tried converting the .mov file (which is now automatic in Yosemite) and this creates a ProRes4444 Codec, Again no luck with import.
    I've seen this issue on the web, but never a solution? Anyone?

    Hi Terence,
    I tried iPhoto Library Manager but it could not solve my problem. Opening the iPhoto library I can see that the reference to the pictures are pointing to my old location not to the new one. I considered running a script that would change all pointers since this is basically what is needed (in my case from /Volumes/RAID1/Fotos/XXX to /Volumes/Fotos/XXX). Instead I inserted a soft unix link to make to connection but that did not work. It is referring to the airport disk by the airport name rather than the mounted disk name. Very strange indeed. The problem is maybe not in iPhoto but in OSX? Anyway, maybe the only way out is to take some hours and manually run through all linked photos... cumbersome and annoying!
    Regards,
    Søren

  • ColorSync 72 DPI problem - Create Generic PDFX-3 (Flatten Transparency)

    Hi,
    I tried to fix 72 DPI problem in native filter "Create Generic PDFX-3 Document" (ColorSync Utility Application).
    I made a copy of default filter and changed the +Flatten Transparency+ resolution to higher value 300 DPI.
    After ColorSync Utility restart my +Flatten Transparency+ settings were erased (my filter still exist but with no +Flatten Transparency+ value).
    I tried both in 10.6.2 and 10.6.3 also in Polish and English localization.
    As I know it is a common procedure to prepare PDF/X print-shop ready documents avoiding Adobe Distiller.

    You will need to install the abracadabra ColorSync filters to get higher resolution pdfs.
    This is a long standing problem with OSX which has default filters set to render all transparency at 72 dpi.
    I would not use Pages for commercial printing. The dollars you save on software are quickly gambled away on the press. There is just too little professional support built in and Apple's neglect of Pro tools in OSX is the clincher for me. Stick with Adobe and Quark and avoid OSX's print engine.
    Peter

  • Generics Confusion

    Hi all. I am well aware that you cannot create an array of generics in java. However, I am being confused by the compiler errors I get for the following code:
    import java.util.Queue;
    import java.util.LinkedList;
    public class TopologicalSorter<E extends Comparable>{
        private class TopSortCell{
            private int PredecessorCount;
            //private E element;
            //private LinkedList<E> predecessors;
        private TopSortCell[] Elements;
        private Queue<E> OutputQueue;
        public TopologicalSorter(int[] elements){
            this.Elements = new TopSortCell[elements.length]; //It complains here!
    }I am not creating an array of generics am I? At first I thought it was complaining because there were some Generic attributes in my inner class so I commented them out but it still complains. Also, initially, the constructor argument int[] elements was E[] elements. I changed it only for experimentation.
    I tested creating an array out of an inner class with the following, just to make sure I am not mistaken:
    public class InnerClassTest{
         private class InnerClass{
              int i;
         private InnerClass[] TestArray;
         public InnerClassTest(char[] foo){
              TestArray = new InnerClass[foo.length];
    }Compiles smoothly. What might I be missing here?
    Thank you very much!

    If you make TopSortCell static, it compiles fine. I've rarely if ever found a reason for a named nested class not to be static.
    As for why it doesn't compile in the non-static case, I don't know really. I guess it has something to do with the inner class only being defined in the context of an instance of the outer class.
        TopologicalSorter[] x = new TopologicalSorter[1];
        TopologicalSorter<String>[] y = new TopologicalSorter<String>[1];The first line is fine, but the second gives "generic array creation" error. I guess the non-static nested class is viewed as being equivalent to, or implying, the second for some reason.

  • Confused about creation of inner class object of a generic class

    Trying to compile to code below I get three different diagnostic messages using various compilers: javac 1.5, javac 1.6 and Eclipse compiler. (On Mac OS X).
    class A<T> {
        class Nested {}
    public class UsesA <P extends A<?>> {
        P pRef;
        A<?>.Nested  f() {
            return pRef.new Nested();  // warning/error here
    Javac 1.5 outputs "UsesA.java:11: warning: [unchecked] unchecked conversion" warning, which is quite understandable. Javac 1.6 outputs an error message "UsesA.java:11: cannot select from a type variable", which I don't really undestand, and finally the Eclipse compiler gives no warning or error message at all. My question is, which compiler is right? And what does the message "cannot select from a type variable" means? "pRef", in the above code, is of a bounded type; why is the creation of an inner object not allowed?
    Next, if I change the type of "pRef" to be A<?>, javac 1.6 accepts the code with no error or warning message, while javac 1.5 gives an error message "UsesA.java:11: incompatible types" (concerning the return from "f" above). Similarly to javac 1.6, the Eclipse compiler issues no error message. So, is there something that has changed about generics in Java between versions 5 and 6 of the language?
    Thanks very much for any help

    Checkings bugs.sun.com, it seems to be a bug:
    http://bugs.sun.com/view_bug.do?bug_id=6569404

  • Confused by error overriding generics

    Hi,
    I am taking my first tentative steps with generics, but don't really understand what is happening.
    I have overridden AbstractList<String> with the simplest sub-class I could (see below).
    It compiles, but when I run it, I get an error:
    "java.lang.ClassFormatError: Repetitive method name/signature in class file StringList"
    If I run with the -noverify flag on the VM, it runs fine.
    Does anyone know why this happens? Where is the repetitiion?
    Thanks
    Roger
    import java.util.AbstractList;
    import java.util.Vector;
    public class StringList extends AbstractList<String>
         private final Vector<String> _list;
         public StringList(String[] arr)
              super();
              _list = new Vector<String>();
              for (String s: arr)
                   _list.add(s);
         public String get(int index)
              return _list.get(index);
         public int size()
              return _list.size();
         public static void main(String[] args)
              StringList s = new StringList(args);
              for (String text: s._list)
                   System.out.print(text+" ");
    }

    Runs fine for me. Are you using Tiger beta 1 or 2. If using beta 1, try specifying -source 1.5 -target 1.5 javac options.
    I would also suggest:
    import java.util.AbstractList;
    import java.util.Vector;
    public class StringList<T extends String> extends AbstractList<T> {
       private final Vector<T> list;
       public StringList(T... arr) {
          super();
          list = new Vector<T>();
          for (T s: arr)
             list.add(s);
       public T get(int index) {
          return list.get(index);
       public int size() {
          return list.size();
       public static void main(String[] args) {
          StringList<String> s = new StringList<String>("one", "two", "three");
          for (String text: s)
             System.out.println(text + " ");
    }

  • Generic Confusion

    I thought I understood generics but I've hit something of a block. I get a message saying:
    "The return type is incompatible with BibTeXFormat.getIgnoredFields()"
    The following code snipette is basically what causes the problem (I think!).
    class Entry {
        Map<KeyClass, ValueClass> data;
        ArrayList<KeyClass> getKeyList() {
            return new ArrayList<KeyClass>(data.keySet());
    class ExtEntry  extends Entry {
        Map<KeyClass, ValueClass> specialData;
        ArrayList<KeyClass> getSpecialKeyList() {
            return new ArrayList<KeyClass>(specialData.keySet());
        ArrayList<KeyClass> getNonspecialKeyList() {
            ArrayList<KeyClass> keys = getKeyList();
            keys.removeAll(getSpecialKeyList());
            return keys;
        }The error occurs in the getNonspecialKeyList() I know I'm doing something stupid but I just can't spot it.
    Thanks,
    J

    oops name change error that should be ExtEntry.getNonspecialFields()The compiler error is just that no line number or anything else...

  • Generic extarction delta init - bit confused

    Hi all ,
    I have created the delta for generic extraction (view in Development says.)and first time data is extracted with Inuit. delta.
      Data is in cube but how to extract the data next time ? how to do the deletion of delta ? I found the
    entry in the table ROOSGENDLM-DELTAID = '20050413' ???
    please guide for the next step after initial step .
    I will reward to the solution .
    Regards,
    Milind

    Hi Milind,
    How to extract DELTA?
    After your first INIT (Ensure that you have selected Init Request in the Info Package Update Tab). Select DELTA under the same TAB ("<i>Update Tab</i>") from the Info Package.
    Click the Start Button.
    The incoming request are now DELTAs.
    If i have helped, pls grant points...
    Bye!
    --Jkyle

  • Confused... JPG with Transparency in Flash?

    Hi,
    I am working in Flash 8 on a PC. I have a cut out image of a
    person's head, that is sitting on a layer above a background
    graphic on a lower layer. When I look at the head image's bitmap
    properties, it tells me it is a JPG (I pasted it in from
    Fireworks). Q. :: How can the image have transparent areas (i.e.
    the cut out region around the head) when it is a JPG? It works
    well, but I want to make the head image an external JPG, and can't
    figure out how to get te same effect. (I don't want to use GIF as
    the image of the head is a photographic image.)
    Perhaps it is possible to import a PNG into Flash with a
    transparency? ... in Flash 6 player?
    Thanks for your help.
    Geoff

    > Perhaps the file is in JPG form with a black
    > background, and Flash knows to make the black an alpha
    channel somehow?
    Yes .. that is what it does.
    When you imported the image in a format that must have had
    transparency,
    Flash was able to get that set up internally.
    For those who want to know more, published SWF files can only
    have four
    image formats in them
    1) zip compressed 8-bit image (with or without alpha)
    2) zip compressed 16-bit image (no alpha)
    3) zip compressed 32-bit image (with or without alpha)
    4) jpeg compressed image (with or without zipped alpha)
    Jeckyl

  • Transparent Firewall Confusion

    Can anyone point me to some examples of a firewall that redirects request to internal machines based on service type? What I am looking at doing is setting up a firewall that has one external ip address. Internally I have seperate machines that supply DNS, Web and Mail services. I would like the firewall to redirect all requests based on service to the proper machine and I want the internal network to allow outgoing FTP, Web. Mail, etc... I tried editing the BASIC_1.FW that was included to use my addresses and then in my ipnat.conf tried adding
    rdr 0/32 -> internal host port 80
    but nothing is going through.
    Any help would be appreciated.
    Thanks!
    -Tim

    You are correct, I apologize for any confusion. I currently have a NAT router/firewall that was implemented with iptables on an old Intel box. That box is giving me quite a headache and want to replace it with a Netra T1 that I recently obtained. I have read the IPFilter How and have successfully configured for the outgoing connections, but for some reason my incoming requests are being blocked. My first attempt was to use the BASIC_1.fw that came in the examples directory in Solaris 10, but it tells me that the incoming requests for web were blocked. I setup my NAT redirect as
    rdr 0/32 port 80 -> xx.xx.xx.xx/32 port 80
    But any incoming requests were blocked on the following rule:
    block return-rst in log proto tcp from any to any flags S/SA group 100
    I am not sure why.
    Thanks
    - Tim

  • Confused by addAll Generics.

    I have been retrofitting some code from a book to include generics & setup ArrayList for matchingflights as follows:
    package com.apress.jsf;
    import java.util.List;
    import java.util.ArrayList;
    public class FlightSearch {
      String origination;
      String destination;
      String departDate;
      String departTime;
      String returnDate;
      String returnTime;
      String tripType;
      ArrayList <Flight>matchingFlights = new ArrayList<Flight>();
      public String getDepartDate() {
        return departDate;
      public void setDepartDate(String departDate) {
        this.departDate = departDate;
        matchingFlights.get(0).setDepartDate(departDate);
        matchingFlights.get(1).setDepartDate(departDate);
      public String getDepartTime() {
        return departTime;
      public void setDepartTime(String departTime) {
        this.departTime = departTime;
        matchingFlights.get(0).setDepartTime(departTime);
        matchingFlights.get(1).setDepartTime(departTime);
    public String getDestination() {
        return destination;
      public void setDestination(String destination) {
        this.destination = destination;
        matchingFlights.get(0).setDestination(destination);
        matchingFlights.get(1).setDestination(destination);
        matchingFlights.get(0).setFlightNum("133");
        matchingFlights.get(1).setFlightNum("233");
    public String getOrigination() {
        return origination;
      public void setOrigination(String origination) {
        this.origination = origination;
        matchingFlights.get(0).setOrigination(origination);
        matchingFlights.get(1).setOrigination(origination);
    public String getReturnDate() {
        return returnDate;
      public void setReturnDate(String returnDate) {
        this.returnDate = returnDate;
        matchingFlights.get(0).setReturnDate(returnDate);
        matchingFlights.get(1).setReturnDate(returnDate);
    public String getReturnTime() {
        return returnTime;
      public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
        matchingFlights.get(0).setReturnTime(returnTime);
        matchingFlights.get(1).setReturnTime(returnTime);
      public String getTripType() {
        return tripType;
      public void setTripType(String tripType) {
        this.tripType= tripType;
      public void setMatchingFlights(List matchingFlights) {
        this.matchingFlights.addAll(matchingFlights);
    } Running: javac -Xlint FlightSearch.java gives me the following output:
    FlightSearch.java:89: warning: [unchecked] unchecked conversion
    found : java.util.List
    required: java.util.Collection<? extends com.apress.jsf.Flight>
    this.matchingFlights.addAll(matchingFlights);
    ^
    1 warning
    So I insert code to format line this way
    this.matchingFlights.addAll(java.util.Collection<? extends com.apress.jsf.Flight> matchingFlights);Then compiler says:
    FlightSearch.java:89: illegal start of expression
    this.matchingFlights.addAll(java.util.Collection<? extends com.apress.jsf.Flight> matchingFlights);
    ^
    FlightSearch.java:89: illegal start of expression
    this.matchingFlights.addAll(java.util.Collection<? extends com.apress.jsf.Flight> matchingFlights);
    ^
    2 errors
    What's the scoop here? Thought I had my head around generics until I came across this one!

    I worked out the answer myself in the end...
    public void setMatchingFlights(List<? extends Flight> matchingFlights) {
        this.matchingFlights.addAll(matchingFlights);
    }

  • Nested generics -- confusing

    Why does the commented line not compile? Why does it need the extra specialization?
    public class D<E>
        public M1<M2<E>> foo() { return null; }
        public M2<E> bar() { return null; }
        public static void f1()
            D<String>d = null;
            M2<String> m2 = d.bar();
            M1<M2<String>> m1 = d.foo();
        public static void f2()
            D<? extends String>d = null;
            M2<? extends String> m2 = d.bar();
            //M1<M2<? extends String>> m1 = d.foo(); // doesn't work!                                               
            M1<? extends M2<? extends String>> m1 = d.foo();
    class M1<T>{}
    class M2<S>{}

    It does a good job of preventing this sort of trickery.
        public static void f2()
            D<? extends Number>d = null;
            class M3 extends M2<Double> {}
            // M1<M2<? extends Number>> m1 = new M1<M3>();
            M1<? extends M2<? extends Number>> m1 = new M1<M3>();
        }Or, for a more concrete example:
    class D<E>
        List<List<E>> woo = new LinkedList<List<E>>();
        public List<List<E>> foo() {
             return woo;
        public void bar(List<E> list) {
             woo.add(list);
        public static void f2() {
            D<Double> d = new D<Double>();
            d.bar(new DoubleList());
            D<? extends Number> e = d;
            //List<List<? extends Number>> m1 = d.foo();
            List<? extends List<? extends Number>> m2 = d.foo();
    class DoubleList extends LinkedList<Double> {}I haven't been able to find anything that would actually break type-safety if that were allowed, but this comes close, I think.

Maybe you are looking for

  • Atempt to start OMS for Grid Control 11g fails with - Unexpected error occu

    Hello, I am running Grid Control 11g. Repository DB is 11.2.0.1 Both the Grid Control and DB server are running in same machine - redhat 5. When trying to start the oms, this fails with the below error: Oracle Enterprise Manager 11g Release 1 Grid Co

  • 3rd gen iPod touch lock button issues

    Recently my 3rd gen iPod touch started giving me problems with the lock button.  If I press the lock button the screen will turn on and off rapidly and then the power off screen will come up.  It will just keep doing this over and over; I've tried to

  • How can I have acces to a component of a window from a menu

    In a JInternalFrame, I have one Button. I try to access to this Button from a ActionListener of a JMenuBar. In the ActionListener of the JMenuBar, I have use the function "MyActiveFrame = MyDesktop.getSelectedFrame();" for having a pointer to my JInt

  • Stand alone Airport Express for Sound system

    Hi Can I have an Airport Express on it's own connected to a sound system. I have a normal (Sky) Wireless router at home and no other Aplle networking. I want to be able to airplay music to my sound system and was told that an Airport express would al

  • Table excise information in AP invoice

    Hi all, From which AP invoice table we can retrieve ECC No.,CE Range,CE Division etc ? Thanks, With regards, Jeyakanthan