Atomic transaction buffer length?

Hi,
I know that there is atomic transaction buffer to log changes in order to help JCRE rollback in case of unsuccessful command.
But what is the max size of this buffer? Can i just beginTransaction and never invoke commitTransaction ? any issues regarding to this buggy coding?
thanks,
Hoang Long

user5138836 wrote:
I know that there is atomic transaction buffer to log changes in order to help JCRE rollback in case of unsuccessful command.
But what is the max size of this buffer? This is set by the card manufacturer and is something that should be covered in the card specs/developer guide. There are several methods in the JCSystem class (getMaxCommitCapacity and getUnusedCommitCapacity) that can help with this. I have seen this range from 600 bytes to 8KB.
Can i just beginTransaction and never invoke commitTransaction ? any issues regarding to this buggy coding?This is bad and on some cards you will receive a 0x6F00 status word. On other cards you will have your transaction rolled back. From memory an exception is the correct and expected behaviour in this case.
Cheers,
Shane

Similar Messages

  • ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
    Development Environment
    Windows7 Professional Service pack 1 -32 bit
    Java - 1.6
    Internet Explorer 11
    Oracle Client 10g 32 bit ODBC driver
    Testing Environment
    Windows Server 2008 R2 Enterprise - 64 bit
    java 1.6
    Internet Explorer 9
    Oracle Client 11g 62 bit ODBC driver
    While loading reports in the 64 bit server the error occurs
    ERROR reports.reportdefinition :  com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
    ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
    com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
        at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
        at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
        ... 89 more
    Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)

    A few things to note:
    1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
    3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada

  • Error: "Invalid string or buffer length" when using SQLColumns!

    I am calling SQLColumns through the Oracle ODBC driver to get the column information of a table. The Client version is 9.0.1.0 and the ODBC driver version is 9.0.1.8. If I am querying a table that does not has a long table name, fine; if I am querying a long table name, failed and reporting:
    [Oracle][ODBC]Invalid string or buffer length.
    Tried with MS Oracle driver, no problem. Anybody can help?
    Thanks in advance.

    the name is very long, like 'aaaabbbbccccddddeeeeffffrrrrdddaaa'. Maybe more than 20 charactors. I haven't find the exact number, before which SQLcolumns works, after which SQLColumns stop working.

  • InsufficientBufferRule reporting bogus buffer lengths with live dynamic MBR streams

    Can someone tell me why InsufficientBufferRule.as uses the "rtmpMetrics.netStream.bufferLength" as opposed to "rtmpMetrics.netStream.info.videoBufferLength"?
    The reason I ask is because the "rtmpMetrics.netStream.bufferLength" returns 10 times(can grow to even more during transitions in quick succesion) what the actuall buffer length is when it switchs to a differnt stream. It will then continually drop until it starts returning the real buffer length(with my current bitrate(100, 300, 500) and bufferTime(10 seconds) setup, its takes about 20 seconds to get back to real buffer length). Durring this time the player is vulnerable to a buffer empty event because of the extremly high(and obviously wrong) buffer length being returned by "rtmpMetrics.netStream.bufferLength". Because of the incorrect buffer length being returned, the "if (_panic || (rtmpMetrics.netStream.bufferLength < minBufferLength && rtmpMetrics.netStream.bufferLength > rtmpMetrics.netStream.bufferTime))" statement never fires and hence the buffer drains completely without any warning.
    I hate the stuttering buffer empty, buffer full, buffer empty, buffer full... crap that happens when this occurs so I've been debugging(more like hacking:)) this issue for quite some time. I tried many different things to try and avoid the buffering empty state. Most of my hacks have been done in the NetStreamSwitchManager file and I have had some limited success in avoiding the buffer empty state but ultimatly it would shows it ugly head no matter what I did.
    Last night I found the "rtmpMetrics.netStream.info.videoBufferLength" property and noticed it returns the correct buffer length all the time even during a transition. So I changed "if (_panic || (rtmpMetrics.netStream.bufferLength < minBufferLength && rtmpMetrics.netStream.bufferLength > rtmpMetrics.netStream.bufferTime))" to "if (_panic || (rtmpMetrics.netStream.info.videoBufferLength < minBufferLength && rtmpMetrics.netStream.bufferLength > rtmpMetrics.netStream.bufferTime))" and tada!!!! It works like a dream. No matter what I do with my Netlimiter program(simulates bad connections), short of going below the 100kbs setting, the player never reaches the buffer empty state. Yaaaayyyyyyyyy:). I was even able to remove some of my hacks and still get good results. I plan on setting up a totaly new and clean enviroment and try this without any of my previous hacks and see how it works. In the meantime I was hoping someone could enlighten me as to why bufferLength is being used as opposed to videoBufferLength.
    I included some browser logs that show what I am describing below. Any insight into this would be greatly appreciated.
    100kbs to 300kbs
    [LOG] time 10:44:15.967 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 10.102
    [LOG] time 10:44:15.969 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10.1
    [LOG] time 10:44:16.517 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 9.901
    [LOG] time 10:44:16.519 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 9.9
    [LOG] time 10:44:17.49 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 68955.72916666667
    [LOG] time 10:44:17.50 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 9.981
    [LOG] time 10:44:17.57 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 9.95
    [LOG] time 10:44:17.549 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : Move up since avg dropped FPS 0 < 2 and bufferLength > 10
    [LOG] time 10:44:17.551 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : getNewIndex() - about to return: 2, detail=null
    [LOG] time 10:44:17.554 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 68955.72916666667
    [LOG] time 10:44:17.557 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 10.085
    [LOG] time 10:44:17.560 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10.05
    [LOG] time 10:44:17.564 :: org.osmf.net::NetStreamSwitchManager : 10:44:17 GMT-0400>>> NetStreamSwitchManager.----------0
    [LOG] time 10:44:17.567 :: org.osmf.net::NetStreamSwitchManager : 10:44:17 GMT-0400>>> NetStreamSwitchManager.checkRules() - Calling for switch to 1 at 300 kbps
    [LOG] time 10:44:17.570 :: org.osmf.net::NetStreamSwitchManager : 10:44:17 GMT-0400>>> NetStreamSwitchManager.executeSwitch() - Switching to index 1 at 300 kbps
    [LOG] time 10:44:18.165 :: org.osmf.net::NetStreamMetricsBase : onNetStatus() - event.info.code=NetStream.Play.Transition
    [LOG] time 10:44:18.167 :: org.osmf.net::NetStreamSwitchManager : 10:44:18 GMT-0400>>> NetStreamSwitchManager.onNetStatus() - event.info.code=NetStream.Play.Transition
    [LOG] time 10:44:18.599 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : Move up since avg dropped FPS 0 < 2 and bufferLength > 10
    [LOG] time 10:44:18.603 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : getNewIndex() - about to return: 2, detail=null
    [LOG] time 10:44:18.607 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 68955.72916666667
    [LOG] time 10:44:18.610 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 27.508
    [LOG] time 10:44:18.612 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10.1
    [LOG] time 10:44:19.99 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : Move up since avg dropped FPS 0 < 2 and bufferLength > 10
    [LOG] time 10:44:19.101 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : getNewIndex() - about to return: 2, detail=null
    [LOG] time 10:44:19.105 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 68955.72916666667
    [LOG] time 10:44:19.108 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 27.008
    [LOG] time 10:44:19.110 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10
    300kbs to 500kbs
    [LOG] time 10:44:47.472 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 10.035
    [LOG] time 10:44:47.480 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10
    [LOG] time 10:44:47.966 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : Move up since avg dropped FPS 0 < 2 and bufferLength > 10
    [LOG] time 10:44:47.968 :: org.osmf.net.rtmpstreaming::SufficientBandwidthRule : getNewIndex() - about to return: 2, detail=null
    [LOG] time 10:44:47.970 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 31764.322916666668
    [LOG] time 10:44:47.972 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 10.135
    [LOG] time 10:44:47.976 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10.1
    [LOG] time 10:44:47.981 :: org.osmf.net::NetStreamSwitchManager : 10:44:47 GMT-0400>>> NetStreamSwitchManager.----------1
    [LOG] time 10:44:47.986 :: org.osmf.net::NetStreamSwitchManager : 10:44:47 GMT-0400>>> NetStreamSwitchManager.checkRules() - Calling for switch to 2 at 500 kbps
    [LOG] time 10:44:47.989 :: org.osmf.net::NetStreamSwitchManager : 10:44:47 GMT-0400>>> NetStreamSwitchManager.executeSwitch() - Switching to index 2 at 500 kbps
    [LOG] time 10:44:48.308 :: org.osmf.net::NetStreamMetricsBase : onNetStatus() - event.info.code=NetStream.Play.Transition
    [LOG] time 10:44:48.309 :: org.osmf.net::NetStreamSwitchManager : 10:44:48 GMT-0400>>> NetStreamSwitchManager.onNetStatus() - event.info.code=NetStream.Play.Transition
    [LOG] time 10:44:48.465 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 23247.514204545456
    [LOG] time 10:44:48.467 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 40
    [LOG] time 10:44:48.469 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 10
    [LOG] time 10:44:48.966 :: org.osmf.net.rtmpstreaming::InsufficientBandwidthRule : -------Average bandwidth of 17793.34677419355
    [LOG] time 10:44:48.967 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : bufferLength reporting Buffer of 39.5
    [LOG] time 10:44:48.970 :: org.osmf.net.rtmpstreaming::InsufficientBufferRule : videoBufferLength reporting Buffer of 9.9
    Thanks,
    Wayne
    P.S.    While wrighting this I realized I need to replace the second part of that if statement to the videoBufferLength as well, so I will do that and make sure it still works. If I don't reply to this you can assume that it works as well.

    Wow I'm starting to get a little confused here. I need to mention that in my first post I said that I changed/used 
    "if (_panic || (rtmpMetrics.netStream.bufferLength < minBufferLength && rtmpMetrics.netStream.bufferLength > rtmpMetrics.netStream.bufferTime))".
    That was not the truth, I had actually shortened that statement in one of my earlier hack attempts, not really giving it to much thought at the time. The statement that I ended up changing/using was more like
    "if (_panic || rtmpMetrics.netStream.bufferLength < minBufferLength)" changed to "if (_panic || rtmpMetrics.netStream.info.videoBufferLength < minBufferLength)".
    So now that I go back and try using the original code which I had commented out earlier I realize there is somthing very wrong here, I think:) The second part of the statement
    "if (_panic || (rtmpMetrics.netStream.bufferLength < minBufferLength && rtmpMetrics.netStream.bufferLength > rtmpMetrics.netStream.bufferTime))"
    is checking if the buffer length is greater than the buffer time, but the first part is checking if the buffer length is less than min buffer length. How would that ever be possible?
    bufferTime = 10
    minBufferLength = 9
    if the bufferLength(no matter which one you use) is less than minBufferLength(9) how is ever going to be greater than bufferTime(10)?
    fyi:
    if  I change the statement
    "if (_panic || (rtmpMetrics.netStream.bufferLength < minBufferLength && rtmpMetrics.netStream.bufferLength > rtmpMetrics.netStream.bufferTime))"
    to
    "if (_panic || (rtmpMetrics.netStream.info.videoBufferLength < minBufferLength && rtmpMetrics.netStream.info.videoBufferLength < rtmpMetrics.netStream.bufferTime))"
    it works like a dream again.
    Thanks again,
    Wayne
    P.S.   I noticed that there are other places such as SufficientBandwidthRule.as that are referencing rtmpMetrics.netStream.bufferLength. I plan on going through the code and changing these and see how it works. I'm starting to wonder what else could be written like this or am I crazy? 

  • TDS buffer length too large & Protocol error in TDS stream

    Hi,
    While performing the HFM Copy application(using the copy utility) from Production to Development, I receive some errors many times noticed from the log file which are as follows:
    11-24-2009 01:06:37 : 157 : Error : Number=(-2147467259)(80004005) Source=(Microsoft OLE DB Provider for SQL Server) Description=(TDS buffer length too large) SQLState=(HY000)NativeError=(0)
    11-24-2009 01:06:37 : 157 : Error : Number=(-2147467259)(80004005) Source=(Microsoft OLE DB Provider for SQL Server) Description=(Protocol error in TDS stream) SQLState=(HY000)NativeError=(0)
    I would like to know why did this error appeared and any help would be of great help.
    Thanks.
    Regards,
    Ravi Shankar S

    I have seen this where the server doesn't respond in time, pulling data from SQL via ODBC using Excel. If so the fix is fairly simple:
    sp_configure
    'remote query timeout (s)',3600
    GO
    RECONFIGURE
    GO
    JCEH

  • CRM - transaction BP - length of search term 1/2 (adress)

    Hey,
    I'm working on CRM, transaction BP. I've 2 roles for customer : person and organisation.
    Search term 1/2 is 20 caracters long.
    But, it seems to be possible to do customizing on search term. For example, in my environnemnent, customer person may have 20 caracters long search term ; but customer organisation must have less than 10 caracters (there is an error message if I put a more than 10 caracters search term).
    Could you tell me how in customizing I can control length of search term ?
    Thanks
    Baptiste

    Hi,
    I dont think there is any customizing for this change in length. You can instead to achcek of length in dchck event of BDT.
    Smita.

  • WSIT: Unable to run WSIT tutorial document's Using Atomic Transaction

    Hi,
    I've to implement a sample web service demonstrating the use of WS Transaction and so I downloaded NetBeans 6.7.1, installed all web services related plug ins. Downloaded and installed Java SDK 6 and latest java run time. Installed Glassfish 2.x and Glassfish 3 prelude. I also downloaded the zip files required for the tutorials mentioned in the WSIT tutorials.
    I've followed all the instructions so far from the tutorial for configuring the system after installation of the required software. Like setting up the PATH, the ANT_HOME and JAVA_HOME variables and stuff.
    In the transaction tutorial the sample downloaded for the tutorial has some build files and i've configured them accordingly. Pasting the build.properties mentioned in the document after my edit changes below:
    <br />
    <pre><strong># Save this file as build.properties in the =${wsit.tutorial.home}/examples/bp-project
    # directory.  Then set the javaee.home property to the location of your GlassFish
    # installation and the wsit.tutorial.home property to the location of your WSIT
    # Tutorial installation.
    javaee.home=C:/Sun/AppServer
    wsit.tutorial.home=C:/Documents and Settings/Navina GK/My Documents/UoSouthampton/MSc Web Tech/Semester 1/COMP6017 - Advanced Topics on WebServices/Ebook/Samples/wsittutorial</strong></pre><pre><strong># machine name (or the IP address) where the applications will be deployed.
    javaee.server.name=localhost
    # port number where the app-server is accessed by the users
    javaee.server.port=8080</strong></pre><strong># port number where the admin server of the app-server is available</strong><pre><strong>javaee.adminserver.port=4848</strong></pre><pre><strong># Uncomment the property j2ee.server.username,</strong></pre><pre><strong># and replace the administrator username of the app-server</strong></pre><pre><strong>javaee.server.username=eakangk</strong></pre><pre><strong># Uncomment the property j2ee.server.passwordfile,</strong></pre><pre><strong># and replace the following line to point to a file that</strong></pre><pre><strong># contains the admin password for your app-server.</strong></pre><pre><strong># The file should contain the password in the following line:</strong></pre><pre><strong>#</strong></pre><pre><strong># AS_ADMIN_PASSWORD=adminadmin</strong></pre><pre><strong>#</strong></pre><pre><strong># Notice that the password is adminadmin since this is</strong></pre><pre><strong># the default password used by the glassfish app-server installation.</strong></pre><pre><strong>#</strong></pre><pre><strong>javaee.server.passwordfile=${wsit.tutorial.home}/examples/bp-project/admin-password.txt</strong></pre><pre><strong>appserver.instance=server</strong></pre><pre><strong># Uncomment and set this property to the location of the browser you</strong></pre><pre><strong># choose to launch when an application is deployed.</strong></pre><pre><strong># On Windows and Mac OS X the default browser is used.</strong></pre><pre><strong>#default.browser=/Applications/Firefox.app/Contents/MacOS/firefox-bin</strong></pre><pre><strong># Database vendor property for db tasks</strong></pre><pre><strong>db.vendor=javadb</strong></pre><pre><strong># Digital certificate properties for mutual authentication</strong></pre><pre><strong>truststore=${javaee.home}/domains/domain1/config/cacerts.jks</strong></pre><pre><strong>keystore.password=changeit</strong></pre><pre><strong>truststore.password=changeit</strong></pre>and all i have to do after that is go to the directory mentioned in the tutorial (https://wsit-docs.dev.java.net/releases/1.1/WSITTutorial.pdf
    ) in page 204 and run "ant setup"
    But after runningthe command i get a huge report with an error at the end saying BUILD FAILED.
    Pasting it below
    <br />
    <strong>C:\xx\xx\Samples\wsittutorial\exam<br />
    ples\wstx\basicWSTX\SampleService>ant setup<br />
    Buildfile: build.xml<br />
    <br />
    check:<br />
    <br />
    tools:<br />
    <br />
    setup:<br />
         [echo]    Starting C:/Sun/AppServer domain1<br />
         [echo] domain1 started.<br />
    Duplicated project name in import. Project SampleService-impl defined first in C<br />
    :\xx\xx\Samples\wsittutorial\examp<br />
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx<br />
    \basicWSTX\SampleService\nbproject\build-impl.xml<br />
    <br />
    check:<br />
    <br />
    tools:<br />
    <br />
    setup-resources:<br />
    Duplicated project name in import. Project SampleService-impl defined first in C<br />
    :\xx\xx\Samples\wsittutorial\examp<br />
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx<br />
    \basicWSTX\SampleService\nbproject\build-impl.xml<br />
    <br />
    create-queue:<br />
    Duplicated project name in import. Project SampleService-impl defined first in C<br />
    :\xx\xx\Samples\wsittutorial\examp<br />
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx<br />
    \basicWSTX\SampleService\nbproject\build-impl.xml<br />
    <br />
    check:<br />
    <br />
    tools:<br />
    <br />
    create-jms-resource:<br />
         [exec] Usage: create-jms-resource --restype resource_type [--terse=false] [<br />
    --echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secu<br />
    re | -s] [--user admin_user] [--passwordfile file_name] [--enabled=true] [--desc<br />
    ription text] [--property (name=value)[:name=value]*] [--target target(Default s<br />
    erver)] jndi_name<br />
    continued..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    [exec] CLI014 restype is a required option.
    Duplicated project name in import. Project SampleService-impl defined first in C
    :\xx\xx\Samples\wsittutorial\examp
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx
    \basicWSTX\SampleService\nbproject\build-impl.xml
    check:
    tools:
    create-xa-cf:
    [exec] Usage: create-connector-connection-pool --raname resource_adapter_na<br />
    me --connectiondefinition connection_definition_name [--terse=false] [--echo=fal<br />
    se] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [
    --user admin_user] [--passwordfile file_name] [--steadypoolsize 8] [--maxpoolsiz<br />
    e 32] [--maxwait 60000] [--poolresize 2] [--idletimeout 300] [--failconnection=f<br />
    alse] [--transactionsupport transaction_support] [--isconnectvalidatereq=false]
    [--description text] [--property (name=value)[:name=value]*] poolname
    [exec] CLI014 raname is a required option.
    Duplicated project name in import. Project SampleService-impl defined first in C
    :\xx\xx\Samples\wsittutorial\examp
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx
    \basicWSTX\SampleService\nbproject\build-impl.xml
    check:
    tools:
    create-jms-connection-factory:
    [exec] Usage: create-jms-resource --restype resource_type [--terse=false] [
    --echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secu<br />
    re | -s] [--user admin_user] [--passwordfile file_name] [--enabled=true] [--desc<br />
    ription text] [--property (name=value)[:name=value]*] [--target target(Default s<br />
    erver)] jndi_name
    [exec] CLI014 restype is a required option.
    [echo] Created required resources and added them to domain1 ...
    [echo] Now creating C:/Sun/AppServer domain2 ...
    [exec] Usage: create-domain [--user admin] [--adminport port_number] [--ter<br />
    se=false] [--echo=false] [--interactive=true] [--domaindir domain_directory] [--<br />
    profile profile_name] [--template domain_template] [--passwordfile filename ] [
    --instanceport port_number] [--savemasterpassword=false] [--domainproperties (na<br />
    me=value)[:name=value]*] [--portbase portbase] [--savelogin=false] [--checkports<br />
    =true] domain_name
    [exec] CLI019 Invalid number of operands. Number of operands should be equ
    al to 1.
    [echo] Created C:/Sun/AppServer domain2 successfully
    Duplicated project name in import. Project SampleService-impl defined first in C
    :\xx\xx\Samples\wsittutorial\examp
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx
    \basicWSTX\SampleService\nbproject\build-impl.xml
    check:
    tools:
    trust-domains:
    Duplicated project name in import. Project SampleService-impl defined first in C
    :\xx\xx\Samples\wsittutorial\examp
    les\wstx\basicWSTX\SampleService\nbproject\ant-deploy.xml and again in C:\xx\xx\Samples\wsittutorial\examples\wstx
    \basicWSTX\SampleService\nbproject\build-impl.xml
    check:
    tools:
    trust-other-domain:
    [exec] Certificate stored in file <s1as.cer>
    [exec] Certificate was added to keystore
    [exec] keytool error: java.io.FileNotFoundException: C:\Sun\AppServer\domai
    ns\domain2\config\cacerts.jks (The system cannot find the path specified)
    BUILD FAILED
    C:\xx\xx\Samples\wsittutorial\exam
    ples\wstx\basicWSTX\SampleService\build.xml:136: The following error occurred wh
    ile executing this line:
    C:\xx\xx\Samples\wsittutorial\exam
    ples\wstx\basicWSTX\SampleService\build.xml:142: The following error occurred wh
    ile executing this line:
    C:\xx\xx\Samples\wsittutorial\exam
    ples\wstx\basicWSTX\SampleService\build.xml:178: exec returned: 1
    Total time: 2 minutes 7 seconds
    C:\xx\xx\Samples\wsittutorial\exam
    ples\wstx\basicWSTX\SampleService>
    </strong>
    <br />
    <br />
    I really would like to know who created the tutorial if it is not working with the newer version of java. I've wasted quite some time on this now. around 5 hours. trying to figure out wat could be wrong. I would highly appreciate a prompt response from an expert who could explain in layman terms about what is the problem.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Exception in transaction commit when using Web Service Atomic Transaction

    Hi all,
    I am following this tutorial from Oracle on how to use WS-AT
    http://docs.oracle.com/cd/E14571_01/web.1111/e13734/transaction.htm
    A brief description about my application, which is wrote in JDeveloper:
    Two applications, one for web service and one for client.
    The WS is backed by an stateless EJB, which use JPA entity to do operations on the Oracle XE DB. The EJB transaction is container-managed, and the Entity Manager is retrieved from the JTA Datasource by using @PersistenceContext
    I put this on the EJB implementation class:
    @WebService(...)
    @TransactionAttribute(value = TransactionAttributeType.MANDATORY)
    @Transactional(version = Transactional.Version.WSAT10,
    value = Transactional.TransactionFlowType.MANDATORY)
    On the client application, I use another EJB to call the WS. The proxy and all generated types are created properly by JDev. I put this on the @WebServiceReference point in the client EJB:
    @Transactional(version = Transactional.Version.WSAT10,
    value = Transactional.TransactionFlowType.MANDATORY)
    The client EJB is also annotated with:
    @TransactionAttribute(value = TransactionAttributeType.REQUIRED)
    Both applications are deployed successfully in the integrated weblogic server. But when I run the method in the client EJB that call the WS to do a persisting operation on the DB, the following exception is thrown:
    javax.ejb.EJBException: BEA1-00227DF3AF249E472B1E: javax.transaction.xa.XAException: Failed state during prepare of WS-AT XAResource ...
    which causes:
    Exception occurred during commit of transaction Name=[EJB +_the client EJB's calling method_+
    The weird thing is, if I call a method which does a simple System.out.println (no DB related operation) then no exception is thrown.
    Furthermore, if I switch both WS EJB and client EJB to use bean managed transaction, the transaction is not propagated properly, as I see that UserTransaction in the WS EJB does not have the same status as UserTransaction in the Client EJB.
    Hence I'm suspecting that there is some issue during step 4 described in the Oracle documentation:
    "Server B receives the request for Application B, detects that the header contains a transaction coordination context and determines whether it has already registered as a participant in this transaction. If it has, that transaction is resumed and if not, a new transaction is started.
    *Application B executes within the context of the imported transaction. All transactional resources with which the application interacts are enlisted with this imported transaction*."
    This is all I can find. Please help me on how to resolve the exception.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi r035198x,
    Thanks for your help. The problem indeed is in the non-XA datasource I used for the EntityManager. I created datasource what uses XA Thin Oracle driver and everything works fine now, commit and rollback both work nicely.
    Again thanks a lot.

  • Atomic transactions

    Java 5 supports web services to take part of global transactions. Is transactions supported between Java EE and SAP?

    the problem is that the file is too long it may contain thousand records
    commit is done after each record
    but in case of failure of any type during the reading and storing the transaction
    then the user will be read another time so some records will be stored twice and the client account will be increased /decreased twice for those record already
    inserted
    so i need such machnism so that if any failure of any kind it roll back restoring the
    client account to the original before transaction?

  • Help on error : OIP-04902 - Invalid buffer length for LOB write op

    We have a bit of VBA in Excel 2003 writing a BLOB to an 11.2.0.2 DB; for certain users it is throwing up the above message. I can't find any useful info on it; does anyone know the causes/resolution please ?

    Resolved - a 0 byte object was being passed, which caused the error.

  • Diagnose a Invalid String/Buffer Length

    Hey everyone,
    If someone could help me out with this, I would greatly
    appreciate it. I have included the code and linked to the database.
    I continue to get this error no matter I do. The most frustrating
    thing is that it only tells me that the error is on line 66. Well
    line 66 tells me nothing. Hopefully someone else can figure it out;
    I sure can't.
    Database

    I often get this when I have manually amended an insert or
    update form, and it is simply due to me missing a value either in
    the form or in the insert code. It may even be that you have copied
    a line of code and not changed the name of a text box or the
    Request.Form insert code that relates to the db column.
    HTH
    Mat

  • ECC-6.0 supports XA(Distributed Transactions)&WS-AT(Web Services u0096 Atomic)

    Hi
    1- Does SAP ECC-6.0 support XA transactions?
        XA Transactions stand for (Distributed Transactions).
    2- Does SAP ECC-6.0 Web services allow participation in WS-AT?
        WS-AT Stands for is Web Services – Atomic Transaction specification.
    If so please provide the referral point where I can get the Documentation regarding this. 
    Any earlier reply will be rewarded.

    Hi
    1. What is meant by XA ?? Please clarify.. I guess, ECC should support..
    2. Yes...
    SAP supports ATS... Atomic Transaction specification defines protocols that is recognized by SAP. This failure atomicity property is supported by atomic transactions, which have the following familiar ACID properties.
    See useful pointers ->
    http://specs.xmlsoap.org/ws/2004/10/wsat/wsat1104.pdf
    http://soa.sys-con.com/read/39769.htm
    http://searchsoa.techtarget.com/sDefinition/0,,sid26_gci1282196,00.html
    http://docs.oasis-open.org/ws-tx/wstx-wsat-1.1-spec-pr-01/wstx-wsat-1.1-spec-pr-01.html
    Regards
    - Atul

  • Windows TCP Socket Buffer Hitting Plateau Too Early

    Note: This is a repost of a ServerFault Question edited over the course of a few days, originally here: http://serverfault.com/questions/608060/windows-tcp-window-scaling-hitting-plateau-too-early
    Scenario: We have a number of Windows clients regularly uploading large files (FTP/SVN/HTTP PUT/SCP) to Linux servers that are ~100-160ms away. We have 1Gbit/s synchronous bandwidth at the office and the servers are either AWS instances or physically hosted
    in US DCs.
    The initial report was that uploads to a new server instance were much slower than they could be. This bore out in testing and from multiple locations; clients were seeing stable 2-5Mbit/s to the host from their Windows systems.
    I broke out iperf
    -s on a an AWS instance and then from a Windows client in the office:
    iperf
    -c 1.2.3.4
    [ 5] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 55185
    [ 5] 0.0-10.0 sec 6.55 MBytes 5.48 Mbits/sec
    iperf
    -w1M -c 1.2.3.4
    [ 4] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 55239
    [ 4] 0.0-18.3 sec 196 MBytes 89.6 Mbits/sec
    The latter figure can vary significantly on subsequent tests, (Vagaries of AWS) but is usually between 70 and 130Mbit/s which is more than enough for our needs. Wiresharking the session, I can see:
    iperf
    -c Windows SYN - Window 64kb, Scale 1 - Linux SYN, ACK: Window 14kb, Scale: 9 (*512) 
    iperf
    -c -w1M Windows SYN - Windows 64kb, Scale 1 - Linux SYN, ACK: Window 14kb, Scale: 9
    Clearly the link can sustain this high throughput, but I have to explicity set the window size to make any use of it, which most real world applications won't let me do. The TCP handshakes use the same starting points in each case, but the forced one scales
    Conversely, from a Linux client on the same network a straight, iperf
    -c (using the system default 85kb) gives me:
    [ 5] local 10.169.40.14 port 5001 connected with 1.2.3.4 port 33263
    [ 5] 0.0-10.8 sec 142 MBytes 110 Mbits/sec
    Without any forcing, it scales as expected. This can't be something in the intervening hops or our local switches/routers and seems to affect Windows 7 and 8 clients alike. I've read lots of guides on auto-tuning, but these are typically about disabling scaling
    altogether to work around bad terrible home networking kit.
    Can anyone tell me what's happening here and give me a way of fixing it? (Preferably something I can stick in to the registry via GPO.)
    Notes
    The AWS Linux instance in question has the following kernel settings applied in sysctl.conf:
    net.core.rmem_max = 16777216
    net.core.wmem_max = 16777216
    net.core.rmem_default = 1048576
    net.core.wmem_default = 1048576
    net.ipv4.tcp_rmem = 4096 1048576 16777216
    net.ipv4.tcp_wmem = 4096 1048576 16777216
    I've used dd
    if=/dev/zero | nc redirecting to /dev/null at
    the server end to rule out iperfand
    remove any other possible bottlenecks, but the results are much the same. Tests with ncftp(Cygwin,
    Native Windows, Linux) scale in much the same way as the above iperf tests on their respective platforms.
    First fix attempts.
    Enabling CTCP - This makes no difference; window scaling is identical. (If I understand this correctly, this setting increases the rate at which the congestion window is enlarged rather than the maximum size it can reach)
    Enabling TCP timestamps. - No change here either.
    Nagle's algorithm - That makes sense and at least it means I can probably ignore that particular blips in the graph as any indication of the problem.
    pcap files: Zip file available here: https://www.dropbox.com/s/104qdysmk01lnf6/iperf-pcaps-10s-Win%2BLinux-2014-06-30.zip (Anonymised
    with bittwiste, extracts to ~150MB as there's one from each OS client for comparison)
    Second fix attempts.
    I've enabled ctcp and disabled chimney offloading: TCP Global Parameters
    Receive-Side Scaling State : enabled
    Chimney Offload State : disabled
    NetDMA State : enabled
    Direct Cache Acess (DCA) : disabled
    Receive Window Auto-Tuning Level : normal
    Add-On Congestion Control Provider : ctcp
    ECN Capability : disabled
    RFC 1323 Timestamps : enabled
    Initial RTO : 3000
    Non Sack Rtt Resiliency : disabled
    But sadly, no change in the throughput.
    I do have a cause/effect question here, though: The graphs are of the RWIN value set in the server's ACKs to the client. With Windows clients, am I right in thinking that Linux isn't scaling this value beyond that low point because the client's limited CWIN
    prevents even that buffer from being filled? Could there be some other reason that Linux is artificially limiting the RWIN?
    Note: I've tried turning on ECN for the hell of it; but no change, there.
    Third fix attempts.
    No change following disabling heuristics and RWIN autotuning. Have updated the Intel network drivers to the latest (12.10.28.0) with software that exposes functioanlity tweaks viadevice manager tabs. The card is an 82579V Chipset on-board NIC - (I'm going to
    do some more testing from clients with realtek or other vendors)
    Focusing on the NIC for a moment, I've tried the following (Mostly just ruling out unlikely culprits):
    Increase receive buffers to 2k from 256 and transmit buffers to 2k from 512 (Both now at maximum) - No change
    Disabled all IP/TCP/UDP checksum offloading. - No change.
    Disabled Large Send Offload - Nada.
    Turned off IPv6, QoS scheduling - Nowt.
    Further investigation
    Trying to eliminate the Linux server side, I started up a Server 2012R2 instance and repeated the tests using iperf (cygwin
    binary) and NTttcp.
    With iperf,
    I had to explicitly specify -w1m on both sides
    before the connection would scale beyond ~5Mbit/s. (Incidentally, I could be checked and the BDP of ~5Mbits at 91ms latency is almost precisely 64kb. Spot the limit...)
    The ntttcp binaries showed now such limitation. Using ntttcpr
    -m 1,0,1.2.3.5 on the server and ntttcp
    -s -m 1,0,1.2.3.5 -t 10 on the client, I can see much better throughput:
    Copyright Version 5.28
    Network activity progressing...
    Thread Time(s) Throughput(KB/s) Avg B / Compl
    ====== ======= ================ =============
    0 9.990 8155.355 65536.000
    ##### Totals: #####
    Bytes(MEG) realtime(s) Avg Frame Size Throughput(MB/s)
    ================ =========== ============== ================
    79.562500 10.001 1442.556 7.955
    Throughput(Buffers/s) Cycles/Byte Buffers
    ===================== =========== =============
    127.287 308.256 1273.000
    DPCs(count/s) Pkts(num/DPC) Intr(count/s) Pkts(num/intr)
    ============= ============= =============== ==============
    1868.713 0.785 9336.366 0.157
    Packets Sent Packets Received Retransmits Errors Avg. CPU %
    ============ ================ =========== ====== ==========
    57833 14664 0 0 9.476
    8MB/s puts it up at the levels I was getting with explicitly large windows in iperf.
    Oddly, though, 80MB in 1273 buffers = a 64kB buffer again. A further wireshark shows a good, variable RWIN coming back from the server (Scale factor 256) that the client seems to fulfil; so perhaps ntttcp is misreporting the send window.
    Further PCAP files have been provided, here:https://www.dropbox.com/s/dtlvy1vi46x75it/iperf%2Bntttcp%2Bftp-pcaps-2014-07-03.zip
    Two more iperfs,
    both from Windows to the same Linux server as before (1.2.3.4): One with a 128k Socket size and default 64k window (restricts to ~5Mbit/s again) and one with a 1MB send window and default 8kb socket size. (scales higher)
    One ntttcp trace
    from the same Windows client to a Server 2012R2 EC2 instance (1.2.3.5). here, the throughput scales well. Note: NTttcp does something odd on port 6001 before it opens the test connection. Not sure what's happening there.
    One FTP data trace, uploading 20MB of /dev/urandom to
    a near identical linux host (1.2.3.6) using Cygwin ncftp.
    Again the limit is there. The pattern is much the same using Windows Filezilla.
    Changing the iperf buffer
    length does make the expected difference to the time sequence graph (much more vertical sections), but the actual throughput is unchanged.
    So we have a final question through all of this: Where is this limitation creeping in? If we simply have user-space software not written to take advantage of Long Fat Networks, can anything be done in the OS to improve the situation?

    Hi,
    Thanks for posting in Microsoft TechNet forums.
    I will try to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Kate Li
    TechNet Community Support

  • Session Bean Transaction Rollback not working for RuntimeException

    Hi,
    I am calling a number of JDBC create/update statements within a method in a container managed transaction stateless session bean with transaction attribute set to required. I am running the bean within the embedded OC4J supplied with JDeveloper 10g (10.1.2). For each JDBC call, i connect to a datasource via JNDI containg a pool of connections pointing to an Oracle 10g database (standard J2EE)
    If i throw a runtime exception within the method the transaction is NOT rolled back as it should be according to the EJB spec. However, if i setRollbackOnly() on the session bean SessionContext the transaction does roll back.
    Has anybody experienced this before?
    Is this an OC4J bug?
    Thanks
    Dave

    Generally, for urgent issues it's best to open a SR with Oracle Support rather than posting to the forums.
    enlist=dynamic didnt exist in 10.2.0.2.20, but does now. I can't recall what specific version it was introduced though.
    enlist=false prevents enlistment in MSDTC transactions, so thats why it's not rolling back in that case.
    "transaction branch length 90 is illegal" was a known issue on Vista, is that the OS you're using? It takes a two part fix, and It is resolved by
    1) getting up to 10204 ODP (apply the 10204 rdbms patch to your client install)
    2) applying SP1 for Vista
    Hope it helps,
    Greg

  • Illegal lob length marker

    hi every body ,
    i do not know why i am face this problem:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V08.01.07 via conventional path
    Warning: the objects were exported by BIGDATA, not by you
    import done in AR8MSWIN1256 character set and AL16UTF16 NCHAR character set
    export server uses AR8MSWIN1256 NCHAR character set (possible ncharset conversion)
    . importing BIGDATA's objects into TEST
    . importing BIGDATA's objects into TEST
    . . importing table "FUNDIMINTAL" 3686498 rows imported
    illegal lob length marker 60897
    bytesread = 00000000000
    TABLE = FUNDIMINTAL4
    IMP-00098: INTERNAL ERROR: impgst2
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00032: SQL statement exceeded buffer length
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    ےے
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    ےے
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    ےے
    IMP-00008: unrecognized statement in the export file:
    ےے
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    ےے
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    IMP-00008: unrecognized statement in the export file:
    any help please.
    Message was edited by:
    mshaqalaih

    $ oerr imp 00008
    00008, 00000, "unrecognized statement in the export file: \n %s"
    // *Cause:  Import did not recognize a statement in the export file. Either
    // the export file was corrupted, or an Import internal error has
    // occurred.
    // *Action: If the export file was corrupted, retry with a new export file.
    // Otherwise, report this as an Import internal error and submit
    // the export file to customer support.

