error in .login file

I have one server (consider A) .While logining into server A using username as u1 .I am not getting any command not found error but while I am loging into that server A using username as u2 , I am getting this below error while login

/dun/d2ddm0/bea/weblogic91/server/lib/jconn2.jar:/dun/d2ddm0/jakarta-ant-1.5/lib/ant.jar: Command not found.
sbin:/opt/VRTSvmsa/bin:/remotebu/datatools/sbacktrack4.3.00/install:/sybase/ASE                                             -12_5/bin:/sybase/ASE-12_5/install:/sybase/AS: Command not found.
E-12_5/lib/:/sybase/OCS-12_5/bin:/dun/d2ddm0/jakarta-ant-1.5/bin: Command not found.

I checked the .profile file and .login file in that server A using that uaername u2 and I found that the respective jar file which is mentioned in .login file ( jar path set in CLASSPATH variable) is present in correct location but why it is showing error.

Pls help.

There is probably a syntax error in the .login file but if you don't post it we can't help you :o

Probably you have invalid line terminator or unnecessary "\n".
Please note that for long paths the result may display within more than one line but those MUST be a single line.
Please check this.

This is my .login file .Kindly tell me what can I do

#MAIL=/usr/mail/${LOGNAME:?}
#/dun/lake0/devel/weblogic/weblogic/testenv.sh
#setenv CVSROOT :pserver:kallvi01@d2ddm:/dun/d2ddm0/GemSrcRep
#s#etenv CVSROOT :pserver:rathja01@p1ccm:/dun/p1ccm0/cvsroot/DistDir
#setenv BASE_GEMINI_CONTROLM_DIR /dun/d2ddm0/VinishBatchWL91
setenv DCDB_PATH /dun/d2ddm0/interface/dcdb
setenv HALFHR_PATH /dun/d2ddm0/interface/dcdb
setenv JAVA_HOME /dun/d2ddm0/jdk1.5.0_07
#setenv JAVA_HOME /dun/d2ddm0/j2sdk1_3_1_07
setenv JAVA_OPTIONS "-ms512m -mx512m"
setenv WL_HOME /dun/d2ddm0/bea/weblogic91
setenv ANT_HOME /dun/d2ddm0/jakarta-ant-1.5
setenv APP_PATH /dun/d2ddm0/bea/weblogic91/OnsiteDom/config
#setenv GEMINI_HOME /dun/d2ddm0/VinishBatchWL91
setenv APPLICATIONS /dun/d2ddm0/bea/weblogic91/OnsiteDom/config/applications
setenv DONE /dun/d2ddm0/interface/done/
setenv TEST /dun/d2ddm0/bea/weblogic91/OnsiteDom/config
setenv CLASSPATH .:/dun/d2ddm0/VinishBatchWL91/Batch.jar:ddmxml.jar:/dun/d2ddm0/bea/weblogic91/server/lib/jxl.jar:/dun/d2ddm0
/bea/weblogic91/OnsiteDom/config/applications/ejb_Gemini.jar:$WL_HOME/server/lib/weblogic.jar:$WL_HOME/server/lib/parser.jar:
$WL_HOME/server/lib/jconn2.jar:$ANT_HOME/lib/ant.jar
setenv LD_LIBRARY_PATH /sybase/OCS/bin:/usr/local/lib:/usr/ccs/lib:/usr/openwin/lib:/sybase/ASE/lib:/sybase/OCS/lib
setenv PATH /dun/d2ddm0/jdk1.5.0_07/bin:/usr/bin:/usr/local/bin:/usr/local/share:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/
sbin:/opt/VRTSvmsa/bin:/remotebu/datatools/sbacktrack-4.3.00/install:/sybase/ASE-12_5/bin:/sybase/ASE-12_5/install:/sybase/AS
E-12_5/lib/:/sybase/OCS-12_5/bin:$ANT_HOME/bin
setenv WLS /dun/d2ddm0/bea/weblogic91/OnsiteDom
#setenv WRK /dun/d2ddm0/VinishV
#setenv BAT /dun/d2ddm0/VinishBatchWL91
setenv c clear
#cd $WRK
stty erase ^H
set history=400
set savehist=400
set histsize=400
/usr/bin/tcsh

Just off the bat it appears that your ANT home is having an issue.
setenv ANT_HOME /dun/d2ddm0/jakarta-ant-1.5

maybe make sure of this location

As mentioned:

setenv CLASSPATH .:/dun/d2ddm0/VinishBatchWL91/Batch.jar:ddmxml.jar:/dun/d2ddm0/bea/weblogic91/server/lib/jxl.jar:/dun/d2ddm0
/bea/weblogic91/OnsiteDom/config/applications/ejb_Gemini.jar:$WL_HOME/server/lib/weblogic.jar:$WL_HOME/server/lib/parser.jar:
$WL_HOME/server/lib/jconn2.jar:$ANT_HOME/lib/ant.jar

should be:

setenv CLASSPATH .:/dun/d2ddm0/VinishBatchWL91/Batch.jar:ddmxml.jar:/dun/d2ddm0/bea/weblogic91/server/lib/jxl.jar:/dun/d2ddm0/bea/weblogic91/OnsiteDom/config/applications/ejb_Gemini.jar:$WL_HOME/server/lib/weblogic.jar:$WL_HOME/server/lib/parser.jar:$WL_HOME/server/lib/jconn2.jar:$ANT_HOME/lib/ant.jar

and

setenv PATH /dun/d2ddm0/jdk1.5.0_07/bin:/usr/bin:/usr/local/bin:/usr/local/share:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/
sbin:/opt/VRTSvmsa/bin:/remotebu/datatools/sbacktrack-4.3.00/install:/sybase/ASE-12_5/bin:/sybase/ASE-12_5/install:/sybase/AS
E-12_5/lib/:/sybase/OCS-12_5/bin:$ANT_HOME/bin

should be

setenv PATH /dun/d2ddm0/jdk1.5.0_07/bin:/usr/bin:/usr/local/bin:/usr/local/share:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/sbin:/opt/VRTSvmsa/bin:/remotebu/datatools/sbacktrack-4.3.00/install:/sybase/ASE-12_5/bin:/sybase/ASE-12_5/install:/sybase/ASE-12_5/lib/:/sybase/OCS-12_5/bin:$ANT_HOME/bin