Trying to Bind Matrix to DBDatasource

Hi,
I cannot seem to get my matrix bound to a system datasource (POR1)
The Error I get is "Data Source - Not  A User Datasource"
This occurs when trying to bind the first column.
(  colItem.DataBind.SetBound(True, "POR1", "ItemCode" )
I am trying to do this in a new tab in the purchase order form (142)
odbs is a variable with class scope.
Please help :
        odbs = oform.DataSources.DBDataSources.Add("POR1")
        oNewItem = oform.Items.Add("Lmat", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
        oItem = oform.Items.Item("38")
        oNewItem.Left = oitem.Left
        oNewItem.Width = oItem.Width
        oNewItem.Top = oitem.Top
        oNewItem.Height = oitem.Height
        oNewItem.AffectsFormMode = False
        oNewItem.FromPane = 15
        oNewItem.ToPane = 15
        omat = oNewItem.Specific
        Dim colItem As SAPbouiCOM.Column
        Dim colItemD As SAPbouiCOM.Column
        Dim colQty As SAPbouiCOM.Column
        Dim colQtyO As SAPbouiCOM.Column
        Dim colSO As SAPbouiCOM.Column
        Dim l As SAPbouiCOM.LinkedButton
        Dim l2 As SAPbouiCOM.LinkedButton
        colItem = omat.Columns.Add("colItem", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
        colItem.Width = "125"
        colItem.TitleObject.Caption = "Item"
        colItem.DataBind.SetBound(True, "POR1", "ItemCode")
        colItem.Visible = True
        l = colItem.ExtendedObject
        l.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
        colItemD = omat.Columns.Add("colItemTxt", SAPbouiCOM.BoFormItemTypes.it_EDIT)
        colItemD.Width = "225"
        colItemD.TitleObject.Caption = "Item Name"
        colItemD.DataBind.SetBound(True, "POR1", "Dscription")
        colItemD.Visible = True
        colQty = omat.Columns.Add("colQty", SAPbouiCOM.BoFormItemTypes.it_EDIT)
        colQty.Width = "75"
        colQty.TitleObject.Caption = "Qty"
        colQty.DataBind.SetBound(True, "POR1", "Quantity")
        colQty.Visible = True
        colQtyO = omat.Columns.Add("colQtyO", SAPbouiCOM.BoFormItemTypes.it_EDIT)
        colQtyO.Width = "75"
        colQtyO.TitleObject.Caption = "Qty"
        colQtyO.DataBind.SetBound(True, "POR1", "OpenQty")
        colQtyO.Visible = True
        colSO = omat.Columns.Add("colSO", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
        colSO.Width = "125"
        colSO.TitleObject.Caption = "Sales Order"
        colSO.DataBind.SetBound(True, "POR1", "U_SONumber")
        colSO.Visible = True
        l2 = colSO.ExtendedObject
        l2.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Order

Nick,
Yes, you can add link button in grid column. There are 4 type of GridColumn, CheckBoxColumn, ComboBoxColumn, EditTextColumn, PictureColumn objects.  And you can set the linkobjecttype for EditTextColumn
Please refer to BoGridColumnType for more info.
sample code:
oItem = oItems.Add("My_Grid", SAPbouiCOM.BoFormItemTypes.it_GRID)
            oItem.Top = 30
            oItem.Left = 10
            oItem.Width = 200
            oItem.Height = 100
            Dim oGrid As SAPbouiCOM.Grid = oItem.Specific
            Dim oDataTable = oForm.DataSources.DataTables.Add("POLines")
            oGrid.DataTable = oDataTable
            oDataTable.ExecuteQuery("SELECT ItemCode AS 'Item Code', Dscription AS 'Item Name', Quantity FROM POR1 WHERE DocEntry = 1")
            Dim colItemCode As SAPbouiCOM.GridColumn = oGrid.Columns.Item(0)
            colItemCode.Type = SAPbouiCOM.BoGridColumnType.gct_EditText           
            Dim editColItemCode As SAPbouiCOM.EditTextColumn = CType(colItemCode, SAPbouiCOM.EditTextColumn)
            editColItemCode.LinkedObjectType = 4
Regards, Yatsea

Similar Messages

  • Problem in binding matrix with DBDataSource

    Hi
    I  bind the matix using DBDataSource,but when i again bind the matrix under the existing records it works.
    But when i delete a row from the delete menu and again bind the matrix then it adds an extra row in the matrix.
    when i delete two rows then it adds extra two rows and so on...
    please help..........

    This is for Menu delete before action
    SAPbouiCOM.Matrix oMatrix;
                        oMatrix=(SAPbouiCOM.Matrix)oPCForm.Items.Item(ClsConstant.strPC_matrixPC).Specific;
                        if(iRowNumber > 1)
                             oMatrix.FlushToDataSource();
                             oDbMatrixDataSrcPC.RemoveRecord(iRowNumber-1);
                             oMatrix.LoadFromDataSource();          
    for after action
    oMatrix.FlushToDataSource();
    for(int i=oMatrix.VisualRowCount;i > 0 ;i--)
    stsPO =  ((SAPbouiCOM.EditText)oMatrix.Columns.Item(ClsConstant.strPC_mtxPONo).Cells.Item(i).Specific).Value.ToString();
    if(sPONO == stsPO)
    oMatrix.DeleteRow(Convert.ToInt32(i));
    //oDbMatrixDataSrcPC.RemoveRecord(Convert.ToInt32(iRowNumber)-1);
    oDbMatrixDataSrcPC.RemoveRecord(i-1);
    oMatrix.LoadFromDataSource();     

  • Computer name being show as "localhost" when trying to bind to directory

    I am trying to bind my computer (OS 10.4.11) to my server (10.4.11) but each time I go to bind it the computer name is shown as "localhost" rather than the computer's real name. The computer's name is shown as r2.local in the Sharing pane of System Prefs, also confirmed by the output of hostname. I am also getting this in my system log during bootup:
    May 5 12:33:52 localhost usbmuxd[66]: usbmuxd-176 built for iTunesNineDot on Sep 24 2009 at 16:11:04, running 32 bit
    *May 5 12:33:53 localhost mDNSResponder: Couldn't read user-specified Computer Name; using default “Macintosh-000000000000” instead*
    *May 5 12:33:53 localhost mDNSResponder: Couldn't read user-specified local hostname; using default “Macintosh-000000000000.local” instead*
    May 5 12:33:54 localhost kernel[0]: BCM5701Enet: Ethernet address 00:14:51:64:5e:36
    May 5 12:33:54 localhost kernel[0]: BCM5701Enet: Ethernet address 00:14:51:64:5e:37
    May 5 12:33:54 localhost mDNSResponder: Adding browse domain local.
    May 5 12:33:56 localhost kernel[0]: NVDA,Display-A: vram [90020000:10000000]
    May 5 12:33:56 localhost kernel[0]: NVDA,Display-B: vram [00000000:01000000]
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: exited abnormally: Bus error
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: 9 more failures without living at least 60 seconds will cause job removal
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: exited abnormally: Bus error
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: respawning too quickly! throttling
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: 8 more failures without living at least 60 seconds will cause job removal
    May 5 12:34:00 localhost launchd: com.logmein.logmeinserver: will restart in 10 seconds
    May 5 12:34:03 localhost lookupd[97]: lookupd (version 369.8) starting - Wed May 5 12:34:03 2010
    May 5 12:34:05 localhost /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow: Login Window Application Started
    *May 5 12:34:05 r2 configd[68]: setting hostname to "r2.local"*
    May 5 12:34:07 r2 loginwindow[99]: Login Window Started Security Agent
    May 5 12:34:08 r2 kernel[0]: AppleBCM5701Ethernet - en0 link active, 1000-Mbit, full duplex, flow control disabled
    May 5 12:34:08 r2 configd[68]: AppleTalk startup
    May 5 12:34:10 r2 configd[68]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
    May 5 12:34:10 r2 configd[68]: posting notification com.apple.system.config.network_change
    May 5 12:34:10 r2 lookupd[110]: lookupd (version 369.8) starting - Wed May 5 12:34:10 2010
    May 5 12:34:15 r2 configd[68]: target=enable-network: disabled
    *May 5 12:34:16 r2 mDNSResponder: HostnameCallback: Error -65557 for registration of r2. IP 192.168.1.122*
    May 5 12:34:16 r2 configd[68]: AppleTalk startup complete
    Thoughts?

    I think Directory Utility is in 10.5+, it's called Directory Access in previous versions (at least in 10.4). I have an OD running on the Mac server that I am trying to bind to, the AD/windows server is just for the PCs.
    I did find this though about the mDNSresponder error I'm getting:
    (from http://lists.apple.com/archives/bonjour-dev/2005/Aug/msg00020.html)
    -65557 means NAT Traversal error. You need to be using a router that
    supports NAT-PMP or UPnP if you want to register your hostname
    successfully using DNS Update.
    I enabled UPnP on my router/firewall but it did not help.

  • Trying to bind XML data and form fields

    I have a fairly simple PDF - and I am trying to bind XML data to he form fields.
    In the designer I can bring up the data connection and
    select Global - for the binding method - and as I understand it - this will link Form Fields and XML data fields with the same name - (sounds logical to me)
    but all that happens is :
    I see the name of the field in the form field rahter than seeing the actual data
    should I select : None as the binding or normal ....
    but Normal doesnt show Anything - even after i select it .
    I can't quite seem to make this work -
    Any help here would be appreciated
    Thanks :)

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • What are solutions to the "Unexpected error while attempting to bind.  Operation cancelled." message when trying to bind

    What are solutions to the "Unexpected error while attempting to bind.  Operation cancelled." message when trying to bind and i alreeady cheack my DNS settings and everything

    Has this worked before, or is this a new configuration?
    On the server, launch Terminal.app from Applications > Utilities and post the output of the following harmless diagnostic command — and you'll need to enter an administrative password when requested:
    sudo changeip -checkhostname
    On the OS X (presumably) Mavericks client, please post the IP address(es) of the DNS server(s) you're referencing.  These are available via the System Preferences > Network > Advanced > DNS settings.
    To check the console logs, launch Console.app from Applications > Utilities on both the client and the server, and then attempt the binding, and then post a (short! no more than ~25 to 50 lines!) of any errors related to the binding error.
    If you're not in a position to post configuration details here — which is perfectly reasonable, and entirely your prerogative — or if I'm getting too confusing or too technical with some of the questions here, which would be my error of course — then (assuming these systems are under warranty) I'd suggest contacting the folks at the local Apple Store and having a chat with the local Geniuses about this, or checking directly with the Apple Support folks via telephone.

  • Fold down window just disappears when trying to bind to AD

    We're switching back to Macs!!
    In preparation I'm trying to bind my MacBook (10.5.6) to the Windows server (I've done this successfully at another school).
    When I go to Directory Access, click the + , put in the info, the fold down window goes away and nothing happens, I'm pretty ignorant so be gentle.

    AD is already enabled, I'm bound at another location. Just when when I click the + to add this one, fill it out and click OK,it folds away and nothing happens, I tried putting in rubbish and I get the same, no error messages, it just folds up and ignores me. I did create a computer for this Macbook on the AD server.

  • "Protocol family unavailable" when trying to bind to an IPv6 address

    Hi,
    When trying to bind to an IPv6 address using the Socket class, I get "Protocol family unavailable". Is there a fix to that?
    Thanks,
    Ronen

    read:
    http://search.msdn.microsoft.com/search/Default.aspx?
    query=IPv6&brand=msdn&locale=en-us&refinement=00&lang=en-us

  • Underflow Exception when trying to bind small double to BINARY_DOUBLE

    I get exception when trying to insert small double value (1.0E-131) into BINARY_DOUBLE column via jdbc.
    The exception I get:
    Exception in thread "main" java.sql.SQLException: Underflow Exception trying to bind 1.0000000000000001E-131
    at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13856)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2866)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2151)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3280)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
    at dbAccess.main(dbAccess.java:18)
    According to oracle documentation the smallest positive number the BINARY_DOUBLE column can store is 2.22507485850720E-308.
    I'm using oracle 10g r2 and thin jdbc driver.
    Any ideas?

    That is expected since a double is converted to a Oracle NUMBER before passing it to the database and Oracle NUMBER does not support 1.0e-131, the range is 1E-130 .. 10E125.
    Look at the SQL output below,
    SQL> select to_char(to_number(1.0e-131)) from dual;
    T
    0
    SQL> select to_char(to_number(1.0e-130)) from dual;
    TO_CHAR(TO_NUMBER(1.0E-130))
    1.000000000000000000000000000000000E-130
    ==
    Use oracle.sql.BINARY_DOUBLE for numbers like this.
    eg:
    preparedStatement.setBINARY_DOUBLE(1, new oracle.sql.BINARY_DOUBLE(1.0e-131));
    ==
    hope this helps.
    Ashok

  • Error when trying to bind without "cn=" prefix

    I am trying to bind a java object, via jndi, into an LDAP server and
    am getting an error.
    We have already bound jms.topics using IBM's JMSAdmin tool (a java
    tool), and they are in with names like "bucks" and "dela". Now, we
    want to put objects in from another tool instead of using the IBM
    tool.
    I am able to get the objects in, but I am forced to use "cn=myObject"
    instead of "myObject". For programic reasons, the later is what I
    need to do.
    Here is the code:
    // create the ctx
    InitialDirContext ctx = new InitialDirContext(env);
    // create the topic object with topic name of myTopic
    Topic q = new com.ibm.mq.jms.MQTopic("myTopic");
    // bind the object to the LDAP with the name == the topic name
    ctx.bind(new CompositeName("myTopic"),q);
    This results in
    javax.naming.directory.SchemaViolationException: [LDAP: error code 65
    - Object Class Violation]; remaining name 'myTopic'
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:903)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:657)
    at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:1428)
    at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:459)
    at com.sun.jndi.toolkit.ComponentContext.p_bind(ComponentContext.java:594)
    at com.sun.jndi.toolkit.PartialCompositeContext.bind(PartialCompositeContext.java:185)
    at javax.naming.InitialContext.bind(InitialContext.java:366)
    at JNDITool.main(JNDITool.java:74)
    But, if I use
    ctx.bind(new CompositeName("cn=myTopic"),q);
    it works fine, but appears as "cn=myTopic" in the naming directory.
    In order to be backward compatible with another application, I need to
    have the name be merely "myTopic".
    Anybody know what IBM's JMSAdmin tool is doing differenctly to achieve
    this?
    TIA,
    Gonzo

    So the answer is you need to create some attributes to use when binding:
    // create the attributes for the binding.
    BasicAttributes basicattributes = new BasicAttributes();
    basicattributes.put("objectclass", "javaContainer");
    basicattributes.put("cn", topicName);
    // do the binding
    ((DirContext)ctx).bind(topicName, newTopic, basicattributes);
    Gonzo

  • Overflow Exception trying to bind NaN

    Hello,
    Can somebody help me? I'm just trying to use MapViewer to see the results of a spatial query on an predifined Image Theme. I've done all that's explained in the MapViwer documentation but it seems to be a problem with the Image Theme. Here is the part of the log file where the error appears:
    05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] [ImageTheme p] query=SELECT ROWID, raster
    FROM Base_map WHERE MDSYS.SDO_FILTER(raster, MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, ERROR] java.sql.SQLException: Overflow Exception trying to bind NaN
    at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13793)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2871)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2156)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
    at oracle.sdovis.ImageTheme.loadImagesFromDBCached(ImageTheme.java:390)
    at oracle.sdovis.ImageTheme.prepareData(ImageTheme.java:281)
    at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1300)
    05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-9
    Thanks for your help.

    Here is the sql file I use (with the fefinition of the predefined image theme):
    DROP TABLE Base_map CASCADE CONSTRAINTS ;
    commit ;
    CREATE TABLE Base_map (
         Base_map_ID NUMBER(15) NOT NULL,
         Image BLOB
    commit ;
    ALTER TABLE Base_map ADD CONSTRAINT PK_Base_map
    PRIMARY KEY (Base_map_ID) ;
    commit ;
    CREATE OR REPLACE DIRECTORY MYDIR as 'c:\Temp\Data' ;
    commit ;
    DECLARE
         l_blob BLOB ;
         l_bfile BFILE ;
    BEGIN
         INSERT INTO Base_map VALUES(1, empty_blob())
         RETURNING Image INTO l_blob ;
         l_bfile := bfilename('MYDIR', 'Base_map.jpg') ;
         dbms_lob.fileopen(l_bfile) ;
         dbms_lob.loadfromfile(l_blob, l_bfile, dbms_lob.getlength(l_bfile)) ;
         dbms_lob.fileclose(l_bfile) ;
         UPDATE Base_map SET Image = l_blob WHERE Base_map_ID = 1 ;
    END ;
    commit ;
    ALTER TABLE Base_map
    ADD (raster MDSYS.SDO_GEOMETRY) ;
    UPDATE Base_map
    SET raster = MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1), MDSYS.SDO_ORDINATE_ARRAY(950,16249.500015000056,305950.06099999999,266250.000015))
    WHERE Base_map_ID = 1 ;
    INSERT INTO USER_SDO_GEOM_METADATA VALUES (
    'Base_map',
    'raster',
    MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', 950, 305950.06099999999, 0.001), MDSYS.SDO_DIM_ELEMENT('Y', 16249.500015000056, 266250.000015, 0.001)),
    327680) ;
    commit ;
    CREATE INDEX Base_map_raster_index
    ON Base_map(raster)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX ;
    commit ;
    INSERT INTO USER_SDO_THEMES VALUES (
    'BASE_MAP_THEME',
    'Base_map_theme',
    'Base_map',
    'raster',
    '<?xml version="1.0" standalone="yes"?>
         <styling_rules theme_type="image" caching="ALL" image_column="Image" image_format="JPEG">
              <rule >
                   <features style="C.BCK"/>
              </rule>
         </styling_rules>' );
    commit ;
    INSERT INTO USER_SDO_MAPS VALUES (
    'BASE_MAP',
    'Base_map',
    '<?xml version="1.0" standalone="yes"?>
         <map_definition>
              <theme name="BASE_MAP_THEME"/>
         </map_definition>' );
    commit ;
    And here is the complete log file:
    05/10/26 16:11:46 [oracle.lbs.mapserver.oms, INFO] oms servlet document-root path: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\web\
    05/10/26 16:11:46 [oracle.lbs.mapserver.oms, INFO] No init parameter "oms_config". Will use default.
    05/10/26 16:11:46 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0) initialized
    05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, INFO] using default config file: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\conf\mapViewerConfig.xml
    05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperPool, WARN] destroying ALL mapmaker instances.
    05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, INFO] setting logging level to finest
    05/10/26 16:11:46 [oracle.lbs.mapserver.core.MapperConfig, Wed Oct 26 16:11:46 CEST 2005, FINEST]
    Allowed IPs:
    Excluded IPs:
    05/10/26 16:11:48 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:48 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
    05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] Setting disk path for cache to: C:\oracle\product\10.2.0\db_1\lbs\mapviewer\cache
    05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] Java Object Cache opened. Region=SDOVIS_DATA.
    05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] max_cache_size=32 M, max_disk_cache_size=1024 M.
    05/10/26 16:11:49 [oracle.sdovis.CacheMgr, Wed Oct 26 16:11:49 CEST 2005, INFO] sub region sdovis_subreg_damien_jdbc:oracle:thin:@DGPL_8143:1521:INFRA created in cache.
    05/10/26 16:11:49 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:49 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
    05/10/26 16:11:49 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:49 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
    05/10/26 16:11:49 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:49 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
    05/10/26 16:11:50 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:11:50 CEST 2005, FINEST] setting style table name to: ALL_SDO_STYLES
    05/10/26 16:11:50 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:11:50 CEST 2005, INFO] added a mapper instance to thepool [data src=INFRA_map_data_source]
    05/10/26 16:11:50 [oracle.lbs.mapserver.core.MapperConfig, Wed Oct 26 16:11:50 CEST 2005, INFO] Map Recycling thread started.
    05/10/26 16:11:50 [oracle.lbs.mapserver.oms, Wed Oct 26 16:11:50 CEST 2005, INFO] *** Oracle Map Viewer is successfully started. ***
    05/10/26 16:12:38 [oracle.lbs.mapserver.oms, Wed Oct 26 16:12:38 CEST 2005, FINEST] request.getRemoteUser = null
    05/10/26 16:12:38 [oracle.lbs.mapserver.oms, Wed Oct 26 16:12:38 CEST 2005, FINEST] request= <?xml version="1.0" encoding="UTF-8" ?>
    <map_request datasource="INFRA_map_data_source" basemap="BASE_MAP" antialiasing="TRUE" imagescaling="FALSE" format="GIF_STREAM" bgcolor="#FFFFFF" >
    <themes>
    <theme name="t1">
    <jdbc_query spatial_column ="shape" >
    SELECT shape
    FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
    WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
    AND REL_Site_Adr.Site_ID = Site.Site_ID
    AND Site.Site_ID = Infrastructure.Site_ID
    AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
    AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
    AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
    AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
    AND Discipline.Denomination = 'golf'
    </jdbc_query>
    </theme>
    </themes >
    </map_request>
    05/10/26 16:12:38 [oracle.lbs.mapserver.core.XMLHelper4Mapper, Wed Oct 26 16:12:38 CEST 2005, INFO] no center or box specified in map request.
    05/10/26 16:12:38 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:38 CEST 2005, FINEST] RealWorker.generateMapImage(): MapRequest=MapRequest=
    title=null
    center=null
    size=0.0
    verbose=true
    queryWindow=null
    imageFormat=7
    backgroundColor=java.awt.Color[r=255,g=255,b=255]
    bgImageURL=null
    antialise=true
    deviceSize=java.awt.Dimension[width=500,height=375]
    srs=null
    geoFeatures=null
    mapDefinition= MapDefinition=
    baseMap=BASE_MAP
    mapDataSource=INFRA_map_data_source
    title=null
    theme [0]=
    ThemeDescriptor=
    name=t1
    type=2
    minScale=Infinity
    maxScale=-Infinity
    srid=0
    host=
    sid=
    port=
    user=
    mode=oci8
    query=SELECT shape
    FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
    WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
    AND REL_Site_Adr.Site_ID = Site.Site_ID
    AND Site.Site_ID = Infrastructure.Site_ID
    AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
    AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
    AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
    AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
    AND Discipline.Denomination = 'golf'
    spatialColumn=shape
    renderStyleName=
    labelColumn=
    labelStyleName=
    renderStyleDef=null
    labelStyleDef=null
    localThem=null
    05/10/26 16:12:38 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:38 CEST 2005, DEBUG] getMapper(INFRA_map_data_source) begins...
    05/10/26 16:12:38 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:38 CEST 2005, DEBUG] getMapper() succeeded.
    05/10/26 16:12:39 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:39 CEST 2005, FINEST] adding predefined theme [name=BASE_MAP_THEME]
    05/10/26 16:12:39 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:39 CEST 2005, FINEST] retriving predefined theme from database.
    05/10/26 16:12:40 [oracle.sdovis.ThemeTable, Wed Oct 26 16:12:40 CEST 2005, FINEST] key_column using default: ROWID
    05/10/26 16:12:40 [oracle.sdovis.ThemeTable, Wed Oct 26 16:12:40 CEST 2005, FINEST] Loading image theme BASE_MAP_THEME[image_column is: Image] [image_resolution is: null].
    05/10/26 16:12:40 [oracle.sdovis.CacheMgr, Wed Oct 26 16:12:40 CEST 2005, INFO] creating an image cache group: sdovis_subreg_damien_jdbc:oracle:thin:@DGPL_8143:1521:INFRA : Base_map_IMAGE_PDT_IMG.
    05/10/26 16:12:40 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:40 CEST 2005, FINEST] adding additional themes...
    05/10/26 16:12:40 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:40 CEST 2005, FINEST] adding a JDBCTheme:
    ThemeDescriptor=
    name=t1
    type=2
    minScale=Infinity
    maxScale=-Infinity
    srid=0
    host=
    sid=
    port=
    user=
    mode=oci8
    query=SELECT shape
    FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
    WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
    AND REL_Site_Adr.Site_ID = Site.Site_ID
    AND Site.Site_ID = Infrastructure.Site_ID
    AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
    AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
    AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
    AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
    AND Discipline.Denomination = 'golf'
    spatialColumn=shape
    renderStyleName=
    labelColumn=
    labelStyleName=
    renderStyleDef=null
    labelStyleDef=null
    localThem=null
    05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, DEBUG] getting pooled connection [key=DGPL_8143_INFRA_1521_damien_thin]
    05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, INFO] connection cache on jdbc:oracle:thin:@DGPL_8143:1521:INFRA
    05/10/26 16:12:40 [oracle.lbs.mapserver.core.ConnectionManager, Wed Oct 26 16:12:40 CEST 2005, INFO] adding a OracleConnectionCache:DGPL_8143,INFRA,thin,tcp,damien
    05/10/26 16:12:41 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] created a new JDBCTheme [name=T1,query=SELECT shape
    FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
    WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
    AND REL_Site_Adr.Site_ID = Site.Site_ID
    AND Site.Site_ID = Infrastructure.Site_ID
    AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
    AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
    AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
    AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
    AND Discipline.Denomination = 'golf',spatialCol=shape, srid=0, featureStyleName=, labelCol=, labelStyleName=, passthrough=false
    05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, INFO] loadding SRS information from MDSYS.cs_srs (srid=327680).
    05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, DEBUG] Registering srs 327680, isGeodetic=false, unit=METER
    05/10/26 16:12:41 [oracle.sdovis.SRS, Wed Oct 26 16:12:41 CEST 2005, FINEST] got srs object for :327680
    05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-8
    05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, FINEST] [ImageTheme p] query=SELECT ROWID, raster
    FROM Base_map WHERE MDSYS.SDO_FILTER(raster, MDSYS.SDO_GEOMETRY(2003, 327680, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    05/10/26 16:12:41 [oracle.sdovis.ImageTheme, Wed Oct 26 16:12:41 CEST 2005, ERROR] java.sql.SQLException: Overflow Exception trying to bind NaN
    at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13793)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2871)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2156)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
    at oracle.sdovis.ImageTheme.loadImagesFromDBCached(ImageTheme.java:390)
    at oracle.sdovis.ImageTheme.prepareData(ImageTheme.java:281)
    at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1300)
    05/10/26 16:12:41 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:41 CEST 2005, DEBUG] LoadThemeData running thread: Thread-9
    05/10/26 16:12:41 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:41 CEST 2005, INFO] [JDBCTheme] query: SELECT shape
    FROM Adresse, REL_Site_Adr, Site, Infrastructure, Amenagement, Amenagement_sportif, REL_Ame_spo_D_PRATIQUEE, Discipline
    WHERE Adresse.Adresse_ID = REL_Site_Adr.Adresse_ID
    AND REL_Site_Adr.Site_ID = Site.Site_ID
    AND Site.Site_ID = Infrastructure.Site_ID
    AND Infrastructure.Infrastructure_ID = Amenagement.Infrastructure_ID
    AND Amenagement.Amenagement_ID = Amenagement_sportif.Amenagement_sportif_ID
    AND Amenagement_sportif.Amenagement_sportif_ID = REL_Ame_spo_D_PRATIQUEE.Amenagement_sportif_ID
    AND REL_Ame_spo_D_PRATIQUEE.Discipline_ID = Discipline.Discipline_ID
    AND Discipline.Denomination = 'golf'
    05/10/26 16:12:42 [oracle.sdovis.JDBCTheme, Wed Oct 26 16:12:42 CEST 2005, FINEST] Found mSpatialColumn=shape
    05/10/26 16:12:42 [oracle.sdovis.MapMaker, Wed Oct 26 16:12:42 CEST 2005, FINEST] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=63253.07695,y=112510.49285,w=209918.47070249997,h=51353.527207499996]
    05/10/26 16:12:42 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:42 CEST 2005, INFO] **** time spent on loading features: 859ms.
    05/10/26 16:12:42 [oracle.sdovis.RE, Wed Oct 26 16:12:42 CEST 2005, FINEST] rendering image theme: BASE_MAP_THEME
    05/10/26 16:12:42 [oracle.sdovis.ImageRenderer, Wed Oct 26 16:12:42 CEST 2005, DEBUG] format of image theme data: JPEG
    05/10/26 16:12:42 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:42 CEST 2005, FINEST] Theme isClickable=false
    05/10/26 16:12:43 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:43 CEST 2005, DEBUG] time to render theme T1 with 55 styled features: 1187ms
    05/10/26 16:12:43 [oracle.sdovis.VectorRenderer, Wed Oct 26 16:12:43 CEST 2005, DEBUG] time to label theme T1 with 55 styled features: 0ms
    05/10/26 16:12:43 [oracle.sdovis.DBMapMaker, Wed Oct 26 16:12:43 CEST 2005, INFO] **** time spent on rendering: 1406ms
    05/10/26 16:12:43 [oracle.sdovis.util.GIFMaker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Time spent on quantitizing map image:203ms
    05/10/26 16:12:43 [oracle.sdovis.util.GIFMaker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Time spent on generating GIF image:63ms
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, FINEST] Timestamp on grabing pixels:1130335963890
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, FINEST] releasing pooled connectionsused by JDBCThemes
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.MapperPool, Wed Oct 26 16:12:43 CEST 2005, DEBUG] freeMapper() begins...
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] preparation time: 2593ms
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] querying/rendering time: 2500ms
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] packing time: 313ms
    05/10/26 16:12:43 [oracle.lbs.mapserver.core.RealWorker, Wed Oct 26 16:12:43 CEST 2005, DEBUG] [RealWorker] --------------- total time: 5406ms
    ***********************************************************************************************

  • Conflict start: You tried to bind an object under the name abc.Scheduler

    I have deployed my application on the WLS which is configured for clustred with 2 managed server and one admin server in the same machine. I see the below error on both of the managedServer consoles. can any one please help me resolving this issue.
    <Conflict start: You tried to bind an object under the name abc.Scheduler in the JNDI tree. The object from -2433108061996587758S:192.168.0.61:[7014,7014,-1,-1,-1,-1,-1]:SingleDomainClusterTake2:ManagedServer1 is non-clusterable, and you have tried to bind more than once from two or more servers. Such objects can only be deployed from one server.>
    Regards
    Suresh.

    Hi Jay,
    Below is the code snippet where I am binding the Schedular Object to a JNDI abc.Schedular and I got the above error message when I trying to deploy the application in clustered environment.
    Code Snippet where binding the Schedular Object
    private static final String JNDI_NAME = "abc/Scheduler";
    Hashtable ht=new Hashtable ();
    InitialContext context = new InitialContext();
    scheduler = new Scheduler();
    scheduler.setStorage(new DatabaseSchedulerStorage());
    context.bind(JNDI_NAME, scheduler);
    Code Snippet for looking up the schedular object
    protected Scheduler getScheduler() throws NamingException {
    if (scheduler != null) {
    return scheduler;
    Scheduler s=null;
    if(workaround){
    s=((ThreadManager)SchedulingServlet.getThreadManager()).getScheduler();
    }else{
    InitialContext context = new InitialContext();
    s = (Scheduler) context.lookup("reactor/Scheduler");
    if (s.getStorage() == null) {
    s.setStorage(new DatabaseSchedulerStorage());
    scheduler=s;
    return scheduler;
    I have added "ht.put(WLContext.REPLICATE_BINDINGS, "false");" to get rid of the conflict error but I what this object to be clustrable and you please let me know how do I make this object clustrable.
    I am using quartz schedular.
    Regards
    Suresh.

  • How to save data for Binded Matrix  in Sqlserver200(DB)

    hai all,
    i  created a Form by using Udo form generator.
    in that i bind the matrix with Userdatsources. its successfully binded to the matrix. but when i press "Add" Button the Sqlserver tables are not saved.
    if i enter values manually without binding the udo matrix, all rows are getting saved in sqlserver successfully.
    plz help me how to save the rows in the binded matrix to the tables in Sqlserver.
    Regards,
    Nagababu.

    Since you are using UserDataSources, you have to construct a function that loops through the columns, and by name and or alias you construct the INSERT and/or UPDATE query (assuming the destination table is User Defined).
    Check out this link
    Re: Matrix Processing
    Hope it helps

  • Problem to update UDO-recordsets using a matrix with DBDataSource

    Hello,
    I've got a problem with updating recordsets in an UDO-Table using DBDataSource.SetValue().
    Special szenario: I use a matrix bounded with DBDataSources. Adding new records and loading them via DBDataSource.Query() with conditions works fine. The UDO object type is "Document" without lines.
    In the simple way now I load just one record and after this I was trying to set an "message" to an simple, editable edittext-column via calling:
    oDBDataSource.SetValue("U_Message", 0, "Hello world");
    oMatrix.LoadFromDataSource();
    Now it's visible in the matrix.
    But when I call update via clicking the update-button, B1 do say, everything was ok (green status-message). Reloading this recordset you can see: it was not stored in the database
    Even not after:
    oMatrix.FlushToDataSource();
    As a workaround I do write the "message" via using Cell.Specific.
    Can anybody help me?
    I'am using SBO 2005 A SP 01 PL 39
    Edited by: Christian Bührig on Mar 18, 2008 4:48 PM

    look at
    New Row in Matrix is a Duplicate and Cannot update Object with new Row
    the next way is do it with recordset and directly insert to table.
    hope it helps
    Petr

  • Binding matrix - picture column - datatables

    Hi,
    I have matrix with column type picture as
    oColumn = oColumns.Add("Pict", SAPbouiCOM.BoFormItemTypes.it_PICTURE)
    oColumn.TitleObject.Caption = "Pict"
    oColumn.Editable = False
    I have usertable with userfield type image as
    oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
    oUserFieldsMD.SubType = SAPbobsCOM.BoFldSubTypes.st_Image
    When I bind the table to matrix through datasource as
    oDBDataSource = oOrderForm.DataSources.DBDataSources.Add("@SKIL_ATTACH")
    oConditions = New SAPbouiCOM.Conditions
    oDBDataSource.Query(oConditions)
    and bind as
    oColumn = oColumns.Item("pict")
    oColumn.DataBind.SetBound(True, "@SKIL_ATTACH", "U_pict")
    The image is shown in matrix directly in proper column.
    Problem is, that I must use datatables because i must implement sorting. When I create datatable and bound it to column as
    Dim odbtable As SAPbouiCOM.DataTable
    Dim sql As String
    odbtable = oOrderForm.DataSources.DataTables.Add("VEP")
    sql = "SELECT u_path, u_pict from [dbo].[@skil_attach]"
    odbtable.ExecuteQuery(sql)
    oColumn = oColumns.Item("Pict")
    oColumn.DataBind.Bind("VEP", "U_PATH")
    The matrix is bounded, no error shown and in result the image is not shown in matrix. Does anybody experiences with binding datatables to matrix with type image?
    Thanks a lot for help or idea.
    Petr

    I found it. I dont know why, but through datatables it accept only jpg files and not gif files as in datasources...

  • Cannot bind matrix columns

    Hello,
    I try to show a matrix in a system form (the sales opportunities) in a new folder that i've created. The program just crash when i bind the DBDataSource to the Column... Any idea ?
                oDBDataSource = oForm.DataSources.DBDataSources.Add("OOPR");
                oItem = oForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX);
                oItem.Left = 10;
                oItem.Top = 160;
                oItem.Width = 430;
                oItem.Height = 150;
                oItem.FromPane = 9;
                oItem.ToPane = 9;
                oMatrix = ((SAPbouiCOM.Matrix)(oItem.Specific));
                oColumns = oMatrix.Columns;
                oColumn = oColumns.Add("Code", SAPbouiCOM.BoFormItemTypes.it_EDIT);
                oColumn.TitleObject.Caption = "Code";
                oColumn.Width = 40;
                oColumn.Editable = true;
                oColumn.DataBind.SetBound(true, "OOPR", "CardCode");
    The last instruction crash the program.

    Hi Lee,
    here is snippet of code how i band hope it works for u,
    Dim MyUsrDs1 As SAPbouiCOM.UserDataSource
    Dim MyDbDs1 As SAPbouiCOM.DBDataSource
    MyUsrDs1 = MyForm.DataSources.UserDataSources.Add("Check", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)
    MyMatrix.Columns.Item("Col3").DataBind.SetBound(True, "", "Check")
    MyDbDs1 = MyForm.DataSources.DBDataSources.Add("OCRD")
    MyDbDs1.Query(SQL)
    MyMatrix.LoadFromDataSource()

Maybe you are looking for