Greetings,
From the message you sent below, one can see that java.net is trying to connect to port 5000, presumably the dataserver listening port, and that the connection is refused.
SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused (port 5000 to address ::ffff:127.0.0.1 (localhost))
That means there is a connectivity problem. Interfaces file, etc. Is the server up and running?
Could you please find and include the ASE errorlog?
Regards,
Jean-Pierre