Friday 6 November 2009

Sync folder windows to linux : one way or both ways

try this http://opensourceheaven.net/?page_id=191

A good software called pathsync will help you to do this.

There are some interesting options that you can choose for example if you want to sync only one way, or you can also to ignore file size so that the file will not be sync even if the file increasing.

After installing on windows, then you need to use samba in linux to make the folder accessible by the windows.

NT_STATUS_BAD_NETWORK_NAME

if you get this problem, first check this link:
http://www.linuxquestions.org/questions/linux-networking-3/samba-ntstatusbadnetworkname-340291/

second, check if your directory (path) that you wanna share (written in smb.conf) exist and correct.

third, add user samba, by smbpasswd -a usernameinOS , then type a password which will be used to access over samba.

if you have a prolem with wirte access, make sure you put "read only = no" under the share path config in smb.conf.

if you still have a problem, try the file system permission, chmod 777 the path.

Windows vs Linux

in windows if you put $ as last character of the share name (ex. share$) it will not be seen by RPC but can be accessed.

in linux, just put the "browseable = no" in the smb.conf under the share path name.

Thursday 5 November 2009

Numeric / number keypad does not work

In linux, you can try shift+numlock in order to control your mouse over the numbers in numeric keypad.

In windows, you can try press left shift 5 times, and go to mouse tab.
Set it so that when you press numlock, mouse can be controlled over numbers on numeric pad also.
And toggle it will make it back to normal.

Wednesday 4 November 2009

Java EAR OpenFailureException: IWAE0037E

WASX7017E: Exception received while running file "C:\..\bin\install_app.jacl"; exception information: com.ibm.bsf.BSFException: error
while eval'ing Jacl expression: com.ibm.ws.scripting.ScriptingException: AppDepl
oymentException: []
com.ibm.etools.archive.exception.OpenFailureException: IWAE0037E Could not open
C:\Documents and Settings\XXXXX\Local Settings\Temp\2\app57032.ear

If you get that message, make sure:
1. the .ear file security permission is able to read and execute
2. the .ear file is not corrupted, check to try open it with winzip or 7-zip or other, if it shows some file like manifest.xml, etc..
3. If it is corrupted, then probably you did not use bin(ary) mode when you upload it.


Good luck :)

Jika Anda mendapatkan pesan itu, pastikan:
1. izin keamanan file .ear mampu dibaca dan dilaksanakan
2. file .ear tidak rusak, periksa untuk mencoba membukanya dengan winzip atau 7-zip atau yang lain, jika hal itu menunjukkan beberapa file seperti manifest.xml, dll.
3. jika .ear rusak kemungkinan anda tidak menggunakan binary mode ketika gunakan ftp

Good luck:)