This content has been marked as final. Show 2 replies
I got it solved eventually ..... im a new to glassfish server i didnt create the jdbc resources ..so setup the thing in the administrative domain ...created database bookdb with the reqd credentials ...finally i could setup the connector
I got another question
in the MusicDB application ...when a user wants to connect to the gateway server he got to typing username as "musicdbuser" & password as "musicdbpass" ....is this required from all other possible users or can we assign different passwords & username to different end-users to connect to the gateway server....
On your second question, the answer is no.
You could use different user names and passwords as long as they map to valid users for the BookDB database. For example, you may create a user in the MEP Admin Console with the Email name 'bookworm@home' , username 'reader1', password 'books'. When you create the user, the username and password are checked against the database. For example, if you are using MySQL, you'd be able to do the following
mysql -ureader1 -pbooks
In the MEP client app, you'd enter username 'bookwork@home' and password 'books'. When the sync requests get to the gateway, it maps the client username to a gateway user's email name and then gets the real username for the database. In this case, reader1.