Change UDP Socket.ReceiveBufferSize under Windows

I've previously used a LabVIEW LLB that allows customizing a TCP socket (TCP_NODELAY LLB) to enable and disable delayed acks. This NI LLB contains a pasword protected VI that returns a raw TCP socket ID that is in turn used as an input to a Call Library Function node. A previous post on the NI forums indicates to me that the Windows default buffer size is used (8192 ...
I would like to increase the Socket.ReceiveBufferSize for a LabVIEW UDP Connection ID.
MSDN Windows Socket.ReceiveBufferSize property info
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness
Solved!
Go to Solution.

Sorry for the confusing post. I'm using the LabVIEW UDP VIs. My situation is:
I am running three UDP receivers (Reentrant VI & VI Server) using
three point-to-point Gigabit Ethernet connections. I drop data when
sending rates are > 2.4 Mbit/sec. Data is only sent in one
direction. I have used a TCP version of my application where the CPU
load is ~ 50%, with (of course) no dropped data because of TCP. I have
also used TCP_Nodelay.llb to disable nagling, and see 80 to 90% CPU utilization.
I've simply replaced the TCP Open, Receive and Close functions with UDP
functions. While running, my CPU load fluctuates from 80 to 100%, and I
drop data.  UDP has no sequencing or acks to manage, so I can't imagine
why the CPU load would be higher AND that I would drop data. I've run
the UDP version at half my goal (1.2 MBit/sec) without dropping data. I
do use a 1 ms timeout on the UDP and TCP reads.
I would like to use the same technique to retrieve a UDP raw socket ID, then use that ID to configure SO_RCVBUF instead of TCP_NODELAY to try and eliminate the data loss. I would like to increase the buffer size, or even possibly set it to zero after reading this CodeGuru forum entry.
Message Edited by Phillip Brooks on 02-28-2007 10:13 AM
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness
Attachments:
TCP_NODELAY.llb.gif ‏30 KB

