Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running the appserver using BasicLoginModule

2 views
Skip to first unread message

Anuradha Sharma

unread,
Jul 12, 2002, 5:46:31 AM7/12/02
to
I am trying to run the examples for setting up the secure server with
following server.properties file
vbroker.security.disable=false
vbroker.security.login=true
vbroker.security.authentication.callbackHandler=com.borland.security.provider.authn.HostCallbackHandler
vbroker.security.authentication.config=server.config

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

0 new messages