Project

General

Profile

Statistics
| Revision:

# Date Author Comment
1218 06/13/2002 12:01 PM Jing Tao

Add this file from branch to head.

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1216 06/13/2002 11:51 AM Jing Tao

Merger DBConnect branch to head.

1215 06/13/2002 11:37 AM Jing Tao

Merge DBConnection branch to head.

1214 06/13/2002 11:37 AM Jing Tao

Merge branch to head.

1143 05/29/2002 08:28 AM Jing Tao

This is code for testing how many sql commands one connection can be executed.

1142 05/24/2002 04:09 PM Jing Tao

Change back to Connection. DBConnection will store in cvs branch..

1141 05/24/2002 03:56 PM Jing Tao

Change back to Connection. DBConnection will store in a cvs branch.

1140 05/24/2002 03:51 PM Jing Tao

Change back to using Connection. The DBConnection will be store in a cvs branch.

1139 05/24/2002 03:47 PM Jing Tao

Change to using Connection back rather than DBConnection. DBConnection will be store in a cvs branch.

1138 05/24/2002 08:52 AM Jing Tao

Add a new method commit.

1137 05/23/2002 10:33 PM Jing Tao

Change the API for dbAdopter.

1136 05/23/2002 10:30 PM Jing Tao

Change back to pass Connection a parameter.

1135 05/23/2002 10:29 PM Jing Tao

Change back to pass connection as parameter.

1134 05/23/2002 10:28 PM Jing Tao

Change back to pass connection as a parameter. Because new connection will cause an error.

1133 05/23/2002 10:26 PM Jing Tao

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

1132 05/23/2002 08:50 PM Jing Tao

Add a new method - createStatement.

1131 05/23/2002 08:48 PM Jing Tao

Correct the parameter of getDBConnection - methodName in code.

1130 05/23/2002 08:42 PM Jing Tao

Change for every method to use getDBConnection and returnDBConnection to manage DBConnection.

1129 05/23/2002 08:39 PM Jing Tao

Using getDBConenction rather than pass connection as parameter.

1128 05/23/2002 08:38 PM Jing Tao

Using getDBConnection rather than pass connection as a parameter.

1127 05/23/2002 08:36 PM Jing Tao

Using getDBConnection method rather than a parameter.

1126 05/23/2002 08:35 PM Jing Tao

Change the prototype of method getUniqeID

1125 05/23/2002 05:58 PM Jing Tao

Add DBConnectionPool object in servlet's init method and DBConnectionPool's release method in servlet's destory method.

1124 05/23/2002 05:56 PM Jing Tao

Delete connection as a class field and make every method to check in and check out connection if it need.

1123 05/23/2002 05:54 PM Jing Tao

Make a every method check in and check out DBConnection if this method need a connection.

1122 05/23/2002 01:40 PM Jing Tao

In returnDBConnection method, a new parameter named serialNumber was added. It will compare to the checkOutSerialNumber in DBConnection.

1121 05/23/2002 01:38 PM Jing Tao

Add a new attribute named checkOutSerialNumber, which to make sure when DBConnection would not be check in mutiple times.

1120 05/23/2002 08:46 AM Jing Tao

Change some debug message.

1119 05/22/2002 08:22 PM Jing Tao

Change package name of this class.

1118 05/22/2002 08:19 PM Jing Tao

Change package name. Factor of docid change from 10000 to 100000.

1117 05/22/2002 08:17 PM Jing Tao

Change package name and data file path. The factor for docid change from 10000 to 100000.

1116 05/22/2002 08:15 PM Jing Tao

Change directories setting for junit test and junit nettest.

1115 05/22/2002 03:56 PM Jing Tao

This is the data file for testing insert data file action.

1114 05/22/2002 03:55 PM Jing Tao

This is a net test file for metacat.

1113 05/22/2002 03:53 PM Jing Tao

Add to cvs

1112 05/22/2002 03:52 PM Jing Tao

Add metacat test to cvs.

1111 05/22/2002 03:48 PM Jing Tao

delete it

1110 05/22/2002 03:40 PM Jing Tao
  • empty log message ***
1109 05/22/2002 02:26 PM Jing Tao

Change the file path from aboslute to relative.

1108 05/22/2002 01:11 PM Jing Tao

Add the test case for inserting data file.

1107 05/22/2002 01:10 PM Jing Tao

Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.
Fixed the bug in running ant in gethttpclient target.

1106 05/22/2002 01:05 PM Jing Tao

This is is a text file will be inert into metacat for testing. The content is "Hello, world".

1105 05/21/2002 09:30 PM Jing Tao

This is new package and its testcase will involve morpho httpmessage class to insert data file.

1104 05/21/2002 09:25 PM Jing Tao

Add the test case to insert invalidate xml and non well-formed xml documents.

1103 05/21/2002 09:23 PM Jing Tao

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.

1102 05/21/2002 09:59 AM Jing Tao

Add the code to handle error in the respone for a update request.

1101 05/21/2002 09:53 AM Jing Tao

Add test ssl work or not in handleUpdateRequest method too.

1100 05/21/2002 08:36 AM Jing Tao

Change code to handle the error message.

1099 05/21/2002 08:35 AM Jing Tao

Add error message to outPut in catch clause in handleGetDocument Request.