Maybe you are looking for

  • How to not Automatically Execute a BEX Query in CRM 7.0

    We have configured a Bex Query (Template 7.x) to be executed in the Customer Interaction Center (CRM 7.0) and when we run it the report runs wide open without any user input. Does anyone know how we can force the variable screen to be displayed so th

  • Server:An Error occurred in the container during the request processing

    Hi I am using tomcat 5.0 as for my serlvets. I get below exception when processing a request. Please let me know under what conditions do we get such exception 2008-5-14 9:33:34 org.apache.coyote.tomcat5.CoyoteAdapter service Server:An exception or e

  • Improving picture quality (bad pixillation)

    I'm trying to make a DVD from a miniDV tape I made of a concert last year. When I watch the show on my camcorder's screen, it looks fine. But during import to iMovie, the details (such as people's faces) I see on my Mac's screen are quite pixillated

  • Extender for Fios Quantum Router

    Fios quantum installed a month ago... Not crazy about ..I had better coverage with the old system. I bought the net gear 350 wireless extender because wifi coverage was poor. Didn't work. Should I buy the one Verizon sells? Hate to waste the money if

  • Directory properties in java.io.*

    I know I can check if a directory exists with the .exists method, but I want to know if the directory contains anything. Is there any built-in method for this? If a built-in method doesn't exist, I'm thinking that I would have to use the .length of t