NAC OOB VRF L3 - PC sleeps instead of shutdown - Client comms issue.

I was wondering if anyone had come across this issue and had figured out a method to prevent the situation whereby when a user leaves the office for the evening, they DONT shutdown there PC, after a few hours the PC goes to sleep causing a toggle of the switchport from trusted to untrusted role.
As we know in the OOB L3 deployment as soon as the port is toggled to the untrusted role this is assigned to the untrusted L3 VRF IP addressing e.g 192.168.1.X.  when the user comes in the following day he activates his PC again and the client cannot gain access to the network due to it still having the trusted IP Address of the network 10.1.1.X and being allocated to the untrusted VRF.  The bounce option of the port profile cannot be set due to the user having the PC connected to the network via an IPT phone!  Has anyone overcome this situation ?  Your assistance is appriciated.

Well I dont think both layer 2 and layer 3 are going to work. When you add your CAS to the Nac manager it will ask the type of deployment. I am using layer 3 OOB. You also do not need a trunk port with this type of deployment. I would make the untrusted network a SVI Vlan off your core and then lock things down via an ACL. You will need to allow the 8906, 8906 TCP,UDP & 8910 TCP. You will also need to allow all of the MS ports DHCP, DNS. Here is an example of the ACL I use.
    10 permit icmp any any echo-reply
    15 permit icmp any 10.20.1.0 0.0.0.255
    20 permit udp any any eq bootpc
    30 permit udp any any eq bootps
    40 permit udp any any eq domain
    50 permit tcp any 10.20.1.0 0.0.0.255 range 49152 65535
    60 permit udp any 10.20.1.0 0.0.0.255 range 49152 65535
    70 permit udp any 10.20.1.0 0.0.0.255 eq 389
    80 permit tcp any any eq 8905 (116 matches)
    90 permit udp any any eq 8905 (370 matches)
    100 permit udp any any eq 8906
    110 permit tcp any 10.20.1.0 0.0.0.255 eq 389
    120 permit tcp any any eq 8910
    130 permit tcp any host 10.20.1.1 eq 443
    140 permit tcp any host 10.20.1.1 eq www
    150 permit tcp any 10.20.1.0 0.0.0.255 eq 88
    160 permit tcp any 10.20.1.0 0.0.0.255 range 135 139
    170 permit tcp any 10.20.1.0 0.0.0.255 range 1025 1026
    180 permit tcp any 10.20.1.0 0.0.0.255 eq 3268
    190 permit tcp any 10.20.1.0 0.0.0.255 eq 445
    200 permit udp any 10.20.1.0 0.0.0.255 range 135 netbios-ss
    999 deny ip any any

