windows-7

DatagramSocket.send() fails with “BindException: Cannot assign requested address” for 0.0.0.0 [closed]

不问归期 提交于 2019-12-10 22:57:53
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . I am performing a Maven build on my client's Java codebase, and one of the test suites is failing. The error reported in the logs is the same as what I find when I step through the code with the NetBeans debugger. The native function java.net.PlainDatagramSocketImpl.send() is throwing a BindException - "Cannot

Setting java_opts to tomcat service from command line

六眼飞鱼酱① 提交于 2019-12-10 22:41:57
问题 I have a tomcat7 service running on windows, Usually in order to configure the Java options I go to Tomcat 7.0\bin\tomcat7w.exe and there in java tab, in java options I print the definition I want, for example -javaagent:... I want to do this through command line or using some script to have it automated, is there any way to achieve this and still run the tomcat as a service? (right now I run tomcat through cmd: "sc tomcat7 start"). Thanks 回答1: See http://tomcat.apache.org/tomcat-7.0-doc

TortoiseSvn suddenly raises “OPTIONS SSL handshake failed: SSL error: sslv3 alert illegal parameter” on Windows 7

为君一笑 提交于 2019-12-10 22:26:24
问题 A client of mine has trouble with TortoiseSVN. It was working fine till now. She did her last commit on Thursday Feb. 23. 2013 But now she gets the following error: OPTIONS SSL handshake failed: SSL error: sslv3 alert illegal parameter She cannot access the Repository anymore. No update, no checkout, no log, etc. It is difficult to locate the problem. It shows up with tsvn 1.7.4 and 1.7.11 She cannot use tsvn with the ProjectRepository She cannot use svn commandline client (http://www.sliksvn

Proper way to debug SVN+SSH checkout over VPN failure? How to compare with a working setup?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 21:37:40
问题 In brief Given a setup where SVN+SSH checkout over VPN is not working, and another where it is working, what is the correct procedure to find out what is the difference between two systems? Details I am using a 64-bit system running Windows 7. I have Open VPN and Tortoise SVN 64-bit installed. The repository is in a remote system, and we connect using VPN. Continuing from my earlier question SVN+SSH checkout over VPN using tortoise SVN, Smartsvn failing One new teammate (working on exactly a

Same BAT file behaving differently when called from Desktop or from within a Program

最后都变了- 提交于 2019-12-10 20:28:21
问题 I'm using Windows 7. I want to trigger a BAT file to run once some sound happens. The BAT file should trigger a Skype call. For that, I'm using the following BAT command: c:\"Program Files"\Skype\Phone\skype /callto:someUsername Skype should be already running before the trigger. If I double-click this BAT file on my desktop, it will run smoothly, pop up Skype, and start the call. Now I'm using ISpy software to trigger the BAT file over a specified sound threshold. ISpy is working fine. It

bind () to an IPv6 address in windows 7 is Failing with Error code :: WSAEADDRNOTAVAIL (10049)

半腔热情 提交于 2019-12-10 20:21:21
问题 I am trying to set-up a private ipv6 network with two windows-7 machines for tesing my application. I have written a sample code to test the socket apis. I have created an IPv6 socket. When I try to bind with the link-local address (which I get from ipconfig command), the error code is 10049. Please inform, why the bind with Ipv6 address is failing in windows-7 machine ? 回答1: If you're using a link-local IPv6 address, you probably need to set the sin6_scope_id field in your sockaddr_in6

How to implement AutoPlay for Windows 7/8

笑着哭i 提交于 2019-12-10 20:13:14
问题 Quick info: I am using Visual Studio 2008, Windows 8 (64-bit). I am trying to creating an AutoPlay Handler that presents itself when a WPD device is plugged into the computer. If my AutoPlay option is selected, all I want it to do is to simply launch my application. Since there aren't any recent examples of implementing AutoPlay for Windows, I was hoping someone could help me out a little and answer a couple of questions: 1). I have created an ATL project with a COM object that implements the

How to ask for Administrator privileges in Windows 7?

与世无争的帅哥 提交于 2019-12-10 20:03:00
问题 I wrote an application using Qt under Windows 7. The application starts up with normal user privileges, but I want to gain the Administrator privileges because I want to modify the registry to auto-start the application. How could I do this? 回答1: Take a look at the MSDN sample: UAC self-elevation (CSUACSelfElevation) Also, Wikipedia actually has a pretty good reference including information on the ShellExecuteEx() " runas " verb and application manifest for elevation requests. 回答2: You should

CommandLine IP block / unblock in Windows Firewall with Advanced Security

孤街浪徒 提交于 2019-12-10 19:51:06
问题 I'd like to programmatically be able to block outgoing packets to some IPs. Nevermind the application, I would like to be able to do it. I have Windows 7 x64 Professional so it comes with WindowsFirewall with Advanced Security which has an outbound filter capability. Currently I'm manually adding rules to block an IP, but there has got to be a better way. I read this: Any way to turn the "internet off" in windows using c#? and http://msdn.microsoft.com/en-us/library/bb945065.aspx so I know it

Properties.Resources the icon name does not appear in the intellisense

冷暖自知 提交于 2019-12-10 19:43:32
问题 I am trying to make a thumbnail toolbar for which I need an icon. So I added the icon using the solution explorer in the resources folder. Now, when I do Properties.Resources the icon name does not appear. Code can be found here: Problem showing thumbnail toolbar in .net 3.5 form 回答1: You also need to add the icon to the Resources.resx file. Open it in Visual Studio and drag your icon into the Icons menu of the resx and it will become available. 回答2: As suggested by @fletcher you need to add