Monday, September 15, 2008

startup svnserve as service

I really tired off using svn through http protocol in my office here.
Then, today i tried to change to svn protocol instead of http protocol

let say my repos is c:\svn\project1

1. cd svn\project1\conf
2. I find svnserve.conf, i change that file according to below
My svnserve.conf looks like: 
 [general] 
 anon-access = none 
 auth-access = read 
 password-db = passwd 
 realm = My First Repositor


3. then, i find passw file and  change the file
my passwd file looks like:

[users]
fadhlan = fadhlan

4. i set the svn as a windows service 
sc create svn binpath= "\"C:\program files\Subversion\bin\svnserve.exe\" --service -r C:\svn" displayname= "Subversion Server" depend= Tcpip start= auto net start svn

5. then i make sure the service is running,telnet the svn port 3690. 


6. try to checkout using eclipse. For me, the url is svn://<-svn-ipaddress->/project1

7. done.. or maybe u can bringdown ur apache server





Sunday, September 14, 2008

Installation on SVN office completed

Thanks ttwangsa, 

was helping me for svn installation at my office today.. I took a few minutes to configure it. 
Thanks ttwangsa again.

Thursday, September 11, 2008

Wednesday, September 10, 2008

Dont panic when u read log files

"U dont panic when i read log files". This was what i said to my new friend cum junior here.

Here are step to do some troubleshooting with java logs file

1. Read the updated line of log file...  or may be u shld use tail -f
2. Understand the error log and try remember the past troubleshooting solution. The error log give same message for the same problem consistently. Then, u shld use same solution for same problem.
3. If u have superiors / seniors, better u ask them before u ask google. some how google could not understand ur queries but google is intelligent enough for u if u are also intelligent to ask a  good query to google. 
4. If u senior answer questions then, ask them the detail explaination.
5. If u senior could not answer ur questions , then u ask them for his resignation. hahahahahaha

fikir-fikirkan.. selamat beramal

Tuesday, September 9, 2008

today is new day, yesterday is last day

Today
1. my 1st day at icimb msc tpm, I came here so early.. 7.45 am...
2. i got new friends but they came in office late.
3. 1st day i drove a satria tua to office.


Yesterday
1. The Last day, i had been at pos
2. The Last day, i touched the OAL Server and codes.

Friday, August 29, 2008

sumarry of jdk 5.0 enhancements

  • Generics - Provides compile-time type safety for collections and eliminates the drudgery of casting.

  • Enhanced for loop - Eliminates the drudgery and error-proneness of iterators.

  • Autoboxing/unboxing - Eliminates the drudgery of manual conversion between primitive types (such as int) and wrapper types (such as Integer).

  • Typesafe enums - Provides all the well-known benefits of the Typesafe Enum pattern (Effective Java, Item 21) without the verbosity and the error-proneness.

  • Static import - Lets you avoid qualifying static members with class names, without the shortcomings of the Constant Interface antipattern (Effective Java, Item 17).

  • Metadata - Lets you avoid writing boilerplate code, by enabling tools to generate it from annotations in the source code. This leads to a "declarative" programming style where the programmer says what should be done and tools emit the code to do it.

Wednesday, August 27, 2008

Good Interview Question

What is Thread-Safe?
Is Jsp Thread-safe?
Is Struts Action Thread-safe?
Comparison between struts2.x vs struts1.x
Comparison between spring vs struts1.x
Struts1.x validator?
Struts2.x validator?
EJB On Tomcat?
How Many Jdbc Driver Type?
What Jdbc Driver Type 4?
Why Implement Serializable?
Quartz?
Ant?
Comparison Between Jdk 1.4 vs jdk 1.5