Urgent Help / suggestion Needed - DAG in Differnt Site - Implementaion

Hi All
Current setup of my lab is below - 
MAIN SITE - Named Head Office
Root Domain Controller : IP 172.29.154.1 / 255.255.0.0 
Two node DAG : - Mailbox servers - DAG NAME - DAG1
Casarray (casaarray1 , and casarray2) servers
One hub transport server 
Total 6 VM servers are running in the head office site
Created a new AD site for name Branch Office and installed a addition domain controller with IP of 10.10.10.1/255.0.0.0
Now i would like to implement the DAG between the sites .
how can i implement, i mean what are the best ways to implement the DAG between two sites
1. shall i go for  typical installation of exchange (CAS, HUB , MAILBOX ) 2010 in main office and Branch office . will it support DAG between two sites for typical installation?
2. shall i install one more Mailbox server alone in MAIN SITE and install CAS and hub in one server and mailbox alone in the branch office site? i mean -  two Mailbox servers in each site 
any other best ways other than above two points , the main intention is to implementing, testing and learning the site resilience between the sites and want to know the stuffs in and around DAC
Thanks in advance

so, i was assuming that i will add one mbx server in main site and another mbx server in branch site and make it HA via DAG --- is it possible
Next option
i can go for  typical installation of ( CAS , HUB MBX server (all three in  in one server) in main site and another three server roles (aal in one server) of Branch  office and make the mailbox for HA -- will it possible
how can i achieve the HA with my current setup between the sites 
If your bandwidth and  latency between sites  you
can have  HA for mailbox databases by adding a mailbox server as a member in the current DAG. DAG will
give you only HA for mailbox not HUB/CAS. 
After you installed the Mailbox role on the branch server, You have to set autodiscover site affinity.
http://technet.microsoft.com/en-us/library/aa998575(v=exchg.141).aspx
 It is little bit complicated if you want HA over 2 sites, It depends on the bandwidth and latency between sites. If
you install all the 3 roles  and configure the branch site as part of the main branch ADsite you can have highly availability for CAS by a load balancer and this is not a small change. i.e. add the branch server to the Main office CAS
Array and load balance. 
http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/EXL401
If the branch site is not Internet facing, Please check this. 
http://technet.microsoft.com/en-us/library/bb310763(v=exchg.141).aspx
adding an MBX/HUB/CAS in your branch office and buy a hardware load balancer of your budget. List
of MS supported HLBs here.  Configure the load balancer to according to your bandwidth and latency
between sites.
Thanks, MAS
Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.
Couple of comments please!
Autodiscover sitescope is a function of CAS not mailbox.  This is written into AD when the CAS role is installed.
Why are you splitting all the roles out like this?  The recommendation in 2010 and 2013 is to multirole whenever possible.  There are valid reasons for splitting, I just want to know what's driving you to this. 
The preferred DC switch is just for the current PowerShell session IIRC.  I'll check up on that though.
I'd ask you to look at the design examples on TechNet
http://technet.microsoft.com/en-us/library/dd979781(v=exchg.141).aspx
In all of this, you have to consider what the impact of a failed WAN link(s) will do.  If you have a single DAG spanning both locations, and the WAN goes down then in the case of a single DAG spanned between both of the sites some users will not have
access to a local mailbox server.  The cluster service terminates and so does the Exchange store.  That is by design. 
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne 
Twitter:   LinkedIn:
  Facebook:
  XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • My BB9810 refuse to load OS7.1 software on my phone after the download has completed. My phone has freezed/stucked since morning. Pls urgent help/assistant needed as I can not access/use my phone for over 24hrs now.

    My BB9810 refuse to load OS7.1 software on my phone after the download has completed. My phone has freezed/stucked since morning. Pls  urgent help/assistant needed as I can not access/use my phone for over 24hrs now.

    Hi there,
    Use the method described in the link below to get back up and running:
    http://supportforums.blackberry.com/t5/Device-software-for-BlackBerry/How-To-Reload-Your-Operating-S...
    I hope this info helps!
    If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
    If your issue is resolved, don't forget to click the Solution button on the resolution!

  • Urgent help in needed for StorProc

    Hi All,
    How are you today?
    We have a package in which we have a SP called SERVICE_TO_PRNTMNGR.
    Database Version 11.2.0.2
    The issue now is-
    The store procedure checks if all print jobs which have the same Fulfillment id (which is kept in PrintJobQueueDI.sessionID) have finished or not;
    If not, it will throw exception. The error code is 20004.
    What we want as a fix is-
    The store procedure should check if all print jobs which have the same Fulfillment id (which is kept in PrintJobQueueDI.sessionID)
    and Service Request ID (it is ketp in PrintJobDataDI.docId) have finished or not;
    If not, it will throw exception. The error code is 20004.
    Here is the package which has sp(SERVICE_TO_PRNTMNGR):
    Create or Replace PACKAGE XSP_POPULATE_PRNTMNGR
    IS
      FUNCTION FULFILLMENT_TO_PRNTMNGR
                (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2)
                RETURN SYS_REFCURSOR;
      FUNCTION SERVICE_TO_PRNTMNGR
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE)
                RETURN SYS_REFCURSOR;
    END;
    Create or Replace PACKAGE BODY XSP_POPULATE_PRNTMNGR
    IS
       l_package_name                       VARCHAR2(50) := 'XSP_POPULATE_PRNTMNGR';
       l_PrintJobQueueDI_REC            PrintJobQueueDI%ROWTYPE;
       l_PrintJobDataDI_REC             PrintJobDataDI%ROWTYPE;
       e_NOT_S_F_STATUS_IND_REQ         EXCEPTION;
       e_NO_SERVICES_FOR_THE_PRINTMGR   EXCEPTION;
       e_NOT_ALL_PREV_REQ_COMPLETED     EXCEPTION;
       e_ALREADY_INITIALLY_PRINTED      EXCEPTION;
       e_NOT_PRINTED_INITIALLY          EXCEPTION;
       l_NUM_REC_CREATED                NUMBER :=0;
       PROCEDURE *SERVICE_TO_PRNTMNGR*
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE,
                 P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2);
       PROCEDURE INSERT_PrintJobQueueDI
                (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2);
           FUNCTION FULFILLMENT_TO_PRNTMNGR
           FUNCTION FULFILLMENT_TO_PRNTMNGR
                    (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                     P_MODE           IN VARCHAR2)
                    RETURN SYS_REFCURSOR
              Name:  FULFILLMENT_TO_PRNTMNGR
            Params: P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                    P_MODE        IN  VARCHAR2
              Desc: The procedure loops through FULFILLMENT_SERVICE table
                    and calls xsp_service_to_printmanager for each serviceId.
            MGS -  legal aid  liens not printing or e-mail Do not insert RECEIPT
                   record into PrintJobDataDI if the RECEIPT is NULL
         IS
         l_errmsg                      VARCHAR2(1000):= '';
         l_module_name                 VARCHAR2(200) := l_package_name || '.' || 'FULFILLMENT_TO_PRNTMNGR';
         l_selcnt                      INTEGER;
         l_error                      INTEGER;
         l_rowcnt            INTEGER;
         l_sqlstatus                       INTEGER;
         l_wrong_parameter              VARCHAR2(50);
         l_TABLE_NAME                   VARCHAR2(30);
         l_EXISTS                       NUMBER(1);
         l_FULFILLMENT_ID               FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE;
         l_PrintJobQueueDI_populated    BOOLEAN:=FALSE;
         CURSOR_out                     SYS_REFCURSOR;
        BEGIN
          IF  P_FULFILLMENT_ID IS NULL OR
              P_MODE IS NULL
          THEN
              RAISE appl_error.e_missing_parameter;
          END IF;
          IF P_MODE NOT IN ('I','R')
          THEN
            l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
            RAISE appl_error.e_wrong_parameter;
          END IF;
          -- Check if the Fulfillment Request
          -- completed successfully or failed
          l_NUM_REC_CREATED :=0;
          BEGIN
            SELECT 1 INTO l_EXISTS
             FROM FULFILLMENT_REQUEST
              WHERE FULFILLMENT_ID = P_FULFILLMENT_ID
               AND STATUS_IND IN ('S', 'F'); -- Successfull
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
           RAISE e_NOT_S_F_STATUS_IND_REQ;
          END;
          IF P_MODE = 'I'
          THEN
              FOR l_SERVICE_REQ IN (SELECT sr.SERVICE_ID
                                      FROM FULFILLMENT_SERVICE fs,
                                           SERVICE_REQUEST sr,
                                           REQUEST_DESTINATION rd
                                      WHERE rd.SERVICE_ID = fs.SERVICE_ID
                                       AND sr.SERVICE_ID = fs.SERVICE_ID
                                        AND fs.FULFILLMENT_ID = P_FULFILLMENT_ID
                                         AND DELIVERY_METHOD_ID = 'P' -- Print
                                       AND sr.STATUS_IND = 'S')
              LOOP
                IF NOT l_PrintJobQueueDI_populated
                THEN
                    INSERT_PrintJobQueueDI (P_FULFILLMENT_ID,P_MODE);
                   l_PrintJobQueueDI_populated := TRUE;
                    -- The data in the l_PrintJobDataDI_REC is populated by INSERT_PrintJobQueueDI
                    IF l_PrintJobDataDI_REC.CONTENT IS NOT NULL THEN -- The Condition added on 01-APR-2011
                        INSERT INTO PrintJobDataDI VALUES l_PrintJobDataDI_REC; -- Receipt
                    END IF;
                    l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
                END IF;
                *SERVICE_TO_PRNTMNGR*(l_SERVICE_REQ.SERVICE_ID,P_FULFILLMENT_ID,P_MODE);
              END LOOP;
              IF NOT l_PrintJobQueueDI_populated
              THEN
                RAISE e_NO_SERVICES_FOR_THE_PRINTMGR;
              END IF;
          ELSE -- P_MODE = 'R'
            INSERT_PrintJobQueueDI (P_FULFILLMENT_ID,'RF');
            l_PrintJobQueueDI_populated := TRUE;
          END IF;
          OPEN CURSOR_out FOR
           select l_NUM_REC_CREATED from dual;
           RETURN CURSOR_out;
          EXCEPTION
             WHEN appl_error.e_missing_parameter THEN
                  l_error := 20001;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_wrong_parameter THEN
                  l_error := 20003;
                  l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_no_records_retrieved THEN
                  l_error := 20122;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NOT_S_F_STATUS_IND_REQ THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'The Status_Ind of the Fulfillment_Id=' || P_FULFILLMENT_ID ||
                    ' is not S or F',null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NO_SERVICES_FOR_THE_PRINTMGR THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'No Successfully completed services w/Delivery Method=P for the Fulfillment_Id=' ||
                    P_FULFILLMENT_ID,null);
                  raise_application_error(l_error*(-1), l_errmsg);
           END FULFILLMENT_TO_PRNTMNGR;
           FUNCTION SERVICE_TO_PRNTMNGR
           FUNCTION SERVICE_TO_PRNTMNGR
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE)
                RETURN SYS_REFCURSOR
              Name:  SERVICE_TO_PRNTMNGR
            Params: P_SERVICE_ID  IN  SERVICE_REQUEST.SERVICE_ID%TYPE
              Desc: To be called from Application for the single Service_Id reprint.
        IS
           CURSOR_out                       SYS_REFCURSOR;
        BEGIN
           SERVICE_TO_PRNTMNGR(P_SERVICE_ID,NULL,'R');
           OPEN CURSOR_out FOR
           select l_NUM_REC_CREATED from dual;
           RETURN CURSOR_out;
        END SERVICE_TO_PRNTMNGR;
           *PROCEDURE SERVICE_TO_PRNTMNGR*
           PROCEDURE *SERVICE_TO_PRNTMNGR*           
                (P_SERVICE_ID     IN SERVICE_REQUEST.SERVICE_ID%TYPE,
                 P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2)
              Name:  SERVICE_TO_PRNTMNGR
              Params: P_SERVICE_ID  IN  SERVICE_REQUEST.SERVICE_ID%TYPE,
                      P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                      P_MODE        IN  VARCHAR2
              Desc: The procedure populates the PrintJobQueueDI and PrintJobDataDI
                    PrintManager tables.
                    It works in two modes (P_MODE parameter)
                    -I - Inital print request
                    -R - reprint
                    For the initial print request the P_FULFILLMENT_ID parameter
                    will be passed in.
                    For the Reprint mode the P_FULFILLMENT_ID will be NULL.
        IS
         l_errmsg                   VARCHAR2(1000):= '';
         l_module_name              VARCHAR2(200) := l_package_name || '.' || 'SERVICE_TO_PRNTMNGR';
         l_selcnt                   INTEGER;
         l_error                   INTEGER;
         l_rowcnt                   INTEGER;
         l_sqlstatus              INTEGER;
         l_wrong_parameter           VARCHAR2(50);
         l_TABLE_NAME                VARCHAR2(30);
         l_EXISTS                    NUMBER(1);
         l_FULFILLMENT_ID            FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE;
         e_NOT_PRINT_DELIVERY_METHOD EXCEPTION;
         e_NOT_SUCCESS_COMPL_SRV_REQ EXCEPTION;
        BEGIN
          IF  P_SERVICE_ID IS NULL OR
              P_MODE IS NULL OR
              (P_MODE = 'I' AND P_FULFILLMENT_ID IS NULL)
             THEN
              RAISE appl_error.e_missing_parameter;
          END IF;
          IF P_MODE NOT IN ('I','R')
          THEN
            l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
            RAISE appl_error.e_wrong_parameter;
          END IF;
          -- Check if the Service Request
          -- successfully completed
          BEGIN
            SELECT 1
              INTO l_EXISTS
              FROM SERVICE_REQUEST
             WHERE SERVICE_ID = P_SERVICE_ID
               AND STATUS_IND = 'S'; -- Successfull
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
            RAISE e_NOT_SUCCESS_COMPL_SRV_REQ;
          END;
          -- Check if the Service Request of the
          -- REQUEST_DESTINATION.DELIVERY_METHOD_ID=P
          BEGIN
            SELECT 1
              INTO l_EXISTS
              FROM REQUEST_DESTINATION
             WHERE SERVICE_ID = P_SERVICE_ID
               AND DELIVERY_METHOD_ID = 'P'; -- Print
          EXCEPTION
          WHEN NO_DATA_FOUND THEN
            RAISE e_NOT_PRINT_DELIVERY_METHOD;
          END;
          IF P_FULFILLMENT_ID IS NULL
          THEN
              SELECT FULFILLMENT_ID
                INTO l_FULFILLMENT_ID
                FROM FULFILLMENT_SERVICE
               WHERE SERVICE_ID = P_SERVICE_ID;
          ELSE
            l_FULFILLMENT_ID := P_FULFILLMENT_ID;
          END IF;
          IF P_MODE = 'R' -- Request to Repring single service
          THEN
            INSERT_PrintJobQueueDI (l_FULFILLMENT_ID,P_MODE);
          END IF;
          --dbms_output.put_line(P_FULFILLMENT_ID);
          FOR l_PrintJobDataDI_REC1 IN (SELECT l_PrintJobQueueDI_REC.PRINTJOBDIID PRINTJOBDIID,
                                              ri.SERVICE_ID DOCID,
                                              rownum+1 DOCORDER,
                                              l_PrintJobQueueDI_REC.QUEUEDIID,
                                              3,
                                              ri.NAME,
                                              1,
                                              ri.NUMBER_OF_PAGES,
                                              ri.RESPONSE_BLOB
                                         FROM RESPONSE_IMAGE ri
                                        WHERE ri.SERVICE_ID=P_SERVICE_ID)
          LOOP
            --dbms_output.put_line(l_PrintJobDataDI_REC1.PRINTJOBDIID);
            --dbms_output.put_line(l_PrintJobDataDI_REC1.DOCID);
            --dbms_output.put_line(l_PrintJobDataDI_REC1.DOCORDER);
            INSERT INTO PrintJobDataDI VALUES l_PrintJobDataDI_REC1;
            l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
          END LOOP;
          EXCEPTION
             WHEN appl_error.e_missing_parameter THEN
                  l_error := 20001;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_wrong_parameter THEN
                  l_error := 20003;
                  l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN appl_error.e_no_records_retrieved THEN
                  l_error := 20122;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NOT_PRINT_DELIVERY_METHOD THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'The Delivery Method for the Service_Id=' || P_SERVICE_ID ||
                    ' is not PRINT',null);
                  raise_application_error(l_error*(-1), l_errmsg);
             WHEN e_NOT_SUCCESS_COMPL_SRV_REQ THEN
                  l_error := 20004;
                  l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                    'The Status_Ind of the Service_Id=' || P_SERVICE_ID ||
                    ' is not S',null);
                  raise_application_error(l_error*(-1), l_errmsg);
        END SERVICE_TO_PRNTMNGR;
       PROCEDURE INSERT_PrintJobQueueDI
       PROCEDURE INSERT_PrintJobQueueDI
                (P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
                 P_MODE           IN VARCHAR2)
        It works in two modes (P_MODE parameter)
                -I  - Inital print request
                -R  - reprint single SERVICE REQUEST
                -RF - reprint entire fulfillment
        IS
         l_errmsg                   VARCHAR2(1000):= '';
         l_module_name              VARCHAR2(200) := l_package_name || '.' || 'INSERT_PrintJobQueueDI';
         l_selcnt                   INTEGER;
         l_error                   INTEGER;
         l_rowcnt                   INTEGER;
         l_sqlstatus              INTEGER;
         l_wrong_parameter           VARCHAR2(50);
         l_TABLE_NAME                VARCHAR2(100);
         l_EXISTS                    NUMBER(1);
        BEGIN
          IF  P_FULFILLMENT_ID IS NULL OR
              P_MODE IS NULL
             THEN
              RAISE appl_error.e_missing_parameter;
          END IF;
          IF P_MODE NOT IN ('I','R','RF')
          THEN
            l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
            RAISE appl_error.e_wrong_parameter;
          END IF;
          -- For reprint request confirm that
          -- all previouse print requests
          -- completed successfully.
          IF P_MODE IN ('R','RF')
          THEN
            SELECT count(*)
              INTO l_EXISTS
              FROM PrintJobQueueDI
             WHERE SESSIONID = P_FULFILLMENT_ID
               AND PRINTTYPE = 'REGULAR';
            IF l_EXISTS = 0
            THEN
              RAISE e_NOT_PRINTED_INITIALLY;
            END IF;
            SELECT count(*)
              INTO l_EXISTS
              FROM PrintJobQueueDI
             WHERE SESSIONID = P_FULFILLMENT_ID
               AND STATUS != 'STATUS_COMPLETED';
            IF l_EXISTS > 0
            THEN
              RAISE e_NOT_ALL_PREV_REQ_COMPLETED;
            END IF;
          ELSIF P_MODE = 'I'
          THEN
            SELECT count(*)
              INTO l_EXISTS
              FROM PrintJobQueueDI
             WHERE SESSIONID = P_FULFILLMENT_ID;
            IF l_EXISTS > 0
            THEN
              RAISE e_ALREADY_INITIALLY_PRINTED;
            END IF;
          END IF;
          IF P_MODE IN ('I','R')
          THEN
              l_TABLE_NAME := 'FULFILLMENT_REQUEST and more';
              SELECT SEQ_PrintJobQueueDI.NEXTVAL,
                     SEQ_PrintJobDIID.NEXTVAL,
                     us.KIOSK_ID,p.PRINTER_NAME,
                     fr.FULFILLMENT_ID,SYSDATE,
                     TO_DATE('1900/01/01','YYYY/MM/DD'),
                     DECODE(P_MODE,'I','REGULAR','REPRINT'),
                     'STATUS_SPOOLED',
                     DECODE(P_MODE,'I','ALL','COVER_AND_SEARCH'),
                     NULL,
                     -- Only for the initial printing
                     -- for the PrintJobDataDI for the Receipt
                     fr.FULFILLMENT_ID,
                     1,3,'RECEIPT',0,0,
                     fr.RECEIPT_BLOB
                INTO l_PrintJobQueueDI_REC.QUEUEDIID,
                     l_PrintJobQueueDI_REC.PRINTJOBDIID,
                     l_PrintJobQueueDI_REC.KIOSKID,
                     l_PrintJobQueueDI_REC.PRINTERNAME,
                     l_PrintJobQueueDI_REC.SESSIONID,
                     l_PrintJobQueueDI_REC.SPOOLTIME,
                     l_PrintJobQueueDI_REC.PRINTTIME,
                     l_PrintJobQueueDI_REC.PRINTTYPE,
                     l_PrintJobQueueDI_REC.STATUS,
                     l_PrintJobQueueDI_REC.PRINTOPTION,
                     l_PrintJobQueueDI_REC.PROCESSSTATEID,
                     l_PrintJobDataDI_REC.DOCID,
                     l_PrintJobDataDI_REC.DOCORDER,
                     l_PrintJobDataDI_REC.DOCTYPEID,
                     l_PrintJobDataDI_REC.DOCNAME,
                     l_PrintJobDataDI_REC.STARTPAGE,
                     l_PrintJobDataDI_REC.ENDPAGE,
                     l_PrintJobDataDI_REC.CONTENT
                FROM LRO_PRINTER p,
                     KIOSK k,
                     USER_SESSION us,
                     BUSINESS_AUDIT ba,
                     FULFILLMENT_REQUEST fr
               WHERE p.PRINTER_ID = k.PRINTER_ID
                 AND p.LRO_ID = k.LRO_ID
                 AND k.KIOSK_ID = us.KIOSK_ID
                 AND us.USER_SESSION_ID = ba.USER_SESSION_ID
                 --AND ba.BUSINESS_AUDIT_ID = fr.BUSINESS_AUDIT_ID
                 AND ba.BUSINESS_AUDIT_ID = (select min(BUSINESS_AUDIT_ID)
                                               from fulfillment_service fs,service_request sr
                                              where fs.FULFILLMENT_ID = fr.FULFILLMENT_ID
                                                and sr.SERVICE_ID = fs.SERVICE_ID)
                 AND fr.FULFILLMENT_ID = P_FULFILLMENT_ID;
          ELSE -- 'RF'
              l_TABLE_NAME := 'PrintJobQueueDI, KIOSK, LRO_PRINTER';
              SELECT SEQ_PrintJobQueueDI.NEXTVAL,
                     q.printJobDIID,
                     q.KIOSKID,
                     p.PRINTER_NAME,
                     q.SESSIONID,
                     SYSDATE,
                     TO_DATE('1900/01/01','YYYY/MM/DD'),
                     'REPRINT',
                     'STATUS_SPOOLED',
                     'ALL',
                     NULL
                INTO l_PrintJobQueueDI_REC.QUEUEDIID,
                     l_PrintJobQueueDI_REC.PRINTJOBDIID,
                     l_PrintJobQueueDI_REC.KIOSKID,
                     l_PrintJobQueueDI_REC.PRINTERNAME,
                     l_PrintJobQueueDI_REC.SESSIONID,
                     l_PrintJobQueueDI_REC.SPOOLTIME,
                     l_PrintJobQueueDI_REC.PRINTTIME,
                     l_PrintJobQueueDI_REC.PRINTTYPE,
                     l_PrintJobQueueDI_REC.STATUS,
                     l_PrintJobQueueDI_REC.PRINTOPTION,
                     l_PrintJobQueueDI_REC.PROCESSSTATEID
                FROM PrintJobQueueDI q,
                     KIOSK k,
                     LRO_PRINTER p
               WHERE q.SESSIONID = P_FULFILLMENT_ID
                 AND printType = 'REGULAR'
                 AND k.KIOSK_ID = q.KIOSKID
                 AND p.PRINTER_ID = k.PRINTER_ID
                 AND p.LRO_ID = k.LRO_ID;
          END IF;
          INSERT INTO PrintJobQueueDI VALUES l_PrintJobQueueDI_REC;
          l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
          l_PrintJobDataDI_REC.PRINTJOBDIID := l_PrintJobQueueDI_REC.PRINTJOBDIID;
          l_PrintJobDataDI_REC.QUEUEDIID:= l_PrintJobQueueDI_REC.QUEUEDIID;
         EXCEPTION
         WHEN appl_error.e_missing_parameter THEN
              l_error := 20001;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN appl_error.e_wrong_parameter THEN
              l_error := 20003;
              l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN e_NOT_ALL_PREV_REQ_COMPLETED THEN
              l_error := 20004;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
              'Not all print requests for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
              ' were successfully completed',null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN e_ALREADY_INITIALLY_PRINTED THEN
              l_error := 20004;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,'Initial print request for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
              ' has been already created',null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN e_NOT_PRINTED_INITIALLY THEN
              l_error := 20004;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
                'Can''t reprint the print request for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
                ' because it was not printed intially',null);
              raise_application_error(l_error*(-1), l_errmsg);
         WHEN NO_DATA_FOUND THEN
              l_error := 20122;
              l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
              raise_application_error(l_error*(-1), l_errmsg);
       END INSERT_PrintJobQueueDI;
    END XSP_POPULATE_PRNTMNGR;Please help in writing this piece of code.
    Would appreciate your help...
    Edited by: BluShadow on 04-Oct-2011 15:39
    added {noformat}{noformat} tags for readability.  See {message:id=9360002} to learn to do this yourself.
    Edited by: user548261 on Oct 4, 2011 7:46 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

    rudi wrote:
    Hi sb92075,
    I'm absolutely newbie in this discussion forum, because I expected that this forum will be helpfull for all. I have found really so much perfect answers and advices.
    You have high number of posts, but I can't found any your answer for new programmers which have some issues. If you can't answer, ignore the query posted, I think that this is spamming, I have found your 10 negative posts within 5 minutes.
    I know, that all forums have rules, but review number of "posts with not correct subjects like URGENT, ASAP...." and the other, correct with absolutely same queries and requests for advise.
    Thanks for understanding
    rudisb92075's response was helpful. It was pointing out that we need to have tables and data to work with and not just a piece of unfamiliar code that we are told doesn't work in some way. Without the tables and example data and expected output we could only guess what the problem may be. The OP has also said their issue is urgent, which it isn't as I pointed out to them, but then their response to sb92065's request for tables and data was just to say that they want us to do their work for them and they'll test it. That's not only rude, but also wastes our time as we have to make a guess as to what the problem may be then wait for the OP to test it, to no doubt tell us that it still doesn't work, so we can make another guess.
    This is not the way a professional forum works. If the OP wants help with the issue they need to provide relevant information as requested. The fact they seem to keep asking questions and non of them are being marked as answered should be a good indication that they are not asking the questions correctly.
    So, before you criticize members as being unhelpful, it is perhaps better if you read what they have requested and understand what they've said.
    Therefore, we still await the OP's response providing some useful information to be able to help...

  • Urgent HELP! need for my Zen touch (20

    Right here we go. I bought my zen touch online last year from a well known supplier. Absolutly brilliant mp3 plaey and happy with the value for money i got. The player did freee alot since i got it at inappropiate times eg. When i was on holiday and had nothing to reset it with. Recently i have been experiancing alot of problems. First one is that it froze so i reseted it, all seemed well until the Welcome screen came on and stayed like that for 0 mins and then it resumed back to normal. This has since continued. 2nd problem is every time i add a song from the computer (same process that i have been using since i got it) all seems well until.... i turn the player on select any song to play and the player results in PLAYBACK ERROR. So i reset , the player then freezes for another 0 mins and then is back to normal. This also has continued. And third and finally everytime i reset now i get the message rebulding libary and it is almost done and yet low and behold freezes again for another 0mins. Also i need urgent and quick help as my warrantty runs out in days. PLEASE HELP!!!! and to add to this i have tonight installed a new firmware and still experiance same problem. And almost forgot the player freezes for 0mins after every chargeMessage Edited by ruane89 on 09-30-2005 07:8 PM

    ruane89 wrote:how long does this disk clean up tkae and what does it actually do?
    As per the FAQ post:
    How long should a Disk Cleanup take?
    It should only take a few minutes, and no longer than 30 minutes. Anything longer than this and there is a problem with the player and you need to contact Creative Support.
    If this doesn't solve it then you really just need to follow the steps in the "My Zen is not starting properly, or goes into rescue mode, what should I do?" section of the FAQ post.
    As igedit says, the player does sound faulty unfortunately, so I would contact Creative Support.

  • OSA VB error - Urgent Help is needed

    Dear friends.
    I am using Oracle Sales Analyzer Vs 1.5.2.1 Rev.1.534g
    I am facing the following problem when I am trying to use the Custom Aggregates menu. I receive the following error:
    VB error #14 occured: Out of String Space
    \nfrmDSAggregate: FormLoad\nDSAG: SetupAG\nPMCatGetEntryList. This Application maybe in an unstable state. Do you wish to continue?
    If I choose Yes, it brings up the menu however with no data and no possibility to do anything. If I choose NO the program closes.
    Can you please help me deal with this problem? I urgently need to work on the data and I am stack!
    Please send directly to [email protected]
    Many thanks in advance
    George

    Not sure if it might help but take a look at Patch.5032548.
    Sam
    http://www.appsdbablog.com

  • URGENT HELP IS NEEDED!!!!!! How can i get two applet to communicate via a j

    I am writing a program that should allow me to communicate between applet. The applet is loaded via the a web site, but i can't get that to work, so i am using appletviewer instead.
    I want to establish a connection between the applets thus allowing to chat.
    So far i can open both applets up, (using localhost), but the applet isn't able to establish the connection and i have to turn off one of the applet window, before i get a connection, but it won't do anything after that.
    I know it is a security problem, but how can i fix this problem.
    Please can you help, i am in difficult position
    Junaid

    I think what u are trying to do is some peer-to-peer communication using applets.
    The thing is the applet knows ( via getCodeBase and getDocumentBase methods) from where it was launched. It has no knowledge of where other applets from the same server may be residing.
    It looks to me that you will need to do some server-side coding as well..
    On possible solution would be to
    A) Install and run a Tomcat Server
    B) Tomcat can be used as a webserver in limited way .. (refer it documentation ) by defaul it runs on port 8080
    C) So you can say http://localhost:8080/
    D) Use this launch the applets
    E) Using HTTP Tunneling ( Read about it in Servlets ) you can set up Tomcat to broker messages between the 2 applets
    Also from you question it appear that both the applets try to hook on the same port, now on one computer (localhost) one port can be used by one socket . Try to get them to use different ports then the appletviewer problems should solve it self.
    To use different ports without making 2 different applets , simeply pass the port as a PARAM to the applet

  • Urgent Help is Needed for Database Installation Problems

    How can we resolve the following database problems in Windows XP? Originally, we had Oracle 10.1.0.4.2, and we wanted to upgrade it to Oracle 10.2.0.1. We uninstalled Oracle Home ORAH1_DEV and then got the following problems while installing Oracle 10.2.0.1. How can we resolve all these errors so database configuration assistants can work successfully? Please help us with these ASAP. Thank you very much for your help and time in advance.
    -Oy
    These are the popup message we got.
    POPUP 1. This appears 3 times, then ignore
    Error in writing to file 'C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll'.[C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll(The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 2. Error in writing to file 'C:\OraHomes\ORAH_DEV\jdk\bin\java.exe'. [C:\OraHomes\ORAH1_DEV\jdk\jre\bin\java.exe (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 3. Erro in writing to file 'C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll'. [C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll (The process cannot access the file  because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 4. Error in writing to file 'C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll'. [C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel
    POPUP 5. Error in writing to 'c:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb'. [C:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb (The process cannot access the file because it is being used by another process)]
    Click 'Help' for more information
    Click 'Retry' to try again
    Click 'Ignore' to ignore this error and go on.
    Click 'Cancel' to stop this installation
    buttons Help Retry Ignore Cancel

    Grace wrote:
    Yes, I have it installed in the same Oracle Home. Is it possible to create it there? Or I must create a new Oracle Home for the new installation? Please reply as soon as possible. Thank you very much for your help.
    -OyA specific ORACLE_HOME holds the binaries for a specific version of Oracle. You don't upgrade by simply installing a newer version of Oracle into the ORACLE_HOME of an older version. If you tried to do that you have probably irreversibly corrupted the original installation.
    And there is no URGENT or ASAP here. We are all volunteers with regular jobs. If you have "urgent" support issues you need to open a Service Request with Oracle Support.

  • HT4864 Help? Need to transfer iWeb site to iCloud...

    Hello. Does anyone know how to transfer my website from iWeb to iCloud? The url is http://www.daveouanophotography.com . Unfortunately, I'm pretty computer illiterate and I'm afraid my entire site will be lost in June. Help! Thanks, Dave
    [email protected]

    Welcome to the Apple community.
    Unfortunately you cannot transfer your website to iCloud, iCloud does not offer an alternative for publishing websites like MobileMe did. You will need to find yourself a third-party web host, to host your site.
    I wouldn't worry too much about losing your website, assuming you have made it in iWeb, it should still be there and you should still be able to publish it to another location once you have found one.

  • Database Migration Help/Suggestions Needed Plzzz Share You Views

    Dear Sirs
    Please help me in my database migration from old database to new database, as we have developed new application and want to switch from old but with using same data(not same database, instead with new and different structure) from old database so
    what i did are bellow thing ;
    1. Created new database with different database structure from old
    2. Used export command to export all data and restore it to one dummy database with (database structure as old database)
    3. created "insert into (select .......)" scripts to fetch out the data and put it into new database (with different structure)
    4.i verified and tested that data and did cross checking with old data.
    Now my problem
    1..Now my problem is that since we took backup on Dec 2010 and did all these activity and with that old database was operational so now more data is added from Dec 2010 till now(17/102011) how to take backup of that.
    2...And sir if somehow we able to do(till then i don’t know how) that then doing this whole procedure will again take few more days then we will again be trailing becoz old database is operational and will be until we do not switch to new with complete data.
    how to solve this problem of migration becz i cant put my old database down also for more then 4-5 hours to switch to new application
    Total database is approx: 60 GB
    Kindly help or give your expert suggestions as i am in great need of solution to my this problem
    Thanks

    839880 wrote:
    Dear Sirs
    Please help me in my database migration from old database to new database, as we have developed new application and want to switch from old but with using same data(not same database, instead with new and different structure) from old database so
    what i did are bellow thing ;
    1. Created new database with different database structure from old
    2. Used export command to export all data and restore it to one dummy database with (database structure as old database)
    3. created "insert into (select .......)" scripts to fetch out the data and put it into new database (with different structure)
    4.i verified and tested that data and did cross checking with old data.
    Now my problem
    1..Now my problem is that since we took backup on Dec 2010 and did all these activity and with that old database was operational so now more data is added from Dec 2010 till now(17/102011) how to take backup of that.
    2...And sir if somehow we able to do(till then i don’t know how) that then doing this whole procedure will again take few more days then we will again be trailing becoz old database is operational and will be until we do not switch to new with complete data.
    how to solve this problem of migration becz i cant put my old database down also for more then 4-5 hours to switch to new application
    Total database is approx: 60 GB
    Kindly help or give your expert suggestions as i am in great need of solution to my this problem
    ThanksWhat is the old database? WHat is the new databse? I'm assuming they are both Oracle but different versions? If so, what versions? Have you considered using a db link from the new to the old and INSERT INTO ... SELECT ... FROM OLD_TABLE@DBLINK?

  • Urgent help MPLS needed

    guys we have 4 sites A,B,C,D all are connected via dark fiber (ethernet).
    connection is
    A --->C
    C---> D
    D--->B
    B--->A
    now A is also connected with ---D
    A---->D
    ISIS is the routing protocol
    all routers have loopbacks as well
    now all physical interfaces should be in area 43.0010 and shd run level 1
    now site BC loopback interfaces should be in same area as above and should run level 1 as well.
    site A and D loopback should be in different area 47.2010 and should run level 2
    the problem is its poretty straight forward but i am nnot allowed to use seperate instance of ISIS i m going nuts is it possible if yes how....thanks for your help guys.....

    Hi,
    It looks to me as there might be a misunderstanding of the area concept or NSAP address in ISIS. ISIS has -no- concept of interfaces being in a specific area. This is an OSPF concept not used in ISIS at all.
    In ISIS a router (not an interface) gets an address and a whole router will be in an area. Note: an ISIS router can have more than one ISIS NSAP address and thus can be in more than one area. But this feature was mainly introduced to allow for migration scenarios. Again, this feature does not mean an interface coul be assigned to an area in ISIS.
    The requirements of interfaces being in an ISIS area you describe cannot be fulfilled with ISIS. Please calm down and do not go nuts over a problem impossible to solve :-)
    This brings me to a question: who came up with the impossible requirements and why?
    With 4 routers involved I would assume having a single ISIS area would be preferable unless there are hidden requirements/issues to be solved.
    Hope this helps! Please use the rating system.
    Regards,
    Martin

  • Important Please Helps--Suggestions needed

    My ex is on my family plan with our child and my exes mom.  I have no problem keeping the family plan, in fact i have to due to new phone. 
    My ex needs to monitor our daughters call and texts, nd the only way to do so is through my verizon so i have to give her the account info, however, she also checks my calls and texts.  I can't have this happening. 
    Is there a way to spin my daughters phone onto another login where only her phone info will show up? 
    Please, any suggestion are greatly needed and appriciated.
    Jay

    As you can set up a separate My Verizon login for each line whereas the daughters login would be for that line only, why don't you give your 'ex' access to that login (username & password).  Just make sure that login account DOES NOT have Account Manager privileges or any other freedoms to either view your line information or make unauthorized changes to your account. 
    I am guessing this would also have to be agreed upon by the daughter as she may already be using that login.  In that case, just make this a rule of her continuing cell phone service on your plan to allow this monitoring.
    I recommend trying this out on your own before giving your 'ex'  the access to insure it meets your security needs.
    Good luck.

  • URGENT HELP! NEED A HELPING HAND!

    is it possible to "listen keyboard" for web-applications and execute needed classes (programms) according to this keypresses?

    Try this as an example:
    //<applet code="TestitAppl.class" height=75 width=225> </applet>
    import java.awt.*;
    import java.awt.event.*;
    public class TestitAppl extends java.applet.Applet implements KeyListener {
    private int iDx, keyHit;
    private char myChar;
    private char[] calcEntr;
    private String calcPrnt;
    private TextField display;
    private Panel p;
    public void init() {
    setBackground(Color.cyan);
    calcEntr = new char[20];
    setFont(new Font("Helvetica", Font.BOLD, 15));
    setBackground(Color.white);
    p = new Panel();
    display = new TextField("Currently just this", 20);
    p.setLayout(new GridLayout(1, 1, 10, 10));
    display.setBackground(Color.white);
    display.setForeground(Color.blue);
    display.addKeyListener(this);
    p.add(display);
    add(p);
    public void keyTyped(KeyEvent event) {
    myChar = event.getKeyChar();
    if (!java.lang.Character.isISOControl(myChar)) {
    if (myChar != '.') {
    if (iDx < calcEntr.length) { calcEntr[iDx++]=myChar; }
    else { changeColor(); }
    // KEYS: 8 is the BackSpace key, 9 is the Tab key, 10 is the Enter key
    public void keyPressed(KeyEvent event) {
    keyHit = event.getKeyCode();
    if (keyHit == 8) {
    if (iDx > 0) { calcEntr[--iDx] = ' '; }
    else if (keyHit == 10) {
    display.setText(new String(calcEntr));
    for (int i=0; i<calcEntr.length;i++) { calcEntr[i]='\u0000'; }
    calcPrnt="";
    iDx=0;
    else { clearDisplay(); }
    public void keyReleased(KeyEvent event) { }
    public void changeColor() {
    int i = (int) (Math.random()*10)%9;
    switch (i) {
    case 1: { display.setForeground(Color.blue);   break; }
    case 3: { display.setForeground(Color.gray);   break; }
    case 5: { display.setForeground(Color.red);    break; }
    case 7: { display.setForeground(Color.yellow); break; }
    case 9: { display.setForeground(Color.cyan);   break; }
    default: { display.setForeground(Color.black);  break; }
    public void clearDisplay() { display.setText(""); }

  • Can i take live video from TV tuner? how? urgent help is needed

    can i take live video from TV tuner? how?
    i have downloaded this code for a web cam how can i adjust it to take live video from TV tuner
    * WebcamPlayer.java
    * Created on November 22, 2004, 4:09 PM
    import javax.media.Player;
    import javax.media.CaptureDeviceInfo;
    import javax.media.MediaLocator;
    import javax.media.CaptureDeviceManager;
    import javax.media.Manager;
    import javax.media.format.VideoFormat;
    import java.awt.Component;
    import java.applet.*;
    import java.util.Vector;
    * @author Administrator
    public class WebcamPlayer extends Applet
    private CaptureDeviceInfo device; // Contains the device properties
    private MediaLocator ml; // Contains the location of the media comming from the webcam
    private Player player; // the player
    private Component videoScreen; // Component that is capable to show the player's visual component
    public void init()
    try
    {   //gets a list of devices how support the given videoformat
    Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(VideoFormat.MJPG) );
    //device = CaptureDeviceManager.getDevice("vfw:Creative WebCam NX Pro (VFW):0");
    //gets the first device from the deviceList
    device = (CaptureDeviceInfo) deviceList.firstElement();
    System.out.println("Chosen device: "+device.getName());
    //String str1 = "vfw:Creative WebCam NX Pro (VFW):0";
    // de webcam indentifiseren
    //device = CaptureDeviceManager.getDevice(str1);
    //gets the location of the device, is needed for player
    ml = device.getLocator();
    // makes player and gives the streaming video location (that is locate in the MediaLocator)
    // this oparation is blocking until Manager has made a player that is realized.
    player = Manager.createRealizedPlayer(ml);
    //starts the play
    player.start();
    //Gets a component from the player that can show the actual streaming from the
    //webcam.
    videoScreen = player.getVisualComponent();
    //adds the component that displays the streaming to the applet.
    add(videoScreen);
    // Now the user can see the steam that is from the webcam in the applet
    catch(Exception e)
    System.out.println("no device");
    thanks here is my mail if any wants to mail me [email protected]

    just visit
    http://javasolution.blogspot.com/2007/04/java-tv-api-overview.html

  • Urgent Help is needed : Experts please help

    Does modification of Transfer rule and update rule require data deletion from all the dependent data targets?
    Hi Experts,
    Two new key figures have been added in data source and subsequently in transfer rules, updated rules, ODS and cubes there in data flow.
    The changes are supposed to move in production on this weekend. I am afraid; does this activity require data deletion from the data targets before moving the transports?
    With out deletion of the data can these transports be moved in prod?
    Please reply with your valuable advice.
    Points will be rewarded.
    Thanks,
    BW USER

    hi,
    hope u might have to do changes in the cube and ods also rite?
    and you need to have data for the added key figure in the cube/ods for the already existing records in the cube/ods.for this you copy content in other cube/ods and do delete and reload the data to the new changed cube/ods.
    Ramesh

  • Urgent help is needed - JSP & Java beans

    Hi,
    I am getting the following problem when trying to interact with Javabeans from JSP (DB I use is Cloudscape) :
    An exception occurred while interacting with the guestbook database.
    The error message was:
    Cannot create bean of class proj.beans.UserDataBean
    Please try again later
    The problem probably occurs in following line:
    status = guestData.checkUser(userName,emailName);
    where guestData represents a Javabean class.
    The strangest thing is that sometimes, suddenly, the program is working OK without this Error Message but when it occurs I don't know the reason and how to solve it.
    Please advise...
    Thanks a lot.

    Can you copy the entire stack trace and post it? It would probably help.

Maybe you are looking for

  • Adobe PSE 10 and 11 refuse to open.

    Hi, guys. I've been using PSE 10 on my current computer (currently running Windows 7, 64-bit) for quite some time now--a little over a year, I'd say. Everything worked fine before; I was able to open the editor and use it without problems. Just yeste

  • CS5 crashes when trying to open RAW files. Help?

    Hi! I recently had to reinstall CS5.1 on my mac (OSX 10.9.5) after formatting the hard drive and for some reason I'm no longer able to open RAW-files, neither in photoshop nor bridge. I have tried to remove and reinstall CS5, update my mac and camera

  • Improvements for nokia s40v5 devices

    Hi  I was just thinking... I think this is a good idea for nokia and nokia users... So here's what i mean... all of us have nokia phones right? some of us has nokia phones that runs the nokia s40v5 operating system right?so i was jus thinking...for t

  • Permanent low energy consumption mode in Lion

    Hi, Is there a way to make the machine always work in low energy consumption mode, no matter how much workload there is, like pre Lion machine?

  • Non-Valuated Items for Repair

    Hi Gurus, For In-House repair scenario, I am using RA (Return-Repair) SD document. With Inbound delivery, System is posting accounting document which is giving not required As per requirement, it should remain non-valuated only. How I can achieve thi