and following server.config file using informix database.
System {
com.borland.security.provider.authn.BasicLoginModule optional
REALM=myrealm ;
};
myrealm {
com.borland.security.provider.authn.BasicLoginModule optional
DRIVER=com.informix.jdbc.IfxDriver
URL=jdbc:informix-sqli://10.254.140.108:1525/bm2:informixserver=on_apps1_bm_tcp;user=asharma;password=video1;
TYPE=BASIC
LOGINUSERID=admin
LOGINPASSWORD=admin;
};
My database parameters are correct. However I am always getting the
following error message while running the examples from Borland.
C:\BorlandEnterpriseServer\examples\security\basicauthn>vbj
-DORBpropStorage=server.properties Server
Enter Userid/Password for the realm myrealm
username: admin
password:
org.omg.CORBA.INITIALIZE: Could not initialize Login failed Unable to
make connection to database minor code: 0 completed: No
at com.borland.security.core.Init.pre_init(Init.java:528)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:1116)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:1282)
at org.omg.CORBA.ORB.init(ORB.java:329)
at Server.main(Server.java:10)
C:\BorlandEnterpriseServer\examples\security\basicauthn>
I am running on the Windows 2000 using Borland enterprise edition 5.0.
Does anybody out there have any suggestions.
Anuradha