Similar Messages

  • Macbook Pro goes to sleep instead of shutdown...

    Hi!
    I'm new to this forum, I've tried asking on my local apple forum by=ut they wern't able to help me... Maybe you'll be...
    My problem is that infrequently my macbook pro after hitting the "shut down" button seems to shut down, the screen goes blank, but when i close the cover the sleep mode icon turns on... Then it is impossible to turn him back on... The only thing left to do is remove the battery and then put it back in.
    After the system starts it says sth like: MAC OSX quit unexpectadly, report?
    My only guess is that it could be connected with the double command. But I have the newest version and it is said to be workig with leopard fine...

    Try having a look in Console, in your Utilities folder. This shows you what your Mac is trying to do on shutdown.
    You could post the results back here for people to have a look at.

  • NAC OOB VIRTUAL GW PROBLEM

    Hi,
    I am trying to setup a NAC OOB Virtual GW Scenario (attached is the visio schematic of the setup):
    Switch: 3550 (ios 12.2(46) adv ip serv)
    NAC 4130 appliances: v4.1.6 (also tried v4.5)
    Switch Configuration of the trunks to the CAS):
    - int f0/23 (connected to CAS e0) -> dot1q trunk with native vlan 999 and allowed vlans 199 (mgt vlan of cas) and 10 (hosts access vlan)
    - int f0/21 (connected ro CAS e1) -> dot1q trunk with native vlan 998 and allowed vlans 100 (hosts authentication vlan)
    - SVIs on switch: 199, 10, 200 (CAM mgt vlan), 99 (dns, dhcp)
    The problem I am facing is that the host once connected to a managed port is able to acquire an ip from the access vlan from the dhcp server but is not redirected to the login page. I tried to follow some hints provided in previous posts but none of them worked for me. I configured the following:
    - Login Page
    - Configured IP based traffic control on the unautheticated role to permit all traffic (also host based to permit https://192.168.199.1 -> cas' ip with trusted dns my dns server 192.168.99.1)
    - Managed subnet with unused ip in access vlan (192.168.10.253) and vlan id that of the auth vlan (100)
    - vlan mapping between untrusted vlan 100 and trusted vlan 10
    - tried to access a resolvable website by my dns from the host (as per the suggestion from a previous post for someone who was facing the same prob)
    - also tried to access the cas' login page from the host with vain, eventhough it is accessible from trusted subnets
    Note: I followed the configuration guide of both v4.1.6 and v4.5 and with both versions I was facing the same problem.
    I would be very thankful for any hints to help me solve this issue.
    Questions: When the host is connected to a managed host (assigned to the managed vlan 100) and it is assigned an ip from the a access vlan 10. Shouldn't I be able to access the managed subnet case I configured ip traffic control policy to permit all traffic from untrusted to trusted? also shouldn't I be able to resolve website's ip with "nslookup x.com" since dns traffic is by default configured and also trusted dns server 192.168.99.1 is configured?
    Thanks in advance for any help.

    It arised to be that the 3550/3560/3750 are not supported for Central Deployment. The problem is solved.
    Cisco Catalyst 3550/3560/3750 and NAC Appliance In-Band Central Deployment
    For Cisco Clean Access (NAC Appliance) in In-Band Central Deployment mode, when a Cisco Catalyst 3560/3750 series switch is used as a Layer 3 switch and if both ports of the Clean Access Server (CAS) are connected to the same 3560/3750 switch, the minimum switch IOS code required is Cisco IOS release 12.2(25)SEE.
    Because caveat CSCdu27506 is not fixed on the Catalyst 3550 series switch, when the Catalyst 3550 is used as a Layer 3 switch, it cannot be used in NAC Appliance In-Band Central Deployment.
    For further details, refer to switch IOS caveat CSCdu27506:
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCdu27506
    See also Switch Support for CAS Virtual Gateway/VLAN Mapping (IB and OOB).
    Switch Support for CAS Virtual Gateway/VLAN Mapping (IB and OOB)
    Table 6 describes Cisco Catalyst switch model support for the Virtual Gateway VLAN Mapping feature of the Clean Access Server for either in-band (IB) or out-of-band deployments (OOB). This table is intended to clarify CAS network deployment options when connecting the CAS in Virtual Gateway (bridge) mode to the switches listed.
    Table 6 Switch Support for CAS Virtual Gateway In-Band/OOB VLAN Mapping Feature
    Cisco Catalyst Switch Model Virtual Gateway
    Central Deployment
    (both interfaces into same switch) Edge Deployment
    (each interface into different switch)
    6000/6500 Yes Yes
    4000/4500 Yes Yes
    3750/3560 (L3 switch) Yes with 12.2(25) SEE and higher 1
    Yes
    3550 (L3 switch) No 1
    Yes
    3750/3560 (L2 switch) Yes Yes
    3550 (L2 switch) Yes Yes
    2950/2960 Yes Yes
    2900XL No 2
    Yes
    3500XL Yes Yes
    28xx NME Yes with 12.2(25) SEE and higher 1
    Yes
    1 Due to switch caveat CSCdu27506. See Cisco Catalyst 3550/3560/3750 and NAC Appliance In-Band Central Deployment for details.
    2 2900 XL does not support removing VLAN 1 from switch trunks.

  • NAC - OOB - Virtual IP - users lost connecti

    Hi.
    So my problem is the follow:
    I have i my customer a NAC OOB - Virtual Ip Gateway.
    So, we have a many port profiles. Each Port profile witch its own authentication vlan and access vlan, for example:
    TI -  auth vlan 585 -  access vlan 85
    ENGINEERING - auth vlan 586 - access vlan 86
    And works very very fine.
    BUT
    There is a common location called PLATFORM (auth vlan 587, access vlan 87) where, to put port profile on each User interface on the switch after 20 minutes or less, the machines that are on this profile (VLANs 587, 87) lose network connectivity, without bounce.
    I checked and, some machines for no reason, are changed to vlan authentication without snmp Linkdown and even get stuck in with User certifield device list.
    Other machines remain in vlan access, but lose all connectivity to the network without ping gateway and any other device.
    Another vlan (for ex: vlan 1) that is not controlled by NAC continues to communicate normally.
    I tried to see any logs on the switch but could not see anything abnormal (yet).
    Other locations with others port profiles work normally.
    The uplinks on this switches and interfaces users dont have any CRC or errors.
    Could anyone help me? This is causing problems in my account.

    Hi,
    I understand then that the clients are not connecting through local or SSO mode, is that correct?
    I would suggest 3 things so far:
    1. Check the logs on the switches where the CAS's are connected, I had a similar problem where CAS would stop responding and the switches would complain about vlan mismatch or mac flapping, if you notice errors on the switches verify that you have:
    * Vlan mapping enabled correctly
    * Different native VLAN on the switch interface for trusted and untrusted CAS ethx.
    * The correct vlans configured on each port: for untrusted just the authentication (layer 2) vlans, for trusted interface the access vlan (20) and the management vlan.
    2. Enable the management vlan tag on the trusted interface of the CAS and use your CAS management vlan.
    3. On the CAM go to the Clean access server section, manage one of your CAS's, the first window will show the services currently running on the CAS, verify if the SSO service is running, if it's not running, verify the configuration. If it's not allowing you to enable it, verify the time settings on your devices, the AD user and all the other settings needed for this to work.
    Hope this helps,
    Regards,

  • Urgent-NAC OOB VG Deplyment

    hi all,
             Iam in the middle of design of NAC OOB Virtual Gateway.
    I have the following doubts regading the placement of NAC Server to my existing Network
    I have two Core ( redundancy -HSRP ) running VTP & 25 Edge Switches ( VTP Client )
    According to CISCO , we can place NAC Server either in the Core or distribution Switches only , not on the edge switches, in OOB Virtual Gateway deployment.
    But currently my existing core switches is not having copper connectivity, customer don't want to invest on core switches.
    so I have to forcefully move the NAC server to one of the EDge Switches with both interfaces ( trusted & untrusted ) connected to same Edge switch, but CISCO is not recommending to do so in NAC OOB VG Deployment.
    I need to know why we cannot place NAC server at one of the Edge Switches. ( NAC OOB VG Deployment ) , what are the issues behind that ?
    One more thing is that , as my Network is running VTP , what are the things to be consider during the design of NAC OOB VG Deplyment.
    Iam attaching the Network Diagram, Please go through that.
    Expecting your valuable suggestions.
    Regards
    Dileep

    Dileep,
    You can put them on the edges, but you have to make sure you extend all the VLANs necessary to that edge. It's just bad design, but I don't see why it won't work.
    Unfortunately you don't have enough details in the map you provided to get a more detailed answer :-)
    HTH,
    Faisal

  • NAC OOB and 6500 in Virtual Switch Mode

    Is there any issue or special care to implement NAC OOB in Central Deploy, VGW, using AD SSO for wired clients where the Core Switch is a pair of 6500 in Virtual Switch Mode?
    The customer uses Radius IAS for authentication. How does it fit with the AD SSO?

    Hi Bruce,
    I am afraid there are some arguments missing in your db command.
    To manually add the OID of  Cat4507R+E to CAM's database here is the  procedure to do this.
    [root@cca-3140-cam ~]# psql -h localhost -U postgres controlsmartdb -c "INSERT INTO supported_switch VALUES ('1.3.6.1.4.1.9.1.1286', '4', 'Cisco Catalyst 4507 R+E')" INSERT 0 1
    psql: warning: extra command-line argument "INSERT" ignored
    psql: warning: extra command-line argument "0" ignored
    psql: warning: extra command-line argument "1" ignored
    INSERT 0 1
    Then to make sure it is there:
    [root@cca-3140-cam ~]# psql -h localhost -U postgres controlsmartdb -c "SELECT * FROM supported_switch" | grep 1286
    The output should be:
    1.3.6.1.4.1.9.1.1286      |     4 | Cisco Catalyst 4507 R+E
    Restart perfigo service on NAC Manager and try to manage the switch  using the model used by the above command.
    HTH,
    Tiago
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • NAC OOB Logoff feature workaround ?

    Hi,
    We have a NAC OOB, Real-Ip Layer2 setup and the new option "Logoff Clean Access Agent users from network on their machine logoff or shutdown" does not apply when using OOB mode (which is annoying). Anybody found a way to make sure that when a users logs off from his PC he's automatically put back to the authentication VLAN ? We thought of maybe put a program in Windows XP logoff script that would disable/enable the NIC card but it seems a bit tricky...
    I'm sure I'm not the only one who's trying to find a solution for this. Hopefully Cisco will support this feature right from the clean access agent in a future release...
    Thanks.
    Dominic

    for now we are waiting for the feature to become available from Cisco in Q2 or Q3 of 2007.
    And yes, we are using SSO in a Windows XP - Windows 2003 environment.
    Dominic

  • Klaptop using /proc/acpi/sleep instead of /sys/power/state

    This is a problem in kde since it disables most of the features of klaptop. In other words for me at-least kde cpu frequency scaling, standby, suspend do not work through klaptop since it seems to use /proc/acpi/sleep instead of /sys/power/state which is the only thing available in the new kernel. I am not sure if this is a kde problem, my kernel problem, or just simply my particular problem.
    Is there a way to fix this.
    Thanks for the help,
    Matt

    It also seems kde is not reading the current cpu frequency correctly. It seems to use/proc/cpuinfo instead of /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq to get the current frequency. In addition when clicking setup helper applications under ACPI Config in klaptop I get:
    The /opt/kde/bin/klaptop_acpi_helper application does not seem to have the same size or checksum as when it was compiled we do NOT recommend you proceed with making it setuid-root without further investigation
    Are other people having these problems as well or is this unique to me.

  • NAC OOB Configuration

    Hi!
    I'm implementing an NAC oob solution. tTe CAS and CAM are in the Data-center on an remote network, and i need to control the vlan's that my users access on my remote sites.
    How do i make them authenticate on the remote CAS? (the Cas is on an remote network)
    TKX
    Miguel

    Hi,
    Well, it looks like you are starting now, so I would advise to get in touch with the OOB concept and guidelines:
    http://www.cisco.com/en/US/docs/security/nac/appliance/configuration_guide/48/cam/m_oob.html.
    You have L2/L3 mode.
    You have OOB/InB mode.
    You have Real-Ip/Virtual gateway mode.
    You have 2 main VLANs for the clients: authentication (untrusted) and access (trusted) vlans.
    The goal is to make the client fall into the auth vlan prior to login, and the traffic flow through the CAS so that the CAS can permit/deny the client from passing traffic.
    You have also, nice chalk-talks where you can see VODs explaining the steps for configuring several features/deployments:
    http://www.cisco.com/en/US/prod/collateral/vpndevc/ps5707/ps8418/ps6128/prod_presentation0900aecd80549168.html.
    HTH,
    Tiago
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • Power Mac G4 power button activates sleep instead of shut down.

    I am setting up my G4 as a 'backup' machine for a macbook pro. The G4 will not have a monitor attached, so I will not have access to the normal 'Apple>Shut Down' menu or key commands.
    The power button on the G4 powers up the machine just fine, but pushing the power button to turn the machine off seems to put the system to sleep (including the monitor) but doesn't shut anything off.
    Any ideas as to what could be causing this or how to fix it? Thanks in advance!
    Message was edited by: Host <to clarify Title>

    Hi, Ryan -
    If you are using an Apple Pro keyboard on that machine, there is a set of keystrokes which may allow you to shut it down 'in the blind' (they work with OS 9; not sure about OSX) -
    Press the key combo Option-Eject (Eject is the topmost-rightmost key above the keypad). This should bring up a splash screen displaying buttons for Restart, Sleep, Cancel, and Shutdown. As I recall, the default (heavy-border or blue) button is Shutdown - pressing Return or Enter should engage it.
    Note - not sure if the modifier used with Eject is Option (I think it is) or another one... I don't have a machine available at the moment which has an Apple keyboard on it with which to test.

  • My Macbook Pro mid 2009 after installing mavricks restarts instead of shutdown !

    My Macbook Pro mid 2009 after installing mavricks restarts instead of shutdown !
    The strange also that after shut it down with the power button & close the laptop screen, If i connected the power cord the laptop start booting !
    I've reseted the SMC & PRAM but still the problem
    Also repaired the disk permissions !
    Please advice what shoudl i do ?
    Note: alot of times while the laptop in sleep mode i hear the fans !, and it goes very hot if i put it in my laptop bag in sleep mode !
    Regards
    My Mac info:
    - 15 inch.
    - Mid 2009
    - 2.8 Ghz Intel Core 2 Duo.
    - 8 GB 1067 MHz DDR3.
    - NVIDIA GeForce 9400M 256 MB + NVIDIA GeForce 9600M GT 512 MB.

    Classic kernel panics. Run the Apple Hardware Test suite, extended tests at least twice, followed by Rember. See
    OS X About kernel panics,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics,
    How to troubleshoot a kernel panic, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • I can't seem to get my iMac (late 2009 model) into automatic sleep mode.  If I manually put it into sleep I don't have any issues.  I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion.

    I can't seem to get my iMac (late 2009 model) into automatic sleep mode.  If I manually put it into sleep I don't have any issues.
    I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion. I now want to fix the underlying problem.
    I'm not running any weird background processes and in my energy saver settings I've tagged "put the hard disk to sleep when possible:, "allow power button to put computer to sleep" and "automatically reduce brigthness". All pretty standard.
    Is there anyone who can give me some pointers ?

    Today I solved the same problem for my iMac running Snow Leopard. See https://discussions.apple.com/thread/3008791#15947706. The method may help you, too.
    For me it was the DynDNS Updater preventing my iMac from automatically entering sleep mode.
    To my knowledge the cause of this sleep problem can only be a peripheral device or a process. So I suggest to first unplug all peripherals and test whether that's the cause. If not, I suggest to terminate one process after another and to test automatic entering of sleep mode after each. Start with user processes; continue with system process if necessary.
    At least that's the way I found the offending process. Fortunately, I was able to change the configuration of that process to allow again automatic entering of sleep mode.
    Good luck!

  • How to validate Expiry Stock at Outbound Delivery level instead of checking at Goods Issue?

    Hello Everyone,
    The client wants us to validate Expiry Stock at Outbound Delivery level instead of checking at Goods Issue?
    What is the solution for this?
    Regards,
    Anwar

    Hi Moazzam Sir,
    I'm sorry for not explaining in detail. Actually, I posted the issue in a hurry. I apologize.
    Actually, the client has materials which has expiry date. They use Batch Management. They maintain expiry data (90 Days) in Shelf Life Expiration Date. Their requirement is: User is creating sales order in VA01. Then, he creates Outbound Delivery (OBD), then PGI. They want system not to create OBD, if the material has expired. They want some error message to be thrown whenever user is trying to create OBD for expired stock.
    Regards,
    Anwar

  • Some methods are displaying the result on the server instead on the client.

    When I test (form SeatReservationClient class) the method sri.showReservations() located in SeatReservationClient class the results are being displayed on the server side instead on the client but the method sri.numReservations() is displaying the result as i want it i.e. on the client. Please can anyone help me (as always on this forum) find a solution to this problem and display the results correctly?
    I have 5 classes:
    Interface
    public interface SeatReservationInterface extends java.rmi.Remote
         public boolean isReserved(int row, int seat) throws java.rmi.RemoteException;
         public boolean reserve(int row, int seat) throws java.rmi.RemoteException;
         public boolean cancel(int row, int seat) throws java.rmi.RemoteException;
         public int numReservations() throws java.rmi.RemoteException;
    public void showReservations() throws java.rmi.RemoteException;
    Implementation
    public class SeatReservationImpl extends java.rmi.server.UnicastRemoteObject implements SeatReservationInterface
         private Seat[][] theatre;
         * Implementations must have an explicit constructor in order to declare the RemoteException
         * exception.
        * Theatre constructor makes a new movie theatre with numRows rows and numSeats
        * seats (chairs) in each row. All seats are unreserved (unoccupied) in the beginning.
        public SeatReservationImpl(int numRows, int numSeats) throws java.rmi.RemoteException
              theatre = new Seat[numRows][numSeats];
              for(int row = 0; row <theatre.length; row++)
              for(int col = 0; col<theatre[row].length; col++)
              theatre[row][col] = new Seat();
        * The method returns true if the seat at location (row, seat) is reserved.
        * The method returns false in all other cases.
        * Be careful that row numbers run from 1 to numRows, and seat numbers from
        * 1 to numSeats.
         public boolean isReserved(int row, int seat) throws java.rmi.RemoteException
             return theatre[row-1][seat-1].isOccupied();
        * Books the seat at location (row, seat) and returns true if that seat is available.
        * Returns false if that seat is already reserved.
         public boolean reserve(int row, int seat) throws java.rmi.RemoteException
              return theatre[row-1][seat-1].occupy();
        * Cancels a seat reservation at location (row, seat) is that seat was booked, and returns
        * true in that case. The method returns false if that seat had not been reserved.
         public boolean cancel(int row, int seat) throws java.rmi.RemoteException
              return theatre[row-1][seat-1].release();
        * Returns the number of reserved seats.
         public int numReservations() throws java.rmi.RemoteException
              int count = 0;
              for(int i = 0; i < theatre.length; i++)
              for(int j = 0; j < theatre[j].length; j++)
              if(theatre[i][j].isOccupied())
              count++;
              return count;
    * Prints an overview over all reservations. Reserved seats are shown as "*", available seats
    * as "-". For each row the row number is shown, then a couple of blanks, and then the
    * reservations. An example is
    * 8 -----****----
    * 7 ---**---**---
    * 6 ----***------
    * 5 -------------
    * 4 -------------
    * 3 ----------***
    * 2 **-------
    * 1 -------------
    public void showReservations() throws java.rmi.RemoteException
              for(int row = theatre.length-1; row>=0; row--)
                   System.out.print((row+1) + "\t");
                   for(int j = 0; j<theatre[row].length; j++)
                   if(theatre[row][j].isFree())
                   System.out.print("-");
                   else
                   System.out.print("*");
                   System.out.println();
              return;
    [i]Server import java.rmi.Naming;
    public class SeatReservationServer
    public SeatReservationServer()
    try
         SeatReservationInterface sri = new SeatReservationImpl(10, 5);
         Naming.rebind("rmi://localhost:1099/SeatReservationService", sri);
    catch (Exception e)
    System.out.println("Trouble: " + e);
    public static void main(String args[])
    new SeatReservationServer();
    Client
    import java.rmi.Naming;
    import java.rmi.RemoteException;
    import java.net.MalformedURLException;
    import java.rmi.NotBoundException;
    public class SeatReservationClient
        public static void main(String[] args)
            try
                   SeatReservationInterface sri = (SeatReservationInterface) Naming.lookup("rmi://localhost/SeatReservationService");
                   /* Make two reservations */
                   System.out.println("Reservations:");
                   System.out.println("1,2");
                   System.out.println("1.3");
                   System.out.println("1,4");
                   sri.reserve(1,2);
                   sri.reserve(1,3);
                   sri.reserve(1,4);
                   System.out.println("The Seat is occupied - " + sri.isReserved(1,2));
                   System.out.println("The Seat is occupied - " + sri.isReserved(1,3));
                   System.out.println("The Seat is occupied - " + sri.isReserved(1,4));
                   /* Show the theatre */
                   sri.showReservations();
                   /* Release a seat that had been booked */
                   System.out.println("Release seat row 1 seat 2");
                   sri.cancel(1,2);
                   System.out.println("The Seat is occupied - " + sri.isReserved(1,2));
                   /* Show the number of total reservations and the theatre */
                   System.out.println("Number of reservations: " + sri.numReservations());
                   sri.showReservations();
            catch (MalformedURLException murle)
                System.out.println();
                System.out.println("MalformedURLException");
                System.out.println(murle);
            catch (RemoteException re)
                System.out.println();
                System.out.println("RemoteException");
                System.out.println(re);
            catch (NotBoundException nbe)
                System.out.println();
                System.out.println("NotBoundException");
                System.out.println(nbe);
            catch (java.lang.ArithmeticException ae)
                System.out.println();
                System.out.println("java.lang.ArithmeticException");
                System.out.println(ae);
    Class containing instance methods
    public class Seat
    private boolean occupied;
         * Constructors:
         Seat()
         Seat(boolean o)
              occupied = o;
         * Instance methods:
         public boolean isFree()
              return !this.occupied;
         public boolean isOccupied()
              return this.occupied;
         public boolean occupy()
              if(occupied)
              return false;
              else
                   occupied = true;
                   return true;
         public boolean release()
              if(!isOccupied())
              return false;
              else
              occupied = false;
              return true;
    }

    Your code is working as expected. The server executes System.out.println in showReservations() and this comes out on the server console. The client executes System.out.println() after calling numReservations and this comes out at the client. Any other expectations are misplaced.

  • Sleep vs. display shutdown- Sonos

    I cant' remember how to do this, but my computer got reset. Usually after a few minutes of activity, the display shuts down, but the little white light in the lower right goes on. Is that the setting to never go into sleep but to shutdown display? My sonos music player needs the mac to stay on, but I don't remember how I set it.
    Thanks, Jim

    Hi there, yes that's the way to do it...
    Go to: System Preferences > Energy Saver > Sleep... you'll know the rest once you get here... Good luck, Rick
    iMac G5 iSight 20" - 30G iPOD in Slimming Black - Mac OS X (10.4.7) - HP Pav 15" WS and Toshiba Sat 17" WS LP's - Canon 20D & A620

Maybe you are looking for