Query regarding hotfix & bam updater service

Using Oracle BPM 10.3 MP2 Enterprise Edition
Version: 10.3.2
Build: #100874.
Hi All,
I have following 2 queries:
1.) Currently we have 6 engines configured in Process Admin, After any hotfix is applied , do we need to re-create the Oracle® BPM Engine EAR of every engine which has been set up.
2.) As per the documentation (http://www.oracle.com/technetwork/middleware/bpm/bpmconfiguringandtroubleshootingbam-132878.pdf)
Under : Configuring BAM Updater Service, its mentioned that “Updater Database Configuration” is the standard JDBC configured and “Runtime Database Configuration” is RemoteJDBC we are using the J2EE Engine.
I am getting OOM Exception in BAM Updater Service logs
Exception 1: bam-dwupdater.log
[<D> 25/04/11 07:21:42] filling workload
[<D> 25/04/11 07:21:42] loading previous snapshot records from [2011-04-25 00:31:45.0]
[<D> 25/04/11 07:21:42] Executing query: [
SELECT ACTIVITYIN, ROLEIN, PARTICIPANTIN, ORIGACTIVITYIN, WAITACTIVITYIN, QUANTITY, AVGTIMETASK, AVGTIMEPROCESS, MEANTIMETASK, MEANTIMEPROCESS ,V_PRODUCT_ID AS V_PRODUCT_ID FROM BAM_WORKLOAD WHERE SNAPSHOTTIME = ?]
[<S> 25/04/11 07:26:32] Workload routine could not be finished. Transaction rolled back.
[<S> 25/04/11 07:26:32] java.lang.OutOfMemoryError
java.lang.OutOfMemoryError     
Exception 2: bam-dwupdater.log
[<D> 25/04/11 05:17:12] filling workload
[<D> 25/04/11 05:17:12] loading previous snapshot records from [2011-04-25 00:31:45.0]
[<D> 25/04/11 05:17:12] Executing query: [
SELECT ACTIVITYIN, ROLEIN, PARTICIPANTIN, ORIGACTIVITYIN, WAITACTIVITYIN, QUANTITY, AVGTIMETASK, AVGTIMEPROCESS, MEANTIMETASK, MEANTIMEPROCESS ,V_PRODUCT_ID AS V_PRODUCT_ID FROM BAM_WORKLOAD WHERE SNAPSHOTTIME = ?]
[<S> 25/04/11 05:19:17] Workload routine could not be finished. Transaction rolled back.
[<S> 25/04/11 05:19:20] nativeGetNewTLA
java.lang.OutOfMemoryError: nativeGetNewTLA
     at java.util.HashMap.addEntry(HashMap.java:881)
     at java.util.HashMap.put(HashMap.java:474)
     at fuego.analyzer.WorkloadLoader.getPreviousRecords(WorkloadLoader.java:276)
     at fuego.analyzer.WorkloadLoader.<init>(WorkloadLoader.java:80)
     at fuego.analyzer.DailyWorkloadLoader.<init>(DailyWorkloadLoader.java:35)
     at fuego.analyzer.DailyUpdater.createWorkloadLoader(DailyUpdater.java:130)
     at fuego.analyzer.Updater.fillWorkload(Updater.java:1015)
     at fuego.analyzer.Updater.fillWarehouse(Updater.java:1000)
     at fuego.analyzer.Updater.update(Updater.java:352)
     at fuego.analyzer.DailyUpdater.update(DailyUpdater.java:57)
     at fuego.analyzer.UpdaterRunner.runUpdaterForEngines(UpdaterRunner.java:565)
     at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:395)
Any suggestions / resolution to resolve this
Thanks,
-Sree

Thanks JJ,
One more question.
In Process Admin -> Process Monitoring -> Under Process Data Mart : We have following configurations - :
Data Detail Level -
Snapshot Time -
Update Daily at Time -
I referred http://www.oracle.com/technetwork/middleware/bpm/bpmconfiguringandtroubleshootingbam-132878.pdf but couldn't get much info about these 3 configurations.
Thanks for your time.

