Crystal reports with JNDI error

Currently working on crystal reports with OBDC connection with Oracle DB. Locally it is working but when it is posted to server I get the following error
Error finding JNDI name

Please need solution for this.
Thanks.