Generics bug with multiple interface inheritance?

Hi,
I've noticed what I believe to be a compiler bug (I am getting an error where I believe none should exist). Can someone please comment on the following use-case?
interface Interface1<SelfType extends Interface1<SelfType>>
interface Interface2
class Superclass implements A<Superclass>
class Dependant<Type extends Interface1<Type>>
   public static <Type extends Interface1<Type>> Dependant<Type> getInstance(Class<Type> c)
     return new Dependant<Type>();
class Subclass extends Superclass implements Interface2
  Subclass()
    Dependant<Subclass> dependant = Dependant.getInstance(Subclass.class);
}The problem is that in the above code the compiler will complain that Dependant<Subclass> is illegal because "Subclass is not within its bounds" . The compiler requires that Subclass implement Interface1 and Interface2 directly and implementing Interface1 by extending Superclass doesn't seem to count. If you replace Subclass's definition by "class Subclass implements Interface1<Subclass>, Interface2" the problem goes away.
Is this a compiler bug?
Thank you,
Gili

Actually now I understand what you mean.... Ok, now I am going to modify the problem slightly and add Interface2 into the picture. The new code is:
interface Interface1<SelfType extends Interface1<SelfType>>
interface Interface2
class Superclass implements Interface1<Superclass>
class Dependant<Type extends Interface1<Type>>
   public static <Type extends Interface1<Type> & Interface2> Dependant<Type> getInstance(Class<Type> c)
     return new Dependant<Type>();
class Subclass extends Superclass implements Interface2
  public Subclass()
    Dependant<Subclass> dependant = Dependant.getInstance(Subclass.class);
}Now, previously I could replace:
Dependant<Subclass> dependant = Dependant.getInstance(Subclass.class);
with
Dependant<Superclass> dependant = Dependant.getInstance(Superclass.class);
and it solved the problem, but now that Type must implement Interface2 I cannot.
The reason I added this requirement is that this is actually what is going on in my applicationI had made mistakely omited this detail from the original use-case.
Can you think up of a possible solution to this new use-case?
Thanks,
Gili