Similar Messages

  • [Oracle BPM 6.0.2 - formerly ALBPM 6.0.2] Error using BAM Updater Service

    Hi All -
    I'm getting a similar error to the one below (posted byFabricio Soares) when the BAM updates service is working. We are using ALBPM 6.0.2 alongwith Oracle OID / LDAP (integrated using a custom FDI plugin).
    Any idea what could cause this problem? I've verified the BAM configuration - and the database tables exist (though are empty...).
    Thanks in advance -
    Deepak Natarajan
    From: Fabricio Soares [mailto:[email protected]]
    Sent: 17. december 2008 14:10
    To: /USER bpmblazers
    Subject: problem when I try to update the BAM
    Importance: High
    Hi Folks,
    I'm having the following problem when I try to update the BAM.
    If anyone knows about this problem I appreciate.
    In attachment have the complete logs files.
    Thanks and Regards,
    Stack trace:
    <S> 17/12/08 10:08:29]
    java.lang.NullPointerException:
    at fuego.analyzer.OrganizationMetadata.getDWInForOU(OrganizationMetadata.java:92)
    at fuego.analyzer.OrganizationMetadata.synchronizeParticipants(OrganizationMetadata.java:422)
    at fuego.analyzer.OrganizationMetadata.synchronize(OrganizationMetadata.java:135)
    at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:467)
    at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:280)
    at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:183)
    at fuego.analyzer.service.BAMUpdaterRunnerService.run(BAMUpdaterRunnerService.java:135)
    at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.runItem(WarehouseService.java:421)
    at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.run(WarehouseService.java:354)
    [<S> 17/12/08 10:08:29] Updater runtime exception.
    Caused by:
    fuego.analyzer.UpdaterRuntimeException: Updater runtime exception.
    at fuego.analyzer.UpdaterRuntimeException.wrapException(UpdaterRuntimeException.java:87)
    at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:518)
    at fuego.analyzer.UpdaterRunner.run(UpdaterRunner.java:280)
    at fuego.analyzer.UpdaterRunner.runUpdater(UpdaterRunner.java:183)
    at fuego.analyzer.service.BAMUpdaterRunnerService.run(BAMUpdaterRunnerService.java:135)
    at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.runItem(WarehouseService.java:421)
    at fuego.analyzer.service.WarehouseService$WarehouseServiceThread.run(WarehouseService.java:354)
    Caused by: java.lang.NullPointerException:
    at fuego.analyzer.OrganizationMetadata.getDWInForOU(OrganizationMetadata.java:92)
    at fuego.analyzer.OrganizationMetadata.synchronizeParticipants(OrganizationMetadata.java:422)
    at fuego.analyzer.OrganizationMetadata.synchronize(OrganizationMetadata.java:135)
    at fuego.analyzer.UpdaterRunner.synchronizeMetadata(UpdaterRunner.java:467)
    ... 5 more

    I've received a reply from the support guys at BEA:
    I just got notified from several other engineers , here at the labs , that there’s an issue on the installer itself . The BUG report has been already filed .
    In the meantime the only alternative is to install ALBPM Studio 6.02 from scratch , with the following considerations :
    - Uninstall
    - Make sure that the directory had been fully erased
    - Reboot the machine
    - Install ALBPM 6.02
    - Apply the latest Hotfix

  • Error while installing the BAM Updater Service in Windows

    Hi all,
    I am getting an error while installing the BAM updater service in Windows. When i type the "oraclebpmdatawarehouse install " command in the command prompt it gives error as follows:
    d:\OraBPMEnterpriseHome\bin>oraclebpmwarehouse install
    Installing...
    wrapper | OpenSCManager failed - Access is denied. (0x5)
    Please can anyone tell me how to get rid of this error.
    I have already done everything else like setting the database and other things.
    Thanks.

    From the error message you specified, I guess you are trying to install MS Office SP2 package. If you are then its not MS Office package its just a Service Pack; something like a patch. You need to install a Full Base package first. Again, as mentioned by Rajiv - refer to MS Support

  • Query regarding e63 firmwire update

    Hi,I have  just updated my nokia e63 firmwire.I've  some queries regarding the updated firmwire-    1.The download folder is not there anymore in the main menus.Where can I find it?                           
    2.After the update,although the nokia suite  restored back  the apps and settings back to phone,I can't found the apps which I kept on the memory card,but those downloaded via OVI store(to the card) are still there..                                                                                                                                             
    3.The  battery seems to be draining a bit faster than usual .Is it firmwire related?                                 
    I will be very glad if you help me                                                                                                      
    version details--Nokia e63(328.04),v510.21.010,RM-437
    Nokia E63-1, RM-437, 510.21.010
    Nokia C5-00.2,RM-745,091.002

    Please help.Any help will be greatly appreciated.
    Nokia E63-1, RM-437, 510.21.010
    Nokia C5-00.2,RM-745,091.002

  • Query regarding HRP table updation in EHP4

    Hello Experts,
    Recently we have upgraded our system to EHP4 and we have done data migration of the E-Recruitment to Career Profile (eg. data migration from HRP9301 to HRP7402 infotype).
    The infotype HRP7402 has a field called TABNR at the last and there is an include provided where we have included 2 more essential fields.
    But when i am updating the HRP7402 (internal table has the correct data), this TABNR (length 32) is getting filled in the infotype automatically which is fine but it is having leading spaces because of which the remaining 5 characters are being moved the other 2 fields (the fields which are included in the include provided) after this field.
    The same TABNR is getting populated perfectly in other infotypes where it is the last field and there are no additonal enhancements done in the standard include provided.
    Please let me know on how can i resolve this problem of leading spaces which are automatically getting added up.  And I am not clear on where this TABNR is getting filled up in the FM. The following is the code snippet....
            CALL FUNCTION 'RH_INSERT_INFTY'
              EXPORTING
                fcode               = 'INSE'
                vtask               = 'D'
                order_flg           = 'X'
                commit_flg          = 'X'
                authy               = 'X'
                repid               = sy-repid
                form                = 'FILL_DATA'
              TABLES
                innnn               = it_p7402
    FORM fill_data TABLES ct_tabinfty_tab
      USING ct_infty TYPE any
            ct_tabix TYPE any.
      CLEAR ct_tabinfty_tab. REFRESH ct_tabinfty_tab.
      ct_tabinfty_tab = ' '.
      APPEND ct_tabinfty_tab.
    ENDFORM.  
    Thanks
    Raj Kishore

    Sorry to intervene here Dhina but that is just halfways correct.
    If delivery class NOT = C then it is NOT a customizing table and therefore you wont get any transport request updating or deleting data from it.
    But if it is a customizing table then you got to look for the recording routine. You can see this by viewing your table in SE11, then using the menu like following:
    utilities->table maintainance generator.
    Then look at the info in the bottowm frame. if "standard recording routine" is tagged, then you get a transport request.
    If the other option is tagged you wont get it. What again means you can customize this table directly in the system where you need those entries.
    why is that?
    well assume there is a customizing for e.G. materials, depending on materialnumber. If that table would have a standard recording routine you would need ALL your materials in your development system which would be quite unusual.
    Edited by: Florian Kemmer on Jun 9, 2011 2:00 PM
    some typos corrected, left some for sure

  • Query regarding updation thru a Procedure

    Hi,I have a query regarding updation.
    1.I invoke a procedure in Oracle called submit thru my Java application.
    The submit procedure saves the XML data in the database
    and displays this data in a Front End GUI.
    2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
    I would like to display the new row with the new elements in the GUI.
    What is a better option for doing the above?
    1.Delete the row being shown,save the new row with the changes in the database,and re display it?
    2.Or,Update the row dynamically and refresh?
    Any suggestions
    Thanks,

    Hi,I have a query regarding updation.
    1.I invoke a procedure in Oracle called submit thru
    my Java application.
    The submit procedure saves the XML data in the
    database
    and displays this data in a Front End GUI.
    2. Now,I make a change in my Java application by
    adding new elements to the same row.This row now
    contains additional XML elements.
    I would like to display the new row with the new
    elements in the GUI.
    What is a better option for doing the above?
    1.Delete the row being shown,save the new row with
    the changes in the database,and re display it?
    2.Or,Update the row dynamically and refresh?
    Any suggestions
    Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
    Khurram

  • Query regarding updating rows in JTable

    Query regarding updating rows in JTable
    Hello,
    I have a JTable with 6 columns and 1000s of rows (which are data read from flat files)
    I can select 1 or more rows and change the values of the
    columns. each time I do this I need to update the values
    in the flat file.
    Currently I assign the updated Jtable values to a vector
    Vector rowVector = (Vector)defaultModel.getDataVector();
    then I iterate over the vector and compare the values with the (old) data
    in the JTable.
                for(int rowCount = 0; rowCount<rowVector.size(); rowCount++){
                    Vector v = (Vector)rowVector.elementAt(rowCount);
                        //smsList is the Vector that contains the old JTable values
                        for(int i=0; i<smsList.size(); i++){
                                //If colums values have been changed; add that
                                //vector value to another vector
                                selectedsmsList.add(smsList.get(i));
                for(int i=0; i<selectedsmsList.size(); i++){
                         //Update the values in the flat file
                }This works fine except that it takes ages to iterate over the updated vecor and un-updated,old vector; is there any way to directly get the list of rows that were updated in the jtable; so that I can directly do an I/O operation to update the jtablke values?

    Just a suggestion.
    You could add a listener and use a vector of booleans to keep track of the rows that have been changed. You could then iterate through this boolean vector and update the changed rows.
    See
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#modelchange
    Don't know whether this will be helpful.
    Regards, Darryl

  • Cannot locate policy manager query/update service

    Hi,
    I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
    "*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
    even my wls-m is running , I can access the http://host/wls-pm.
    Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
    Thanks
    Govindan

    Problem solved.
    Soln:
    Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
    Thanks
    Govindan P

  • WSUS Server has hotfixes installed to upgrade Update Services and it's still showing old version

    I have a Windows 2008 R2 WSUS server and when I go to help and About Update Service it is showing Version 3.2.7600.226.  I have installed KB2720211 Version 3.2.7600.251 and KB2734608 Version 3.2.7600.256, they both show up under Installed Updates. 
    Is there somewhere else that would show a different Version number or am I missing something?
    Thanks

    Am 27.03.2015 schrieb ingy0309:
    I have a Windows 2008 R2 WSUS server and when I go to help and About Update Service it is showing Version 3.2.7600.226.  I have installed KB2720211 Version 3.2.7600.251 and KB2734608 Version 3.2.7600.256, they both show up under Installed Updates. 
    Is there somewhere else that would show a different Version number or am I missing something?
    In Help Menu you have the wrong informations. Pls look at this Image:
    http://www.wsus.de/images/wsus-version.png
    Maybe you have to install more Updates for coming up to Version .274:
    WSUS 3.0 (SP2):     Build 3.2.7600.226
    WSUS 3.0 (SP2) + KB2720211:     Build 3.2.7600.251
    WSUS 3.0 (SP2) + KB2734608:     Build 3.2.7600.256
    WSUS 3.0 (SP2) + KB2828185:     Build 3.2.7600.262
    WSUS 3.0 (SP2) + KB2938066:     Build 3.2.7600.274
    Servus
    Winfried
    Gruppenrichtlinien
    HowTos zum WSUS Package Publisher
    WSUS Package Publisher
    HowTos zum Local Update Publisher
    NNTP-Bridge für MS-Foren

  • Regarding the Windows Update

    Regarding the Windows Update, is this given answers are Right? Thank you :)
    Aruna

    Hi,
    1. In the Group Policy Object Editor, expand Computer Configuration, expand
    Administrative Templates, expand Windows Components, and then click
    Windows Update.
    2. In the details pane, click Specify Intranet Microsoft update service location.
    3. Click Enabled and type the HTTP(S) URL of the same WSUS server in the
    Set the intranet update service for detecting updates box and in the
    Set the intranet statistics server box. For example, type
    http(s)://servername in both boxes, where servername is the name of the server. If the port is not 80 for HTTP or 443 for HTTPS, you should add the port number:
    https://servername:portnumber.
    4. Click OK.
    For more information, please read this article:Configure Clients Using Group Policy
    https://technet.microsoft.com/en-us/library/cc708574(v=ws.10).aspx
    Karen Hu
    TechNet Community Support

  • Is there a way to change the Windows Update service startup type on Windows Server 2012 R2?

    We have a number of newly built 2012 R2 servers that we have HP Operations Manager agent running on that monitors the status of several services and reports if they are "stopped". One of these services is Windows Update. Every day we
    get at least one alert saying:
    "Service "Windows Update" is not started. Current state is stopped"
    Checking the event logs shows that the Windows Update service stops, then a while later it just starts again. Not an error, just an information event.
    In Windows 2012 R2 the Windows Update service is set to "Automatic (Trigger Start)", where in previous versions we run (2012/2008R2) it would be set to just "Automatic" or "Automatic (Delayed Start)"
    I have come to understand that this behaviour is normal for Windows 2012 R2, and that Trigger Start services by design stop themselves after a period of inactivity. I was unable to find any info on how this works. Our client would like this to
    be changed and the Windows Update service stay running all the time, understanding that this impacts performance.
    Is there a way to change the Windows Update service in Server 2012 R2 to the old Automatic startup behaviour so that it stays running all the time instead of stopping and starting periodicall? There is no option to do this via the services mmc
    gui.
    So far I have tried:
    Removing the Triggers using the command: sc triggerinfo wuauserv delete
    This works temporarily, the service then shows as just Automatic in the services console, however if you restart the server or restart the service it goes right back to being Automatic (Trigger Start).
    Any kind of help would be appreciated.

    This one might help.
    Allow configuration of Automatic Updates in Windows 8 and Windows Server 2012
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Configuration failed for Windows Server Update Services on Server 2012 R2 Essentials (Trial Version)

    Hi,
    I'm trying to setup the WSUS on the Server 2012 R2 Essentials (Trial Version) but with no luck. Below are the logs generated. Hopefully someone can guide me on this. Thanks.
    2014-10-15 12:23:06  Postinstall started
    2014-10-15 12:23:06  Detected role services: Api, UI, WidDatabase, Services
    2014-10-15 12:23:06  Start: LoadSettingsFromXml
    2014-10-15 12:23:06  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
    2014-10-15 12:23:06  Value is true
    2014-10-15 12:23:06  End: GetConfigValue
    2014-10-15 12:23:06  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
    2014-10-15 12:23:06  Value is C:\WSUS
    2014-10-15 12:23:06  End: GetConfigValue
    2014-10-15 12:23:06  Content directory is C:\WSUS
    2014-10-15 12:23:06  Database roleservice is not installed
    2014-10-15 12:23:06  End: LoadSettingsFromXml
    Post install is starting
    2014-10-15 12:23:06  Start: Run
    2014-10-15 12:23:06  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:06  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:06  Fetching WsusReportersSid from registry store
    2014-10-15 12:23:06  Value is S-1-5-21-308464661-3380577483-199018475-1001
    2014-10-15 12:23:19  Configuring content directory...
    2014-10-15 12:23:19  Configuring groups...
    2014-10-15 12:23:19  Starting group configuration for WSUS Administrators...
    2014-10-15 12:23:19  Found group in regsitry, attempting to use it...
    2014-10-15 12:23:22  Writing group to registry...
    2014-10-15 12:23:22  Finished group creation
    2014-10-15 12:23:22  Starting group configuration for WSUS Reporters...
    2014-10-15 12:23:22  Found group in regsitry, attempting to use it...
    2014-10-15 12:23:22  Writing group to registry...
    2014-10-15 12:23:22  Finished group creation
    2014-10-15 12:23:22  Configuring permissions...
    2014-10-15 12:23:22  Fetching content directory...
    2014-10-15 12:23:22  Fetching ContentDir from registry store
    2014-10-15 12:23:22  Value is C:\WSUS
    2014-10-15 12:23:22  Fetching group SIDs...
    2014-10-15 12:23:22  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:22  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:22  Fetching WsusReportersSid from registry store
    2014-10-15 12:23:22  Value is S-1-5-21-308464661-3380577483-199018475-1001
    2014-10-15 12:23:22  Creating group principals...
    2014-10-15 12:23:22  Granting directory permissions...
    2014-10-15 12:23:23  Granting permissions on content directory...
    2014-10-15 12:23:23  Granting registry permissions...
    2014-10-15 12:23:23  Granting registry permissions...
    2014-10-15 12:23:23  Granting registry permissions...
    2014-10-15 12:23:23  Configuring shares...
    2014-10-15 12:23:23  Configuring network shares...
    2014-10-15 12:23:23  Fetching content directory...
    2014-10-15 12:23:23  Fetching ContentDir from registry store
    2014-10-15 12:23:23  Value is C:\WSUS
    2014-10-15 12:23:23  Fetching WSUS admin SID...
    2014-10-15 12:23:23  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:23  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:23  Content directory is local, creating content shares...
    2014-10-15 12:23:25  Creating share "UpdateServicesPackages" with path "C:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
    on this WSUS system."
    2014-10-15 12:23:25  Creating share...
    2014-10-15 12:23:25  Share successfully created
    2014-10-15 12:23:25  Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
    2014-10-15 12:23:26  Creating share...
    2014-10-15 12:23:26  Share successfully created
    2014-10-15 12:23:26  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
    2014-10-15 12:23:27  Creating share...
    2014-10-15 12:23:27  Share successfully created
    2014-10-15 12:23:27  Finished creating content shares
    2014-10-15 12:23:27  Stopping service WSUSService
    2014-10-15 12:23:27  Stopping service W3SVC
    2014-10-15 12:23:27  Configuring WID database...
    2014-10-15 12:23:27  Configuring the database...
    2014-10-15 12:23:27  Establishing DB connection...
    2014-10-15 12:23:27  Checking to see if database exists...
    2014-10-15 12:23:28  Database exists
    2014-10-15 12:23:28  Switching database to single user mode...
    2014-10-15 12:23:32  Loading install type query...
    2014-10-15 12:23:32  DECLARE @currentDBVersion       int
    DECLARE @scriptMajorVersion     int = (9600)
    DECLARE @scriptMinorVersion     int = (16384)
    DECLARE @databaseMajorVersion   int 
    DECLARE @databaseMinorVersion   int 
    DECLARE @databaseBuildNumber    nvarchar(10)
    IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
    BEGIN
        SELECT 1
    END
    ELSE
    BEGIN
        SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
        DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
        IF (@delimiterPosition = 0)
        BEGIN
            RAISERROR('Invalid schema version number', 16, 1) with nowait
            return 
        END 
        SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
        SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
        IF @currentDBVersion < 926
        BEGIN
            SELECT 3
        END
        ELSE
        BEGIN
            IF (@scriptMajorVersion > @databaseMajorVersion OR
               (@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
            BEGIN
                SELECT 2
            END
            ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
                     @scriptMinorVersion = @databaseMinorVersion)
            BEGIN
                SELECT 0
            END
            ELSE
            BEGIN
                SELECT 4
            END
        END
    END
    2014-10-15 12:23:32  Install type is: Reinstall
    2014-10-15 12:23:32  Creating logins...
    2014-10-15 12:23:32  Fetching account info for S-1-5-20
    2014-10-15 12:23:32  Found principal
    2014-10-15 12:23:32  Found account
    2014-10-15 12:23:32  Got binary SID
    2014-10-15 12:23:35  Fetching WsusAdministratorsSid from registry store
    2014-10-15 12:23:35  Value is S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:35  Fetching account info for S-1-5-21-308464661-3380577483-199018475-1000
    2014-10-15 12:23:35  Found principal
    2014-10-15 12:23:35  Found account
    2014-10-15 12:23:35  Got binary SID
    2014-10-15 12:23:35  Setting content location...
    2014-10-15 12:23:35  Fetching ContentDir from registry store
    2014-10-15 12:23:35  Value is C:\WSUS
    2014-10-15 12:23:40  Swtching DB to multi-user mode......
    2014-10-15 12:23:47  Finished setting multi-user mode
    2014-10-15 12:23:47  Writing DB settings to registry...
    2014-10-15 12:23:47  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2014-10-15 12:23:47  Starting service W3SVC
    2014-10-15 12:23:47  Configuring IIS...
    2014-10-15 12:23:47  Start: ConfigureWebsite
    2014-10-15 12:23:51  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
       at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
    Fatal Error: The system cannot find the path specified.

    2014-10-15 12:23:47  Start: ConfigureWebsite
    2014-10-15 12:23:51  System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
    Looks like it failed trying to setup the website.
    2014-10-15 12:23:27  Configuring WID database...
    2014-10-15 12:23:27  Configuring the database...
    2014-10-15 12:23:27  Establishing DB connection...
    2014-10-15 12:23:27  Checking to see if database exists...
    2014-10-15 12:23:28  Database exists
    This also looks like its a RE-installation of WSUS.
    Any chance the "WSUS Administration" v-root is already present and did not get deleted after the last uninstallation?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How can I use the update service

    Hello experts,
    could you please explain me how to use the update service from a business object in the VC. I have created a object which contains following attributes:
    - key(ID)
    - created by(UserID)
    - creted at(Datetime)
    - modifiedAt(Datetime)
    - modifiedBy(UsedID)
    - argument(string)                 Kardinalität: 1...1
    I have developed an application service which returns the whole entries of the table.
    Now I want to select the row and update the attribute argument.
    (For example the value is 24, and now I want to change it to 25. )
    But if I test the service UPDATE in the Service Browser it cames always the error message that a value in the mandatory field argument is missing.
    Any ideas?????? I am using the NWDS SP1.
    Many thanks!!!
    Regards Marco

    Hi Marco,
    In CAF you can do it by first using the update method to retrieve the BO instance and set the new value.
    Regards,
    Srinivasan Subbiah

  • Update Service is not working - T700

    Hi,
    I recently bought a Sony Ericsson T700 and I am trying to use update service features. I have downloaded the Update Service software from the sony ericsson website. When I am trying to follow the guidelines(Switching off and Restarting the system, connecting the USB cable to the system, and then pressing C and connecting the USB to the mobile), I get an error saying "One of the USB drives has malfunctioned...". I had called up the support team, sent a mail and then as per the instructions, I had uninstalled the software and reinstalled the same and tried the whole process again. Still I keep getting the same error message.
    Can you please advise what needs to be done ?
    (P.S : There is no problem with the USB cable,as I am able to perform data transfer and other functions).

    I mentioned that with respect to the error message you keep getting regarding failure of USB drives when trying to use the Update Service, which you mentioned in your original message.So which successful data transfer were you referring to? And what exactly happened when you tried to update the software over the air?

  • Query regarding App V Deployment - (Deploying DriverMSI in App - V)

    Hi All,
    This is my query regarding deployment of a driver MSI using App V. I have tried sequencing "NMap software" which has Kernel driver as service. I have separated the Kernel driver and wrapped in an MSI and tried deploying the Kernel Driver MSI using
    the DeploymentConfig.xml file but its not happening.
    I have tried writing script in DeploymentConfig.xml in AddPackage Tag as shown in the below commands where I have added driver MSI in sequenced package, and tried deploying the DeploymentConfig.xml in powershell during Add-Package event but the driver
    MSI is not getting installed in Client machine.
    <AddPackage>
            <Path>msiexec.exe</Path>
            <Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
            <Wait RollbackOnError="true" Timeout="30"/>
          </AddPackage>
          <RemovePackage>
            <Path>msiexec.exe</Path>
            <Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
            <Wait RollbackOnError="false" Timeout="60"/>
          </RemovePackage>
        </MachineScripts>
    The other way I have tried is writing a vbscript for installing the driver MSI, added the vbs in sequenced package and called the same in DeploymentConfig.xml but no luck.Please find the command below.
    <!--
        <MachineScripts>
          <PublishPackage>
            <Path>wscript.exe</Path>
            <Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
            <Wait RollbackOnError="true" Timeout="30"/>
          </PublishPackage>
          <UnpublishPackage>
            <Path>\\server\share\barfoo.exe</Path>
            <Arguments>-WithArgs</Arguments>
            <Wait RollbackOnError="false" Timeout="30"/>
          </UnpublishPackage>
    Please suggest any method to make this successful or kindly let me know if there is any mistake in the script.
    Thanks in advance,
    Vivek V

    Hi Nicke,
    These are the following methods and steps that I have performed for installing Driver MSi.
    Method 1:
    1. Included the driver MSI in Package Files Tab in sequencer and called the same MSI in DeploymentConfig.xml using the below script.
    <AddPackage>
            <Path>msiexec.exe</Path>
            <Arguments>/i Nmap_KernelDriver.msi /qb /l*v c:\windows\system32\LogFiles\Install_Nmap.log</Arguments>
            <Wait RollbackOnError="true" Timeout="30"/>
          </AddPackage>
          <RemovePackage>
            <Path>msiexec.exe</Path>
            <Arguments>/x {4BAB3E93-716E-4E18-90F0-1DA3876CBEB6} /qn</Arguments>
            <Wait RollbackOnError="false" Timeout="60"/>
          </RemovePackage>
        </MachineScripts>
    2. After the above steps, deployed the AppV package along with DeploymentConfig.xml in App V Client using the commands mentioned below.
    Set-ExecutionPolicy -Unrestricted
    Import-module Appvclient
    Set-AppVClientConfiguration -EnablePackageScripts 1
    Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
    after trying the above steps the driver MSI is not getting installed.
    Method 2:
    1. Included the driver MSI and a VBS file(VBS contains script for calling the driverMSI)in Package Files tab in sequencer. Commandlines has been provided calling the vbs file in DeploymetConfig.xml as mentioned below.
    <!--
        <MachineScripts>
          <PublishPackage>
            <Path>wscript.exe</Path>
            <Arguments>[{AppVPackageRoot}]\..\Scripts\NMap_Driver_Install.vbs -guid 7c21d1e9-0fc4-4e56-b7bf-49e54d6e523f -name Insecure_Nmap_6.4_APPV</Arguments>
            <Wait RollbackOnError="true" Timeout="30"/>
          </PublishPackage>
          <UnpublishPackage>
            <Path>\\server\share\barfoo.exe</Path>
            <Arguments>-WithArgs</Arguments>
            <Wait RollbackOnError="false" Timeout="30"/>
          </UnpublishPackage>
    2. after executing the above steps, tried deploying the AppV file along with DeploymentConfig.xml using the commands mentioned below,
    Set-ExecutionPolicy -Unrestricted
    Import-module Appvclient
    Set-AppVClientConfiguration -EnablePackageScripts 1
    Add-AppvClientPackage -Path "Path of the AppV file" -DynamicDeploymentConfig "Path of DeploymentConfig.xml"
    evenafter trying the above methods the driver MSI is not getting installed. Hope you can understand my explanations above.
    Regards,
    Vivek V

Maybe you are looking for