Project

General

Profile

Activity

From 04/26/2002 to 05/25/2002

05/24/2002

04:09 PM Revision 1142 (metacat): Change back to Connection. DBConnection will store in cvs branch..
Jing Tao
03:56 PM Revision 1141 (metacat): Change back to Connection. DBConnection will store in a cvs branch.
Jing Tao
03:51 PM Revision 1140 (metacat): Change back to using Connection. The DBConnection will be store in a cvs branch.
Jing Tao
03:47 PM Revision 1139 (metacat): Change to using Connection back rather than DBConnection. DBConnection will be store in a cvs branch.
Jing Tao
08:52 AM Revision 1138 (metacat): Add a new method commit.
Jing Tao

05/23/2002

10:33 PM Revision 1137 (metacat): Change the API for dbAdopter.
Jing Tao
10:30 PM Revision 1136 (metacat): Change back to pass Connection a parameter.
Jing Tao
10:29 PM Revision 1135 (metacat): Change back to pass connection as parameter.
Jing Tao
10:28 PM Revision 1134 (metacat): Change back to pass connection as a parameter. Because new connection will cause an error.
Jing Tao
10:26 PM Revision 1133 (metacat): Change back to pass connection as paramter in getUniqueID, otherwise new connection will cause a error:
sequence XML_NODES_ID_SEQ.CURRVAL is not yet defined in this session Jing Tao
08:50 PM Revision 1132 (metacat): Add a new method - createStatement.
Jing Tao
08:48 PM Revision 1131 (metacat): Correct the parameter of getDBConnection - methodName in code.
Jing Tao
08:42 PM Revision 1130 (metacat): Change for every method to use getDBConnection and returnDBConnection to manage DBConnection.
Jing Tao
08:39 PM Revision 1129 (metacat): Using getDBConenction rather than pass connection as parameter.
Jing Tao
08:38 PM Revision 1128 (metacat): Using getDBConnection rather than pass connection as a parameter.
Jing Tao
08:36 PM Revision 1127 (metacat): Using getDBConnection method rather than a parameter.
Jing Tao
08:35 PM Revision 1126 (metacat): Change the prototype of method getUniqeID
Jing Tao
05:58 PM Revision 1125 (metacat): Add DBConnectionPool object in servlet's init method and DBConnectionPool's release method in servlet's destory method.
Jing Tao
05:56 PM Revision 1124 (metacat): Delete connection as a class field and make every method to check in and check out connection if it need.
Jing Tao
05:54 PM Revision 1123 (metacat): Make a every method check in and check out DBConnection if this method need a connection.
Jing Tao
01:40 PM Revision 1122 (metacat): In returnDBConnection method, a new parameter named serialNumber was added. It will compare to the checkOutSerialNumber in DBConnection.
Jing Tao
01:38 PM Revision 1121 (metacat): Add a new attribute named checkOutSerialNumber, which to make sure when DBConnection would not be check in mutiple times.
Jing Tao
08:46 AM Revision 1120 (metacat): Change some debug message.
Jing Tao

05/22/2002

08:22 PM Revision 1119 (metacat): Change package name of this class.
Jing Tao
08:19 PM Revision 1118 (metacat): Change package name. Factor of docid change from 10000 to 100000.
Jing Tao
08:17 PM Revision 1117 (metacat): Change package name and data file path. The factor for docid change from 10000 to 100000.
Jing Tao
08:15 PM Revision 1116 (metacat): Change directories setting for junit test and junit nettest.
Jing Tao
03:56 PM Revision 1115 (metacat): This is the data file for testing insert data file action.
Jing Tao
03:55 PM Revision 1114 (metacat): This is a net test file for metacat.
Jing Tao
03:53 PM Revision 1113 (metacat): Add to cvs
Jing Tao
03:52 PM Revision 1112 (metacat): Add metacat test to cvs.
Jing Tao
03:48 PM Revision 1111 (metacat): delete it
Jing Tao
03:40 PM Revision 1110 (metacat): *** empty log message ***
Jing Tao
02:26 PM Revision 1109 (metacat): Change the file path from aboslute to relative.
Jing Tao
01:11 PM Revision 1108 (metacat): Add the test case for inserting data file.
Jing Tao
01:10 PM Revision 1107 (metacat): Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.
Fixed the bug in running ant in gethttpclient target. Jing Tao
01:05 PM Revision 1106 (metacat): This is is a text file will be inert into metacat for testing. The content is "Hello, world".
Jing Tao

05/21/2002