Similar Messages

  • SWIG - C++/Java and multiple interface inheritance - SWIG typemaps

    In C++ I have the following. Can someone explain how to use SWIG typemaps to accomplish multiple interface inheritance in Java? I understand there is a javainterfaces typemap built into SWIG however I am such a newb with SWIG I really don't know where to start.
    class IRemoteSyncIO
    public:
      virtual ~IRemoteSyncIO () {}
    protected:
      IRemoteSyncIO () {}
    private:
      IRemoteSyncIO (const IRemoteSyncIO&);
      IRemoteSyncIO& operator= (const IRemoteSyncIO&);
    class IRemoteAsyncIO
    public:
      virtual ~IRemoteAsyncIO () {}
    protected:
      IRemoteAsyncIO () {}
    private:
      IRemoteAsyncIO (const IRemoteAsyncIO&);
      IRemoteAsyncIO& operator= (const IRemoteAsyncIO&);
    class RemoteMpe : public IRemoteSyncIO, public IRemoteAsyncIO
    }Thanks!

    Actually now I understand what you mean.... Ok, now I am going to modify the problem slightly and add Interface2 into the picture. The new code is:
    interface Interface1<SelfType extends Interface1<SelfType>>
    interface Interface2
    class Superclass implements Interface1<Superclass>
    class Dependant<Type extends Interface1<Type>>
       public static <Type extends Interface1<Type> & Interface2> Dependant<Type> getInstance(Class<Type> c)
         return new Dependant<Type>();
    class Subclass extends Superclass implements Interface2
      public Subclass()
        Dependant<Subclass> dependant = Dependant.getInstance(Subclass.class);
    }Now, previously I could replace:
    Dependant<Subclass> dependant = Dependant.getInstance(Subclass.class);
    with
    Dependant<Superclass> dependant = Dependant.getInstance(Superclass.class);
    and it solved the problem, but now that Type must implement Interface2 I cannot.
    The reason I added this requirement is that this is actually what is going on in my applicationI had made mistakely omited this detail from the original use-case.
    Can you think up of a possible solution to this new use-case?
    Thanks,
    Gili

  • Scheduled Report - Bug with Multiple Selection LOV parameter

    Problem:
    I have a scheduled report with a parameter that has it's "Multiple Selection" checkbox checked. I schedule the report with multiple values selected. When I receive the report via email, the report ran as if I only selected one LOV value instead of multiple values.
    Facts:
    1) Enterprise version 10.1.3.2.1
    2) When you run the report manually with multiple values selected in the LOV, it runs great with the correct dataset.
    3) This scheduled report does not have a Data Template.
    James
    P.S. - I searched this forum for other treads on this issue. I didn't find any. Sorry if this is a duplicate.

    I have this same problem, too.
    When I select multiple parameters on the "View" screen for a given report, everything works fine.
    When I schedule it, however, only the last parameter I clicked on (regardless of whether a select a range or multiple individual values) is passed to the query. The other selections I make are ignored.
    What gives? Am I doing something wrong? Is this a bug? Is there a workaround?

  • Loading datastore with multiple interfaces

    We want to have multiple interfaces load the same datastore. Each of these processes can run in parallel. The problem we have is when the LKM fires it creates a C$ table with the same name in each interface. Is there a way to prevent this from creating a duplicate name?
    Troy

    Hi-
    Whenever ODI creates a loading table it will add the prefix with the name of C$ with the name of your table name. That is the reason you are getting the table name with more than 30 characters.
    Loading table prefix is a mandatory field that should be there in your physical schema definition. So whenever you are creating a table it should not exceed the characters defined in the technology or database.
    Thanks,
    Saravanan Rajavel

  • Generics: Requiring a generic type with multiple super-interfaces

    Is it possible to use generics to require that a type be a composition of two superclasses? For instance, let's say that I have a method that serializes a List. Since the List interface is not itself serializable (but most List implementations are), I cannot have a compile-time guarantee that a method with the following signature will succeed:
    public void serializeList(List serializableList);
    However, could I use generics to construct a new signature (sorry about bad generics syntax) like this:
    public void serializeList(<? extends List, Serializeable> serializableList);
    Thanks.

    It's not exactly generics, you want the object to implement both List and Serializable. Generics would let you declare that the List should contain only Serializable objects (don't ask me to write the declaration though).
    However you can't even guarantee that a Serializable object can be serialized reliably, since it could contain (directly or indirectly) a reference to an object that isn't serializable. So I wouldn't work too hard on solving that problem.

  • Generics with multiple interfaces

    I'm trying to figure out why the following is not valid:
    public class MediaService<L extends Deque<MediaFile> & List<MediaFile>> {
            L x = new LinkedList<MediaFile>();
    }Gives:
    Type mismatch: cannot convert from LinkedList<MediaFile> to LSeeing as LinkedList implements both these interfaces, I would expect this to be legal. What else is the use of the & operator in Generics?

    lhunath wrote:
    Basically:
    public static <T extends Deque<MediaFile> & List<MediaFile>> T newMediaList() {
    return new LinkedList<MediaFile>();
    It is possible to do this using covariant return types and a generic abstract factory, like this:
    import java.util.Deque;
    import java.util.LinkedList;
    import java.util.List;
    public class GT20 {
       public static void main(String[] args) {
          DequeListFactory<String, ?> factory = new LinkedListFactory<String>();
          Deque<String> d = factory.create();
          List<String> l = factory.create();
       private interface DequeListFactory<T, L extends Deque<T> & List<T>> {
          L create();
       private static class LinkedListFactory<T> implements DequeListFactory<T, LinkedList<T>> {
          @Override
          public LinkedList<T> create() {
             return new LinkedList<T>();
    }However, I would seriously question the use of such a factory. If you really have a need for a union of interfaces (I would suggest a design that requires/allows users to use your objects as Lists and Deques, something is seriously wrong), I would create such a union and use that in your contract. Java doesn't allow anonymous unions as you're trying to do, and using generics is just a hack. Here's what I might consider:
    import java.util.Deque;
    import java.util.LinkedList;
    import java.util.List;
    public class GT21 {
       private interface ListDeque<T> extends List<T>, Deque<T> {}
       private interface MyInterface<T> {
          ListDeque<T> getListDeque();
       private static class MyClass<T> implements MyInterface<T>{
          @Override
          public ListDeque<T> getListDeque() {
             return new MyLinkedList<T>();
       private static class MyLinkedList<T> extends LinkedList<T>
          implements ListDeque<T> {
    }

  • Timesten replication with multiple interfaces sharing the same hostname

    Hi,
    we have in our environment two Sun T2000 nodes, running SunOS 5.10 and hosting a TT server currently in Release 7.0.5.9.0, replicated between each other.
    I would like to have some more information on the behavior of the replication w.r.t. network reliability when using two interfaces associated to the same hostname, the one used to define the replication element.
    To make an example we have our nodes sharing this common /etc/hosts elements:
    151.98.227.5 TBMAS10df2 TBMAS10df2-10 TBMAS10df2-ttrep
    151.98.226.5 TBMAS10df2 TBMAS10df2-01 TBMAS10df2-ttrep
    151.98.227.4 TBMAS9df1 TBMAS9df1-10 TBMAS9df1-ttrep
    151.98.226.4 TBMAS9df1 TBMAS9df1-01 TBMAS9df1-ttrep
    with the following element defined for replication:
    ALTER REPLICATION REPLSCHEME
    ADD ELEMENT HDF_GNP_CDPN_1 TABLE HDF_GNP_CDPN
    CHECK CONFLICTS BY ROW TIMESTAMP
    COLUMN ConflictResTimeStamp
    REPORT TO '/sn/sps/HDF620/datamodel/tt41dataConflict.rpt'
    MASTER tt41data ON "TBMAS9df1-ttrep"
    SUBSCRIBER tt41data ON "TBMAS10df2-ttrep"
    RETURN RECEIPT BY REQUEST
    ADD ELEMENT HDF_GNP_CDPN_2 TABLE HDF_GNP_CDPN
    CHECK CONFLICTS BY ROW TIMESTAMP
    COLUMN ConflictResTimeStamp
    REPORT TO '/sn/sps/HDF620/datamodel/tt41dataConflict.rpt'
    MASTER tt41data ON "TBMAS10df2-ttrep"
    SUBSCRIBER tt41data ON "TBMAS9df1-ttrep"
    RETURN RECEIPT BY REQUEST;
    On this subject moving from 6.0.x to 7.0.x there has been some changes I would like to better understand.
    6.0.x reported in the documentation for Unix systems:
    If a host contains multiple network interfaces (with different IP addresses),
    TimesTen replication tries to connect to the IP addresses in the same order as
    returned by the gethostbyname call. It will try to connect using the first address;
    if a connection cannot be established, it tries the remaining addresses in order
    until a connection is established.
    Now On Solaris I don't know how to let gethostbyname return more than one interface (the documention notes at this point:
    If you have multiple network interface cards (NICs), be sure that “multi
    on” is specified in the /etc/host.conf file. Otherwise, gethostbyname will not
    return multiple addresses).
    But I understand this could be valid for Linux based systems not for Solaris.
    Now if I properly understand the above, how was the 6.0.x able to realize the first interface in the list (using the same -ttrep hostname) was down and use the other, if gethostbyname was reporting only a single entry ?
    Once upgraded to 7.0.x we realized the ADD ROUTE option was added to teach TT how to use different interfaces associated to the same hostname. In our environment we did not include this clause, but still the replication was working fine regardless of which interface we were bringing down.
    My both questions in the end lead to the same doubt on which is the algorithm used by TT to reach the replicated node w.r.t. entries in the /etc/hosts.
    Looking at the nodes I can see that by default both routes are being used:
    TBMAS10df2:/-# netstat -an|grep "151.98.227."
    151.98.225.104.45312 151.98.227.4.14000 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.14005 151.98.227.4.47307 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.14005 151.98.227.4.48230 1049792 0 1049800 0 ESTABLISHED
    151.98.227.5.46050 151.98.227.4.14005 1049792 0 1049800 0 ESTABLISHED
    TBMAS10df2:/-# netstat -an|grep "151.98.226."
    151.98.226.5.14000 151.98.226.4.47699 1049792 0 1049800 0 ESTABLISHED
    151.98.226.5.14005 151.98.226.4.47308 1049792 0 1049800 0 ESTABLISHED
    151.98.226.5.44949 151.98.226.4.14005 1049792 0 1049800 0 ESTABLISHED
    Tried to trace with ttTraceMon but once I brought down one of the interfaces did not see any reaction on either node, if you have some info it would be really appreciated !
    Cheers,
    Mike

    Hi Chris,
    Thanks for the reply, I have few more queries on this.
    1.Using the ROUTE CLAUSE we can use multiple IPs using priority level set, so that if highest priority level set in thr ROUTE clause for the IP is not active it will fall back to the next level priority 2 set IP. But cant we use ROUTE clause to use the multiple route IPs for replication simultaneously?
    2. can we execute multiple schema for the same DSN and replication scheme but with different replication route IPs?
    for example:
    At present on my system, I have a replication scheme running for a specific DSN with stand alone Master-Subscriber mechanism, with a specific route IP through VLAN-xxx for replication.
    Now I want to create and start another replication scheme for the same DSN and replication mechanism with a different VLAN-yyy route IP to be used for replication in parallel to the existing replication scheme. without making any changes to the pre-existing replication scheme.
    for the above scenarios, will there be any specific changes respective to the different replication schema mechanism ie., Active Standby and Standalone Master Subscriber mechanism etc.,
    If so what are the steps. like how we need to change the existing schema?
    Thanks In advance.
    Naveen

  • Setting The Default Route in a Jumpstart Install with Multiple Interfaces

    Greetings,
    I'm performing a Jumpstart install on a SPARC v240 server, which has multiple network interfaces. I'm trying to configure all of the interfaces as part of the Jumpstart setup. However, Jumpstart doesn't like the default route that I'm supplying. If I add the default_route parameter anywhere but under the first interface, Jumpstart complains that the default route is missing (by making me add it after it dumps out to the suninstall screens. If I add the default route under the first interface, Jumpstart dumps me to the suninstall screen which says that the route could not be added.
    What am I doing wrong ? Am I trying to get Jumpstart to do something that it won't do ?
    Here is my sysidcfg file. The file shown below will cause Jumpstart to dump to the suninstall screen, which will indicate that the route cannot be added:
    Please wait while the system information is loaded... /
    Please wait while the system is configured with your settings...
    The route provided could not be added at this time. If you wish to accept the
    route provided, press 'Accept' and the address will be added for reboot,
    otherwise press 'Cancel' and provide another address.
    1. Accept
    2. Cancel
    Enter the number corresponding to your choice [1]
    Here is the sysidcfg file:
    name_service=NONE
    network_interface=bge0
    {hostname=conwe125
    ip_address=10.15.8.122
    netmask=255.255.0.0
    default_route=158.73.175.254
    protocol_ipv6=no}
    network_interface=bge1
    {ip_address=10.15.9.122
    netmask=255.255.0.0
    protocol_ipv6=no}
    network_interface=bge3
    {ip_address=158.73.175.117
    netmask=255.255.0.0
    protocol_ipv6=no}
    network_interface=ce0
    {ip_address=10.16.0.208
    netmask=255.255.0.0
    protocol_ipv6=no}
    network_interface=ce3
    {ip_address=158.73.175.118
    netmask=255.255.255.0
    protocol_ipv6=no}
    root_password=5Z5XTytD2Eddo
    security_policy=NONE
    terminal=vt100
    system_locale=en_US.ISO8859-1
    timezone=US/Eastern
    timeserver=localhost
    Thanks In Advance,
    Chris Hanrahan

    That sysidcfg seems a bit odd anyway, have you by any chance put the different interfaces of your jumpstart server into it? Normally you won't need to specify a default router since the jumpstart will figure it out anyway.. Does your jumpstart server have an interface on each network you want to jumpstart?
    7/M.

  • WLCS 3.5 Bug with Multiple/Restricted Properties?

    Hi,
    I think I have come across a bug: I have created a property set that
    holds (among others)
    a property of type integer / Multiple / Restricted. I have added allowed
    values 1-9.
    So far, everything is fine. I can set and retrieve these properties in
    my servlet by calling
    setProperty(scope, propertyName, arrayList) where arrayList is a
    java.util.ArrayList
    containing java.lang.Long. I can retrieve values with getProperty(scope,
    propertyName)
    and get an ArrayList back. I can also see the selected properties under
    localhost:7501/tools/...
    What I cannot do, and what I think is a bug, is: I can't set the
    property to an empty
    ArrayList. If I try that in my servlet, or if I try to de-select all the
    values in the administration
    console, I get an Exception:
    com.beasys.commerce.foundation.exception.SystemException : Unexpected
    error in EntityPropertyManager while setting property; check that value
    is valid if property is restricted
    So how can I set the property to an empty value? Calling setProperty
    with a null value
    doesn't work either.
    Bye,
    Peter

    Peter,
    In your JSPs try <um:removeProperty>.
    Let us know if that works for you...
    PJL
    Peter Conrad <[email protected]> wrote:
    Hi,
    I think I have come across a bug: I have created a property set that
    holds (among others)
    a property of type integer / Multiple / Restricted. I have added allowed
    values 1-9.
    So far, everything is fine. I can set and retrieve these properties in
    my servlet by calling
    setProperty(scope, propertyName, arrayList) where arrayList is a
    java.util.ArrayList
    containing java.lang.Long. I can retrieve values with getProperty(scope,
    propertyName)
    and get an ArrayList back. I can also see the selected properties under
    localhost:7501/tools/...
    What I cannot do, and what I think is a bug, is: I can't set the
    property to an empty
    ArrayList. If I try that in my servlet, or if I try to de-select all
    the
    values in the administration
    console, I get an Exception:
    com.beasys.commerce.foundation.exception.SystemException : Unexpected
    error in EntityPropertyManager while setting property; check that value
    is valid if property is restricted
    So how can I set the property to an empty value? Calling setProperty
    with a null value
    doesn't work either.
    Bye,
    Peter

  • Bug with multiple swingworkers working at same time

    Dear Friends:
    First I have to request apologizes about my bad English. I will try to explain my problem, to see if someone has a tip.
    I want to show in my UI the result of multiple database querys. Each query (for example, 12 queries), return a count (for example "select count(*) from clients).
    The point is to show the results of the queries, to wait x seconds for each query, and repeat them. The wait period may vary between queries.
    I have a custom JPane class that extends Jpane (call it, "MyPersonalJPane), and has a JLabel for the query result, and a Jprogressbar, to show the countdown to the next iteration of the query.
    Inside "MyPersonalJPane, I have two swingworkers. One of them called "Timer", that receives a number of seconds, counts that amount of time, and then fires a "done" property:
    {code}
    public class MyTimer extends SwingWorker {
    private int duration= 100;
    private int elapsedTime= 0;
    public MyTimer(int SECONDS) {
    duration= SECONDS;
    @Override
    protected Object doInBackground() throws Exception {
    long start= System.currentTimeMillis();
    do {
    try {
    Thread.sleep(1000);
    } catch (InterruptedException ignore) {
    long end= System.currentTimeMillis();
    elapsedTime= (int) (end - start) / 1000;
    firePropertyChange("myprogres",null,duration - elapsedTime);
    } while (elapsedTime < duration);
    return null;
    @Override
    protected void done() {
    firePropertyChange("done", null, null);
    {code}
    Then I Have an "Executor" swingworker, that performs the database query, and returns the result:
    {code}
    public class Executor extends SwingWorker<String, Void> {
    private String sql;
    private JLabel myLabel;
    public Ejecutor(JLabel ET, String SQL) {
    sql = SQL;
    myLabel= ET;
    @Override
    protected String doInBackground() throws Exception {
    String cc = "????";
    try {
    ResultSet or = os.executeQuery(sql);
    if (or.next()) {
    cc = or.getString(1);
    } catch (Exception e) {
    System.out.println(e.toString());
    return cc;
    @Override
    protected void done() {
    try {
    myLabel.setText(get());
    } catch (Exception e) {
    System.out.println(e.toString());
    firePropertyChange("done", null, null);
    {code}
    Then, in MyPersonalJPane class, the class that has a label and a JprogressBar and the two singworkers all together, I do the following:
    {code}
    public MyPersonalJPane(){
    initComponents();
    launchMyTimer();
    private void launchMyTimer() {
    jProgressBar.setIndeterminate(false);
    MyTimer t = new MyTimer(100);
    PropertyChangeListener MyTimerListener= new PropertyChangeListener() {
    @Override
    public void propertyChange(PropertyChangeEvent evt) {
    String p = evt.getPropertyName();
    if (p.equalsIgnoreCase("myprogress")) {
    int progress = (Integer) evt.getNewValue();
    jProgressBar.setValue(progress);
    if (p.equalsIgnoreCase("done")) {
    //Countdown is finished. Time to query the db again
    launchExecutor();
    t.addPropertyChangeListener(MyTimerListener);
    try {
    jProgressBar.setIndeterminate(false);
    jProgressBar.setValue(duration);
    t.execute();
    } catch (Exception ee) {
    System.out.println(ee.toString());
    private void launchMyExecutor() {
    Executor e = new Executor(sql);
    PropertyChangeListener MyExecutorListener = new PropertyChangeListener() {
    @Override
    public void propertyChange(PropertyChangeEvent evt) {
    String p = evt.getPropertyName();
    if (p.equalsIgnoreCase("done")) {
                   //here, the Label with the query result is already updated by the Executor swingworker. Time to wait again for the next query
    launchMyTimer();
    e.addPropertyChangeListener(MyExecutorListener);
    try {
    jProgressBar.setIndeterminate(true);
    e.execute();
    } catch (Exception ee) {
    System.out.println(ee.toString());
    {code}
    My intention is: In my JPanel class constructor, to launch the timer. While my timer counts down, the progressbar is refreshed. When the timer reaches 0, then the MyTimerSwinworker launch the "done" property event, and dissapears. Then, I launch the Executor swingworker, who retrieves from the database some piece of information, refreshes a Jlabel, and when it is finished, it throws a "done" event, the Executor swingworker dissapears, I launch another MyTimer swingworker, and and and and and, etc.
    It works well... with one, perhaps two diferent Jpanels, with two different queries. But my problem is that when I use, for example, 25 Jpanels with 25 different queries, that is, 25 Jpanels with 25 jprogress bar and each JPanel with tho swingworkers (one executor, and one timer), strange thing happens.
    For example, when the Jpanel nº 3 countdown reaches 0, the Jpanel nº5 is refreshed, and when the Jpanel nº7 makes a query, the result is painted in the Jlabel of the Jpanel nº1, etc.
    I suppose I'm doing something very wrong, but I don't know what.
    Any ideas?

    roquec wrote:
    It works well... with one, perhaps two diferent Jpanels, with two different queries. But my problem is that when I use, for example, 25 Jpanels with 25 different queries, that is, 25 Jpanels with 25 jprogress bar and each JPanel with tho swingworkers (one executor, and one timer), strange thing happens.
    For example, when the Jpanel nº 3 countdown reaches 0, the Jpanel nº5 is refreshed, and when the Jpanel nº7 makes a query, the result is painted in the Jlabel of the Jpanel nº1, etc.
    I suppose I'm doing something very wrong, but I don't know what.
    Any ideas?Please look into javax.swing.Timer to do the work of your "MyTimer" class. The reason your implementation of a Timer class with SwingWorker won't work with 25 instances is because each SwingWorker executes on a thread from SwingWorker's thread pool which has a limited size (I believe it is 10). With javax.swing.Timer, you can use as many countdowns as you want with no problem because they will all use a shared Thread.

  • Office 2010 Bug with Multiple Lines

    Hi,
    It appears this bug has not been fixed in the December CU.  http://sharepoint.nauplius.net/2013/09/office-2010-update-kb2760758-incorrectly-checks-multi-line-columns/.
    This is causing me large problems with SharePoint to Word integration does anyone have any workarounds they have used and/or any update on when a fix can be expected?

    Hi
    Have you tried the suggestions in the article?
    Comments below the original post also recommended to uninstall certain updates, check if it helps you.
    In addition, here's a thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/415bb92d-5fb7-46cf-9235-d894036743c6/microsoft-office-update-kb2760758-breaks-multiline-text-properties-field-in-custom-content-type?forum=sharepointgeneralprevious
    We might still have to keep patience for Microsoft updates.
    Tylor Wang
    TechNet Community Support

  • Proofing bug with multiple monitors (InDesign & Acrobat on Mac)

    Software:
    InDesign CS3 5.0.3 and Acrobat Professional 8.1.2 (Mac OS X Leopard 10.5.4)
    Both application does not compensate the onscreen colors when moving document windows to another screen.
    I have three monitors: Eizo ColorEdge CG220, 30-inch Apple Cinema Display and 17-inch Apple Studio Display.
    The 30-inch Apple Cinema Display is my default monitor (with the menubar). But the Eizo ColorEdge is my color-proofing screen. To get correct onscreen colors on the ColorEdge I have to set it as the default monitor in System Settings. That's a hassle. I hope this bug will be fixed.
    Photoshop handles this perfectly.

    AlFerrari,
    My Mac Pro has two graphics card. The 30-inch uses the first one, and the Eizo and 17-inch shares the second card. The graphic cards are identical.
    Gernot,
    Photoshop refreshes the colors when releasing the mouse button after dragging a window from another screen. Acrobat and InDesign does not.

  • Dual uplinks with single 5400 and single 6509 (with multiple interface cards)

    I have a single 5400 with two gige ports and a single 6509 with dual gige line cards.
    What would be the best method for running them with dual connections in case an interface or line card goes bad?
    Thanks in advance.

    Thank you for the reply Joseph. I swear I've ran SLA on 6500's before. This box is running IOS 12.2 so maybe that's the culprit.
    I found a simple way to configure both devices redundantly using administrative distanced routes pointing through a specified interface. On the 6509, the routes point to a loopback address on the 5400, on the 5400 it's configured as default routes. Like this document explains:
    http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/27082-ip-static-routes.html
    Seems to work like a champ.

  • JDeveloper 10.1.3 Bug With Multiple JSF Config Files?

    There seems to be a problem with JDeveloper 10.1.3 when you have multiple JSF configuration files. I have three configuration files created for a JSF application. One file contains navigation cases, a second file contains the managed beans, and a third file consists of the regular faces-config.xml file.
    When you are working with a backing bean in JDeveloper, it seems to have a nasty habbit of sticking a "new" managed bean definition for the backing bean you are working on in the faces-config.xml file.

    Good point. We'll try to address this in the production release of 10.1.3.
    Thanks,
    Rod

  • [solved] Arch linux access point with multiple interfaces for the NAT

    Hi, I have a router running Arch linux. It is connected via LAN (let's call it eth0) to the internet. It has a second LAN interface, eth1, and a wireless interface in master mode, wlan0.
    Now, Everything works perfectly except providing network connectivity on eth1 and wlan0 simultaneously. I followed the guide in the "Internet share" wiki article and use dnsmasq/hostapd for the AP. It appears as if all traffic from the router is sent to the wlan0 interface, even if it came in through eth1 (for example, dhcp requests). I cannot really find information how to solve this. The words "bonding" and "iptables" are floating around, but there is not really an easy to understand tutorial for this.
    What do I need to do to use both the eth1 and wlan0 interface (for different clients!) on my router?
    Best regards, and thank you in advance
    Jan Oliver
    /e: This seems to be my problem: http://www.novell.com/support/kb/doc.php?id=7000318 How do I solve this using the usual iptables? (The way described in the article doesn't work: "RTNETLINK answers: No such process" errors.)
    Last edited by janoliver (2013-09-25 22:24:53)

    Or you could bridge eth1 and wlan0, and make dnsmasq bind/listen on that bridge...

Maybe you are looking for