Is there an "Out of Range" Function in LabVIEW?

Howdy,
My issue is I have an input value that is compared to an upper and lower limit. If the input is within the range I want the program to do nothing. If the input is below the lower value I need to send a "TRUE" signal to a relay. If the input is above the upper value I need to send a "FALSE" signal to the relay. Does anyone have a clever way of getting this to work?
Attached is a example of what I'm trying to do for your veiwing pleasure.
Thanks
Attachments:
LimitsExample.vi ‏57 KB

I would just use a couple of Select functions with the results being based on the comparison to the upper limit and lower limit.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Range Check.png ‏12 KB

Similar Messages

  • There was an error processing a page. a number is out of range.

    When I open a PDF generated from a classic ASP application, some particular documents fail when accessing a page: there was an error processing a page. a number is out of range.
    This only happens in Adobe Reader 10 and 11.
    The ASP page has a code similar to this:
    Response.AddHeader "Content-disposition", "attachment; filename = doc.pdf"
    Response.ContentType = "application / pdf"
    Response.Write Session ("PDF")
    Try adding different settings in the properties AddHeader / ContentType / CharSet etc, but always the same.
    In the screenshot you can see the mistake in page 3
    Any idea?
    thank you very much

    Sounds like the pdf is corrupt. Try a forced quit. (command option escape)

  • HT4623 Hi, Im using an iPhone 4 8gb and recently updated my software using my computer to iOS 6.1.3 and some of the tabs are now grayed out and cant function (specific reference to "Show My Caller ID - On/Off tab").  is there a way to fix this or can i do

    Hi, Im using an iPhone 4 8gb and recently updated my software using my computer to iOS 6.1.3 and some of the tabs are now grayed out and cant function (specific reference to "Show My Caller ID - On/Off tab").  is there a way to fix this or can i downgrade back to my default software?

    Hi imobl,
    Thanks for your response, I forgot to add that the five 3uk sims we have in use, I have tried all of them none of them are recongnised non of them have pin codes, I even purchased four more sims Tmobile (original carrier) Vodaphone, 3 and giffgaff.

  • Is there a color range function in PSE

    I have used photoshop CS4 and been comfortable using the color range function. I have tested PSE which I am thinking of buying as it is more affordable, however could not find the color range. Is there a similar function or is it got a different name in PSE? I mainly use this for jewellery and to change backgrounds.
    Thnaks for your time and feedback.
    http://www.goldstonesilver.com

    Terri, thanks a lot for your reply, very helpful. I had CS3 but not anymore....so I ahve to make
    do with elements for the time being.
    Cheers

  • Is there a way to find out the caller function in ESTK?

    Dear forum,
    How do you find out the caller function?
    I remember this question was asked on the forum before and, if memory serves me right, it was Peter Kahrel who answered it. Anyway, it was long ago and I can't find the post.
    main();
    function main() {
        hello();
    function hello() {
        // Is it possible to find out that the caller function is 'main'?
    Before making the post, I googled for it and found many suggestions, for example:
    alert("caller is " + arguments.callee.caller.toString());
    But nothing works for me.
    Regards,
    Kasyan

    Here's a new version of the function:
    function callerName() {
        var arr = $.stack.split(/[\n]/),
        callerName = arr[arr.length - 3].replace(/\(.*\)/, "")
        return callerName;
    I corrected the regex to remove the parentheses and everything in between.
    The previous version returned the function's name with arguments, like so:
    Result: ProcessTables([Paragraph:[object Paragraph]])

  • Error Message "The document could not be saved. A number is out of range"

    Hello to all,
    I'm working on a G5/10.4.11/Illust CS3/Acrobat 9 and use to generate .pdfs from .ais by using "Save as pdf" function. Either with LowRes profile and HighRes profile. My pdfs are sent to PC users that use to post it them for changes. But when they need to save them, they get the message "The document could not be saved. A number is out of range".
    I know there was a few subject about that but do you have a recent solution to give me to help avoiding this bug ?
    Many thanks in advance !
    Stekc

    As a follow to the above, the problem was related to a file transfer.  The PDFs in question were being transfered from a Unix platform to a Windows Server.  The transfer was defaulting to ASCII or Text and not binary.  Apparently this was never an issue with older versions of Adobe Reader.  Once the transfer was switched to binary, Reader X was able to view the files with no missing pages.  Something was being stripped from the file that Reader X just didn't like.

  • String index out of range: 0 error when sending to SOAP Receiver

    Hi experts,
    I have an interface
    IDOC -> XI -> SOAP
    Occasionally I will get this error message from RWB when sending to the SOAP service:
    Delivery of the message to the application using connection AFW failed, due to: String index out of range: 0
    To trace the soap message, I sent the message through a TCPMonitor, the error does not occur anymore.
    Has anyone met with this problem before?
    How do I resolve this?
    Thanks!
    Ron

    > Wee,
    >
    > The error states there is some problem in your
    > message mapping. Have you used any substring function
    > in your mapping. If yes can you check the message for
    > which you have got error in message mapping. For this
    > open sxmb_monin and open your message and then right
    > click and then view source. Then copy this source and
    > test in message mapping test tab. Then you will come
    > to know whether you have any mapping error or not?
    >
    > ---Satish
    I did not do any substring in the mappings.
    The strange thing is, with the same message, I can re-send without any error if I send this message through the SOAP TCP Monitor.

  • ORA-13000: dimension number is out of range when using SDO_GEOM.RELATE

    Dear everyone
    I am attempting to workout which polygons cover the same area in order to determine distinct polygons. This is so I can then have just one copy of a polygon to a new table and delete all the duplicate polygons in the current table.
    I ran the following first to check something:
    SELECT SDO_GEOM.RELATE
       (A.geographical_coordinates,
        'DETERMINE',
        B.geographical_coordinates,
        0.05) relationship
    FROM MAP_INDEX A,
          MAP_INDEX B
    where A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULL;but got the error message:
    Error starting at line 1 in command:
    SELECT DISTINCT A.mi_prinx,
    SDO_GEOM.RELATE
       (A.geographical_coordinates,
        'EQUAL',
        B.geographical_coordinates,
        0.05)
    FROM MAP_INDEX A,
          MAP_INDEX B
    where A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULL
    Error report:
    SQL Error: ORA-13000: dimension number is out of range
    ORA-06512: at "MDSYS.SDO_GEOM", line 70
    ORA-06512: at "MDSYS.SDO_GEOM", line 2647
    13000. 00000 -  "dimension number is out of range"
    *Cause:    The specified dimension is either smaller than 1 or greater than
               the number of dimensions encoded in the HHCODE.
    *Action:   Make sure that the dimension number is between 1 and the maximum
               number of dimensions encoded in the HHCODE.I then tried the following:
    SELECT DISTINCT A.mi_prinx,
    SDO_GEOM.RELATE
       (A.geographical_coordinates,
        'EQUAL',
        B.geographical_coordinates,
        0.05)
    FROM MAP_INDEX A,
          MAP_INDEX B
    where A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULLwhich produced the following error message:
    Error starting at line 1 in command:
    SELECT
    SDO_GEOM.RELATE
    (A.geographical_coordinates,
    'EQUAL',
    B.geographical_coordinates,
    0.05) relationship
      FROM MAP_INDEX A,
           MAP_INDEX B
    Error report:
    SQL Error: ORA-13050: unable to construct spatial object
    ORA-06512: at "MDSYS.SDO_3GL", line 4
    ORA-06512: at "MDSYS.MD2", line 771
    ORA-06512: at "MDSYS.SDO_GEOM", line 2622
    ORA-06512: at "MDSYS.SDO_GEOM", line 2649
    13050. 00000 -  "unable to construct spatial object"
    *Cause:    This is an internal error.
    *Action:   Contact Oracle Support Services.Does anyone have any idea as to what I might doing wrong? The original polygons were created in MapInfo Professional 8 and I am working in 10.2g
    I believe Imust be doing something wrong. I looked into SDO_GEOM_VALIDATE but again that produce the same error message as the first one. I have previously created a spatial index and inserted the values into the USER_SDO_GEOM_METADATA view.
    I have been able to get the following to work, I was testing out examples online just to see if I could produce a result on an sdo function:
    SELECT NAME_OF_FEATURE, SDO_GEOM.SDO_AREA(GEOGRAPHICAL_COORDINATES,M.DIMINFO)
    FROM MAP_INDEX, user_sdo_geom_metadata M
    WHERE M.TABLE_NAME='MAP_INDEX' AND M.COLUMN_NAME='GEOGRAPHICAL_COORDINATES'
    AND geographical_coordinates is not null;When I drew my polygons in MapInfo, they are likely to have gone partly outside of the boundary dimension values inserted in USER_SDO_GEOM_METADATA. Is that likely to be the cause of my problems or something else?
    If it is the cause, is there away of setting up Oracle or MapInfo so that anything drawn outside of the dimension area is clipped.
    Kind regards
    Tim

    Hi Tim,
    Since Oracle 8.1.6 Oracle has suggested the use of 4 digit SDO_GTYPE values, which encode the number of dimensions in the geometry. Examples of 4 digit SDO_GTYPES include 2001 for a 2D point, 3001 for a 3D point, 2002 for a 2D linestring, 3002 for a 3D linestring, 2003 for a 2D polygon and 3003 for a 3D polygon.. Contrast these with single digit values of 1 for a point, 2 for a linestring, and 3 for a polygon.
    My guess is that at least some of your data is loaded using single digit SDO_GTYPE values, and in the function Oracle does not know the dimensionality of the data (is a vertex identified by 2, 3, or four numbers?). You can check this by doing a:
    select distinct a.geographical_coordinates.sdo_gtype from MAP_INDEX A;
    If any of the values returned are single digit values then you will know this is the problem.
    You have a few options.
    You can have Oracle automatically fix the data by migrating the data:
    execute sdo_migrate.to_current('MAP_INDEX','GEOGRAPHICAL_COORDINATES');
    This will not only set the SDO_GTYPE correctly but will also fix any ring rotation problems (ensures exterior rings are stored counter-clockwise, and interior rings are stored clockwise), it will fix ring ordering problems (ensuring an exterior ring is followed by its interior rings), and it will appropiately set values in the SDO_ELEM_INFO_ARRAY.
    After you do this you should be good to go. However, if you are using a tool to update the data and it resets the information back, then the problem will continue to plague you. You should check with your vendor if that is the case.
    Another option is to change the query to a different signature which uses the SDO_GEOM_METADATA to get the dimensionality of the data. Instead of writing the query as you have, you would change it to:
    SELECT SDO_GEOM.RELATE
    (A.geographical_coordinates,
    C.DIMINFO,
    'DETERMINE',
    B.geographical_coordinates,
    C.DIMINFO) relationship
    FROM MAP_INDEX A,
    MAP_INDEX B,
    USER_SDO_GEOM_METADATA C
    WHERE A.geographical_coordinates is not NULL
    and B.geographical_coordinates is not NULL
    and C.TABLE_NAME='MAP_INDEX'
    and C.COLUMN_NAME='GEOGRAPHICAL_COORDINATES';
    So either of those should fix the problem you are seeing, but neither of those are the best way to accomplish what you want to do.
    If I were you I would follow first set of directions (migrate your data), make sure I have a spatial index on my table:
    select index_name
    from user_sdo_index_info
    where table_name='MAP_INDEX';
    If no rows are returned, create the index:
    create index MAP_INDEX_SIDX on MAP_INDEX(GEOGRAPHICAL_COORDINATES)
    indextype is mdsys.spatial_index;
    You could use SDO_JOIN to perform a self-join:
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28400/sdo_operat.htm#BGEDJIBF
    using the EQUAL mask. Note the section on optimizing self-joins.
    If you don't have too much data, this might be a start to doing what you want:
    create table dups_rowids as
    select /*+ ordered */ a.rowid rowid1,b.rowid rowid2
    from MAP_INDEX A,
    MAP_INDEX B
    where SDO_EQUALS (a.geographical_coordinates,b.geographical_coordinates)='TRUE'
    and a.rowid <> b.rowid;
    create table nodup_rowid (noduprid VARCHAR2(24));
    create table dup_rowid (duprid VARCHAR2(24));
    set serveroutput on;
    declare
    rowida varchar2(24);
    rowidb varchar2(24);
    rowidt varchar2(24);
    type myCursor is ref cursor;
    acursor myCursor;
    cursor c1 is select rowid1,rowid2 from dups_rowids;
    begin
    for r in c1 loop
    rowida := r.rowid1;
    rowidb := r.rowid2;
    rowidt := NULL;
    open acursor for 'select duprid from dup_rowid where duprid = :rowida' using rowida;
    fetch acursor into rowidt;
    if rowidt is null
    then
    execute immediate 'insert into nodup_rowid values (:rowida)' using rowida;
    execute immediate 'insert into dup_rowid values (:rowida)' using rowida;
    execute immediate 'commit';
    end if;
    close acursor;
    rowidt := NULL;
    open acursor for 'select duprid from dup_rowid where duprid = :rowidb' using rowidb;
    fetch acursor into rowidt;
    if rowidt is null
    then
    execute immediate 'insert into dup_rowid values (:rowidb)' using rowidb;
    execute immediate 'commit';
    end if;
    close acursor;
    end loop;
    end;
    Then your final table would have the geometries from the original table that had no match:
    create table MAP_INDEX_NODUPS
    as select * from MAP_INDEX where rownum < 1;
    insert into MAP_INDEX_NODUPS
    (select *
    from MAP_INDEX
    where ROWID not in
    (select ROWID1 from DUPS_ROWIDS));
    plus only one of the geometries that were equal:
    insert into MAP_INDEX_NODUPS
    (select *
    from MAP_INDEX
    where ROWID in
    (select ROWID1 from NODUP_ROWID);
    Hope this helps.

  • Failure migrating wiki to Mountain Lion Server with wikiadmin, value is out of range for type integer

    We are trying to migrate our 10.6.8 wikis from the OS X Server to our new Mountain Lion OS X Server.  I am using "wikiadmin migration -r <collaboration directory> -g <wiki name>" to migrate each wiki individually. We have about 30 wikis in the old server, three of which fail to migrate, all with the same problem (below). The process runs successfully for a while, but ultimately fails and rolls back the transaction. It appears there is some problem trying to generate a unique filename, perhaps for some of the uploaded files?
    Has anyone else seen this error? large amount of pages, content, and attachments in these wikis and just recreating them in the new server would be a monumental task. Some of these attachments include videos and other large files, not sure if that might contribute to the problem.
    === wikiadmin migrate output log ===
    Aug 29 13:25:11 gslcwiki.local wikiadmin[54032] <Debug>: [PGCConnection:233 7e7e1180 +0ms] Executing query [INSERT INTO entity (uid, tiny_id, entity_type_fk, short_name, long_name, description, create_time, update_time, createdby_user_fk, updatedby_user_fk, ownedby_uid_fk, owner_entity_type_fk, is_hidden) (SELECT uid, tiny_id, entity_type_fk, short_name, long_name, description, create_time, update_time, createdby_user_fk, updatedby_user_fk, ownedby_uid_fk, owner_entity_type_fk, is_hidden FROM master_entity_scratch_20120829T132314 WHERE entity_type_fk='com.apple.entity.File')]
    Aug 29 13:25:11 gslcwiki.local wikiadmin[54032] <Debug>: [PGCConnection:181 7e7e1180 +151ms] Query result is [PGRES_FATAL_ERROR] rows returned=0/updated=
    Aug 29 13:25:11 gslcwiki.local wikiadmin[54032] <Error>: [PGCConnection:148 7e7e1180 +0ms] Error in TXN: Error executing query [INSERT INTO entity (uid, tiny_id, entity_type_fk, short_name, long_name, description, create_time, update_time, createdby_user_fk, updatedby_user_fk, ownedby_uid_fk, owner_entity_type_fk, is_hidden) (SELECT uid, tiny_id, entity_type_fk, short_name, long_name, description, create_time, update_time, createdby_user_fk, updatedby_user_fk, ownedby_uid_fk, owner_entity_type_fk, is_hidden FROM master_entity_scratch_20120829T132314 WHERE entity_type_fk='com.apple.entity.File')]: ERROR:  value "109120715161" is out of range for type integer
              CONTEXT:  PL/pgSQL function "uniquify_filename" line 7 at RETURN
              PL/pgSQL function "trg_update_entity_filename" line 23 at assignment
                        0   CoreFoundation                      0x00007fff93b67716 __exceptionPreprocess + 198
                        1   libobjc.A.dylib                     0x00007fff95aaf470 objc_exception_throw + 43
                        2   PostgreSQLClient                    0x00000001026ff9ae -[PGCConnection checkResultOK:forSQL:] + 360
                        3   PostgreSQLClient                    0x00000001026ffec3 -[PGCConnection executeQuery:] + 223
                        4   wikiadmin                           0x000000010269d586 wikiadmin + 66950
                        5   PostgreSQLClient                    0x00000001026ff5f7 -[PGCConnection transactionInBlock:onError:] + 147
                        6   wikiadmin                           0x000000010269cd86 wikiadmin + 64902
                        7   wikiadmin                           0x00000001026a025d wikiadmin + 78429
                        8   wikiadmin                           0x00000001026924c8 wikiadmin + 21704
                        9   libdyld.dylib                       0x00007fff912857e1 start + 0
                        10  ???                                 0x0000000000000006 0x0 + 6
    Aug 29 13:25:11 gslcwiki.local wikiadmin[54032] <Debug>: [PGCConnection:320 7e7e1180 +0ms] Executing update [ROLLBACK]

    Okay, so a little more detail for you…
    If I can manage to restart the server without the wiki service on, everything else seems to work fine (including the web service running the default home page) and "serveradmin fullstatus wiki" will report that the service is stopped.
    But as soon as I try to start the wiki service, it never finishes, and it prevents the web service from working properly anymore. i.e. I get a 502 Proxy Error instead of the OS X Server default home page. It's after the attempted wiki start that "serveradmin fullstatus wiki" starts to give the
    serveradmin[2373:707] outstanding requests are: (
            Command = getState;
            Module = "servermgr_wiki";
            Timestamp = "2012-10-25 16:22:15 +0000";
    error. And then I can't stop the wiki service - even "serveradmin stop wiki" gives the same "outstanding requests" message.
    This time I tried to stop the wiki from Server app and I got this error:
    An error occurred on the server while processing a command.
    The error occurred while processing a command of type 'getState' in plug-in 'servermgr_wiki'.
    If it's helpful at all, I've notice the following in my log files that seem related, but I have no idea how to fix - it almost seems lie the migration of the wiki failed from 10.7 to 10.8:
    collabd[767]: [CSConnectionPool:141 6a92000 +14027ms] Schema is STILL out of date (14 < 69) after launching wikiadmin, update failed! collabd will refuse to run until this is fixed.
    I'm really pulling my hair out over here, and have no idea what to try next?
    Anyone have any suggestions?
    Thank you!

  • Fixing an array index's out of range error

    Hi,
    Am stuck in an eLearning project that I am working on and need some help fixing a 2007 error that seems to point to an index for an array being out of range.
    Here is the previous posting where there are more details: http://forums.adobe.com/message/4685789#4685789
    With much help (thank you once again kglad), the script looks like:
    var index:int = 0;
    var numToDisplay:int = 10;
    var groupA:Array = ["1","2","3"]
    var groupB:Array = ["4","5","6"]
    var groupC:Array = ["7","8","9"]
    var word_array:Array = [];
    var i:int;
    for(i=0;i<3;i++){
    word_array.push(groupA[groupA.length*Math.random()]);
    for(i=0;i<3;i++){
    word_array.push(groupB[groupB.length*Math.random()]);
    for(i=0;i<3;i++){
    word_array.push(groupC[groupC.length*Math.random()]);
    This is used in another part of the script:
    function randomWord() {
        if(index<numToDisplay){
            wordT.text=word_array[index++];
            t.reset();
            t.start();
        } else {
      wordT.text= "";
        // display score
    The error message (2007) points to:
    wordT.text=word_array[index++];
    When I trace (word_array)  I get
    Out of range index for this array?
    How can I fix this out of range index?
    Any help appreciated.

    Since there appear to be only 9 elements getting added to the array, and your numDisplay is set to be 10, your condition ( if(index<numToDisplay){ ) allows index++ to get to 10, which will be out of range for your array.  See if changing the value of numDisplay to 9 solves the problem.

  • Asus vh232h out of range, Mac mini thunderbolt to vga

    Hey guys,
    Pretty much what the title says.....
    Mac mini
    Asus vh232h (VGA only, no dvi socket)
    Thunderbolt to VGA adapter
    VGA cable (I've tried several)
    (Benq monitor running fine on the hdmi port)
    In short, if I use a VGA cable under 1.8m, there's no problem.
    If I use a cable of 3m in length, or two x 1.8m cables, I get a "Out of range" message on the monitor.
    (My office is shared space, so I need the Mac mini to be inside a lockable cupboard.  That means I need a cable longer than 1.8m)
    FYI, I don't seem to be able to set the asus monitor resolution in Mac settings (not sure if it can be done when monitor is 'out of range', but I can see the Asus in Display settings, Arrangement. It looks about half the width and height of the benq.
    Is a monitor supposed to connect successfully over a 3 m cable?
    Will a thunderbolt to dvi adapter work? (Would have to buy new monitor)
    Any other ideas?
    Thanks,
    Darren

    Bought a new benq 24" monitor, moshi mini display port to hdmi adapter, and 5m hdmi cable.
    Sorted.
    Must be an issue with apple mdp to VGA adapter when using VGA cables over 1.8m long.

  • Y-T-D and Range Functions not working in upgrade to v 11.1.2.507 FR

    Has anyone else had this problem. We are upgrading to v11.1.2 from 9.3.1 and when I create a new report with a range function in v 11, it just hangs there. When I use the YTD function, sometimes it works, sometimes it just hangs. Does anyone have any ideas on this. Thanks, Donna

    To be honest the best place to start is to read through the Upgrade section of the install/config documentation, if you still don't understand after reading through then ask or specific question or maybe discuss with a consultant.
    Documentation is available at http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_11121/frameset.htm?launch.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error opening web analysis report in workspace: Array index out of range:2

    I am able to view this report in web analysis studio with no errors..Its only when I go to workspace and open report do I get following error: Array index out of range:2.
    Any suggestions?

    Have you tried checking the "Design for HTML" from the Edit toolbar to see if you get any error when saving?
    Do you have any advanced items on the report, as there are 4 types of differences between Studio and HTML:
    - font differences, Workspace (DHTML) uses the WA Server fonts whereas WA Studio client machine fonts.
    - Service Buttons are very restricted using Workspace
    - Display: Tab selection, Splitter panels, Slider selection do not render in Workspace
    - Cannot restrict WA Tools menu in Workspace at all, where you can in the Studio.
    For exact details check out the Hyperion Web Analysis Studio User’s Guide from the Doc Library:
    http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm

  • String index out of range: -1 occuring while deploying a JDBC connection pool

    Hi,
    I'm getting the below error (Sorry for the enormity.i got it from the log file
    .all nested exceptions are included)
    when i deploy my connectionpool onto a weblogic 6.1
    server with the following entries in the config.xml
    <JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver" InitialCapacity="4"
    LoginDelaySeconds="1" MaxCapacity="10" Name="CabinBeanPool" Properties="user=sa;password=sa;"
    RefreshMinutes="10" SupportsLocalTransaction="true" Targets="myserver" TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true" TestTableName="CabinBeanTable" URL="weblogic:jdbc:mssqlserver4:pubs@bsl2002"
    />
    The below one i think is the core exception.Rest are nested.
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:63)
    Grateful if u could provide the solution?
    ####<Feb 7, 2002 3:25:47 PM IST> <Error> <JDBC> <bsl2002> <myserver> <ExecuteThread:
    '8' for queue: 'default'> <system> <> <001060> <Cannot startup connection pool
    "CabinBeanPool" String index out of range: -1>
    ####<Feb 7, 2002 3:25:47 PM IST> <Error> <Management> <bsl2002> <myserver> <ExecuteThread:
    '8' for queue: 'default'> <system> <> <141001> <Error updating deployments on
    target mydomain:Name=myserver,Type=Server, component mydomain:Name=CabinBeanPool,Type=JDBCConnectionPool,
    deployments: old values: mydomain:Name=myserver,Type=Server>
    weblogic.management.DistributedManagementException: Distributed Management [1
    exceptions]
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:534)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:354)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
         at $Proxy7.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1448)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:858)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
         at $Proxy19.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:89)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:116)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:167)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Distributed update exception
    - remote object: mydomain:Location=myserver,Name=myserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@19b1ca
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@5e474b
    - signature: [Ljava.lang.String;@1aaeb5
    Distributed update exception
    - remote object: mydomain:Location=myserver,Name=myserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@19b1ca
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:63)
         at weblogic.jdbc.mssqlserver4.ConnectDriver.parse(ConnectDriver.java:337)
         at weblogic.jdbc.mssqlserver4.ConnectDriver.acceptsURL(ConnectDriver.java:181)
         at java.sql.DriverManager.getDriver(DriverManager.java:238)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:94)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:122)
         at weblogic.jdbc.common.internal.ConnectionPool.getResourceFactory(ConnectionPool.java:691)
         at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:610)
         at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:484)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:354)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
         at $Proxy7.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1448)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:858)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
         at $Proxy19.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:89)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:116)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:167)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DeploymentException: Error creating connection pool - with
    nested exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
         at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:110)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:484)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:354)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
         at $Proxy7.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1448)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:858)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:810)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:288)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
         at $Proxy19.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:89)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:116)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:167)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creating connection
    pool - with nested exception:
    [weblogic.management.DeploymentException: Error creating connection pool - with
    nested exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]]
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:494)
         at weblogic.management.internal.Con####<Feb 7, 2002 4:09:22 PM IST> <Notice>

    Hi Saju,
    There is an error in the URL definition. It should be
    jdbc:weblogic:mssqlserver4 instead of weblogic:jdbc:mssqlserver4.
    Regards,
    Slava Imeshev
    "Saju Thomas" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi,
    I'm getting the below error (Sorry for the enormity.i got it from the logfile
    all nested exceptions are included)
    when i deploy my connectionpool onto a weblogic 6.1
    server with the following entries in the config.xml
    <JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver"InitialCapacity="4"
    LoginDelaySeconds="1" MaxCapacity="10" Name="CabinBeanPool"Properties="user=sa;password=sa;"
    RefreshMinutes="10" SupportsLocalTransaction="true" Targets="myserver"TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true" TestTableName="CabinBeanTable"URL="weblogic:jdbc:mssqlserver4:pubs@bsl2002"
    />
    The below one i think is the core exception.Rest are nested.
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    atweblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:63)
    >
    Grateful if u could provide the solution?
    ####<Feb 7, 2002 3:25:47 PM IST> <Error> <JDBC> <bsl2002> <myserver><ExecuteThread:
    '8' for queue: 'default'> <system> <> <001060> <Cannot startup connectionpool
    "CabinBeanPool" String index out of range: -1>
    ####<Feb 7, 2002 3:25:47 PM IST> <Error> <Management> <bsl2002> <myserver><ExecuteThread:
    '8' for queue: 'default'> <system> <> <141001> <Error updating deploymentson
    target mydomain:Name=myserver,Type=Server, componentmydomain:Name=CabinBeanPool,Type=JDBCConnectionPool,
    deployments: old values: mydomain:Name=myserver,Type=Server>
    weblogic.management.DistributedManagementException: Distributed Management[1
    exceptions]
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:534)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:354)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy7.addDeployment(Unknown Source)
    atweblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBean
    Impl.java:1448)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:858)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:810)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:288)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanA
    ttribute.java:89)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:116)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Distributed update exception
    - remote object:mydomain:Location=myserver,Name=myserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@19b1ca
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@5e474b
    - signature: [Ljava.lang.String;@1aaeb5
    Distributed update exception
    - remote object:mydomain:Location=myserver,Name=myserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@19b1ca
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    atweblogic.jdbc.mssqlserver4.ConnectionInfo.<init>(ConnectionInfo.java:63)
    at weblogic.jdbc.mssqlserver4.ConnectDriver.parse(ConnectDriver.java:337)
    atweblogic.jdbc.mssqlserver4.ConnectDriver.acceptsURL(ConnectDriver.java:181)
    at java.sql.DriverManager.getDriver(DriverManager.java:238)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvF
    actory.java:94)
    atweblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFacto
    ry.java:122)
    atweblogic.jdbc.common.internal.ConnectionPool.getResourceFactory(ConnectionPo
    ol.java:691)
    atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:610
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:329)
    atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:608)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    92)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:352)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:484)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:354)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy7.addDeployment(Unknown Source)
    atweblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBean
    Impl.java:1448)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:858)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:810)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:288)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanA
    ttribute.java:89)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:116)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DeploymentException: Error creating connection pool -with
    nested exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:110)
    atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:329)
    atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
    arget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:608)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    92)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:352)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:484)
    atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
    nImpl.java:354)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy7.addDeployment(Unknown Source)
    atweblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBean
    Impl.java:1448)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:858)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:810)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:288)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:303)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy19.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanA
    ttribute.java:89)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:116)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:167)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2456)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.DistributedOperationUpdateException: Error creatingconnection
    pool - with nested exception:
    [weblogic.management.DeploymentException: Error creating connection pool -
    with> nested exception:> [java.lang.StringIndexOutOfBoundsException: String index out ofrange: -1]
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:494)
    at weblogic.management.internal.Con####<Feb 7, 2002 4:09:22 PM IST><Notice>
    >

  • Error executing CFC. Parameter index out of range (2 number of parameters, which is 1)

    Hi,
    My CFC component is defined as:
    <cffunction name="updateNote" output="false" access="remote"  returntype="void" >
         <cfargument name="notedetails" required="true" type="string" >
         <cfargument name="notename" required="true" type="string" />
         <cfquery name="qupdateNote" datasource="notes_db">
               UPDATE
                   notes
               SET
                   notes.notedetails=<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.notedetails#">,
               WHERE
                   notename="<CFQUERYPARAM CFSQLTYPE="CF_SQL_VARCHAR" VALUE="#ARGUMENTS.notename#">"
        </cfquery>
    </cffunction>
    In Flash builder when I test the operation I get this error:
    "There was an error while invoking the operation. Check  your server settings and try invoking the operation again.
    Reason:  Server error Unable to invoke CFC - Error Executing Database Query. Parameter  index out of range (2 > number of parameters, which is 1)."
    Im really quessing that this is something small but right now its causing me to pull my hair out of my head!! Argg. Tried a bunch of things but I know thik im stuck.
    Help would be very very appreciated.
    Thanks

    Create test.cfm along these lines:
    <cfset myObj = createObject("component", "dotted.path.to.cfc.file")>
    <cfset myResult = myObj.myMethod(arg=value1, etc)>
    <cfdump var="#myResult#">
    Or, really, you could just browse to this:
    http://your.domain/path/to/your.cfc?method=yourMethod&arg1=value1 [etc]
    Although I dunno which of those two approachs will give you a better error message (indeed, it might be the same).
    Try both.
    Adam

