30.1.15


Installing IIS 7.5 on Windows 7 Professional, Enterprise, or Ultimate


IIS Manager Error: The process cannot access the file because it is being used by another process...

Mar 13, 2007 07:16 PM|LINK
This is IIS 7 in Windows Vista Ultimate. The web site is stopped and when I try to start it the error message (in subject) appears.
In EventLog(System) I get the following following errors:
Source: HttpEvent
Msg: Unable to bind to the underlying transport for [::]:80. The IP Listen-Only list may contain a reference to an interface which may not exist on this machine. The data field contains the error number.
Found this is helpful:

Re: IIS Manager Error: The process cannot access the file because it is being used by another pro...

Mar 13, 2007 07:47 PM|LINK
This is an issue with binding conflict. There is another application that is using port 80. If you change the bindings for the default website to 8080 [for test purpose] it will work.
You can run NETSTAT -ano and find out the PID for the process that is using port 80, then you can compare that PID with the process name in task manager [may be skype.exe?]
HTH,
AJ


http://stackoverflow.com/questions/10158594/git-how-to-consolidate-the-local-commits

git: how to “consolidate” the local commits


http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html

29.1.15

postgresql - tracing the cause of "could not open relation with OID" error - Stack Overflow

Java - Windows - Tray



These are very good comments from mkyong:

When Spring sees
  1. Jackson library is existed in the project classpath
  2. The mvc:annotation-driven is enabled
  3. Return method annotated with @ResponseBody
Spring will handle the JSON conversion automatically.
If we see something like this:

HTTP ERROR 406

Problem accessing /kfc/kfc-kampar. Reason:
    Not Acceptable


Powered by Jetty://
We probably forgot the Jackson library. Or the POJO doesn't have a getter-methods.


Spring MVC + AngularJS Integration

http://www.javabeat.net/spring-mvc-angularjs-integration/

Spring MVC + AngularJS Integration
Spring MVC + AngularJS Integration
Spring MVC + AngularJS Integration
java - Buiding Hadoop with Eclipse / Maven - Missing artifact jdk.tools:jdk.tools:jar:1.6 - Stack Overflow

The second way works for me.

mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools -Dpackaging=jar -Dversion=1.7 -Dfile=tools.jar -DgeneratePom=true

27.1.15

Running Jetty - Really like the way it works


Very useful trick.
<plugin>
    <groupId>org.mortbay.jetty</groupId>
    <artifactId>jetty-maven-plugin</artifactId>
    <version>7.4.2.v20110526</version>


    <configuration>
        <scanIntervalSeconds>3</scanIntervalSeconds>
        <webAppConfig>
            <contextPath>/${project.name}</contextPath>
            <extraClasspath>target/classes;../services/target/classes;../util/target/classes</extraClasspath>
        </webAppConfig>
        <scanTargets>
            <scanTarget>target/classes</scanTarget>
            <scanTarget>../services/target/classes</scanTarget>
            <scanTarget>../util/target/classes</scanTarget>
        </scanTargets>
    </configuration>

</plugin>



This might be more commonly useful:

<plugin>
 <groupId>org.mortbay.jetty</groupId>
 <artifactId>jetty-maven-plugin</artifactId>
 <version>8.1.16.v20140903</version>
 <configuration>
  <scanIntervalSeconds>3</scanIntervalSeconds>
  <webAppConfig>
   <contextPath>/</contextPath>
   <extraClasspath>target/classes</extraClasspath>
  </webAppConfig>
  <scanTargets>
   <scanTarget>target/classes</scanTarget>
  </scanTargets>
 </configuration>
</plugin>

23.1.15

Create a shortcut/key control for Volume Control



Answer
S.Sengupta replied on 


Yes,you can create a Master Volume Shortcut and also assign a Shortcut Key.

Right click on a empty area on desktop, and click on New and Shortcut.

Paste the following in to the location of the item area:-


%windir%\System32\SndVol.exe -f 49825268
Click Next button and give a name to the Shortcut and click Finish.

Now You right click on it and select Properties.

Click Shortcut tab.

Assign your desired shortcut key like F8 or F9 in the Shortcut Key area.

Click OK/Apply.

7.1.15

Re: Windows x86-64 One-Click Install (9.1.2-1, 9.0.6-1) hangs on "initialising the database cluster" (with work-around)

Re: Windows x86-64 One-Click Install (9.1.2-1, 9.0.6-1) hangs on "initialising the database cluster" (with work-around)

"Similarly, you may prefer to have the default action for a batch file 
(.bat) changed to Edit instead of Open. Double-clicking the file will 
not run the commands in the file, and if users want to run the file, 
they can use the*Open*command on the shortcut menu."
http://support.microsoft.com/kb/320036

This advice would be likely to hang the PostgreSQL installer.