09:30 PM Revision 1105 (metacat): This is new package and its testcase will involve morpho httpmessage class to insert data file.
Jing Tao
09:25 PM Revision 1104 (metacat): Add the test case to insert invalidate xml and non well-formed xml documents.
Jing Tao
09:23 PM Revision 1103 (metacat): Add two targets in build file: gethttpclient and nettest. gethttpclient wil checkout morpho and ran ant get httpclient.jar(cvs doesn't have httpclient.jar). nettest will run a junit test which will involve httpclient.jar file.
Jing Tao
09:59 AM Revision 1102 (metacat): Add the code to handle error in the respone for a update request.
Jing Tao
09:53 AM Revision 1101 (metacat): Add test ssl work or not in handleUpdateRequest method too.
Jing Tao
08:36 AM Revision 1100 (metacat): Change code to handle the error message.
Jing Tao
08:35 AM Revision 1099 (metacat): Add error message to outPut in catch clause in handleGetDocument Request.
Jing Tao

05/20/2002

05:27 PM Revision 1098 (metacat): In update method, add code to handle if a user couldn't pass a trusting test.
Jing Tao
05:25 PM Revision 1097 (metacat): Add a test action in replication. Before handle read and read data file action. Metacat will take a test to see if the trust key in key store. If not, wouldn't replicate documents.This is security issue.
Jing Tao
05:23 PM Revision 1096 (metacat): Add debugMessage level in this class
Jing Tao
01:12 PM Revision 1095 (metacat): Add a method getDBConnection. In this method, method name of method which checked out the connection can be passed to DBConnection object. In run() method, if a connection is checked out for too long (30 seconds), the method name and connection name will be print out.
Jing Tao
01:08 PM Revision 1094 (metacat): Add a attribute named checkOutMethodName and relative method. This variable can keep track which mehod check out the DBConnection.
Jing Tao
01:06 PM Revision 1093 (metacat): Add two variables here: one is runDBConnectionRecycleThread. If it set "on", the recycle connection tread will run periodically. The other is cycleTimeOfDBConnection. This is for the recycle periodical time in milli seconds.
Jing Tao

05/17/2002

05:20 PM Revision 1092 (metacat): Add some new methods into this class.
Jing Tao
05:19 PM Revision 1091 (metacat): Add some new methods in this class.
Jing Tao
05:18 PM Revision 1090 (metacat): Add some variables to control db connection.
Jing Tao

05/16/2002

05:44 PM Revision 1089 (metacat): Add some new methods in it. Remove openDBconnection part to DBConnection class.
Jing Tao
05:43 PM Revision 1088 (metacat): Add some new attributes and methods in it.
Jing Tao

05/15/2002

05:29 PM Revision 1087 (metacat): Add a new class named DBConnectionPool. This class will create DBConnection pool and other user can get or return connection to it.
Jing Tao
03:15 PM Revision 1086 (metacat): Add this new class into meta package. DBConnection class repsent a conncetion and its information.
Jing Tao
08:23 AM Revision 1085 (metacat): Add some debug message in the code.
Jing Tao

05/14/2002

06:25 PM Revision 1084 (metacat): Add a variable named junittesturl there.
Jing Tao
06:23 PM Revision 1083 (metacat): Add setCookie method in this class. Junit test class need this method.
Jing Tao
06:21 PM Revision 1082 (metacat): Add test case for inert, read, update, delete xml documents and logout action too.
Jing Tao

05/12/2002

06:30 PM Revision 1081 (metacat): Add a access control for MetaCatServlet to update a document which home server is not local metacat.
Jing Tao

05/11/2002

05:43 PM Revision 1080 (metacat): Change datafilepath's value and it should equals the property value of datafilepath in build.xml.
Jing Tao
05:41 PM Revision 1079 (metacat): Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.
Jing Tao

05/10/2002

06:26 PM Revision 1078 (metacat): Add a control to accept data or not
Jing Tao
06:25 PM Revision 1077 (metacat): Add two controls to send or accept data.
Jing Tao
06:24 PM Revision 1076 (metacat): Add control to send data or not
Jing Tao
06:24 PM Revision 1075 (metacat): Add two control for send or accept data file
Jing Tao
06:23 PM Revision 1074 (metacat): Add two variables replicationsenddata and replicationacceptdata
Jing Tao
06:22 PM Revision 1073 (metacat): Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file
Jing Tao
02:21 PM Revision 1072 (metacat): In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.
Jing Tao

05/09/2002

05:43 PM Revision 1071 (metacat): Revised update method.
Jing Tao
05:40 PM Revision 1070 (metacat): Add a control to get data file granted in handleUploadMethod.
Jing Tao
05:39 PM Revision 1069 (metacat): Revised the method writeDataFile, writeReplication and writeToDB
Jing Tao

05/08/2002

05:20 PM Revision 1068 (metacat): Revise Update method.
Jing Tao
05:19 PM Revision 1067 (metacat): Apply DocumentImp.writeReplication and DocumentImp.writeDataFile in deltaT replication
Jing Tao
04:08 PM Revision 1066 (metacat): Fixed some db connection problem
Jing Tao
04:07 PM Revision 1065 (metacat): Fixed some db connection bug.
Jing Tao
04:06 PM Revision 1064 (metacat): Delete a some useless code for connection pool
Jing Tao
04:04 PM Revision 1063 (metacat): Fixed some DB connection bug.
Jing Tao
04:03 PM Revision 1062 (metacat): Assign debug level to parser. (it level is 50)
Jing Tao
09:28 AM Revision 1061 (metacat): Use DocumentImpl.getDocHomeServer method to get home server in method handleGetDocumentInfo
Jing Tao
09:27 AM Revision 1060 (metacat): Change the method getLocalReplicationServerName to be static
Jing Tao
09:25 AM Revision 1059 (metacat): Add the feature to get doc home server into method getDocumentInfo.
Add a method to return docHomeServer. Jing Tao

05/07/2002

05:00 PM Revision 1058 (metacat): Fixed a bug in method getHomeServer
Jing Tao
04:59 PM Revision 1057 (metacat): Revise the method getDocumentInfo. Home server of documnet is added in it.
Jing Tao
04:57 PM Revision 1056 (metacat): Revised handleUploadRequet.
Jing Tao
04:56 PM Revision 1055 (metacat): Add three methods into this class. One is named getServerCode, to given a server name, it return server code in xml_replication table.
One named insertServerIntoReplicationTable, if a server is not in the server list, it will insert it.
One is named Wr...
Jing Tao
04:52 PM Revision 1054 (metacat): Delete the control that when action="insert", rev should be 1
Jing Tao

05/06/2002

11:30 AM Revision 1053 (metacat): Overload a method debugMessage(String msg, int debugLevel)
User can set a debugLevel for this message. If debugLevel is less than the default a value in build.xml, this message... Jing Tao
11:21 AM Revision 1052 (metacat): Add a variable named debuglevel here. It control the differrent debug level message will be printed.
Jing Tao
11:20 AM Revision 1051 (metacat): Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out
Jing Tao

05/03/2002

05:03 PM Revision 1050 (metacat): This file now contaions login testing for nceas, pisco and lter ldap server. It includes both successful and failed login testing.
More testing such as insert xml document and data file ... will coming. Jing Tao
05:01 PM Revision 1049 (metacat): Revise junit testing part and make it working.
Delete the variables for httpclient.jar and junit.jar Jing Tao

05/02/2002

01:43 PM Revision 1048 (metacat): This jar file can be deleted.
Jing Tao
01:42 PM Revision 1047 (metacat): This jar file will install in ant/lib.
Jing Tao

05/01/2002

05:37 PM Revision 1046 (metacat): Add two variables junit and httpclient in cpath
Jing Tao
05:36 PM Revision 1045 (metacat): In order to implementate junit, this jar file is needed.
Jing Tao
05:34 PM Revision 1044 (metacat): In order to test MetacatServlet, we need use HttpMessage class, so add this jar file
Jing Tao

04/30/2002

08:33 AM Revision 1043 (metacat): Add two methods getHomeServer and getServerLocation. Given a docid, getHomeServer can get the information of its home host. Given a docid, getServerLocation can return server code for it.
Jing Tao
08:29 AM Revision 1042 (metacat): In handleUpdateRequest method, if a metacat was configured to be hub super, it can provide any documents in its database. If the metacat is notsuper, it only provide the documents list which home host is itself.
Jing Tao
08:25 AM Revision 1041 (metacat): Adding a hub control to data file in handleUpLoad method. Data file was changed can be replicate to all server or only home host.
Jing Tao
08:21 AM Revision 1040 (metacat): Add a hashtable - server list as a class variable. So programmer have a control to the server list which will be forced to replicate.
Jing Tao
08:18 AM Revision 1039 (metacat): Add a hub control in write and writeData method. If hub==super, metacat can replicate any document in its database to any server in server list. If it is not super, metacat only replicate local documents to any server in server list. If a document' home host is not itself, metacat only force replicate the document to the document's home host.
Jing Tao
08:12 AM Revision 1038 (metacat): Adding a variable "hub". If hub=super, the metacat can replicate the documents and data file which's home host is not itself.
Jing Tao

04/26/2002

05:33 PM Revision 1037 (metacat): In update method, adding some code to handle replicate data file. Fixed the bug in deleting documents.
Jing Tao
05:31 PM Revision 1036 (metacat): Making parser to handle datafile attribute in parsing updated doclist.
Jing Tao
05:30 PM Revision 1035 (metacat): Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.
Jing Tao
05:27 PM Revision 1034 (metacat): In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem
Jing Tao
01:38 PM Revision 1033 (metacat): Add a new variable datafileflag. This variable will indicate if a document is a data file in updated documents list in replication.
Jing Tao
 

Also available in: Atom