Unwanted Database Lock when using CAF BO method 'update'

Hi all
We are using the Composite Application Framework (CAF), and Business Objects (BOs) to save data on the database. A service call is using a BO ‘Update’ method as follows:
_location.debugT("Test debug line 4");
getBOSalesDataService().update(salesData);
_location.debugT("Test debug line 5");
The same method is then called by another service, while the first service is still active. It does not error, but it waits until the first service has timed out. You can see this from the following screenshot:
I think this is because the first service sets a lock on the SQL database. This is not an explicitly coded lock, but a database lock. I’ve tried using the following statement:
getBOSalesDataService().unlock(salesData.getKey(), IBusinessObjectNodeServiceBase.MODE_WRITE);
It doesn’t work. I think this because the lock was not created by a ‘lock’ statement. Are there any other statements I can use to commit
all database updates? If it was ABAP, I would use a ‘COMMIT WORK’, is there a Java / CAF equivalent?
I have spoken to our Basis consultants, they have shown me Solution Manager where we can actually see the locks happening. Session ID 53
is the first update, 54 is the second.
Thanks
Iwan

For updates you actually need a lock to avoid inconsistencies.
the lock should automatically be released when the JTA transaction is completed - in the case of CMP EJBs when the first service is finished...

Similar Messages

  • Locking when using a component as an object in the application scope...

    I have a component that I am building right now that hold
    application settings that are stored in a database table. The
    settings are maintained in a structure "variables.settings" within
    the component and can only be accessed by get and set methods. I
    use the following to create the instance of the object:
    <cfset application.settings =
    createObject("settings","component").init() />
    Now when getting a setting I do not think locking is needed
    as its just reading the value and I am not really concerned with a
    race condition...
    But when using the set method which will update the value of
    the setting.... should I be locking that as technically the object
    is in a shared variable scope? Or is it safe because its within the
    cfc/object?
    If locking is needed, would I need to lock when using the set
    method? or can I just build the lock into the set method so that
    its always there?

    To disagree with craigkaminsky, I think you only need to lock
    if you are
    concerned about race conditions and what could happen during
    a 'dirty
    read' and|or conflicting writes.
    A lot of developers have an old impression of ColdFusion that
    one *must*
    lock all shared scope variable access to maintain a stable
    application.
    This dates from the ColdFusion 4.5 days where there where
    bugs in
    ColdFusion that could cause memory leaks and eventual
    application
    instability if one did not lock shared scope reads and
    writes. This has
    long been fixed, but the advice persists.
    So now it is only a matter of your data and what would happen
    if one
    user read an old value while it was in the process of being
    updated by
    another user. Or could two users be updating the same value
    at the same
    time and cause conflict. If either of those two statements
    are true,
    then yes you should use locking as required by your
    application.
    But if they are both false and it does not matter that user A
    might get
    the old value microseconds before user B changes it. Or there
    is no
    concern with user A changing it once and user B changing it
    again to
    something different moments later without knowing the user A
    has already
    changed it. Then locking is probably unnecessary.
    There can be a cost to over locking shared variable writes
    and|or reads.
    Every time one creates a lock, one is single threading some
    portion of
    ones code. Depending on how the locking is done, this single
    threading
    may only apply to individual users or it may apply to every
    single user
    on the entire server. Either way, too much of this in the
    wrong places
    can create a significant bottle necks in ones application if
    too many
    user requests start piling up waiting for their turn through
    the locked
    block of code.

  • Shutter locks when using the camera in AV mode.

    EOS Rebel T3i - Shutter locks when using the camera in AV mode.  It actually freezes up when in this mode...no it's not just allowing more light in through the shutter but rather locking in the open position.  How can I resolve this? Thank you.

    Does it do this in bright sunlight at the lowest f/number?
    How do you know the shutter is locked open?
    Does it do this on multiple lenses?
    How long does the phenomenon last, and how do you stop it?
    Do you end up with an image? Is it totally overexposed and motion blurred?
    Positive it is not mirror lockup?
    Scott
    Canon 6D, Canon T3i, EF 70-200mm L f/2.8 IS mk2; EF 24-105 f/4 L; EF-S 17-55mm f/2.8 IS; EF 85mm f/1.8; Sigma 35mm f/1.4 "Art"; EF 1.4x extender mk. 3; 3x Phottix Mitros+ speedlites
    Why do so many people say "fer-tographer"? Do they take "fertographs"?

  • Hide passcode lock when using projector

    Is it possible to hide the passcode lock when using a projector? I'm a teacher so when my ipad locks and I want to unlock it the whole class can see my passcode unless I unplug it first!
    Thanks

    Many projectors have a button or option to 'black' the screen, which keeps the projector on, just in some way doesn't show any light, making it easy to show something else on the same screen. See if yours has the option, and if so, press it, put your code in, then press it again.

  • XControl always locked when used in class -- possible bug?

    Hi,
    This is not dissimilar to this question. However, I think that the issue is slightly different and possibly a bug. If do the following:
    create a project,
    create an XControl,
    create a class,
    add an instance of the XControl to a class method
    you should see that the XControl is locked all of the time. This only occurs when the XControl is used with a class. If the XControl is placed on a VI, in a project library or not, the XControl will only be locked when the VI which is using it is open (i.e., in memory and the XControl is running).
    This may be expected behaviour due to the way classes are loaded; however, as a user I find it unexpected -- is it a bug?
    Regards,
    Steve.
    Solved!
    Go to Solution.

    Unlike normal libraries (.lvlib), classes always load all their member VIs into memory when the class is loaded into memory.  So if one of those VIs uses an XControl, then it will become locked as soon as you load the owning class into memory, even if the VI is not open.  You might be able to get around this by right-clicking the XControl in the project and selecting "Unlock Library for Editing".  This will temporarily break any VIs that call the XControl until you are done editing it.
    Chris M

  • There is no printer output when using the PrintOut method

    I have a VB6 app with CR XI, and a customer found a situation that when printing a report directly to the printer using the PrintOut method, there is no printer output or error message.
    Some reports using the same code print normally, but a report that is preceded by another print call, presents this behavior.
    And when the output is directed to the screen, we can see the report.
    Could someone give me an idea of what is the problem?
    Thanks,
    Isis
    SP - Brazil
    The code used is below:
                       Set rpt = applic.OpenReport(App.Path & "SEFoto" + TipoRPT + ".rpt")
                       rpt.FormulaSyntax = crCrystalSyntaxFormula
                       rpt.FormulaFields.GetItemByName("Empresa").Text = "'" + Company + "'"
                       rpt.FormulaFields.GetItemByName("Idioma").Text = "'" + Idioma + "'"
                       rpt.FormulaFields.GetItemByName("Versao").Text = "'" + Versao + "'"
                       ' ... Some lines to compose the selection formula
                       rpt.RecordSelectionFormula = Cond
                       ' To evaluate the image length:
                       Arq = rsTMP3!FT_Arquivo
                       ImageScaling = FatorDeReducao(Arq, "F")
                       ' To reduce the image length:
                       AchouOLE = False
                       For Each oSection In rpt.Sections
                           For Each oObject In oSection.ReportObjects
                               If oObject.Name = "PictureFoto" Then
                                  Set oOleObject = oObject
                                  AchouOLE = True
                                  Exit For
                               End If
                           Next oObject
                           If AchouOLE Then Exit For
                       Next oSection
                       With oOleObject
                            .Suppress = True
                            .XScaling = ImageScaling    ' 0.5 = 50%, 1 = 100%
                            .YScaling = ImageScaling
                            .Suppress = False
                       End With
                       Aguarde.Show 1
                       If DestinoRel = 9 Or DestinoRel = 1 Then ' Padrão ou impressora
                          rpt.PrintOut True              ' <<<---- Here using true or false nothing happens
                       Else
                          PrintRPTtela rpt, "Fotos"   ' <<<--- Here it works fine
                       End If

    Hi Isis,
    Not sure if you have applied any service Packs to CR? If please do so and test again. Then you can upgrade to CR XI R2 for free, use your XI Keycode and download Service Pack 4 from this link:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    You'll find the distribution files for your app also from that same download area.
    If you don't want to upgrade to XI R2 then download all patches from XI and test again. This issues rings a bell that it may have been fixed.
    Thank you
    Don

  • Releasing locks when using "Navigate Pushbutton" in Web Interface Builder

    Hi
    I am creating a basic BPS application in Web Interface Builder for manual data entry into a Cube.
    I have a requirement for a user to navigate away from the data entry screen to a "Start Screen".  To do this, I am using the "Navigate Pushbutton" component.
    When the user navigates away from the data entry screen, I want the locks to be released.  I have attempted to do this using the "End Command" attribute of the Navigate Pushbutton to "True".  According to the Help for this attribute, the following should happen:
    " When this property has the value TRUE, the page context will be lost when you press the pushbutton (and all locks are deleted)."
    However, when I look at the locks in SM12, I can see that the locks remain, even after the user has clicked on the Navigate Button.
    Therefore, it would appear that the "End Command" attribute does not release the locks when it is set to True.
    (By the way, I have also tried setting it to false, but the same issue occurs).
    Has anyone got any advice on how I can solve this?
    (We are running BW 3.1).
    Thanks in advance for any thoughts.

    Hi,
    You are correct this is standard functionality that should work. Please post the solution proposed by SAP.
    As a stop gap you can look at this topic
    User Lock BPS Web interface
    thanks

  • Crash/lock when use special symbol palette in iDVD 6

    I tried to use the special symbol palette to try to insert special language characters in the comments on a picture in a slide show. On choosing special symbols from the menu line (Edit) all seemed to be fine until I tried to choose another category of symbol from the palette.
    At that point the symbol palette goes blank or only part of the information is visible and I can not close or move it. Often iDVD also locks and I have to force the application to quit.
    After that, the blank symbol palette keeps popping open (then closing) when working with other applications. Cold restarts do not cure the problem. Only solution I have found to stop the annoying pop up of the palette is to delete the file in user preference (com.apple.CharPaletteServer.plist)
    I try to do the same operation again with the same results. Do not know if this is a new problem or long standing since I had never used the palette before with iDVD. I can clear the created problem with the hanging palette, but the palette is esentially unusable. Character palette seems to be ok when using it from the international keyboard menu.
    (The reason to try to use the palette was I could not paste names in a language that do not use Mac's standard diacriticals. Why is there no font menu choice or ability to paste a name from another application that has font menus?)

    Wow-totally missed that-sorry. I guess i assumed that you didn't do that because that is about the only thing that I know of to fix it.
    I guess you could try Validating fonts
    http://docs.info.apple.com/article.html?path=FontBook/2.0/en/fb1003.html
    I'm out of ideas...but, I am certain that others will show up that have other ideas though.
    Sue

  • Error occurs when using DBDataSource.SetValue method in sales order

    Is it possiable to use the DBDataSource.SetValue method to update a cell in the Sales Order document
    My code , but I am getting an error
    Dim oDBDataSource As SAPbouiCOM.DBDataSource
    oDBDataSource = oform.DataSources.DBDataSources.Item("RDR1")
    oDBDataSource.SetValue("Price", 1, "111.22")
    The following code works, but I do not want to use it because the cursor need to move to  the cell before changing the value.
    oMatrix.Columns.Item("14").Cells.Item(RowNum).Specific.value = 111.22
    Sincerely yours
    Riade Asleh

    Well , I do not want to do it this way
    I want to change the value using the setvalue method of the DBDatasource Object
    I want to avoid the cursor from going to the cell for update or read.
    Refer to orignal question (first question)
    Sincerely yours
    Riade Asleh

  • Problem when using Call FM IN UPDATE TASK.

    we plan to update ztable using Call FM in update task, and write the success/error message into log.
    Does below is right??  I found the commit work can not be used here. Thanks..
    CALL FUNCTION 'ENQUEUE_ETABLE'.
    IF sy-subrc = 0.
    CALL FUNCTION 'update_ztable'' IN UPDATE TASK.
    Endif.
    COMMIT WORK and wait.
    IF sy-subrc <> 0.   
         ROLLBACK WORK.
         write error log.
    Else.
        Write successful log.
    Endif.
    CALL FUNCTION 'DNQUEUE_ALL'.

    Hi ,
    Please see the refernce of UPDATE FUNCTION MODULES:
    UPDATE FUNCTION MODULE
    -In the attributes tab, under processing type, choose Update Module, 
    Start Immediately. Define your import parameters, enter the source
    code, All validations should have been done prior to the call to this
    function module, so all you need in the source, is the updating of the
    database, INSERT, MODIFY, UPDATE, whatever.
    -When you call you function module, use IN UPDATE TASK, after the call, 
    COMMIT WORK. The commit work will trigger the db update.
    Why do we use this " In Update Task " ??
    The main update technique for bundling database changes in a single  
    database LUW is to use CALL FUNCTION... IN UPDATE TASK.
    How do we Use ??
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    What is the Use... ??
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load
    Real time scenario.
    Suppose a user wants to change an entry in a database table, or add a new one. He or she enters the necessary data, and then starts the update process by choosing Save. This starts the following procedure in the ABAP program:
    Firstly, the program locks the database entry against other users, using the enqueue work process (or the message server in the case of a distributed system). This generates an entry in the lock table. The user is informed whether the update was successful, or whether the lock could not be set because of other users.
    If the lock is set, the program reads the entry that is to be changed and modifies it. If the user has created a new entry, the program checks whether a record with the same key values already exists.
    In the current dialog work process, the program calls a function module using CALL FUNCTION... IN UPDATE TASK, and this writes the change details as an entry in table VBLOG.
    When the program is finished (maybe after further dialog steps), a COMMIT WORK statement starts the final part of the SAP LUW. The work process that is processing the current dialog step starts an update work process.
    Based on the information passed to it from the dialog work process, the update work process reads the log entries belonging to the SAP LUW from table VBLOG.
    The update work process passes this data to the database for updating, and analyzes the return message from the database. If the update was successful, the update work process triggers a database commit after the last database change and deletes the log entries from table VBLOG.
    If an error occurred, the update work process triggers a database rollback, leaves the log entries in table VBLOG, flags them as containing errors, and sends a SAPoffice message to the user, who should then inform the system administrator.
    The corresponding entries in the lock table are reset by the update work process.
    Q:We are calling Sales Order Change in update task inside the user Exit MV50FZ1. We can see that the FM is called in update task after the commit work and the return of the FM shows the success message. But still the changes are not saved to the DB.
    A: check sm21 or sm13 to see if the update was successful  .. In SM21 I checked. It is giving me the error Transaction Failed
    Reward if useful
    Thanks
    Jagadeesh.G

  • System copy error when using DB depending methods

    Hi,
    I would like to do a system copy to transfer the database instance to another host.
    My current system is ERP6.0 under NW 7.0 SR3 with DB2 9.1.7.
    The kernel level is 7.20 REL running under windows 2003 R2 enterprise version.
    I used the SPM 1.0 with database depended methods.
    An error occurred when processing Grant Database Privileges On Tables under execute process.
    Refer to below error taken from sapinst.log:
    UPDATE COMMAND OPTIONS USING S OFF
    DB20000I  The UPDATE COMMAND OPTIONS command completed successfully.
    UPDATE COMMAND OPTIONS USING A OFF
    DB20000I  The UPDATE COMMAND OPTIONS command completed successfully.
    UPDATE COMMAND OPTIONS USING X ON 
    DB20000I  The UPDATE COMMAND OPTIONS command completed successfully.
    UPDATE COMMAND OPTIONS USING O OFF
    ERROR 2014-08-05 14:41:39.29
    MDB-01999  Error occured, first error is: <SQL0104N  An unexpected token "" was found following ")".  Expected tokens may >
    ERROR 2014-08-05 14:41:39.169
    MUT-03025  Caught ESAPinstException in module call: .
    ERROR 2014-08-05 14:41:39.279
    FCO-00011  The step drop_saptools with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_Postload|ind|ind|ind|ind|postload|0|NW_Postload_DB6|ind|ind|ind|ind|db6|0|drop_saptools was executed with status ERROR ( Last error reported by the step: Error occured, first error is: <SQL0104N  An unexpected token "" was found following ")".  Expected tokens may >).
    INFO 2014-08-05 14:41:39.372
    Creating file C:\Program Files\sapinst_instdir\BS2005\ERP60SR3\LM\COPY\DB6\SYSTEM\DISTRIBUTED\AS-ABAP\DB\__instana_tmp.xml.
    INFO 2014-08-05 14:41:39.841
    Removed file C:\Program Files\sapinst_instdir\BS2005\ERP60SR3\LM\COPY\DB6\SYSTEM\DISTRIBUTED\AS-ABAP\DB\instslana.xml.
    INFO 2014-08-05 14:41:39.841
    Creating file C:\Program Files\sapinst_instdir\BS2005\ERP60SR3\LM\COPY\DB6\SYSTEM\DISTRIBUTED\AS-ABAP\DB\instslana.xml.

    Hi Maria,
    I backup the DB2 V9.1 using offline & restore it in V9.7 and then it will success when processing Grant
    Database Privileges On Tables under execute process.
    Thanks.

  • CR2008: parameters ignored when using the PrintToPrinter method

    Hi all,
    Currently I'm using Crystal Reports in all my add-ons and my algorithm is has follows:
    - Create a New Report object;
    - Load the Reports;
    - Set the reports Parameters and SelectionFormula;
    - Set the server/database connection info and login into every table;
    - Load Form OR Send to Printer
        - Load Form procedure:
            - Create a New Windows Form with a ReportViewer control;
            - Set the ReportViewer's ReportSource;
            - Invoke the Refresh method of the ReportViewer control;
            - Invoke the ShowDialog method of the Report object.
        - Send To Printer procedure
            - Invoke the PrintToPrinter method of the Report object...
    When I use the Load Form procedure, everything works has it should: the SelectionFormula filters the correct records and the Parameters hide/show the fields that they are supposed to.
    If I use the Send To Printer procedure, the SelectionFormula works correctly but some Parameters are ignored. I've checked the object properties at runtime, and all the parameters I define are correct...
    My question is: is there some sort of Refresh method that I can call before calling the PrintToPrinter method that forces the report to check the parameter fields values? Or am I doing something wrong?
    My code is posted bellow.
    Thanks in advanced,
    Regards,
    Vítor Vieira

    ' procedure that creates a new ConnectionInfo object with the login credentials to the SQL server.
        Private Sub SetDBConnection()
            Try
                rptConnectionInfo = New ConnectionInfo()
                rptConnectionInfo.DatabaseName = OONE_CompanyDB
                rptConnectionInfo.UserID = OONE_CompanySQLUserId
                rptConnectionInfo.Password = OONE_CompanySQLPass
                rptConnectionInfo.ServerName = OONE_CompanyServer
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetDBConnection): " & ex.ToString)
            End Try
        End Sub
        ''' procedure that creates a new ReportDocument object
        Private Sub SetReportDocument()
            Try
                rptDocument = New ReportDocument
                rptDocument.Load(rptPath)
                SetParameters()
                rptDocument.DataDefinition.RecordSelectionFormula = SelectionString
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetReportDocument): " & ex.ToString)
            End Try
        End Sub
        ' procedure that makes the login to the table in the ReportDocument object
        Private Sub SetDBLogonForReport()
            Try
                Dim myTables As Tables = rptDocument.Database.Tables
                Dim myTableLogonInfo As TableLogOnInfo
                For Each myTable As Table In myTables
                    myTableLogonInfo = myTable.LogOnInfo
                    myTableLogonInfo.ConnectionInfo = rptConnectionInfo
                    myTable.ApplyLogOnInfo(myTableLogonInfo)
                Next
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetDBLogonForReport): " & ex.ToString)
            End Try
        End Sub
        ' procedure that loads a windows form with the report
        Private Sub SetCrystalForm(ByRef Titulo As String)
            Try
                rptCrystalForm = New CrystalForm()
                rptCrystalForm.Text = Titulo
                rptCrystalForm.oCrystalReportViewer.ReportSource = rptDocument
                rptCrystalForm.TopMost = True
                rptCrystalForm.oCrystalReportViewer.Refresh()
                If rptSendToPrinter Then
                    rptCrystalForm.oCrystalReportViewer.PrintReport()
                Else
                    rptCrystalForm.ShowDialog()
                End If
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetCrystalForm): " & ex.ToString)
            Finally
                ReleaseMemory()
            End Try
        End Sub
        ' Send the report directly to a printer without showing it.
        Private Sub SendReportToPrinter()
            Try
                rptDocument.PrintToPrinter(rptPageSettings.PrinterSettings, rptPageSettings, False)
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SendReportToPrinter): " & ex.ToString)
            Finally
                ReleaseMemory()
            End Try
        End Sub
        ' Procedure that releases memory.
        Private Sub ReleaseMemory()
            Try
                rptParameterField = Nothing
                For Each oTable As Table In rptDocument.Database.Tables
                    oTable.Dispose()
                Next
                If rptSendToPrinter Then
                    rptPageSettings.PrinterSettings = Nothing
                    rptPageSettings = Nothing
                End If
                rptConnectionInfo = Nothing
                rptDocument.Database.Tables.Dispose()
                rptDocument.Database.Tables.Reset()
                rptDocument.Database.Dispose()
                rptDocument.Close()
                rptDocument.Dispose()
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("ReleaseMemory: " & ex.ToString)
            End Try
        End Sub

  • How to share the same Database Connection when using several Task Flows ?

    Hi All,
    I’m using JDev 11.1.1.3.0.
    I’m developing ADF Fusion Applications (ABC BC, ADF Faces…)
    These applications are deployed on a Weblogic server.
    Each application has only one Application Module.
    All Application Modules have the same connection type defined: JDBC DataSource : jdbc/GCCDS
    It is working fine.
    I’ve also developed Task Flow Applications for small thinks that are reused in multiple main applications.
    Each Task Flow Application has also one Application Module with the same connections type as main applications.
    All these task flows are deployed to JAR file (ADF Library JAR File) and are reused on my main applications. (drag and drop from the Resource Palette to ADF Regions….).
    There are some parameters passed to Task Flows, so that they can filter data depending on which main applications they are called from.
    Everything is working perfectly.
    All my main applications are using more and more task flows. Which is nice for the reusability etc…?
    Only ONE PROBLEM: DATABASE CONNECTIONS.
    Every Task Flows service made a database connection. So one user may have 10 database connections for the same adf page. And when there are 100 users that are working at the same time, it becomes a problem.
    How to share the same database connections for the main applications and all task flows which are used in the main application?
    Best Regards
    Nicolas

    Hi John,
    When I open a ADF Library JAR file of one of my task flow. (gcc_tf_recentSites.jar)
    I can see TF_RecentSitesService.xml and TF_RecentSitesServiceImpl.class in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service folder
    + bc4j.xcfg in gcc_tf_recentSites.jar\mu\gcc\tf\recentSites\model\service\common folder.
    bc4j.xcfg details are
    +<?xml version = '1.0' encoding = 'UTF-8'?>+
    +<BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">+
    +<AppModuleConfigBag ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<AppModuleConfig DeployPlatform="LOCAL" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model" name="TF_RecentSitesServiceLocal" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService">+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +<Custom JDBCDataSource="jdbc/GCCDS"/>+
    +</AppModuleConfig>+
    +<AppModuleConfig name="TF_RecentSitesServiceShared" ApplicationName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService" DeployPlatform="LOCAL" JDBCName="gccdev" jbo.project="mu.gcc.tf.recentSites.model.TF_RecentSites_Model">+
    +<AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>+
    +<Security AppModuleJndiName="mu.gcc.tf.recentSites.model.service.TF_RecentSitesService"/>+
    +</AppModuleConfig>+
    +</AppModuleConfigBag>+
    +</BC4JConfig>+
    So, it seems that the Application Module is packaged with the task flow....
    Is it normal ?
    Regards
    Nicolas

  • Teradata database error when using a Universe-defined Date condition

    I have encountered an odd problem when connecting Crystal to a Universe.  There is a pre-defined Date condition built into the Universe that is defined as follows:
    @Select(Date\Week End Date)  >  @Select(Conditions\User Response Select Date week -28)  AND @Select(Date\Week End Date)  <=  @Select(Conditions\User Response Select Date)
    The filter is designed to retrieve a rolling 4 weeks of data.
    When I try and create and refresh a Crystal Report that includes this Date prompt, I get the following error:
    Failed to retrieve data from the database.
    Details: 22003:(ODBC Teradata Driver)(Teradata Database) A character string failed conversion to a numeric value.
    If I create the same query in a WebI report it works fine, but in Crystal the error is produced.  I have also tried constructing the same prompt and filter within Crystal rather than use the pre-built prompt but that did not work either.
    Does anyone have any experience or advice on this error?  I can't seem to find many related postings on this specific error.
    BO Enterprise XI 3.1 SP2 running on Windows 2008 Server R2
    Crystal Reports 2008 SP2 running on Windows XP SP3
    Universe is built on a Teradata 12 source
    Thanks!

    One item I found I had to do with Teradata was cast my date/time values to dates, otherwise I got weird errors like this. You say it's working in Web Intelligence, so this might not be the issue, but it is an easy thing to test.
    In the universe, change your end date definition to
    cast(table.end_date as date)
    and see if that helps.

  • Problem with Database Initialization when using Configuration Manager (ubuntu-jboss-mysql)

    Hello,
    When I try to initialize the database using Configuration Manager, the following error occurs:
    ALC-TTN-002-001: JDBC datasource lookup failed for resource reference [java:comp/env/jdbc/
    IdpDs]. The most likely cause is that a datasource having a JNDI
    name of [IDP_DS] does not exist or is misconfigured. Check the application
    server's configuration.
    I DO have an IDP_DS datasource configured in jboss. I carefully followed the Jboss configuration instructions, so I don't really understand which is the issue here.
    Anyone encountered a similar problem? Any help?
    Many thanks in advance,
    Artur

    Data source files have to end with ds.xml and should be copied to the /deploy folder of your JBoss configuration (all) for them to be picked up by JBoss.
    If the file was edited in Windows, make sure it does not contain DOS characters. Ubuntu Linux is not a supported LiveCycle OS platform currently. Only Red Hat Enterprise and SUSE Enterprise are.

Maybe you are looking for

  • Design problem involving Wildcards and EJB-QL.

    Could someone tell me if this is possible? (my syntax might be a bit off, but bear with me. It's the design I'm interested in, not the exact syntax) signature="java.util.Collection findByFullMonty (java.lang.Float price, java.lang.Integer bedrooms...

  • How can I extract the last 4 numbers of the SSN to be auto-populated in another text box?

    I'm creating a form for my place of business and need to figure out how to extract the last 4 numbers from a Social Security Number formatted text box into another text box that just asks for the last 4 numbers.  Can anyone help me please?

  • RAISERROR with Try/Catch does not exit after exception in catch block

    I am trying to propogate an error from within my proc out to the caller. In the attached example I have 2 sets of try catch blocks. I raiserror in the first catch the error and then raiserror again. (I expect to exit) I do not expect : to get to prin

  • Sony HDR AX 2000e compatibility w/ iMovie

    Hi, I've just been offered a Sony HDR AX 2000e carmcoder and I would like to know if iMovie is enough for simple video editing or if I need to use Final Cut Pro X. Cheers,

  • Table for AE messages

    Dear experts, I know that IE messages are stored in table SXMSPMAST can u pl let me know in which table are the AE messages stored ? OR is it that AE messages are not stored in ABAP stack tables ? pl help