but while installing for ejb 3.0 container , it is showing
1165316095254; Tue Dec 05 16:24:55 IST 2006; Failed to apply: templates/conf/jboss-service.xml.vm 1165316095254; Tue Dec 05 16:24:55 IST 2006; java.lang.NoClassDefFoundError: org/apache/velocity/runtime/parser/node/ASTText java.lang.NoClassDefFoundError: org/apache/velocity/runtime/parser/node/ASTText
at the end it is showing
zipexception: unsubscribed dynamic bin length while installing jboss
My first suggestion is to try again from that link, I have installed at least 3 4.0.5 from the web-install and haven't had any problems. Maybe when you were downloading the first time there was some kind of communication error.