on 06-08-2007 9:11 PM
Hi,
I am facing a problem. I am using the code as below and I am getting the exception: Unable to modify database
I am using the java code as below:
CreateRepositoryCommand createRepCmd =
new CreateRepositoryCommand(tutServices.pool);
createRepCmd.setDBMSUserName(dbmsUser);
createRepCmd.setDBMSUserPassword(dbmsPasswd);
createRepCmd.setPort(portNumber);
createRepCmd.setPartition(3);
createRepCmd.setSession(tutServices.serverSessionId);
createRepCmd.setRepositoryIdentifier(targetRepId);
try {
createRepCmd.execute();
System.out.println("Execution of CreateRepositoryCommand successful.");
} catch (CommandException e) {
System.out.println("Failed to execute the CreateRepositoryCommand");
e.printStackTrace();
}
Any pointers as what I am doing wrong?
Thanks,
Neeraj
Hello Neeraj
Check the port number on which u r trying to create Repository. Port numbers should be unique. Mean to say there should not be any other repository on the same port.
Check the sapce on ur server.
check the version , as there should't be any mismatch between versions.
Hope it helps
Regards
Himanshu
<b>Please Mark points for Helpful answer.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.