JBoss 4.2.3 web service code is taking wsdlLocation as wsdlLocation=file:/tmp/TestService8925143660444113856.wsdl
The correct location is $JBOSS_HOME/server/xyz/tmp/jbossws/TestService8925143660444113856.wsdl
All other EAR's get deployed properly under $JBOSS_HOME/server/xyz/tmp/
JBOSS_HOME is set in the environment but for some reason the webservice code seems to ignore it in some cases.
This leads to failure of our web services deployment.
What could be the probable issue here? Any help is much appreciated.
Please note that this issue happens only when JBoss is started as part of server boot up.
Also, it happensintermittently (once in four times).