Similar Messages

  • How to increase the limit of open socket sonnections under Windows 2000

    Hello,
    I'm testing a java proxy. On a linux machine the proxy handles about 160 requests per second.
    On a windows machine it only handles about 12 requests per second. On the other hand apache on the same machine can handle 10 times as many requests.
    I think that the amount of open Socket TCP/IP connections available to the java proxy is limited, when I run the program on the windows machine.
    I was wondering where and how I can increase the maximum number of open file descriptors (in my case Socket's) ??
    In linux you have to change the hard limit of the user. How can I increase the number of possible TCP connections available to a java program?
    Fritz

    In your proxy have you implemented the connection keep allive feature.
    I think that your problem is with the owerhead of establishing the connection again and again.
    Normaly a proxy should use the same socket connection to handle all the requests comming from one client.
    And also it should maintane a pool of socket connections to the recently visited web sites and reuse them.
    Becouse every client normaly sends multiple requests to the server rapidly to request pages from same site becouse once a page is downloaded it should download all the related files such as images.
    If you do not keep the connection allive you will slow down the server

  • I installed an ancient version, photoshop element 2, on PC under Windows 7 after change of computer station and it is impossible to register modification made; error message: impossible because saturated disc ....what is not the case: many space on the di

    I installed an ancient version, photoshop element 2, on PC under Windows 7 after change of computer station and it is impossible to register modification made; error message: impossible because saturated disc ....what is not the case: many space on the disc. How to repair this error please?

    Hello
    Thank you for your answer which is interesting because it is a disk of 2 TB... If I create a partition do you think it can solve my problem? I prefer this old version of Photoshop, very practical to use...

  • Listening to 2 UDP sockets at the same time

    I would like to know if it is possible to listen to two different UDP sockets at the same time without loss of any packets? If so, will the data be buffered ? How do we limit the buffer size on a Windows XP host?

    gprassad,
    You can use two parallel UDP Read functions working in a loop. Set a timeout to low value and clear the timeout error if it occures. Data transferred by UDP protocol is buffered by operating system and the user has no direct way to change it in LabVIEW.
    Arkadiusz Roszczewski
    National Instruments

  • X230T graphics performanc​e under Windows 8

    My Thinkpad originally came with Windows 7 Pro, but I have changed to Windows 8 in order to resolve problems with VSS.  OOB, both Windows 7 and Windows 8 gave me a "Desktop graphics performance" rating of 5.7.  Under Windows 7, upgrading to the latest Lenovo driver improved this to 6.1, leaving my HDD (at 5.9) as the limiting factor in performance.  Under Windows 8, however, replacing the Windows driver with the latest Lenovo driver has reduced "Desktop graphics performance" to 5.6!  What gives?
    P.S. I just discovered a Power Options advanced power setting "Intel Graphics Power Plan", which was set to "Maximum Battery Life" for both battery and plugged in.  I changed it to "Maximum Performance" when plugged in, but the Windows experience Index (WEI) for "Desktop graphics performance" remains a mer 5.8.
    X320T running Windows 8 Pro x64

    rsbrux wrote:
    My Thinkpad originally came with Windows 7 Pro, but I have changed to Windows 8 in order to resolve problems with VSS.  OOB, both Windows 7 and Windows 8 gave me a "Desktop graphics performance" rating of 5.7.  Under Windows 7, upgrading to the latest Lenovo driver improved this to 6.1, leaving my HDD (at 5.9) as the limiting factor in performance.  Under Windows 8, however, replacing the Windows driver with the latest Lenovo driver has reduced "Desktop graphics performance" to 5.6!  What gives?
    P.S. I just discovered a Power Options advanced power setting "Intel Graphics Power Plan", which was set to "Maximum Battery Life" for both battery and plugged in.  I changed it to "Maximum Performance" when plugged in, but the Windows experience Index (WEI) for "Desktop graphics performance" remains a mer 5.8.
    After you changed the setting to "Maximum Performance" , did you run the WEI test again?

  • Premiere Elements 8 under Windows 7: HOW TO DO?

    My system is a MICROSTAR (MEDION) Quadcore 6600(think it's made by MSI) with 4GB memory, 2 x 1TB HD Wetern Digital GREEN (replacing the very poor quality Seagates 2 x 500Gig originaly installed) and running Windows 7 64 and 32 Ultimate. The 32 version was installed especially for PE8
    Why I didn't stay with PE7?
    Strange enough, PE7 worked perfectly under Windows 7 64bit RC and RTM, but with the Official release of Windows 7 32 or 64 Ultimate, it was finished with the Happy Hour, Crash, crash, crash all the time!
    So I downloaded from Adobe a official PE8 and started very happily with it.
    But it was CRASH & GO all the way !!!
    I have send a few messages to Adobe Contact, which deviated me to this forum so I could spit my poison far from their "Ivory Tower" No answers or help from them. PE8 is paid, so go to ...
    I found out immediately that I was one of the many people to regret this "Buy of the Year", but since PE7 didn't work and Windows 7 is so good that I don't want to go back to XP or Vista, I had to find a way to make this SH.. work. Luckily the Forum proposed me a few solutions for which I am very grateful.
    After a few editing's with DV (about 3hours long), I am having a little bit more experience with this PE8-pre-beta-thing.
    First of all I disabled the GPU-thing in the preferences, then I disabled the "Background rendering".
    The  Medion computer has a "diet" Nvidia Geforce 8600 so there are no 3D drivers to disable, neither has Windows 7 this Windows Defender, so that could also not be the problem.
    Anyhow, these few minor changes seem to have solved a lot of crash problems.
    Also, NEVER open a PE7 project in PE8 !!!!! It's really not 100% compatible: no way to render previews and crashes guarantied!
    Be very careful in applying transitions and video effects, especially if you start cumulating them. Maybe they will work in preview, but you never know if you will be able to render a film or DVD from it.
    For example "camera view" + "Soft edge" ( since I have a Dutch version, I don't know if these are the right names) to make a kind of 3D frame around your image. No problem in PE7, but PE8 doesn't digest it! The only way to render this to a film is to import the project in to PrProCS4 and change the other transitions which are not supported by PrPro with similar ones. Or going from New York to Chicago over Mexico City!!
    If you take care of these precautions you can work very satisfactory with PE8, without crashing more then was the case with PE7 (low memory problems)
    This PE8 should have been written for 64 bit, so it would have suffered much less memory problems, then now.
    Some things I like better with PE8, like the ClipArt's, the Menu's and the new Smartmovie themes, which I create and then edit manually.
    Automatic backup creates now 5 instead of one file.
    What I don't like:
    If you capture in scenes, it's still scene 11 coming after scene 109 etc, instead of counting from 001.
    With PE7, you could see in which map the project you wanted to open was situated, here not.
    Place of the Project changed, without reason, change for the fun of change?
    Making "markers" has become more complicated, without improving. Also changed just for the fun of it?
    Can still not capture HDV by scenes, for that I have to use Sony Vegas.
    Until now I didn't try to edit HDV in PE8, because I don't trust PE8.
    What we really need is for Adobe to bring a major update to fix al these annoying misfits and to make a customer's dialog instead of a one way street policy.
    If I find new ways to make work easier and without crashing I will not hesitate to let you know.
    Until then, hope this can help you a little bit!
    Roald

    NO, YOU CANNOT !!!!
    If your project was started in PE7  and you import that project to PE8, you cannot, I REPEAT, you CANNOT render this files to a preview.
    You wil get the render window, but no counter or anything else will move or happen.
    Nothing, rien , nada, niets, nichts!!!!!!
    At least not here on neither of the 3 installations which I did under 3 different Windows 7 !!!!

  • MacBook Pro cannot connect to external display (projector) under Windows

    Our office has got one of those lovely new 13" MacBook Pros and we cannot figure out why it cannot connect to either of our 2 projectors with Windows 7.
    We have an older MBP with NVidia graphics that connects just fine under both OS X and Windows. And this machine connects fine under Snow Leopard.
    There was a recent Thunderbolt chipset update and we applied that; on the Windows side the Intel driver has been updated but nothing happens. Have also zapped the PRAM to no effect.
    To add another wrinkle: I just connected the MBP to my Cinema Display and the external display shows fine in both OS X and Windows--Windows didn't even require me to go to the control panel.
    This leads me to two thoughts: either it is something with the Thunderbolt to VGA adaptor (hard to believe, though, since it works for OS X) or it is something to do with the native resolution of the projector (equally hard to believe, as changing through various settings in Windows NOTHING happens on the external projector--it doesn't blink, go back or anything.)
    Any ideas?

    I wish I could find the discussion, but I cannot.
    There was a discussion about the Windows 7 driver for the Thunderbolt port.  The conclusion I believe was that it only outputs digital signals, not analog.
    The other conclusions were:
    A USB-VGA adapter adapter bypasses this limitation because the driver is in the adapter itself and works regardless of the OSX/Windows operating system in charge.
    Run Windows under VM, where OSX is in charge and can create analog output through Thunderbolt
    If only I could find that thread ...

  • Using scripting with networking equipment under Windows

    It can be a challenge to use scripting to automate working with Cisco devices. The Cisco IOS does not seem to directly provide a command line interface. You are forced to find a way to automate interaction with a telnet or ssh session.
    The PERL language provides a number of object-oriented methods to help manage an interactive session, most notably Net::SSH::Expect and Net::Appliance::Session. These options can work well in a Unix environment, but not under MS Windows.
    There are PERL for Windows options, the best probably being Strawberry PERL. There is also a Unix under Windows option known as CYGWIN that is freely available. Unfortunately none of these will work well with the way Windows manages low-level terminal I/O. The curious can google "windows pseudo terminal" to see all the technical details.
    One way that does work under Windows is Tcl.  It was initially named Tool Command Language. It is sometimes shown as Tcl/Tk.
    Interestingly enough, Tcl is included within Cisco IOS as tclsh. There is no interaction with the tclsh and this example. It is just a bit of a curious coincidence.
    A Tcl port to Windows can be downloaded from http://www.activestate.com/activetcl/downloads. Select Download ActiveTCL for Windows. A direct link to the download that worked at the time of writing is Download ActiveTcl 8.5.14 for Windows (x86)
    Once base Tcl has been downloaded and installed there is one other component that will need to be installed from the Tcl Extension Archive, the expect package.
    The teacup program that is installed with the base Tcl package makes this easy. The teacup program will work with a proxy.
    You can set these Windows environment variables to specify proxy details:
    set http_proxy=
    set http_proxy_user=
    set http_proxy_pass=
    Then run teacup install expect
    The plink tool from the PuTTY download is also needed. It can be obtained from http://www.putty.org/.
    The sample that follows assumes that the data files, script and plink.exe executable all reside in the same directory.
    A sample Tcl script follows that reads a file of devices and a file of commands. It will run the list of commands against each device in the device file. It has some basic error checking, but should best be considered a ‘beta’ version. You could do more complex interactions in the Tcl script by adding exp_send and expect command statements. In short, if you can type it you could script it!
    Change directory to where your script, plink.exe  and data is stored and run with  tclsh <script_name>
    devices.list
    # Comment lines are allowed if they start with a hash mark
    # <IP_Addr> <userid> <password> <ssh|telnet> <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  ssh         <timeout_in_secs>
    nnn.nnn.nnn.nnn    <userid>    <password>  telnet      30
    commands.list
    # term length 0 needed or else IOS will wait for an enter to be pressed at the  --More-- prompts
    term length 0
    show run
    exit
    Script:
    # Run batch commands against one or more devices
    package require Expect
    exp_log_user 0
    set exp_internal 0
    set exp::nt_debug 0
    set prompt "(#\s*$|>\s*$)"
    set env(TERM) dumb
    set file_channel  [open "devices.list" r]
    set DEVICES      [read $file_channel]
    close $file_channel
    set file_channel  [open "commands.list" r]
    set COMMANDS      [read $file_channel]
    close $file_channel
    set command_entries [split $COMMANDS "\n"]
    set device_entries  [split $DEVICES "\n"]
    proc timedout {{msg {none}}} {
          send_user "Timed out (reason: $msg)\n"
          if {[info exists ::expect_out]} { parray ::expect_out }
          exit 1
    foreach device_entry $device_entries {
          if {[string length $device_entry] == 0 || [regexp {[ \t]*#} $device_entry]} { continue }
          set device  [lindex $device_entry 0]
          set user    [lindex $device_entry 1]
          set pass    [lindex $device_entry 2]
          set mode    [lindex $device_entry 3]
          set wait    [lindex $device_entry 4]
          set serial  [lindex $device_entry 5]
          # puts "Device=$device"
          # puts "User=$user"
          # puts "Mode=$mode"
          # puts "Wait=$wait"
          set timeout $wait
          # Spawning the Session
          # If you are logging on to the remote machine using "ssh", "slogin" or "rlogin", the information
          # gets processed in a slightly different manner. With any of these methods, it is necessary to
          # include an additional -l option to specify a username.
          # Next, the $spawn_id variable is captured, storing information about this spawn session in
          # memory for future reference.
          # If you are logging in via Telnet, the final code block in this section is required to pass the
          # username to Telnet. If the login is completed before the script times out, the exp_send command
          # passes the username.
          switch -exact $mode {
                "telnet" { set pid [spawn plink -telnet -l $user $device] }
                "ssh"   { set pid [spawn plink -ssh -l $user -pw $pass $device] }
                "serial" { set pid [spawn plink -serial $serial -l $user -pw $pass $device] }
          set id $spawn_id
          if {$mode == "telnet"} {
                expect -i $id timeout {
                timedout "in user login"
                } eof {
                timedout "spawn failed with eof on login"
                } -re "(login|Username):.*" {
                exp_send -i $id -- "$user\r"
          # Handling Errors
          # The error-handling section of the script is a while loop that anticipates a number of problems
          # that could occur during login. This section is not exhaustive. For example, you could also add
          # provisions for invalid usernames and passwords.
          # If the login is not completed during the allotted time frame, which is set from the devices.list file
          # and specified with expect -i $id timeout, the program displays an appropriate error message.
          # The remainder of this loop makes use of the exp_send command to allow for other scenarios, such
          # as the user typing "yes" when prompted to proceed with the connection, entering a password, or
          # resetting the terminal mode.
          set logged_in 0
          while {!$logged_in} {
                expect -i $id timeout {
                timedout "in while loop"
                break
                } eof {
                timedout "spawn failed with eof"
                break
                } "Store key in cache? (y/n)" {
                exp_send -i $id -- "y\r"
                } -re "\[Pp\]assword:.*" {
                exp_send -i $id -- "$pass\r"
                } "TERM = (*) " {
                exp_send -i $id -- "$env(TERM)\r"
                } -re $prompt {
                set logged_in 1
          foreach command $command_entries {
                if {[string length $command] == 0 || [regexp {[ \t]*#} $command]} { continue }
                # Sending the Request
                # If the login is successful, the code in the if statement below is used to send the "cmd" request
                # to display files and directories. After the request is sent with exp_send, the resulting output
                # is captured in the dir variable, which is set on the fourth line of the code shown below.
                if {$logged_in} {
                      exp_send -i $id -- "$command\r"
                      expect -i $id timeout {timedout "on prompt"} -re $prompt
                      puts "$expect_out(buffer)"
                # Closing the Spawned Session
                # The exp_close command ends the session spawned earlier. Just to be sure that session
                # does indeed close, the exp_wait command causes the script to continue running until a result is
                # obtained from the system processes. If the system hangs, it is likely because exp_close was not
                # able to close the spawned process, and you may need to kill it manually.
          catch { exp_close -i $id }
          exp_wait -i $id
          set logged_in 0
    *** End of Document ***

    Your friend will have to save the templates as CS6, which he can do.

  • Adobe Photoshop CS3 Extended freezes on startup under Windows 7 Ultimate 64-bit - No splash screen

    I installed my licensed copy of Adobe Photoshop CS3 Extended today as part of my install a bunch of software after a reinstall of Windows (due to viruses).  I did a completely fresh install of Windows 7 Ultimate 64-bit.  I've used Photoshop CS3 Extended for quite a while now so I know what to expect on startup but it was previously installed under Windows XP Professional (32-bit). Figured I would give Windows 7 a chance this time around.
    Google searches aren't turning up anything.  When I attempt to start the application, I get a window with the title "Adobe Photoshop CS3" (no "Extended" - I seem to recall the title changes later) and the toolbar appears.  However, no splash screen appears and no Product Activation wizard appears - the application simply freezes on an empty frame and a toolbar.  I've tried running Photoshop as Administrator (right-click, "Run As Administrator"), but nothing changed there.  I tried uninstalling and reinstalling.  I tried upgrading to CS3 10.0.1.  Nothing works.  The application simply freezes before it gets anywhere.
    I tried calling Adobe Support since this technically falls under installation issues but their phone support systems are down today.  Go figure.
    Edit:  I hooked into Photoshop with the Visual Studio debugger and every single thread is executing some variation of WaitForSingleObject() or WaitForMultipleObjects().  The main thread is "executing" somewhere in AdobeLM_libFNP.dll (at address 09619d81 - if I had debugging symbols for CS3, I could provide a function).  There are nine threads "running" at the point the freeze occurs - but all of them are technically suspended due to the functions they are executing - and one thread is in a suspended state.

    Log Name:      Application
    Source:        Application Hang
    Date:          7/17/2010 6:16:25 PM
    Event ID:      1002
    Task Category: (101)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Description:
    The program Photoshop.exe version 10.0.1.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
    Process ID: d0c
    Start Time: 01cb2616be79e36f
    Termination Time: 2
    Application Path: C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\Photoshop.exe
    Report Id: 06f5fbff-920a-11df-9d69-001fd023417e
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Hang" />
        <EventID Qualifiers="0">1002</EventID>
        <Level>2</Level>
        <Task>101</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-07-18T01:16:25.000000000Z" />
        <EventRecordID>1615</EventRecordID>
        <Channel>Application</Channel>
        <Security />
      </System>
      <EventData>
        <Data>Photoshop.exe</Data>
        <Data>10.0.1.0</Data>
        <Data>d0c</Data>
        <Data>01cb2616be79e36f</Data>
        <Data>2</Data>
        <Data>C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\Photoshop.exe</Data>
        <Data>06f5fbff-920a-11df-9d69-001fd023417e</Data>
        <Binary>430072006F00730073002D0074006800720065006100640000000000</Binary>
      </EventData>
    </Event>
    And, according to the Event Viewer, the "Binary" data translates to a zero-terminated Unicode string of "Cross-thread".
    My Visual Studio analysis was far more informative.  All threads are hung inside of WaitForSingleObject() and WaitForMultipleObjects() calls and the DLL in question appears to be FlexNet-related.  I did forget to mention that I also even manually started the FlexNet service in case, for some strange reason, Photoshop was waiting for it to start.  That also did not work.
    (And there is nothing in the Action Center control panel either despite the message saying there might be more information there.)
    Edit:  The timestamp above might be a little odd-looking.  I didn't originally see anything in Event Viewer until I clicked the first button to send an Error Report.  Mostly I just skipped that part of killing a process.

  • Setup cocoon with 9ias 9.0.2 under windows NT

    Setup Cocoon with 9ias OC4J (9.0.2) under Windows NT
    This was a painful process for me. I finally made it work. Thought my story might help someone else. If anyone sees anything that could cause problems down the line, please let me know.
    NOTE: This took me a week to get right, so the restarts I suggest may not be appropriate, just guesses on my part.
    A. FIRST SECTION (Based off of steps 9 - 11 of Metalink note 148497.1) - This deploys the cocoon.war file
    1. Copy cocoon.war file to oracle 9ias home in the j2ee/home/applications directory. (NOT cocoon_jvm14. I tried to use the cocoon with jvm1.4. The version of 9ias I use wanted 1.3, so that is what I ended up using.)
    NOTE: I followed the 9-11 steps from the above note the first time and manually changed the files below, but when I had to reboot my machine a couple of days later it lost the changes. So I went in thru OEM and did it there and have had no problems. These steps are detailed below.
    2. Log into Oracle Enterprise Manager. Click on 9ias instance. Click OC4J_home.
    3. Go to Advanced Properties. Edit the default-web-site.xml file. Look for the statement <default-web-app application="default" name="defaultWebApp" root="/j2ee"/>. After that statement, add the following: <web-app application="default" name="cocoon" root="/cocoon"/>
    4. Go back to OC4J_home. Click on default link near the top of the page. (It has a Path underneath is that says application.xml) Then click on Advanced Properties. Edit the application.xml file. Look for the statement <web-module id="defaultWebApp" path="../../home/default-web-app"/>. After that statement, add the following: <web-module id="cocoon" path="../../home/applications/cocoon.war"/>.
    5. Go back to 9ias instance and do a "Restart All".
    B. SECOND SECTION ( Based off of Metalink note 184826.1)
    1. Go to the Apache/Apache/conf/mod_oc4j.conf file underneath your 9ias home. Add the following line at the bottom of the file: Oc4jMount /cocoon/* home
    Either "Restart All" from OEM again, or follow step 3 from the note. WARNING: I read somewhere that if you try to do the dos dcm/opmn stuff with the OEM at the same time, that you have corruption problems? So close the OEM if you do the dos commands just in case.
    C. THIRD SECTION (This is what I did with the Cocoon jars to make 9ias/oc4J find them and use them. I am by no means saying this is the correct way. Just a way. If anyone has a different way, I would appreciate hearing it.)
    1. Go to 9ias home and in the j2ee/home directory make a new folder. (I called mine xerces.) Copy the following jar files, found in the j2ee/home/applications/cocoon/web-inf/lib directory (this dir will show up after cocoon.war is deployed with the A. FIRST SECTION restart), into your new folder:
    a. batik-all-1.5b2.jar
    b. xalan-2.3.1.jar
    c. xercesImpl-2.0.0.jar
    d. xml-apis.jar
    2. Log into the Oracle Enterprise Manager. Click on OC4J_home. Click on Server Properties. Scroll down to the bottom and type the following into Java Options: -Djava.ext.dirs=xerces. (If you named your new folder xerces.)
    D. LAST SECTION
    1. I rebooted my machine and said a prayer. From the url "http://myhost:7777/cocoon/" I got the cocoon welcome page!

    I've heard rumors its about a month away. We were waiting for it, but then
    decided to go to Linux, as it probably performs better, and the release for
    Linux is already out. 9.0.2 is certified on Linux:
    - SuSe SLES7
    - Red Hat Advanced Server 2.1
    Waiting for Oracle to release a software product seems almost like waiting
    for a sunny day in Seattle -- you eventaly get it, but its unpredicatable
    as to when it will actually be at best...

  • Problems with saving a html webpage under windows 7

    Hello people,
    Ik have the next problem. When I an webpage witch I have made for instanse webpage.html open and I change something in it en I wanna save this changes in my webpage I get the next message (maybe the translation is not the right one) An error occurred while accessing E:\users\name\websites\MFC936D.tmp.
    This tmp file has every time a different name. The site is not saved (webpage.html) but the html page disapeares when I click the eroor message away. And the tmp file displays in the map where the files are being saved.
    My dreamweaver cs4 runs under windows 7
    I hope someone can help me.
    Thanks a lot.
    Bart

    E: is another partition were I save my data too.
    The file is maybe read only you say. But 2 things sometimes it saves right after I have tried it a few times. And second I have started dreamweaver with administration rights, so you think he has all the rights. But the sme thng happened.

  • Mini SAP 7.01 under Windows Vista

    Hi every one,
    I wanna share my experience with you for installing version 7.01 under Vista. This might help you.
    I have installed the newest version ([Message from Klaus Keller| of Mini SAP under Windows Vista and, believe it or not, it all went correct. It is important that you download version Netweaver 7.01, since previous versions are not supported in Vista.
    In the download section (http://www.sdn.sap.com/downloads/netweaver/abap/disclaimer.html) you find in file part 1 the description of process in a HTML & PDF file. You must pay much attention to what is described there; otherwise, it might happen that the installation process is not sucessful.
    I´m not gonna describe the whole installation process. This is already in the download files. Just a reference of what I did:
    1 ) make a backup of your information and have your Windows Vista disk at hand. It might happen that you have to format the computer´s hard disk if something goes wrong (this happened to me a couple of times in previous versions of Mini SAP and Windows XP). This is so, because it is impossible to erase some files and information in the registry (even with the Registry Clean Tool that is also downloadable in SDN). A new installation try was hopeless in those versions.
    2) shut the firewall and antivirus off before you start.
    3) don´t try to name your computer using special characters like - _ / & % and so on; additionally, name should be max. 13 characters long.
    4) you need a user account for windows, even if you´re the only one to use the computer and you must assign a password to that user. You need it once you start the server through the SAP management console.
    5) Install the Microsoft loopback adapter
    once installed, system names it LAN-connection2 and you must asign a permanent IP address. Press button characteristics for its element Internet protocol version 4, where you enter:
    IP-Address 10.10.0.10
    Subnetwork mask 255.255.255.0
    Don´t touch element Internet protocol version 6 !!
    6) file hosts under c:windowssystem32driversetc --> add an entry for the host like this:
    #Inicio de insercion
    10.10.0.10               jalonso           "<-- this is my computer´s name and host name
    You must have administrator rights and change the status write-protected for being able to modify it.
    7) Process takes less than 1 hour, mostly without user interference.
    8) if desired, install Adobe LifeCycle Designer before starting with SAP GUI. It happened to me once (Windows XP) that the installed SAP GUI was erased during installation of LifeCycle. It all then turned into a big mess and I had better to format the hard disk.
    9) install SAP GUI on your computer, which is part of the downloaded files.
    If installation was sucessful, it might happen that you experience a problem when starting the application server (start --> SAP Netwaever 7.01 --> NSP --> Start application server). You get a red screen with a couple of error messages ([read my post|;). It is not a very serious problem, ´cause you can start the server with the SAP management console anyway.
    Hope this helps you when installing Mini SAP 7.01 in your computer.

    I am having a heck of a time with this install.  My OS is Windows Vista Ultimate.
    I've read and re-read several forums and tried all the recommendations.
    I've tried installing many time now and each time the install runs to 19% and I get a message " stopping Xserver".
    Then it runs to 20% and I get a message "preparing packages for installation".
    Then it runs for about 3 seconds and I receive the following:
    Errors occurred during the installation.
    Errors occurred during the installation.
    An error occurred and product installation failed. Look at the log file C:\sapdb\NSP\log.txt for details.
    An error occurred and product uninstallation failed. Look at the log file C:\sapdb\NSP\log.txt for details.
    Below is the text from the log file:
    (Nov 4, 2008 10:49:37 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product installation failed.  Look at the log file C:\sapdb\NSP\log.txt for details.
    (Nov 4, 2008 10:49:37 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/Users/Ellen/AppData/Local/Temp/MaxDBSAPNWPREV.log")
    STACK_TRACE: 22
    ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/Users/Ellen/AppData/Local/Temp/MaxDBSAPNWPREV.log")
         at com.sap.installshield.maxdb.maxdb_call_sdbinst.install(maxdb_call_sdbinst.java:193)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProduct(Unknown Source)
         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 com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
         at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
         at com.installshield.product.service.product.GenericProductService.installProduct(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installAssembly(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.access$900(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Nov 4, 2008 10:49:38 PM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\sapdb\NSP\log.txt for details.
    (Nov 4, 2008 10:49:38 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, java.lang.StringIndexOutOfBoundsException: String index out of range: -60
    STACK_TRACE: 24
    java.lang.StringIndexOutOfBoundsException: String index out of range: -60
         at java.lang.String.substring(Unknown Source)
         at com.sap.installshield.maxdb.DBEnumProcessHandler.enumerateForUninstall(DBEnumProcessHandler.java:179)
         at com.sap.installshield.maxdb.maxdb_call_sdbinst.uninstall(maxdb_call_sdbinst.java:362)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProduct(Unknown Source)
         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 com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
         at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
         at com.installshield.product.service.product.GenericProductService.installProduct(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installAssembly(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.access$900(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I hope that I'm ovelooking something simple and that someone can point me in the right direction to get this up and running.
    Any help would be greatly appreciated!!!!
    Barbara

  • Image.getScaledInstance() does not always work under Windows Vista

    Hi:
    I've run into some intermittent image scaling problems under Windows Vista (minus Aero effects) that I never experienced with the same program, same image(s), running same Java version under XP. The images I'm using are all JPEGs, and the problem appears to affect approx 1 out of 3 grayscale images (no color ones so far) w/o respect to size (ie: small ones can be problems while larger ones will work). Java -version shows 1.6.0_02-b06. I was wondering if anyone else out there has seen this, or can point out what I may be doing wrong. Sample code to duplicate follows.
    Tx,
    Jallewel
    // ===================================================================
    // Image Scaling Problem, Description & Demo Program (minus the image):
    //   Environment:  SDK/JRE: Java 1.6.0_02-b06, running under
    //        Windows Vista Home Premium (32-Bit) on Dell Inspiron w/3GB RAM
    //   ************* Symptoms ******************
    //   Problem occurs when invoking image.getScaledInstance().
    //   Problem shows up under Windows Vista, configured w/Windows Classic look
    //       & feel - that is, with Aero effects turned OFF.
    //   Problem does NOT show up under Windows XP on Dell Dimension 4500.
    //   Test across computers used same SDK/JRE, Java program, and Image.
    //   Problem ONLY appears in grayscale JPEG images, and only 1 out of 3 of those.
    //   (I can provide a problem image)
    // Results Compiling & Running This Program:
    //   C:\Users\~\VistaProblem>javac VistaProblem.java
    //   C:\Users\~\VistaProblem>java VistaProblem
    //      Uncaught error fetching image:
    //      java.lang.ClassCastException: [I cannot be cast to [B
    //        at java.awt.image.ColorModel.getAlpha(Unknown Source)
    //        at java.awt.image.ColorModel.getRGB(Unknown Source)
    //        at sun.awt.image.ImageRepresentation.convertToRGB(Unknown Source)
    //        at sun.awt.image.ImageRepresentation.setPixels(Unknown Source)
    //        at java.awt.image.AreaAveragingScaleFilter.accumPixels(Unknown Source)
    //        at java.awt.image.AreaAveragingScaleFilter.setPixels(Unknown Source)
    //        at sun.awt.image.ImageDecoder.setPixels(Unknown Source)
    //        at sun.awt.image.JPEGImageDecoder.sendPixels(Unknown Source)
    //        at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
    //        at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
    //        at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
    //        at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
    //        at sun.awt.image.ImageFetcher.run(Unknown Source)
    import java.*;
    import java.awt.*;
    import java.io.*;
    import javax.imageio.*;
    // class VistaProblem
    public class VistaProblem extends Frame {
       private static ScrollPane sp = new ScrollPane(ScrollPane.SCROLLBARS_AS_NEEDED);
       public static ImageComponent ic;
       // Constructor
       public VistaProblem() {
          super("VistaProblem");
          add(sp, BorderLayout.CENTER);
          this.setSize(700, 520);
          setVisible(true);
         String fPathName = "./ProblemImage.jpg";
          ic = new ImageComponent(getToolkit().getImage(fPathName));
          sp.add(ic);
          sp.validate();
          ic.Scale(220, 200);
       // class ImageComponent
       class ImageComponent extends Component {
          private Image image;
          // Constructor
          ImageComponent(Image img) {
             this.image = img;
          // paint
          public void paint(Graphics g) {
             g.setColor(getBackground());
             g.drawImage(image, 10, 10, this);
             g.dispose();
          // Scale
          public void Scale (int width, int height) {
             // ***** PROBLEM LINE HERE; COMMENT OUT AND PROGRAM WORKS *****
             this.image = this.image.getScaledInstance(width, height, Image.SCALE_SMOOTH);
             repaint();
       // Main Entry Point
       public static void main(String args[]) {
          Frame f = new VistaProblem();
    } // end VistaProblem

    That does indeed appear to be a bug. I looks like it's having problems with the alpha value in the color model, so a possible workaround would be to change the color model the image uses before scaling. This may entail creating a new BufferedImage and drawing the old image into it.

  • All-in-one driver installation fails under Windows 7

    I am trying to install the all-in-one printer driver for Windows 7, 64-bit, Service Pack 1.  I have downloaded the installer from HP (AIO_CDB_Net_Full_Win_WW_130_141.exe), downloaded it using HP Print and Scan Doctor 4.3 and using the HP Printer Install Wizard (hppiw.exe).  All methods fail.  My computer is a new Dell Inspiron (Intel i5-4440 @ 3.1GHz, 8GB RAM, 64-bit OS).  The printer I am installing for is a HP 6310, which is old but which has worked well for years under Windows XP.  I don't think the printer is an issue since the installer never reaches the point of scanning for hardware.
    Symptoms:
    Installing using the downloaded installer, the initial splash screen displays.  Selecting "Install" displays a second screen with several progress indicators beginning with "Checking system...".  After checking for a few seconds, an error box pops up complaining that it can't find a file named "hpzpnp.ice_suffix..exe". 
    There are two files in the Setup directory named "hpzpnp01.exe" and "hpzpnp04.exe".  The Autorun file contains many references to an %ICE_SUFFIX% environment variable. 
    I guessed that the installer executables did not have enough privelege to set environment variables, so I went through the installer directories and set all the executables to run with administrator privelege. 
    After that, running "Setup.exe" from the top of the install tree, the initial splash appears, followed by the second "checking system..." progress display.  Then a new window with advice about keeping firewalls turned on, etc. pops up.  Continuing from that point pops up a new error box saying:
    "The specified path is too long C:\Program Files (sLar dig mer med hjalp av en demo pa skarmenHitta enkelt dina foton med onskad metod-Datum, Markning, Mappar, Sok, Favoriter)\HP\."
    I have done this multiple times, and the parenthesized phrase (Swedish?) is sometimes different, but always wrong.  It looks to me as though the installer is trying to decide whether to install 32- or 64-bit drivers, but can't decide which.  It fails to initialize a string variable and concatenates garbage onto the "C:\Program Files" path string.
    I have also seen an error box with the following error near this point:
    "C:\Users\Sid\AppData\Local\7zS4689\Setup\hpzrein01.exe" "-wStub" "3...
    "The parameter is incorrect."
    Clicking OK on the error box aborts the installation.
    Installing using the HP Printer Installation Wizard produces the same error message as the initial attempt with the downloaded installer about missing files with names containing "ice_suffix".
    Installing using the HP Print and Scan Doctor progresses as far as the "path is too long" message.
    I've done this now many times, trying different things, without success.  After each attempt, I run the Uninstall_L4 utility in utils\ccc under the installer tree, then run the OS Disk Cleanup utility.  Following an earlier post, I installed the latest version of Flash Player, with no change in symptoms.
    Any fresh ideas would be much appreciated.

    Hi ehildum,
    Thank you for the time and effort you put into your post. I can see you have done plenty of troubleshooting on your own, but I do have an idea.
    If the USB cable is plugged in this could be causing issue. Assuming it is connected, let's unplug and take a look at the Device manager. The hpzpnp.ice_suffix indicates a plug and play 'pnp'.
    Follow these steps and let me know what happens.
    Click on Start
    Right click on Computer
    Select Manage
    On the left panel, click on Device Manager
    Click on View at the top and select Show hidden devices
    Look in the list for Other devices
    If you see the printer here, right click and select uninstall
    Look in the list and click on the arrow next to Printers
    If you see the printer here, right click and select uninstall
    Delete all files in the %temp% folder
    Restart the computer
    Open the installer from your download  (AIO_CDB_Net_Full_Win_WW_130_141.exe)
    Do Not plug the USB cable in until the software says so.
    Please let me know the outcome of these efforts. If your USB cable was not connected please complete the above steps anyway to see if there is something stuck in the Device manager that could be causing the conflict.
    I look forward to hearing from you.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Memory Leak in TCL UDP socket

    Hi all,
    I am currently looking at a memory leak issue in the TCL UDP socket configuration when the fconfigure command is issued under a procedure.
    Under a normal scenario where the socket is configured globally, the system handles the memory well and we do not see an increase.
    The folowing examples are not the actual code implemented but provide an example of the condition under which the leak is seen.
    set msg [udp_open]
    fconfigure $msg -blocking false -buffering none -translation binary -remote [list 10.70.0.112 1234]
    proc send {} {
        global msg
        puts -nonewline $msg "HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO"
        return
    set done 0
    while {($done <= 1000)} {
        set done [expr {$done + 1}]
        after 250
        send
    If we wish do dynamically modify the parameters of the socket, we get an ever increasing consumption of memory (show memory dead - decrease in processor free). for example:
    set clients [list]
    lappend clients "10.70.0.111 1234"
    lappend clients "10.70.0.112 1234"
    set msg [udp_open]
    fconfigure $msg -blocking false -buffering none -translation binary
    proc send {} {
        global clients
        global msg
        foreach peer $clients {
            fconfigure $msg -remote $peer
            puts -nonewline $msg "HELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLOHELLO"
        return
    set done 0
    while {($done <= 1000)} {
        set done [expr {$done + 1}]
        after 250
        send
    I have tested multiple scenatios using flush, return, closing and opening the socket within the procedure, all to the same result - fconfigure in a procedure creates a memory leak in line with the data rate passing through the socket.
    I am seeing this across multiple device types and IOS (819,5915,5940,2901,2921,3945) 15 series M/T/GC IOS. I guess the question is, is there a problem with the construct of the procedure in which I am missing something on the channel side to release the memory or does this appear to be a bug?
    any help would be appreciated.
    Regards,
    Robert.

    Hi,
    could you please tell me the package version number you are using?
    You can obtain it by calling "package re udp".
    thx

Maybe you are looking for

  • BADI for movement type 601 and COGS GL account

    Hello SAP expert, I am searching a solution from SAP enhancements. The requirement is to provide different COGS GL account based on the Customer Account Assignment Group value(KNVV-KTGRD) when SAP performs goods issue. for example, movement type 601,

  • Help Configuring my New Mac Pro

    I just purchased a new Mac Pro (early 2009 Quad Core" 2.66 (2009/Nehalem), and a second (1 TB) internal hard drive. I would like to transfer my applications, files, and profile from my Macbook Pro (early 2008 Core 2 Duo" 2.5) to the Mac Pro. I also w

  • AUTO-SPACING FOR SWYPE ON N9 WON'T TURN ON

    Auto-spacing on my n9 was working well before, but I decided to turn it off for a while. Until I went back to switch it on, now it's not working at all. I also just updated my n9 software yesterday but all went well. Just thought I say. So any help o

  • How to create additional column in CM21, CM25

    Hi, my task is to add additional column into the orders grid of cm25. I found that the user exit CYPP0005 could be used for that. Can anyone share an example of implementing EXIT_SAPLCYPP02_001? Best regards, Pavel.

  • Comparing and sorting raw (NEF) & JPG in LR

    I am interested in importing raw & jpg and then comparing them. I want to apply different effects on the raw files to see if I can match or better the jpg files as rendered by the camera (I use Nikon). Background: In the past I have used L:R to view