Maybe you are looking for

  • Problems syncing Office Live Contacts with iphone 3g

    Hi I have Office Live Small Business which I sync with outlook with outlook connector. I just got an iphone 3g and I cannot get my contacts to sync (or my email or calendar) I have found a way around the email, but the contacts I simply cannot get th

  • Performance issue in a custom table

    Hi All, I have  a ztable used in a program wherin I have a doubt of performance issue in selection.Its like :     SELECT ship_no invoice_no       INTO TABLE it_ship_no_hist       FROM zco_cust_hist       FOR ALL ENTRIES IN it_freight       WHERE ship

  • Is there a way to export passwords from browser ?

    Example....I need to upgrade to a different computer and would like to transfer all passwords to new computer.

  • Watch your DVD's On Ipod Video

    Hi everyone! I found a great program that allows you to put your DVD's in IPOD VIDEO format. I took my favorite movie, Oh brother where Art Thou, and can now watch it while I'm running. On a tred mill of course. The program is called Handbrake. You c

  • Ann: FCP Rescue 5

    FCP Rescue for Final Cut Pro 5 has been released, it's now called FCP Rescue 5. If you haven't used FCP Rescue before it's a little utility to help you maintain your FCP settings. (by Trash, Backup and Restore) which can still be corrupt in FCP 5....