1098 05/20/2002 05:27 PM Jing Tao

In update method, add code to handle if a user couldn't pass a trusting test.

1097 05/20/2002 05:25 PM Jing Tao

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.

1096 05/20/2002 05:23 PM Jing Tao

Add debugMessage level in this class

1095 05/20/2002 01:12 PM Jing Tao

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.

1094 05/20/2002 01:08 PM Jing Tao

Add a attribute named checkOutMethodName and relative method. This variable can keep track which mehod check out the DBConnection.

1093 05/20/2002 01:06 PM Jing Tao

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.

1092 05/17/2002 05:20 PM Jing Tao

Add some new methods into this class.

1091 05/17/2002 05:19 PM Jing Tao

Add some new methods in this class.

1090 05/17/2002 05:18 PM Jing Tao

Add some variables to control db connection.

1089 05/16/2002 05:44 PM Jing Tao

Add some new methods in it. Remove openDBconnection part to DBConnection class.

1088 05/16/2002 05:43 PM Jing Tao

Add some new attributes and methods in it.

1087 05/15/2002 05:29 PM Jing Tao

Add a new class named DBConnectionPool. This class will create DBConnection pool and other user can get or return connection to it.

1086 05/15/2002 03:15 PM Jing Tao

Add this new class into meta package. DBConnection class repsent a conncetion and its information.

1085 05/15/2002 08:23 AM Jing Tao

Add some debug message in the code.

1084 05/14/2002 06:25 PM Jing Tao

Add a variable named junittesturl there.

1083 05/14/2002 06:23 PM Jing Tao

Add setCookie method in this class. Junit test class need this method.

1082 05/14/2002 06:21 PM Jing Tao

Add test case for inert, read, update, delete xml documents and logout action too.

1081 05/12/2002 06:30 PM Jing Tao

Add a access control for MetaCatServlet to update a document which home server is not local metacat.

1080 05/11/2002 05:43 PM Jing Tao

Change datafilepath's value and it should equals the property value of datafilepath in build.xml.

1079 05/11/2002 05:41 PM Jing Tao

Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.

1078 05/10/2002 06:26 PM Jing Tao

Add a control to accept data or not

1077 05/10/2002 06:25 PM Jing Tao

Add two controls to send or accept data.

1076 05/10/2002 06:24 PM Jing Tao

Add control to send data or not

1075 05/10/2002 06:24 PM Jing Tao

Add two control for send or accept data file

1074 05/10/2002 06:23 PM Jing Tao

Add two variables replicationsenddata and replicationacceptdata

1073 05/10/2002 06:22 PM Jing Tao

Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file

1072 05/10/2002 02:21 PM Jing Tao

In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.

1071 05/09/2002 05:43 PM Jing Tao

Revised update method.

1070 05/09/2002 05:40 PM Jing Tao

Add a control to get data file granted in handleUploadMethod.

1069 05/09/2002 05:39 PM Jing Tao

Revised the method writeDataFile, writeReplication and writeToDB

1068 05/08/2002 05:20 PM Jing Tao

Revise Update method.

1067 05/08/2002 05:19 PM Jing Tao

Apply DocumentImp.writeReplication and DocumentImp.writeDataFile in deltaT replication

1066 05/08/2002 04:08 PM Jing Tao

Fixed some db connection problem

1065 05/08/2002 04:07 PM Jing Tao

Fixed some db connection bug.

1064 05/08/2002 04:06 PM Jing Tao

Delete a some useless code for connection pool

1063 05/08/2002 04:04 PM Jing Tao

Fixed some DB connection bug.

1062 05/08/2002 04:03 PM Jing Tao

Assign debug level to parser. (it level is 50)

1061 05/08/2002 09:28 AM Jing Tao

Use DocumentImpl.getDocHomeServer method to get home server in method handleGetDocumentInfo

1060 05/08/2002 09:27 AM Jing Tao

Change the method getLocalReplicationServerName to be static

1059 05/08/2002 09:25 AM Jing Tao

Add the feature to get doc home server into method getDocumentInfo.
Add a method to return docHomeServer.

1058 05/07/2002 05:00 PM Jing Tao

Fixed a bug in method getHomeServer

1057 05/07/2002 04:59 PM Jing Tao

Revise the method getDocumentInfo. Home server of documnet is added in it.

1056 05/07/2002 04:57 PM Jing Tao

Revised handleUploadRequet.

1055 05/07/2002 04:56 PM Jing Tao

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 WriteReplication, this method will be used in forceReplication. It delete the replication code in it.

1054 05/07/2002 04:52 PM Jing Tao

Delete the control that when action="insert", rev should be 1

1053 05/06/2002 11:30 AM Jing Tao

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 will be printed.
If user set a value less than or equals 0, debugLevel will be set automatically to 1. So we can set default value to 0 in build.xml file and close all debug message.

1052 05/06/2002 11:21 AM Jing Tao

Add a variable named debuglevel here. It control the differrent debug level message will be printed.

1051 05/06/2002 11:20 AM Jing Tao

Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out

1050 05/03/2002 05:03 PM Jing Tao

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.

1049 05/03/2002 05:01 PM Jing Tao

Revise junit testing part and make it working.
Delete the variables for httpclient.jar and junit.jar