Make TCP slower at the application level?

Hi,
This one is a little odd...I'm running a Java socket server which transmits feeds to client 24/7. My client user has started complaining that "Looks like it's coming in too fast. Getting overruns occasionally, specifically when it's non stop for a little bit...." Seems to me that the client machine cannot keep up with the server machine. I inserted some Thread.sleep() latencies in my server application, but I am not for sure if this is a valid/best way to go, or if it wors at all (still in testing process with client). Any comments? My socket server is replacing an old one located in a remote office in other state, which uses hardware to slow down the transmission.
Thanks,

Getting overruns occasionally, specifically when it's non stop for a little bit.What exactly does the customer mean by 'overruns'? TCP/IP paces itself to the speed of the receiver. Unless the receiving application has bugs, >this is a non-problem.I guess that their client has one thread that reads from the socket and then posts messages to a queue and that they get out of memory exceptions if they can't keep up with the speed (that is, they suffer from bad design)

Similar Messages

  • Unable to license Office 365 ProPlus when customized at the application level

    It has long been claimed that Office 365 ProPlus can only be installed as one single package, and that Click-to-Run is not customizable at the application level.  Microsoft lists the following at
    http://technet.microsoft.com/en-us/library/jj839718.aspx “Office 365 ProPlus installs as one package. This means you can't choose to deploy Word and PowerPoint to users, but not Access.
    If you don’t want users to run Access, you can customize the installation by using App-V. You can also use AppLocker to prevent users from starting certain Office applications.”
    Can anyone then explain the purpose of the additional product ID’s specified in the following kb article:
    http://support.microsoft.com/kb/2842297
    Using the product ID’s listed here, I set the Configuration.xml file to selectively install only four Office products, which included Access, Excel, PowerPoint and Word.  In this example, I removed the Product ID O365ProPlusRetail and instead just included
    the Product ID’s for the individual applications we wanted to install.
    <Configuration>
      <Add OfficeClientEdition="32">
       <Product ID="AccessRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="ExcelRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="PowerPointRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="WordRetail" >
         <Language ID="en-us" />     
       </Product>
      </Add>
     <Updates Enabled="TRUE" />
     <Display Level="None" AcceptEULA="TRUE" />
     <Logging Name="OfficeSetup.txt" Path="%temp%" />
    </Configuration>
    Given what I had read throughout multiple areas of documentation, especially the line that mentions, “Click-to-Run is not customizable at the application level,” I was surprised and excited to see that the click to run installer only installed the applications
    that I specified.
    Using the Configuration.xml file I specified above, I was able to complete a custom install of Office 365 ProPlus, and included only programs that I wanted to have installed.
    The issue comes when you go to license the software.  I can launch any of the individual programs without issue, but I am unable to complete the process of activating the license.
    For example, see below where I have launched Word, entered my account information and attempted to activate.  Everything has worked fine up to this point, but I am told that I cannot activate because the product is not installed.  It seems that
    my custom install has prevented needed information from being added to my system to allow for the activation wizard to detect the presence of the installed Office software and to activate appropriately.
    Can anyone from Microsoft comment on this?  Is there any way possible to proceed given my configurations?  If not, what is the purpose of
    http://support.microsoft.com/kb/2842297 ?
    In what case would you actually be able to use the additional product IDs? (AccessRetail, ExcelRetail, WordRetail, etc.)

    Whilst I don't work for MS, I have a few thoughts on this..
    The documentation refers to the use of ODT for customisation, but that is mainly for customising the install-time aspects and the update sources, not the resultant feature state.
    For controlling feature state, either AppLocker of re-packaging/sequencing via App-V is suggested.
    KB2842297 mentions the products that ODT will "recognise" for the purposes of "customisation", but doesn't really detail how nor why.
    C2R, as it is a pre-packaged sequenced output, is intended to be consumed as-is, by the vast majority.
    Re-packaging/sequencing of a complex product such as Office isn't for the faint of heart (and to be honest, the installers for Office have long been a complex topic over many years)
    MS have stated for many years that the individual component applications of the Office suites, are not permitted to be broken up out of the suite, for license compliance.
    e.g. If you install OfficeProPlus, and via customisation, disable or do-not-install specific component apps, you must hold a license for the relevant suite (ProPlus in this example).
    Even if you re-compose the resultant installed apps, such that only those apps that would equate to OfficeStd, because you installed ProPlus, it is a ProPlus license that you must hold.
    Similarly, if you were to install individual apps, composing a feature-equivalent result to ProPlus, and "functionally" have the same set of apps that ProPlus would give you, holding a license for ProPlus is not sufficient, becuase it is not ProPlus
    that you have installed.
    So, when you modified the configuration XML, and downloaded and installed "WordRetail" + "ExcelRetail" etc, this is not equivalent to ProPlus (neither from an installed-product perspective, nor from a licensing perspective).
    It seems to me, that your license (as recorded/represented in your MS account) is finding that you have products installed for which you don't hold a license.
    And, that the license that you do hold, is not a match for the products you are trying to activate.
    In years gone by, MS did make available individual products (e.g. Word, Excel etc) for sale.
    I don't know if MS continue do make individual apps, in C2R form, available for sale, but the Office product team have created ODT in such a way that ODT can cater for them.
    Perhaps in some global markets, or possibly in the future, MS might make those individual products available in C2R form.
    So I'm not all that surprised, based on nothing more than previous experience (sprinkled with some assumption and theory), that you've found some interesting, slightly-mystifying things ;)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • HT201263 Hi Concern,i have updated my iphone 4 to ios7, now it becomes too much slow.all the applications take time to open, its touch response also became slow. How to update it again to ios6 please help

    I have updated my iphone 4 to ios7 few days back, After that it becomes too much slow.all the applications take some time to open,
    its touch response also became slow. .
    One of my friends has also updated his iphone 4 to ios7,it is also facing the same problem.But the friend having iphone 4s is not facing any
    problem with this new version.What i think iphone 4 has not too much good processor like iphone 4s & 5 to get it updated to ios7.
    It destroys all the entertainment of using iphone.
    How to update it again to ios6.
    iphone 4 users please dont update iphone 4 to ios7.please

    Sorry, but Apple does not provide a downgrade path for iOS.
    Because downgrading is unsupported by Apple we cannot discuss it on these forums, but you can use Google to find information on how to install an older version of iOS on any device.
    Note that you will void the warranty and loose official support by Apple.
    Feel free to let Apple know at http://www.apple.com/feedback
    Anyway, give a try resetting all your settings:
    Settings > General > Reset > Reset All Settings

  • How to view the table at the application level

    Dear All,
    How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
    code/
    create table zmard as select * from sapone.mard where 1 = 2
    /code
    I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
    can anyone guess the solution.
    Best wishes
    Mahesh

    Hi
    U should create a program using SQL native in order to select and show the data.
    By SE11 or directly in the program u can define a structure like your table:
    DATA: BEGIN OF W_ZMARD,
                  FIELD,
              END     OF W_ZMARD.
    EXEC.
       OPEN CURSO FOR SELECT * FROM ZMARD
    ENDEXEC.
    DO.
      EXEC.
         FETCH NEXT CURSOR INTO :W_ZMARD
      ENDEXEC.
      IF SY-SUBRC <> 0.
         EXIT.
      ENDIF.
      WRITE: / W_ZMARD-FIELD,
    ENDDO.
    EXEC.
      CLOSE CURSOR
    ENDEXEC.
    I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
    Max

  • Acrobat or Reader: Is there a way to set the print scaling default at the application level?

    Is there a way to set the Page/Print Scaling to a default at the application level? For Acrobat and Reader?
    Thanks,

    Often asked, but that feature retains the last used local setting.
    You can however, change the default for Documents, individually, in their Properties > Advanced tab

  • Can XI as a middleware drive the content from the Application level

    Can XI as a middleware drive the content from the Application level (backend) into the front-end Portal?  By XI connectors?  Is there a documentation that explains that?

    You can't plug an iPod into an iPad in order to access its media, and as far as I am aware you can only use home sharing between a computer and an iOS device (iPad, iPhone, iPod Touch, but not an iPod Classic), and not between 2 iOS devices : http://support.apple.com/kb/HT4557 and http://www.apple.com/support/homesharing/

  • The application level multicast and VoD/LiveTV application

    Hi,
       As I read from the document, so far only user's video published out from a Flash Player 10.1 could take advantage of the new application level multicast. But can other video applications scenarios, such as VoD and Live TV (encoded by Flash Live Media Encoder) , also take advantage of this new feature? Please advise. Thanks.

    Thanks for the answer, but does Adobe has any plan to enable it and when?

  • Change Image Prefix at the Application Level

    Hi All,
    I have an APEX installation and the image prefix has been set as /j/. I have changed this to /i/ using the reset_image_prefix.sql script.
    This however does not update the Image Prefix field in the Applications Definition (the entry still appears as /j/).
    Is there a way to change this using a SQL script?
    Will the following achieve the same result:
    update APEX_030200.APEX_APPLICATIONS
    set IMAGE_PREFIX='/i/'
    where IMAGE_PREFIX='/j/';
    Thanks,
    Riz

    Hi Riz,
    there exists a nice API for that purpose. You have to either login as parsing schema or privileged user to perform such action. To be sure, I'd set the workspace id to your environment first, so I guess the following block should be doing exactly what you want:
    DECLARE
      v_ws_sgid NUMBER := APEX_UTIL.FIND_SECURITY_GROUP_ID('<WORKSPACE_NAME>');
      v_app_id NUMBER := <APP_ID>;
      v_prefix VARCHAR2(256) := '/i/';
    BEGIN
      WWV_FLOW_API.set_security_group_id(v_ws_sgid);
      WWV_FLOW_API.set_image_prefix ( p_flow_id => v_app_id,
                                      p_image_prefix => v_prefix);
    COMMIT;
    END;
    /You can edit (almost) any part of the application defintion with that API.
    -Udo

  • How do I open up a specific port in the Application Level Firewall?

    Currently, my system blocks port 2336 and I want to open this up. To be precise: port 2336 is listening on the local system, both on 127.0.0.1 and its 192.168.x.x address, but no client on the LAN can connect to port 2336.
    IPFW and PF are not running. When I turn ALF off in System Preferences, I can connect to port 2336 from a LAN client. So ALF is blocking port 2336. How can I open this up?

    Linc, thatnks for the reply. I dived into this a bit more and studied the setup of the ALF. I find it confusing, on the one hand it is mentioned in the packet filter firewall setup in /etc/pf.anchors/com.apple:
    # Application Firewall anchor point.
    anchor "250.ApplicationFirewall/*"
    OTOH, such an entry is nowhere to be found on my system and the ALF command socketfilterfw somehow seems to suggest it is a socket filter and not a packet filter and that it is indeed working at a different level, namely the level that decides which executable is allowed to listen on which socket (port).
    I am trying to find out what program is being started when I connect to port 2336 (service appleugcontrol according to /etc/services) so I can enable it with socketfilterfw. But I can't find out which program I have to enable.
    I can turn off my ALF altogether, but I am used to running a firewall on my system, even if it is behind a NAT and ports are not as easily reached from the outside. I want my internal network to have some security too. In the 10.6 days, that was ipfw. Now it is PF which is off by default. I tried IceFloor to manage the PF firewall (so I can turn the ALF off) but the result was negative. Whatever I put in the settings, it blocked about everything.
    The reason I want to open this port is that without it server-side file tracking for mobile home sync does not work and mobile home syncing by clients becomes very slow. Server-side file tracking for mobile home syncing requires that the FileSyncAgent on the client is able to create a SSH connection to port 2336 on the server. But as it stands now, ALF is blocking that.

  • Sql query runs slower from the application

    Hi,
    We are using oracle 9ias on AIX box.The jdk version used: 1.3.1 . From the j2ee application when we perfom a search, the sql query takes for ever to return the results. I know that we are waiting on the database because I can see the query working when I look at TOAD.But if i run the same query on the database server itself, it returns the results in less than a sec. Could you guys throw some light on how we could troubleshoot this problem. Thanks.

    When the results have to travel over the network, it is slow, and when they don't, it is fast.
    That is what you are saying, correct?
    So your approach should be to not bring so much data over the network. Don't select columns you don't need, and don't select rows you don't need.

  • How fast or slow is the entry level Mac Mini?

    I am a Mac newby, and today, switched from a PC to a Mac Mini. Entry level yes, but I already have an external disk drive, keyboard, and monitor, and didn't feel the need to buy items I already own. But my question is:
    The graphics, the speed... how are they in comparison to a PC? I run business only on my computer, with occasional internet useage. Will this suffice?

    Hi. I just bought a Mac Mini a week ago. I got the 2.5 ghz i5 completely stock meaning no memory or hard drive upgrades. This thing is more than sufficient enough for web browsing, movies, playing songs, videos. The unit gets warm, which is normal. My windows 7 laptop gets hotter than this. I also bought the trackpad and hardly use the mouse now.
    So far, no hiccups. No freezes. Unit is very quiet. I love it. This is my first Mac.
    And as far as graphics, I've played hd movies from itunes and also from Yahoo movie trailers that are in HD and no hiccups.

  • Calling from the application Slow vs. Running through SQL developer Fast

    Alright, we write many applications that make use of calling stored procedures in packages to return data. This is the only time i have ever encountered this issue and have not been able to pinpoint the cause.
    This application is very data-centric and is filled with calls to stored procedures and I would say about 80% run fine as in the time required to run is about the same as in SQL Developer maybe just a little slower due to the amount of data that may be returned to the application. The other 20% run horribly slow from the application and run lighting fast in SQL Developer and i cannot figure out why.
    I have traced the code right up to the .Fill on the Oracle.DataAccess.Client.OracleDataAdapter and that is where it just holds either for a long period of time or just forever, some of these i haved waited hours for and they have not finished running.
    For Example: I created a new page in the project and it makes a request through the use of ajax, when the request file is reached it performs two stored procedures from the same package (the only two procedures in the package). Both procedures take in three varchar2's and have an in out cursor, the cursor is returned into a datatable in the VB. The first query runs in a couple seconds returns the correct data etc. The second query, which takes .2 seconds on average to run from SQL Developer, just runs and runs and i have never actually even waited for it to finish because it takes so long. The specific example i am trying only returns 1 row with 7 columns, so there is not a large amount of data being passed back.
    I have seen this sort of thing happen on occasions, but everytime it was usually because the package was not compiled and was waiting on a view to finish before compilation and after killing the view it was fine. But this issue seems to happen randomnly with certain procedures and not others all in the same package.
    This issue happens on the same procedures everytime which would lead me to believe it is the procedure, but running them in SQL Developer shows me this is incorrect because they run exceptionally fast in some cases. I even went so far as to restart the entire database just in case there was some sort of lock causing this issue but this did not fix the issue.
    I have verified parameters, cursors, debugged the procedures, stepped every line of code, tried deleting and readding the oracle.dataAccess reference. I can't seem to figure this one out.
    It is causing alot of wasted time because i am forced to wait a horribly long time for these queries in order to test. If anyone has any clues, hints, or ideas as to what this could be please let me know! If the same issue exists when the application is moved into production it will be unnacceptable and the application utterly unusable.
    Thanks in Advance for any help!
    -Jarrod

    Hi,
    This is consistently reproducible with the problem procedure/operations? Total WAG here, but I've seen cases where having support for distributed transactions enabled causes the database to disable certain optimizations. Try setting Enlist=false in your connection string.
    Otherwise, I'd recommend enabling 10046 database trace and client side sqlnet trace to capture the problem behavior for further investigation. Oracle support can certainly give you a hand with that if needed.
    Hope it helps,
    Greg

  • How to make audio of many clips the same level?

    I have a sequence containing many interview clips which all seem to be at different sound levels. Is there any easy way to make all of these the same level? The only way I know how to adjust the level is using the volume level control under audio effects for a particular clip.
    Also i'm wondering whether there is a way to filter out background noise?
    Many Thanks

    If the mic was a different distance etc then you'll never be able to make them all sound exactly the same tone.  But For the background noise I'd really recommend the effects inside premiere I've already mentioned I have found that 90 percent of the time I don't ever need to use audition for interview type edits. I'm able to get by using a denioser and highpass to remove "most background" noises. However I don't film outside very often most of my background noise problems are usaully from too much gain or AC noise. So your scenario might be different than mine for this reason.
    The benifit of the compressor is that it can make your audio stay exactly within whatever range you want without having to keyframe stuff. With the clips you have desribed you'll want to use a different dynamics filter for each group. So put each group on it's own audio track. So group one that you have desribed would go on track 1 since all those clips have similar range etc. Basically with group 1 I wouldn't compress it at all. I'd leave it alone except for lowering it's audio by -2 on the audio track 1. That way all the clips in the first group will be lowered by 2db if you put them all on track 1. You won't have to worry about it's slightly too high peaks as long as you set a dynamics effect with nothing enabled on it besides the limiter on the master track and have the limiter set to -6 since you said that's what you need your max peak to be. If you do this then everything in group one will be handled as far as levels go. (as far as db goes anyways) However if you want to have other things in the project to be higher than -6 then just simply put the -6 limiter turned on track 1 then instead of the master track.
    Then for the second group I wouldn't touch them at all I'd put them on track 2 and just let the limter on the master track keep it's peaks from going to high since it's basically already where you want it. Then if the clips have a hissing noise or something you can add a denoiser and set the reduction to -10 and adjust from there.
    Then for your final set you are desribing -22 to -12 for these I'd put them on track 3 and use a dynamics filter and keep everything disabled except for the compressor itself. For this I'd start with my ratio at 2 and put my threshold at -20 and set my makeup gain at 9 or so. Then from there if it looks like it's way to loud then try lowering the gain and if it looks like its lows are too quite then add the gain back but if it appears to be to loud then simply raise your ratio or lower the threeshold a bit. But I think the settings I have listed will get your to your desired range.
    For the clips that are hitting -0 a lot if they are distorting then you really can't fix distortion but if they are hitting 0 and aren't distorting then you can just simply lower the volume for these you don't need to add any gain since they are already too loud anyways so if you just lower them by like -6 it should get them right within the range you mentioned.
    As far as background noise such as hissing you'll really want to just use Premiere's denoiser effect. Start off by setting the reduction to like -10 and adjust from there. Then for cars passing etc try out a highpass filter and set it to 120 to start and move up there if needed. It will take the bass out of the peoples voices but it won't sound bad unless you start going over 160-170 range it also depends on if the person has a deep voice to begin with or not too though.

  • Make any database have the ability of logging within 10 seconds

    JDBMonitor is an open source project. It allows the developer to add the function of database execution logging to the application. It's so easy to use that the only thing you should do is appending "listenerconfig=/config.xml:url=" to the JDBC connection string of your application&#65292;without writing any code.
    With JDBMonitor,you can log the database execution in many ways,for example,to console,to file or to remote client through socket.JDBMonitor is extendible&#65292;so you can extend it to log the execution in other ways.The only thing you should do is writing a class implements the interface IDBListener.
    JDBMonitor is licensed under the terms of the GNU Lesser General Public Licence (LGPL). A copy of the licence is included in the distribution.
    Introduction
    Almost every large database application includes its own SQL execution logging function,which not only can help the developers to debug,but also can provide information for the DBA(DataBase Administrator).
    At the same time,a lot off code like”logger.logSQL(sql)” filling in the code.It’s drawbacks as follow:
    (1) It’s difficult to separate this codes from the business code.
    (2) It reduces the readability of the code.
    (3) It slows down the application.When the logger write the SQL to file or output to console,the programme will wait util the process to finish,I/O operation is time-consuming.
    (4) It’s not easy to record the execution time span,statement parameters or other information.
    (5) It’s hard to add log function to an application that cann’t be modify(for example,an application that without sourcecode),or hard to add log code(for example,an application that uses ORMapping ).
    JDBMonitor is different:
    (1) At most,only one line code modifying will be enough.The single code is: Class.forName("com.cownew.JDBMonitor.jdbc.DBDriver") and a single change in JDBC connection String,that is modify it from “jdbc:db2://10.74.198.247:50000/app”to” listenerconfig=config.xml:url= jdbc:db2://10.74.198.247:50000/app”. In some case this single code also have no need .for instance,if you use the DataSource of WebLogic ,Tomcat or other Server.
    (2) It uses another thread to log the SQL,so it almost doesn’t effect on the running speed.
    (3) It’s highly extendible&#65292;so you can extend it to log the execution in other ways.For example,you can write a class to send the SQL statement through Email.
    Getting JDBMonitor
    The latest stable version of JDBMonitor is available from the JDBMonitor web page:
    http://www.cownew.com/JDBMonitor
    Using JDBMonitor
    1 Drop jdbmonitor.jar to the classpath of your application
    2 Make the application load the JDBMonitor JDBC Driver.
    This step depends on the way you load the JDBC Driver
    (1) if you write code to load the JDBC Driver,for example:
    Class.forName(“com.microsoft.jdbc.sqlserver.SQLServerDriver”);
    Connection cn = DriverManager.getConnection(……);
    In this case,you must modify the “Class.forName” to load JDBMonitor JDBC Driver(“com.cownew.JDBMonitor.jdbc.DBDriver”) instead of the original database JDBC driver.
    For example:
    Class.forName(“com.cownew.JDBMonitor.jdbc.DBDriver”);
    Connection cn = DriverManager.getConnection(……);
    (2) if you specify the JDBC Driver class in config file,for example,datasource configfile or other file.
    Please modify the original database JDBC driver name to “com.cownew.JDBMonitor.jdbc.DBDriver”
    3 Make the JDBMonitor load the original database JDBC driver.
    The principle of JDBMonitor is to intercept and capture the SQL statement sending to database JDBC driver,it logs the SQL statement,then redirects the SQL statement to the original JDBC Driver,so JDBMonitor must register the original JDBC Driver to DriverManager first.
    The original JDBC Driver is defined at the “JdbcDrivers” segment of the config file.
    <JdbcDrivers>
    <JdbcDriver class=" com.mysql.jdbc.Driver"/>
    </JdbcDrivers>
    4 Appending the JDBMonitor information to the original JDBC connection string.
    The only change you should do it to append” listenerconfig=<configfilepath>:url=” before the original JDBC connection string.
    “<configfilepath>”is path of the confile file, file path below all support:
    /com/jdbmonitor/config.xml
    com/jdbmonitor/config.xml
    c:/ jdbmonitor /config.xml
    JDBMoinitor uses getClass().getResourceAsStream to load “/com/jdbmonitor/config.xml” and “com/jdbmonitor/config.xml” , and FileInputStream to load “c:/ jdbmonitor /config.xml”.
    5 Specify the DBListener to use:
    You can log the SQL execution in different ways,eg, to console,to file ,to remote client or others.
    We have developed such DBListeners in common use: FileDBListener, ConsoleDBListener, SocketDBListener&#12289;SocketDBListener.You can also develop DBListeners on your demond.
    The DBListener is defined at the “Listeners” segment of the config file:
    <Listeners>
    <!--ConsoleDBListener no arguments-->
    <Listener class="com.cownew.JDBMonitor.listenerImpl.ConsoleDBListener" arg=""/>
    <!--the arguments of FileDBListener is the file to log the SQL statement -->
    <Listener class="com.cownew.JDBMonitor.listenerImpl.FileDBListener" arg="c:/aaa.txt"/>
    <!--the arguments of SocketDBListener is the bound socket port of the listener server -->
    <Listener class="com.cownew.JDBMonitor.listenerImpl.SocketDBListener" arg="9527"/>
    </Listeners>
    That’s all!Start your application.Yeah,SQL statements are logged,we can see them in console,in file,even in remote client monitor.
    Examples
    mvnforum Example:
    You can get mvnforum from http://www.mvnForum.com. The version I use to demo is 1.0.
    (1) Open webapp\WEB-INF\classes\ mvncore.xml,re-config it:
    Before re-config:
    <driver_class_name>com.mysql.jdbc.Driver</driver_class_name>
    <database_url>listenerconfig=c:/log/jdbmonitor/config.xml:url= jdbc:mysql://localhost/mvnforum?useUnicode=true&amp;characterEncoding=utf-8</database_url>
    After re-config:
    <driver_class_name>com.cownew.JDBMonitor.jdbc.DBDriver</driver_class_name>
    <database_url>jdbc:mysql://localhost/mvnforum?useUnicode=true&amp;characterEncoding=utf-8</database_url>
    (2) create c:/log/jdbmonitor/config.xml.I only wanna log the SQL statement to text file,so I config it as below:
    <config>
    <Listeners>
    <!--the arguments of FileDBListener is the file to log the SQL statement -->
    <Listener class="com.cownew.JDBMonitor.listenerImpl.FileDBListener" arg="c:/log.txt"/>
    </Listeners>
    <JdbcDrivers>
    <JdbcDriver class="com.mysql.jdbc.Driver"/>
    </JdbcDrivers>
    </config>
    (3) Drop jdbmonitor.jar to webapp\WEB-INF\lib
    (4) Done!
    Jive example:
    You can get Jive from http://www.jivesoftware.com. The version I use to demo is Jive 2.0 beta.
    (1) Open http://localhost:8080/jive/admin/
    Fill “jdbc” with:com.cownew.JDBMonitor.jdbc.DBDriver
    Fill “server” with : c:/log/jdbmonitor/config.xml:url=jdbc:mysql://locahost/jive
    (3) Drop jdbmonitor.jar to WEB-INF\lib
    (4) create c:/log/jdbmonitor/config.xml as mvnforum Example.
    (4) Done!
    Code exmple:
    Though it’s not recommended,some application write the JDBC driver class name and JDBC connection string in code.
    For example:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = null;
    PreparedStatement ps = null;
    try
    conn = DriverManager
    .getConnection("jdbc:odbc:MQIS");
    for (int i = 0; i < 1000; i++)
    ps = conn.prepareStatement("update T_Material set fid=fid");
    ps.execute();
    ps.close();
    } finally
    (1) Let’s recode a little:
    Class.forName("com.cownew.JDBMonitor.jdbc.DBDriver");
    Connection conn = null;
    PreparedStatement ps = null;
    try
    conn = DriverManager.getConnection("listenerconfig= c:/log/jdbmonitor/config.xml:url=jdbc:odbc:MQIS");
    for (int i = 0; i < 1000; i++)
    ps = conn.prepareStatement("update T_Material set fid=fid");
    ps.execute();
    ps.close();
    } finally
    (2) create c:/log/jdbmonitor/config.xml.I wanna log the SQL statement to text file and log to them to console so that it can help me to debug,so I config it as below:
    <config>
    <Listeners>
    <!--the arguments of FileDBListener is the file to log the SQL statement -->
    <Listener class="com.cownew.JDBMonitor.listenerImpl.FileDBListener" arg="c:/log.txt"/>
    <!--ConsoleDBListener no arguments-->
    <Listener class="com.cownew.JDBMonitor.listenerImpl.ConsoleDBListener" arg=""/>
    </Listeners>
    <JdbcDrivers>
    <JdbcDriver class="com.mysql.jdbc.Driver"/>
    </JdbcDrivers>
    </config>
    (3) Drop j dbmonitor.jar to classpath
    (4) Done!
    Listener
    We have developed such DBListeners in common use: ConsoleDBListener, FileDBListener,SocketDBListener,DataBaseDBListener.
    1&#12289;ConsoleDBListener
    ConsoleDBListener will write SQL Statement to Console.
    This Listener is easy to config:
    <Listener class="com.cownew.JDBMonitor.listenerImpl.ConsoleDBListener" arg=""/>
    2&#12289;FileDBListener
    FileDBListener will write SQL Statement to textfile:
    Config as below:
    <Listener class="com.cownew.JDBMonitor.listenerImpl.FileDBListener" arg="c:/aaa.txt"/>
    arg="c:/aaa.txt" means the SQL statement will be writen into c:/aaa.txt.
    3&#12289;SocketDBListener
    SocketDBListener works as a socket server,client can receive the SQL statement after connected to the socket server.
    Config as below:
    <Listener class="com.cownew.JDBMonitor.listenerImpl.SocketDBListener" arg="9527"/>
    arg="9527" means the SocketDBListener will listen at port 9527.
    Now,we have developed two kinds of socket client:SocketConsoleClient and SocketSwingClient.
    SocketConsoleClient works in console:
    SocketSwingClient works in Swing GUI:
    You can execute "java -classpath jdbmonitor.jar com.cownew.JDBMonitor.listenerImpl.sckListenerClient.SocketConsoleClient" to start SocketConsoleClient,and "java -classpath jdbmonitor.jar com.cownew.JDBMonitor.listenerImpl.sckListenerClient.SocketSwingClient" to start SocketSwingClient.
    If you wanna write client listener on your demand,please reference com.cownew.JDBMonitor.listenerImpl.sckListenerClient.ListenerClient and com.cownew.JDBMonitor.listenerImpl.sckListenerClient.IDBSocketClientListener.
    4&#12289;DataBaseDBListener
    DataBaseDBListener will record SQL statement to Database.
    Config as below:
    <Listener class="com.cownew.JDBMonitor.listenerImpl.DataBaseDBListener"
    arg="dburl=jdbc:odbc:MQIS;user=;password=;logtable=T_Log_SQLLog"/>
    "dburl=jdbc:odbc:MQIS;user=;password=;" declares the JDBC connection string of the target database;"logtable=T_Log_SQLLog" declares which table to record the SQL statement,default tablename is T_Log_SQLLog.
    If the JDBC driver class is different from the database to be monitored,please add the JDBC driver class in the "JdbcDrivers" tags of the config file.
    for example:
    <config>
    <Active>true</Active>
    <Listeners>
    <Listener class="com.cownew.JDBMonitor.listenerImpl.ConsoleDBListener" arg=""/>
    <Listener class="com.cownew.JDBMonitor.listenerImpl.DataBaseDBListener"
    arg="dburl=jdbc:odbc:MQIS;user=;password=;logtable=T_Log_SQLLog"/>
    </Listeners>
    <JdbcDrivers>
    <JdbcDriver class="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
    <JdbcDriver class="sun.jdbc.odbc.JdbcOdbcDriver"/>
    </JdbcDrivers>
    </config>
    The schema of "T_Log_SQLLog" is:
    The "create table" SQL statement can be found at:com/cownew/JDBMonitor/listenerImpl/dataBaseListener,(db2.sql,mssqlserver.sql,oracle.sql)
    DataBaseDBListener is database independent, You can record the SQL statement to any relation database.

    No one here would know why Apple has not chosen to implement such a feature nor how difficult it may be to do so. Submit your feedback directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback
    If they're people you call, why wouldn't you want them as contacts? You can link related people (e.g. spouses, children, etc.).

  • Where has the Application Bar gone in CS6 and can I get it to show?

    I use this a lot in CS5 and notice it isn't showing in CS6, is there any way to make it show?

    The Application Bar was intentionally removed. A majority of users told us they'd rather have the extra vertical space for their images than the Application Bar.
    All of the commands are available elsewhere or can be access more easily with keyboard shortcuts:
    Mini-bridge is accessible from the bottom panel (now a part of the default UI).
    Cmd + Opt + o (Mac) Ctrl + Alt + o (Windows) to launch Bridge.
    Show Guides: Cmd + ; (Mac) Ctrl + ; (Win)
    Show Grids: Cmd + ' (Mac) Ctrl + ' (Win)
    Show Rulers: Cmd + r (Mac) Ctrl + r (Win)
    Zoom level can be controlled via keyboard shortcuts or UI found at the bottom of the document window.
    You can access the arrange options under the Window>Arrange> menu
    Screen mode has been added back to the bottom of the tool bar.
    CS Live has been discontinued.

Maybe you are looking for