Dino Lupo     About     Archive     Feed

Windows 7 party

Hi,
I’m the organizer of this party: http://it.houseparty.com/party/210633

See you soon,
Dino.

Linux - Ubuntu - Debian: moving from one machine or server to another.

Hi,

when you move one Linux virtual machine based on Debian from a phisical server to another, you may see that the network does not work anymore. It is disappeared and when you digit ifconfig you see only lo (localhost).

Apache2 Subversion list projects in root folder does not work with SVNListParentPath on parameter.

How to list projects in apache2 - subversion (if “SVNParentPathList on” does not work).

Function/arrow keys, etc. not working in vmware on linux

Some keys like arrows, or ctrl-alt-del do not work under linux with vmware server 2.0.

Here is the solution:

Add this line to ~/.vmware/config (create file if necessary):

1
2
   
    xkeymap.nokeycodeMap = true

and reboot.

Also note that the CTRL-ALT-INS on linux vmware may not work, so try instead to use the numeric keypad DEL instead of the INS button.

Bye,
Dino.

VMware on linux ext3

It’s been a long time since I updated this blog….

Here is a tip to work with vmware on linux ext3 filesystem.
You have to add this line in your .vmx file:

mainMem.useNamedFile=FALSE 

put that at the end or anywhere you like.

I tried to use Ubuntu 64 and VMware 64 bit to run a windows 2003 server (32 bit) and I did of course the 32-bit library installation in order to work with 32 bit operating systems.

Bye,
Dino.

Visio Stencil and Template for UML 2.0

Much time has passed, work and family are getting me out of energy! And also Oblivion…

Anyway, here is a post on a very useful UML 2.0 template and stencil for Visio.
Here is the link:

http://www.softwarestencils.com/uml/index.html

See ya!

web service client code generation with JAXB

If you used Xfire or JBossWS to create client code to call a web service and used JAXB bindings, it was probably very annoying to see all the generated classes having properties as generics (ie. **JAXBElement**<**String**> property instead of just **String**). This happens because the generator doesn’t handle the minoccurs=”0” attribute properly (especially along with the nillable=”true” attribute) when it is found in the WSDL for the definition of types.

Database Modeling in Eclipse

I tried many database modeling tools. One to give a try is Azzurri Clay:

http://www.azzurri.jp/en/software/clay/index.jsp

It’s simple, elegant and simply it works!
Give it a try,
bye, Dino.

enable LOG4J on Eclipse environment

If you try to run a program inside eclipse, have you ever seen this:

log4j:WARN No appenders could be found for logger (com.test.TestClass).
log4j:WARN Please initialize the log4j system properly.

Exporting private key from JDK keystore (JKS)

  Compile and run the following to export the private key from JDK or JRE keystore. After exported, if you want to use that  in Apache SSL module, you must convert it with  the following command:

openssl pkcs8 -inform PEM -nocrypt -in exported-pkcs8.key -out exported.key

here is the java code: