3( 678 9:;< => P? @ 6AB CDE FGH I =J =K LM NOP NQ RS RT UV UW X RY LZ[\ #=] #^ "_ #` "a bc ,=de Rfg Ph ijklm 6a 6no 9p 9q ,r 9Yst >_ >auv B_ Bawx F_ ,` yz ,{| }~ }   Y_  P P P     P  # UY      `    / U   _  logMetacatLorg/apache/log4j/Logger;MAXMUMI ConstantValue NONEEXISTmain([Ljava/lang/String;)VCodeLineNumberTableLocalVariableTabledoctypesLjava/lang/String;doctype dtdschemascopedociddbutilLedu/ucsb/nceas/metacat/DBUtil;eLjava/lang/Exception;args[Ljava/lang/String; StackMapTable<H()Vthis readDoctypes()Ljava/lang/String;rsLjava/sql/ResultSet; tableHasRowsZLjava/sql/SQLException; doctypeListLjava/util/Vector;dbConn.Ledu/ucsb/nceas/metacat/database/DBConnection; serialNumberpstmtLjava/sql/PreparedStatement;LocalVariableTypeTable&Ljava/util/Vector;J[ Exceptions readDTDSchema&(Ljava/lang/String;)Ljava/lang/String;hasRowistreamLjava/io/InputStream;inLjava/io/BufferedInputStream; inputByte Ljava/net/MalformedURLException;Ljava/io/IOException;Ljava/lang/SecurityException;systemIDcbuffLjava/lang/StringBuffer;cosuw formatToXML8(Ljava/util/Vector;Ljava/lang/String;)Ljava/lang/String; resultsettagvalresultLjava/util/Enumeration;+Ljava/util/Enumeration; SignatureL(Ljava/util/Vector;Ljava/lang/String;)Ljava/lang/String; getMaxDocidpnfe4Ledu/ucsb/nceas/utilities/PropertyNotFoundException;localidJmaxtempaccnumsepidExists(Ljava/lang/String;)ZidivgetAllDocidsByType'(Ljava/lang/String;Z)Ljava/util/Vector; includeRevs;(Ljava/lang/String;Z)Ljava/util/Vector;((Ljava/lang/String;ZI)Ljava/util/Vector;sbrevserverLocation resultVector<(Ljava/lang/String;ZI)Ljava/util/Vector; getAllDocids&(Ljava/lang/String;)Ljava/util/Vector;:(Ljava/lang/String;)Ljava/util/Vector; findDataSetDocIdForGivenDocument givenDocIdpStmt resultSet dataSetDocId sqlCommand,getCurrentRevisionAndDocTypeForGivenDocumentmaxRev revisionListdocIdWithoutRevisionrevisiondocType'Ljava/util/Vector;getMaxmumNumber(Ljava/util/Vector;)IcurrentLjava/lang/Integer;list*(Ljava/util/Vector;)IgetMaxRevFromRevisionTable(Ljava/lang/String;)I currentRevdocIdWithoutRevrevListgetRevListFromRevisionTableee;(Ljava/lang/String;)Ljava/util/Vector; getLatestRevisionInDocumentTable SourceFile DBUtil.java Wrong number of arguments!!! 3USAGE: java DBUtil <-dt | -ds [doctype] | -dl user>edu/ucsb/nceas/metacat/DBUtil -dt  -ds -dl 8USAGE: java DBUtil <-dt | -ds [doctype] | -dg [doctype]>java/lang/Exception java/util/VectorDBUtil.readDoctypes  :SELECT public_id FROM xml_catalog WHERE entry_type = 'DTD'        java/sql/SQLExceptionjava/lang/StringBuilder!DBUtil.readDoctypes - SQL error:     java/lang/StringBufferDBUtil.readDTDSchema[SELECT system_id FROM xml_catalog WHERE entry_type in ('DTD','Schema') AND public_id LIKE ? http://  /DBUtil.readDTDSchema - Non-registered doctype: DBUtil.readDTDSchema -  java/net/URL java/io/BufferedInputStream   java/net/MalformedURLException,DBUtil.readDTDSchema - Malformed URL Error: java/io/IOException"DBUtil.readDTDSchema - I/O error: java/lang/SecurityException'DBUtil.readDTDSchema - Security error:       java/lang/String <>  .document.accNumSeparator  2edu/ucsb/nceas/utilities/PropertyNotFoundException PDBUtil.getMaxDocid - could not get property 'accNumSeparator'. setting to '.':  DBUtil.getMaxDocidSELECT docid, max(rev) FROM ( SELECT docid, rev FROM xml_documents WHERE docid LIKE ? UNION SELECT docid, rev FROM xml_revisions WHERE docid LIKE ?) subquery GROUP BY docid% *   java/lang/NumberFormatExceptionDBUtil.getMaxDocid().      WDBUtil.getAllDocidsByType - could not get property 'accNumSeparator'. setting to '.': DBUtil.getAllDocidsByType>SELECT docid, rev FROM ( SELECT docid, rev FROM xml_documents  WHERE true AND doctype LIKE ? AND server_location = ' ' +UNION SELECT docid, rev FROM xml_revisions AND doctype LIKE ?) subquery GROUP BY docid, revDBUtil.getAllDocidsByType(). ;could not get property 'accNumSeparator'. setting to '.': DBUtil.getAllDocidsWHERE docid LIKE ? WHERE docid LIKE ?"DBUtil.getAllDocids - SQL error: 'DBUtil.findDataSetDocIdForGivenDocumentDselect docid from xml_relation where object like ? or subject like ?FDBUtil.findDataSetDocIdForGivenDocument - error closing db resources: 5DBUtil.findDataSetDocIdForGivenDocument - SQL error:  9select rev, doctype from xml_documents where docid like ?3DBUtil.getCurrentRevisionAndDocTypeForGivenDocument / ZDBUtil.getCurrentRevisionAndDocTypeForGivenDocument - There is no record for given docid: "#java/lang/Integer 4select doctype from xml_revisions where docid like ' ' and rev=RDBUtil.getCurrentRevisionAndDocTypeForGivenDocument - Error closing db resources: ;    !  >SELECT rev FROM xml_revisions WHERE docid = ? ORDER BY rev ASC "#*DBUtil.getRevListFromRevisionTable - rev:  is added to list for docid: $ %GDBUtil.getRevListFromRevisionTable - Error closing prepared statement: 'DBUtil.getLatestRevisionInDocumentTable-SELECT rev FROM xml_documents WHERE docid = ?MDBUtil.getLatestRevisionInDocumentTable - Error closing prepared statement: &'java/lang/Object,edu/ucsb/nceas/metacat/database/DBConnectionjava/sql/PreparedStatementjava/sql/ResultSetjava/lang/Throwablejava/io/InputStreamjava/util/Enumerationjava/util/Iteratorjava/lang/SystemerrLjava/io/PrintStream;java/io/PrintStreamprintln(Ljava/lang/String;)Vequals(Ljava/lang/Object;)ZoutprintStackTrace(Ljava/io/PrintStream;)V0edu/ucsb/nceas/metacat/database/DBConnectionPoolgetDBConnectionB(Ljava/lang/String;)Ledu/ucsb/nceas/metacat/database/DBConnection;getCheckOutSerialNumber()IprepareStatement0(Ljava/lang/String;)Ljava/sql/PreparedStatement;execute()Z getResultSet()Ljava/sql/ResultSet;next getString(I)Ljava/lang/String; addElement(Ljava/lang/Object;)VclosereturnDBConnection2(Ledu/ucsb/nceas/metacat/database/DBConnection;I)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder; getMessagetoString setString(ILjava/lang/String;)V startsWith&edu/ucsb/nceas/metacat/util/SystemUtilgetInternalContextURL openStream()Ljava/io/InputStream;(Ljava/io/InputStream;)Vread(C)Ljava/lang/StringBuffer;elements()Ljava/util/Enumeration;,(Ljava/lang/String;)Ljava/lang/StringBuffer;hasMoreElements nextElement()Ljava/lang/Object;1edu/ucsb/nceas/metacat/properties/PropertyService getPropertyorg/apache/log4j/LoggererrorindexOflength substringjava/lang/Long parseLong(Ljava/lang/String;)Jsize elementAt(I)Ljava/lang/Object;trim(I)Ljava/lang/StringBuilder;(edu/ucsb/nceas/metacat/util/DocumentUtilgetDocIdFromStringisEmpty(I)VintValueiterator()Ljava/util/Iterator;hasNextgetInt(I)Iinfoadd getLogger,(Ljava/lang/Class;)Lorg/apache/log4j/Logger;!  *YL*2+ M ,Z*2 M**2M+, N -3*2  M**2M+,N -  L+bJLMNUW*X/Y6ZD[F\P]V^]_k`naxb~cdemiloR/FVn~q# !B3* tv l ûYLM>:M,>,:W:6+6  ,! :,!B:"Y#Y$%&'&(): ,! : ,! *+*+`gooqo`|"`|  "*3<AMY`glovy|~R3-<$~   m < B`  "! MN,Y-::6.:6/N-+0-W-:6-M,126#Y$3&,&(M"Y#Y$4&+&()- - !: ! E:"Y#Y$5&'&(): - !: !  6Y,78:9Y::;Y6  Y#Y$?&@&(A:BY#Y$C&D&(E:BY#Y$G&H&(EI "/2>/SB/tF/ !)18@INW`x*/24SUtv@YIP( 4Uv x  B`  `` ">BY*wN,Y-:+J:KLWMLWNAOPN#Y$Q&,&R&-&S&,&T&(LWULWI* CD EGH!I+J6KiMqO>wwwu lfwf!G{MVNWXW":Z#Y$[&\&(]::6^:6_:#Y$+&-&`&(0#Y$+&-&`&(0W: 7: f:    +a+b``c:  d7  , 7#Y$&-&&(M:   !: ! F:"Y#Y$f&'&(): !:!,  Y e'')'66"6WY`jjlj6YW2XY[ _\]!^*]-`0a3b6d8e=fDgHhMulvwxz{}~  $'0368WY`gjsvy 1 zwt 8{{yv0K3H6E t dB B` "2gM>,h$,iP:j+j(*04)22- - ""  ;*k "  ^ȻYNV:WXW":Z#Y$l&\&(]::6m:6,Y-:nLWoLW* pLW!#Y$q&rs&(LWAtLWoLW* uLW!#Y$q&rs&(LWvLWI:**0 *0W: : :  < :  :  -#Y$ && &(  !: ! F:"Y#Y$w&'&():  !:! - Ycjttvt=c"=c; (147:=DKT\dhpt #-7<\cjqt}T P M J   7:= ; !!-B B` "  YLVMWXW NZ#Y$x&-\&(]N:6y:6,Y-:nLW* zLWtLW* {LWvLWIN*?-#Y$*&,&`&(0-#Y$*&,&`&(0-W-::: ;:: +#Y$&,& &(- - !: ! E:"Y#Y$|&'&(): - !: !  + Y(.88:89(G"9(hjpzz|zGjh4 %.1369;@G P"X&\(d*l-p/x124679:=>?@ABD"H(Q.U5V8UAVDWGJIKhOjQpUwVzUVWYz P NKH I 3X6U9R 2RA B`  " LMN:6:}:6~:L+*0+*0+W+M,\,N-:,+ !8:Z#Y$&'&(]!: ! -:,+ !8:Z#Y$&'&(]!: ! :Z#Y$&'&(]-:,+ !8: Z#Y$& '&(]!: ! : ,+ !8: Z#Y$& '&(]!:! [gq"[gq"[""(2"([2Q[[][[jjjlx"lxjlj6Megik l nrstv!y){1|9~@GPX[agnqs "(/24ENQX[dgjlrxz s4 n   qh h 7 h  h jM>:::::: +::M,>,:0W::: :   "Y#Y$&+&() 6  "Y#Y$&+&()Y :#Y$&&& r(:,:W: :  ,!4: Z#Y$& '&(],! : ,! O:  ,!4:Z#Y$&'&(],! :,! #Y$&& &( "08""0_8W__a_ "ln|"n|lnl=   "&+3=ENXbov")058:KTW\_fil nu|} v :    v! o (ZUf Bf  " "#\L*M=*hC*iL-+*iL*iN--+-L++:'(*,. 2$40899H;J*PATCYG*9$%H\&Z% \&!'( )*4<*M,N- -: <SUW X)Y/[2]* +%4,2-- --! ."" /B +YL=N:6:6N-*0-W-:6G=Z#Y$&r&*&(+YW6- - !8:Z#Y$&&(]!:!M: - !8: Z#Y$& &(]!: !  + .hi j klqrs u$v(w0x7z?{H|M}V~x #&)f ?XHO00 +,#& !  #&!w HHh B h "1 2* <MN6N-6-M,*0,W,:6<,  <, , -!6:Z#Y$&&(]-!:-!J:, -!6: Z#Y$& &(]-!: -!  [aj[aj [,  $+3<AJSU[agjl}\ 3(<l00 , Z SNg B g "3! Z<45