Help regarding applet for querying client's MAC?

Please help with an applet and java code that uses Runtime.getRuntime().exec("ipconfig -all") and gets the client's machine MAC address?
If any one already worked with applets for querying client mahchine MAC , please give me a solution.

remus.dragos wrote:
vasu.mtech wrote:
I am giving an explanation where I want this:
We have an application, where user will be given a specific machine(with one MAC) and have to login from there only. If he tries to login from different machine with same user id, we should throw an error message. That's concept. We know that this reduces/kills operatability of the user from different machines.
But we shouldn't allow the user operating from diffrent machines.What happens if the admins NIC burns? And he gets a news one? He can't log in until you manually change his
MAC in the database ???Database? That's not secure!
It has to be hardcoded into the exe (guess what the kid's next question will be?).

Similar Messages

  • Need help with LikeFilter for querying the keyset instead of value

    Hi,
    I'm looking for help with the LikeFilter.
    I need to query the cache to get all entries with key starting with a particular string.
    I could see samples using LikeFilter for querying the values in the cache but not the keyset.
    Can someone help?
    E.g:
    Cache Entries:
    abc123 - value1
    abc234 - value2
    bcd123 - value3
    I want to get all entries with key starting with 'abc'.
    thanks,
    rama.

    NJ, thanks for the quick reply.
    I tried something similar (as below) but this code gives me 'java.lang.NoClassDefFoundError: com/tangosol/util/ValueExtractor'.
    KeyExtractor extractor = new KeyExtractor("getKey");
    Filter filter = new LikeFilter(extractor, id+":%",'-',false);
    -rama.
    Edited by: 911950 on Feb 2, 2012 1:18 PM

  • Need help regarding "saving a query"

    Hi BW gurus,
    I have a few doubts.
    I developed few queries in the DEV and i transported to QA.
    Since DEV was not having much data i could visualize the report(graphical report) if it meets my reporting specs.
    So i made the query changes directly in the QA system, and i created a workbook,which contains plenty of Excel work and macros programming.Now my report is ready in QA.
    These are my doubts
    1.Can my queries and workbooks be transported to PROD without any problem from QA?
    2.I tried to make the similar changes to the queries in DEV ,and i tried to save it,but i got an error on the Query Designer window stating that,the query cannot be saved due to a problem in the transport?
    Tell me what are the ways to solve my problems
    Thanks in Advance,
    Have a nice day
    Regards
    SM

    Hi Sam,
    When you need to make any changes to any object BEx related or AWB objects, the changes have to be first made in the dev system and then transported to QA. If there is a difference between the QA and the dev system the transports might fail.
    And as you already got the solution. Create a BEx Transport Request in Transport Connection and then make the changes to the query and save. Then you can transport the same to qa and prod without any issue.
    How this helps.
    NewBW

  • Need help on format for query output

    I am new to SQL Developer.
    When I run a query in the worksheet, sometimes the results are in table format and sometimes they are in text format. I would like to have the output always in table format, as it is easier to save to Excel that way.
    Is there a setting for this? Or can someone explain to me what triggers the format to change for some queries?
    I am using SQL D 3.1.07 Build MAIN-07.42 and accessing an instance on 11.2.0.2.

    Hi,
    Welcome to the forum!
    If you look carefully at the worksheet's toolbar, you will notice two green arrowhead icons on the left side: one larger and one smaller imposed over a lined paper image. How they work:
    1. The larger renders the query result in a grid format (what you call table format). Hover over it with the mouse and see: Run Statement (Ctrl+Enter)
    2. The smaller renders the query result in script output format. Hover over it with the mouse and see: Run Script (F5)
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on May 17, 2013 10:38 AM
    Also, if you use Run Statement to execute code that is inherently script-like, it will treat as if you used Run Script

  • Re:Help with code for server client

    Hi i am struggling to adapt code for UDPServer and client programs.
    how can i adapt the following server code to add a message before replying to the client?
    import java.net.*;
    import java.io.*;
    public class UDPServer2{
    public static void main(String args[]){
         DatagramSocket aSocket = null;
              try{
              aSocket = new DatagramSocket(9000);
                             // create socket at agreed port
                   byte[] buffer = new byte[1000];
                   while(true){
                        DatagramPacket request = new DatagramPacket(buffer, buffer.length);
                        aSocket.receive(request);
                   DatagramPacket reply = new DatagramPacket(request.getData(), request.getLength(),
                        request.getAddress(), request.getPort());
                             aSocket.send(reply);
              }catch (SocketException e){System.out.println("Socket: " + e.getMessage());
              }catch (IOException e) {System.out.println("IO: " + e.getMessage());
              }finally {if(aSocket != null) aSocket.close();}
    any help would be much appreciated i have tried altering the aSocket.send(reply) line but to no avail.
    thank you in advance

    Hi i am struggling to adapt code for UDPServer and
    client programs.
    how can i adapt the following server code to add a
    message before replying to the client?What do you want to add before replying to the client?

  • Need help regarding Informatica Power Center Client 9.0.1/9.1 Download

    Hi,
    I am not able to find Informatica Power Center Client in the Oracle Edelivery Website.
    I naviagated through Oracle Business Intelligence 11g Media Pack v21 for Microsoft Windows x64 (64-bit) and found the below softwares listed:
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.0.1 for Windows x86 (64-bit) (Part 1 of 3)     V35641-01 Part 1 of 3     645M
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.0.1 for Windows x86 (64-bit) (Part 2 of 3)     V35641-01 Part 2 of 3     2.0G
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.0.1 for Windows x86 (64-bit) (Part 3 of 3)     V35641-01 Part 3 of 3     2.0G
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.1 for Windows x86 (64-bit) (Part 1 of 4)     V35747-01 Part 1 of 4     1.1G
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.1 for Windows x86 (64-bit) (Part 2 of 4)     V35747-01 Part 2 of 4     2.0G
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.1 for Windows x86 (64-bit) (Part 3 of 4)     V35747-01 Part 3 of 4     2.0G
    Download
    Oracle Business Intelligence Data Warehouse Administration Console 11g and Informatica PowerCenter and PowerConnect Adapters 9.1 for Windows x86 (64-bit) (Part 4 of 4)     V35747-01 Part 4 of 4     2.0G
    I am facing tough time finding Power Center Client in the above list.I hope Informatica PowerCenter and PowerConnect Adapters 9.1 relates to Informatica Server alone(Or) Does it include Client too? Can you please help me finding Informatica Client for 64 bit Windows.
    Edited by: 995241 on Mar 20, 2013 11:38 PM

    hi, Informatica PowerCenter and PowerConnect Adapters 9.1 is a combined version with both server and client tools
    Hope it helps

  • Help regarding a select Query

    hi All,
    I have one requirement.I wonder whether i can do it in a single SQL Statement or not.
    I have tab1 with columns c1,c2,c3,c4,....,Logon_time
    I have tab2 with columns C1,c2,c3,c4.....,Logoff_time
    All the columns are same for two tables except that logon_time and logoff_time as mentioned above.
    tab1 will have all the information of user who logon to database.
    tab2 will have all the information of user who logoff from DB.
    Now i i have to generate a report which shows all the user info and logon Duration.For that i can use logoff_time - logon_time.but the challenge here is logoff_time dont contain rows for the users who logon to database byt yet to logoff.
    So for them logoff_time-logon_time showing -ve Duration.
    So I want Duration as logoff_time-logon_time for all the rows.But for those users who yet to logoff i want duration as "YET to Logoff"
    Is this possible with single Select Query.
    Thanks
    Pramod

    Hi, Pramod,
    You need to join tab_1 to tab_2. Since not every row in tab_1 will have a matching row in tab_2, make it an outer join.
    How do you know which row in tab_1 matches which row in tab_2?
    I assume there's some column (let's say c1) that identifies a user. A user can have several sessions going at the same time, however.
    The following query matches the n-th logon_time in tab_1 with the n-th logoff_time in tab_2 for the same user:
    WITH     numbered_tab_1     AS
         SELECT  c1, c2, c3, c4, ..., logon_time
         ,     ROW_NUMBER () OVER ( PARTITION BY  c1     -- or whatever identifies user
                                   ORDER BY          logon_time
                           ) AS r_num
         FROM     tab_1
    ,     numbered_tab_2     AS
         SELECT  c1, c2, c3, c4, ..., logon_time
         ,     ROW_NUMBER () OVER ( PARTITION BY  c1     -- or whatever identifies user
                                   ORDER BY          logoff_time
                           ) AS r_num
         FROM     tab_2
    SELECT     t1.c1, t1.c2, t1.c3, t1.c4, ..., t1.logon_time     -- or whatever you want
    ,     t2.c1, t2.c2, t2.c3, t2.c4, ..., t2.logoff_time
    ,     NVL ( TO_CHAR (24 * (t2.logff_time - t1.logon_time))    -- duration in hours
             , 'Yet to Logoff'
             )         AS duration
    FROM             numbered_tab_1     t1
    LEFT OUTER JOIN     numbered_tab_2     t2     ON   t1.c1     = t2.c1
                                     AND  t1.r_num  = t2.r_num
    ;I can test this if you'll post some sample data and the results you want from that data.
    The query above matches logons and logoffs only by user and time
    For example, say I log on at 10:00.
    At 10:45, I open another window and log on again, but log off at 10:50 after 5 minutes.
    At 11:30 I log off the first session.
    If you were interested in sessions that lasted over 1 hour, the query above would not be accurate. It would show one session starting at 10:00 and ending at 10:50, and another session starting at 10:45 and ending at 11:30. To know that the first session to end was the second sessiion in order of beginning, you would have to have another column, say a unique session id.
    If you're only interested in the number of sessions, or the total time connected per user, then the query above will be good enough.
    Edited by: Frank Kulash on Jul 6, 2009 12:07 PM

  • Help regarding code for title change

    Hi All,
    I have a requirement like whenever we change the PO ie., when we change the  line item data say for example, if there is a quantity like 20kg and if we want to update itto 30kg., the PO will be changed.
    In such change cases, the title of the PO should be changed to "Purchase Order Change". 
    In these cases, the changes will be recorded in the table CDHDR and CDPOS.
    Can anyone pl tell me of how to write the code for this in the script as well as in the subroutine ...
    Help will be rewarded the best..

    Done. Found out the solution

  • Need help regarding executeUpdate() for my database

    i am trying to update my database and set the records to false... althought it can execute, my records are still not changed according.. help appreciated !!
    import java.io.*;
    public class Index {
         private static String mTitle = "";
    public Index() {
    public static void main(String[] args)throws IOException {
    // TODO code application logic here
    System.out.println("===Start===");
    Dbc dbc = new Dbc();
    if(dbc.setCon()==0)
         System.out.println("Database load successful...");
    else{
         System.out.println("Database load unsuccessful...");
         System.exit(1);
    BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
    while(mTitle.length()<1 | mTitle==""){
         System.out.print("Enter movie title: ");
         mTitle = input.readLine();
         if(mTitle.length() > 0 && mTitle!=""){
              //System.out.println("You have entered: \"" + mTitle + "\"");
              System.out.println("Searching database...");
              int searchStatus = 0;
              searchStatus = dbc.readData(mTitle);
              if(searchStatus==0 && mTitle!=""){
                   mTitle = "";
                   System.out.println("Movie title not found...\n");
                        }else if(searchStatus==2 || searchStatus==3){
                             mTitle = "";
         }else
                        System.out.println("Please enter a valid movie title...\n");
    System.out.println("===End===");
    import java.sql.*;
    import java.io.*;
    public class Dbc{
         private Connection con;
         private boolean status;
         final static private String _driver = "sun.jdbc.odbc.JdbcOdbcDriver";
         final static private String dsn = "database";
         final static private String _user = "";
         final static private String _pass = "";
         final static private String _url = "jdbc:odbc:";
         //Establish database connection
         public int setCon(){
              // load the database driver
              try {
              Class.forName(_driver);
              catch (Exception e) {
                   System.out.println("Load driver error");
                   System.exit(1);
              //after loading the driver, establish a connection
              try {
                   String s = _url + dsn;
                   con = DriverManager.getConnection(s, user, pass);
                   //System.out.println("connection is " + s);
              catch (Exception e) {
                   e.printStackTrace();
                   System.exit(1);
              return 0;
         public int readData(String title)throws IOException{
              ResultSet mTitle = null;
              ResultSet cost = null;
              ResultSet loanStatus = null;
              ResultSet mId = null;
              ResultSet ctg = null;
              try{
                   Statement stmt1 = con.createStatement();
                   Statement stmt2 = con.createStatement();
                   Statement stmt3 = con.createStatement();
                   Statement stmt4 = con.createStatement();
                   Statement stmt5 = con.createStatement();
                   Statement stmt6 = con.createStatement();
                   mTitle = stmt1.executeQuery("SELECT MovieTitle FROM Table1 WHERE MovieTitle LIKE '%" + title + "%'");
                   cost = stmt2.executeQuery("SELECT Cost FROM Table1 WHERE MovieTitle LIKE '%" + title + "%'");
                   loanStatus = stmt3.executeQuery("SELECT LoanStatus FROM Table1 WHERE MovieTitle LIKE '%" + title + "%'");
                   mId = stmt4.executeQuery("SELECT CatalogueNo FROM Table1 WHERE MovieTitle LIKE '%" + title + "%'");
                   ctg = stmt5.executeQuery("SELECT Category FROM Table1 WHERE MovieTitle LIKE '%" + title + "%'");
                   int num = 0;
                   while(mTitle.next() && cost.next() && loanStatus.next() && mId.next() && ctg.next()){
                        status = loanStatus.getBoolean("LoanStatus");
                        System.out.println("=== Listing " + (num+1) + " ===");
                        System.out.println("Movie title: " + mTitle.getString("MovieTitle"));
                        System.out.println("Movie ID: " + mId.getString("CatalogueNo"));
                        System.out.println("Category: " + ctg.getString("Category"));
                        System.out.println("Rental price per day: SGD$" + cost.getInt("Cost"));
                        System.out.println("Availability: " + status);
                        System.out.println("===========================\n");
                        //stmt6.executeUpdate("UPDATE Table1 SET LoanStatus=false WHERE MovieTitle LIKE '%" + title + "%'");
                        num++;
                   /*stmt1.close();
                   stmt2.close();
                   stmt3.close();
                   stmt4.close();
                   stmt5.close();*/
                   if(num>0){
                        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
                        if(num==1){
                             String string = "";
                             char choice;
                             while(string.equals("")){
                                  System.out.print("Do you want to rent this movie? <Y/N> ");
                                  string = input.readLine();
                                  string = string.toLowerCase();
                                  if(string.length() == 1 && string.charAt(0) == 'y'){               if(status){
                                            stmt6.executeUpdate("UPDATE Table1 SET LoanStatus=false WHERE MovieTitle LIKE '%" + title + "%'");
                                            }else{
                                                 System.out.println("Sorry, DVD unavailable...");
                                                 return 2;
                                       }else if(string.length() == 1 && string.charAt(0) == 'n'){
                                            return 2;
                                            }else{
                                                 string = "";
                             }else if(num>1){
                                  return 3;
                        return 1;
                   catch(java.sql.SQLException e){
                        System.out.println(e.toString());
                   return 0;
         }

    Here's some ideas:
    You dont need multiple statements and resultSets. Just one of each. Between reuse, close the statement and resultSet . Use each resultSet to read the data into a collection and then get your data out of the collection. Dont work directly with the resultSet. Also, instead of
    "select name1 from person where personID=1234"
    "select name2 from person where personID=1234"
    you can combine them into one:
    "select name1,name2 from person where personID=1234"
    This line will not run because its commented out:
    //stmt6.executeUpdate("UPDATE Table1 SET LoanStatus=false WHERE MovieTitle LIKE '%" + title + "%'");
    Put System.out.println() above this line to print out the values of each
    item in the if statement to see if stmt6 runs.
    if(string.length() == 1 && string.charAt(0) == 'y'){ if(status){
    stmt6.executeUpdate("UPDATE Table1 SET LoanStatus=false WHERE MovieTitle LIKE '%" + title + "%'");
    This line is not good because it assumes mTitle, cost, loanStatus, etc
    are all the same size list. They may be of different sizes.
    while(mTitle.next() && cost.next() && loanStatus.next() && mId.next() && ctg.next()){
    Statements and resultSets should be closed in a try/catch/finally block.
    Also, see my example on:
    http://forum.java.sun.com/thread.jspa?threadID=5193839&messageID=9769059#9769059

  • URgent: Help regarding SQL Query

    Hi ,
    I need help regarding an sql query.
    Sample Data:
    ITEM_TYPE  ITEM_NUM   UNIT_PRICE QUANTITY       LINE_TOTAL
    ITEM         1            5         10           50
    ITEM         2           10         5            50
    ITEM         1            5          5            25
    ITEM                       2         10           20
    TAX                                               16.5
    TAX                                              -3.5I would like to display the data as
    ITEM_TYPE ITEM_NUM  UNIT_PRICE          QUANTITY          LINE_TOTAL
    ITEM       1          5                 15               145
                  2         10                  5 
                              2                 10
    TAX                                                          13.0
    Line_total = unit_price * QuantityThanks in Advance
    G.Vamsi Krishna
    Edited by: user10733211 on Aug 5, 2009 7:42 AM
    Edited by: user10733211 on Aug 5, 2009 7:49 AM
    Edited by: user10733211 on Aug 5, 2009 8:12 AM
    Edited by: user10733211 on Aug 5, 2009 8:22 AM
    Edited by: user10733211 on Aug 5, 2009 8:24 AM

    Hi,
    Try this, use some analytics:
    SQL> with t as (
      2  select 'item' item_type, 1 item_num, 5 unit_price, 10 quantity, 50 linetotal from dual union all
      3  select 'item', 2, 10, 5, 50 from dual union all
      4  select 'item', 1, 5, 5, 25 from dual union all
      5  select 'item', null, 2, 10, 20 from dual union all
      6  select 'tax', null, null, null, 16.5 from dual union all
      7  select 'tax', null, null, null, -3.5 from dual
      8  ) -- actual query starts here:
      9  select item_type
    10  ,      item_num
    11  ,      unit_price
    12  ,      sum_qty
    13  ,      case when sum_lt = lag(sum_lt) over ( order by item_type, item_num )
    14              then null
    15              else sum_lt
    16         end  sum_lt
    17  from ( select item_type
    18         ,      item_num
    19         ,      unit_price
    20         ,      quantity
    21         ,      sum(quantity) over  ( partition by item_type, item_num ) sum_qty
    22         ,      sum(linetotal) over ( partition by item_type )           sum_lt
    23         ,      row_number() over ( partition by item_type, item_num  order by item_type, item_num ) rn
    24         from   t
    25       )
    26  where rn=1;
    ITEM   ITEM_NUM UNIT_PRICE    SUM_QTY     SUM_LT
    item          1          5         15        145
    item          2         10          5
    item                     2         10
    tax                                           13
    4 rows selected.
    edit
    And please use the code tag, instead of clunging with concats.
    Read:
    http://forums.oracle.com/forums/help.jspa
    Edited by: hoek on Aug 5, 2009 5:15 PM
    edit2
    Also nulls for item_type:
    ops$xmt%OPVN> with t as (
      2  select 'item' item_type, 1 item_num, 5 unit_price, 10 quantity, 50 linetotal from dual union all
      3  select 'item', 2, 10, 5, 50 from dual union all
      4  select 'item', 1, 5, 5, 25 from dual union all
      5  select 'item', null, 2, 10, 20 from dual union all
      6  select 'tax', null, null, null, 16.5 from dual union all
      7  select 'tax', null, null, null, -3.5 from dual
      8  ) -- actual query starts here:
      9  select case when item_type = lag(item_type) over ( order by item_type, item_num )
    10              then null
    11              else sum_lt
    12         end  item_type
    13  ,      item_num
    14  ,      unit_price
    15  ,      sum_qty
    16  ,      case when sum_lt = lag(sum_lt) over ( order by item_type, item_num )
    17              then null
    18              else sum_lt
    19         end  sum_lt
    20  from ( select item_type
    21         ,      item_num
    22         ,      unit_price
    23         ,      quantity
    24         ,      sum(quantity) over  ( partition by item_type, item_num ) sum_qty
    25         ,      sum(linetotal) over ( partition by item_type )           sum_lt
    26         ,      row_number() over ( partition by item_type, item_num  order by item_type, item_num ) rn
    27         from   t
    28       )
    29  where rn=1;
    ITEM_TYPE   ITEM_NUM UNIT_PRICE    SUM_QTY     SUM_LT
           145          1          5         15        145
                        2         10          5
                                   2         10
            13                                          13
    4 rows selected.If you really need a space instead of nulls, then simply replace the nulls by a space....
    Edited by: hoek on Aug 5, 2009 5:18 PM

  • Client Server program using Applets for client

    Creating a client server program using Applets for the clients.
    Having problems distrubting the message from client to client
    using ObjectOutputStreams/ObjectInputSteams.
    I can connect each client to simple server and respond with by writting
    the i/o stream of each client but unable to communicate from client to client. If any one out there has in tips of creating a class of objectOutputStreams that holds a array of ObjectOutputStreams and then broadcasts the message to every client, it would be much appreciated
    Thanks.

    Cheers poop for your reply
    I never explained the problem properly. What it is I am trying to set up a Client Server program using Applets as the clients GUI. The problem is broadcasting the message to multiply client connnection(s).
    Below is code, each client can connect and send message to the server. The problems is broadcasting the message to every client connection. The every client can input a message but only the last connected client can receive the message?????? Thanks in advance..
    /*this my server class */
    import java.io.*;
    import java.net.*;
    public class Server extends JFrame
    private static final int ServerPort=8080;
    private static final int MaxClients=10;
    private ObjectOutputStream output=null;
    private ObjectInputStream input=null;
    private BroadCastMessage broadcastMessage;
    public void runServer()          
    BroadCastMessage broadcastMessage= new BroadCastMessage();
    try
    {  //connect to server
    ServerSocket s = new ServerSocket(ServerPort,MaxClients);
         //listen to port 5000 for new connections
         ///max is 25
         System.out.println("Server listening on port "+ServerPort);
    while (state.isProgramRunning())
         try
         /// sGUI.waitForConnection();//new line
         s.setSoTimeout(100);
         //enable times in server-socket
         while (true)     
         Socket incoming = s.accept();
         //wait and accept connnections from serverSocket
         //instance of the class,pases the new connection and message
         //spawn as a thread
         SocketConnection connection=new SocketConnection(incoming,broadcastMessage);
         Thread a = new Thread(connection); a.start();
         System.out.println(state.getConnectionCount()+"Connection received from :"+incoming.getInetAddress());
         catch(InterruptedIOException x){}
    while (state.getConnectionCount()>0);
    System.exit(0);
    }catch (IOException e){}
    public static void main(String[] args)
    Server s =new Server();
         s.runServer();
    /*this is my socket connection thread*/
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    public class SocketConnection implements Runnable
    private ObjectOutputStream out;
    private ObjectOutputStream output=null;
    private ObjectInputStream input=null;
    private BroadCastMessage passOnMessage;
    private Socket theConnection=null;
    private String Inmessage="";
    private int Ocount;
    public SocketConnection(Socket caller,BroadCastMessage broadcastMessage,Ocount)
    theConnection =caller;///(5000,n)
    Ocount=ncount;
    passOnMessage=broadcastMessage;
    public void run()
    try
    getStreams();
    processConnection();
    catch(Exception e)
    {String clientDetails=("connection from IP Address: "+theConnection.getInetAddress());}
    private synchronized void getStreams() throws IOException
    { //get streams to send and receive data
    //set up output buffer to send header information
    ///Ocount++;
    //create new objectoutputstream
    output=passOnMessage.getOutputObject(output,theConnection,Ocount);
    ///flush output buffer to send header info.
    Ocount++;
    //set up input stream for objects
    input =new ObjectInputStream(
    theConnection.getInputStream());
    System.out.print("\nGot I/O streams\n");
    private synchronized void processConnection()throws IOException
    //process connection with client
    String Outmessage =" count : "+status.getConnectionCount();
    //send connection successful message to client
         Outmessage=Outmessage+"SERVER>>>Connection successful";
         output.writeObject(Outmessage);
    output.flush();
    do ///process messages sent from client
         try
         Inmessage = (String) input.readObject();
         System.out.println(Inmessage);
         /* //while the connection is open each line
         that is passed from the client to the server
         is read in and is displayed*/
         messageDetails.setMessage(Inmessage);
         String CurrentMessage=messageDetails.getMessage();
         //output.writeObject(CurrentMessage);
         // output.flush();
         passOnMessage.FloodMessage(CurrentMessage);
         //sending out the message
    catch(ClassNotFoundException classNotFoundException){}
    }while (!Outmessage.equals("CLIENT>>>TERMINATE"));
    /*this my attempt at broadcasting the message to all clients
    my thinking was that you could create a array of objectoutputstreams
    which in turn could be broadcasted(bit confussed here)*/
    import java.io.*;
    import java.net.*;
    public class BroadCastMessage /// implements Runnable
    private int count;
    private String Inmessage="";
    private ObjectOutputStream temp=null;
    private ObjectOutputStream[] output = new ObjectOutputStream [12];
    //temp level of array of objects
    public BroadCastMessage()
    count=0;
    public synchronized void FloodMessage(String message) throws IOException
    System.out.print(count);
         for(int i=0;i<count+1;i++)
         try
    {  System.out.print(count);
         output[count].writeObject(message);
         output[count].flush();
         catch(IOException ioException)
    {ioException.printStackTrace();}
         notifyAll();
    public ObjectOutputStream getOutputObject(ObjectOutputStream out,Socket caller,int Ocount)
    try
    { temp = new ObjectOutputStream(caller.getOutputStream());
         AddObjectOutputStream(temp,Ocount);
    ////FloodMessage();
         catch(IOException ioException)
    {ioException.printStackTrace();}
    return temp;     
    public void AddObjectOutputStream(ObjectOutputStream out,int Ocount)
    { ///add new object to array
    count=Ocount;
    output[count]=out;
    System.out.print("\nthe number of output streams : "+count+"\n");
    }

  • Hey guys need help regarding iTunes U. My school is moving for iOS and Mac in the classroom and I have been appointed Junior Administrator for the schools technical department and integrating these devices into the classroom.

    Hey guys need help regarding iTunes U. My school is moving for iOS and Mac in the classroom and I have been appointed Junior Administrator for the schools technical department and integrating these devices into the classroom.
    I have an appointment with a director on Tuesday. I want to demo iTunes U. Problem is I have never used it before and have no idea how to set it up and even if I should sign up.
    Please help any ideas regarding iTunes U and how I should direct the meeting tomorrow.
    Please please post here.
    Thanks
    Tiaan

    Greetings fcit@!A,
    After reviewing your post, it sounds like you are not able to select none as your payment type. I would recommend that you read this article, it may be able to help the issue.
    Why can’t I select None when I edit my Apple ID payment information? - Apple Support
    Thanks for using Apple Support Communities.
    Take care,
    Mario

  • Paying monthly for a mac help and graphics card query

    So i'm thinking of buying a mac from the uk and i can pay it off monthly, which is 67pounds. does anyone know what the interest will be overall. its costing me a total of 2,240pounds. thanks.
    reason for me buying a mac is so i can run final cut pro. does anyone know what the essential graphic card is to run final cut pro smoothly. or will the standard one be enough which comes with the mac pro?

    i was told that the mac pro is the ultimate thing for final cut pro
    It is. However, it's not a computer one should buy on a tight budget and from the sounds on it you're way over stretched as is. It's sort of like buying an Audi TT where you have to spend around an extra £9000 or so on optional extras to make it worthwhile. Same goes with the Mac Pro.
    because it can be upgraded where as the imac cannot
    True… but you still have to be able to afford those upgrades and without doing so your Mac Pro won't be going anywhere near its best.
    i was told that having 2gb ram is more than enough
    You were told what you wanted to hear and what would make it easier for you to buy it. For FCS you're talking about a 4GB RAM minimum configuration with an 8GB recommended configuration.
    because we have 2gb ram at our uni computers and final cut pro runs smooth.
    That's a matter of perspective as you might want to see FCP running with 4GB+ RAM.
    i heard you can get a few problems with an imac because everything is compact into one interface.
    Did you hear that from the guy trying to sell you a Mac Pro? While it's true that every system has it's problems, and the iMac is no exception, you find that the iMac is an extremely well performing system for its price.
    Don't get me wrong, the Mac Pro is the best system to buy if you're a video editor. You do however need the budget to go along with that and video is one arena which demands the absolute most from your computer system. Lacking in one area actually hampers the performance of the system as a whole and it is no more prevalent than with video.
    My recommended minimum Mac Pro package for a video editor is…
    Mac Pro 2.66Ghz 4GB RAM/2 x 500GB HDD RAID 0/ATi X1900 XT/1920 x 1200 resolution display/1TB HDD clone/1500VA-800W UPS
    Remember, video editing is not just FCP and as your chosen profession it's the unfortunate cost of your

  • Publishing server doesn't work - error 'The request URL doesn't contain the query string for the client OS'

    Hi,
    I'm trying to setup an App-V environment in my lab.
    I've used the App-V 5.0 Trial guide to help me configure all necessary components.
    I'm able to install everything without error.
    when come time to publish an app, it simply doesn't show up on my client.
    after looking at events on the client and server, I found that the Publishing server is returning under Admin the following message.
    'The request URL doesn't contain the query string for the client OS'
    My setup is pretty simple.
    App-V Server managament and Publishing on the same box
    App-V database on my SQL server.
    I'm able to see the publishing "webpage" by using http:://localhost:889.
    It only display this :
    -<Publishing Protocol="1.0"
    <Packages />
    </Publishing>
    I've published one app from the management console.
    any idea what could mean this error?
    thanks

    Hi,
    thanks for the link.
    I've validated the suggested debug steps. It seems that the problem is with my Publish server again.
    I've looked in the web.config file. It seems to be missing some parts compare to the example provided.
    Again, I've published an application from the management console. Management and Publishing are running on the same box, while SQL is remote.
    Here's the web.config
    <?xml version="1.0" ?>
    - <configuration>
    - <system.web>
    <compilation debug="false" targetFramework="4.0" />
    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" />
    - <authentication>
    - <!-- We don't support form authentication, but this will supress x-ray security warning
    -->
    <forms requireSSL="true" />
    </authentication>
    </system.web>
    - <system.webServer>
    - <modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </modules>
    - <security>
    - <requestFiltering>
    - <verbs>
    <remove verb="GET" />
    <add verb="GET" allowed="true" />
    </verbs>
    </requestFiltering>
    </security>
    </system.webServer>
    - <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    + <behaviors>
    - <serviceBehaviors>
    - <behavior name="">
    <serviceAuthorization impersonateCallerForAllOperations="true" />
    <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
    </behavior>
    </serviceBehaviors>
    </behaviors>
    - <bindings>
    - <webHttpBinding>
    - <binding name="SecureBinding">
    - <security mode="Transport">
    <transport clientCredentialType="Windows" />
    </security>
    </binding>
    <binding name="UnsecureBinding" />
    </webHttpBinding>
    </bindings>
    - <protocolMapping>
    <add scheme="http" binding="webHttpBinding" bindingConfiguration="UnsecureBinding" />
    <add scheme="https" binding="webHttpBinding" bindingConfiguration="SecureBinding" />
    </protocolMapping>
    - <standardEndpoints>
    - <webHttpEndpoint>
    - <!--
    Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
    via the attributes on the <standardEndpoint> element below
    -->
    <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
    </webHttpEndpoint>
    </standardEndpoints>
    </system.serviceModel>
    </configuration>

  • Regarding ports opening for patching client machine in DMZ.

    Hi ,
    Regarding SCCM patching to Client Machine on DMZ.
    I have SCCM server and WSUS server
    both are different machines.My software update point is configured to port 8530.
    I have a client machine in DMZ and want to do patching for the DMZ machine.
    Ports opened from my DMZ machine to SCCM server are 445,135,80,443,8530
    1.Do the above ports are fine to do patching ?
    2.Do we require communication between DMZ and SCCM server on port 8530 for patching on DMZ machine?
    Regards,
    Arjun

    Hi Arjun,
    The answer to the first question you will find in the link Torsten posted.
    The answer to the second question: Whether you should open port 8530 depends on where your Software Update Point and where the Site Server are. It must be opened for the following communication:
    Client -- > Software Update Point
    Site Server < -- > Software Update Point
    Software Update Point -- > Upstream WSUS Server
    If you have only a client in DMZ the port must be opened for the communication with the SUP.
    Regarding the 3rd statement: If you are not able to telnet to the port on the server, this would mean that the communication is blocked somehow. You must make sure, that you are able to telnet to it.
    Hope this helps. Regards,
    Stoyan

Maybe you are looking for