Edit C:\apache-tomcat-7.0.69\webapps\sword\WEB-INF\classes\org\purl\sword\server\DepositServlet.class
???? 3? ?[ ?\]^_ ?`a bcd e fg fhi ?jk [l mn o bpqrst uv ?wx ?yz{ ?| ?}~ b ??? ???? ??? ??? ??? 0e? ? 0? 0?? 0?? 0??? ;?? =[? ?[? ?o??? b? ?? ?? ?? =? ?? =? ???? ;? ;??? ?? ?????? W? ?? ?? ?? ?? 0? ??? ??? ?? 0?? b? ??? =???????? =??????? w? =?? =???? =????? =??? =?? =? =? ?? =??? =?? =? ?? ?? ?? ?? ?? ???? ;? ;? ?? ?? ???? wo w? w? w ?o ?o ?e ?[ ? ? ?e ? ? ?[ ? ? ?? ? ?e ? ? ? ? ? ?o? o?!"# ?$% b&' myRepository #Lorg/purl/sword/server/SWORDServer; authN Ljava/lang/String; maxUploadSize I tempDirectory counter +Ljava/util/concurrent/atomic/AtomicInteger; log Lorg/apache/log4j/Logger; <init> ()V Code LineNumberTable LocalVariableTable this &Lorg/purl/sword/server/DepositServlet; init e (Ljava/lang/ReflectiveOperationException; nfe !Ljava/lang/NumberFormatException; className maxUploadSizeStr tempDir Ljava/io/File; StackMapTable(?? Exceptions doGet R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse;) doPost p s buf [B len f onBehalfOf noop verbose slug cl dr %Lorg/purl/sword/base/DepositResponse; out Ljava/io/PrintWriter; inputstream Ljava/io/InputStream; outputstream Ljava/io/OutputStream; file fLength J receivedMD5 md5 sae 2Lorg/purl/sword/base/SWORDAuthenticationException; see )Lorg/purl/sword/base/SWORDErrorException; se $Lorg/purl/sword/base/SWORDException; nsae (Ljava/security/NoSuchAlgorithmException; d Lorg/purl/sword/base/Deposit; date Ljava/util/Date; usernamePassword filename??%*?+,-.?? makeErrorDocument w(Ljava/lang/String;ILjava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V errorURI status summary sed (Lorg/purl/sword/base/SWORDErrorDocument; title Lorg/purl/sword/atom/Title; calendar Ljava/util/Calendar; utcformat zulu Ljava/text/SimpleDateFormat; serializeddate sum Lorg/purl/sword/atom/Summary;/ getUsernamePassword ;(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String; credentials userPass basic st Ljava/util/StringTokenizer; authHeader Ljava/lang/Exception; authenticateWithBasic ()Z getUrl req reqUrl queryString <clinit> SourceFile DepositServlet.java ? ?01 sword-server-class234 ? ? AUnable to read value of 'sword-server-class' from Servlet context567 javax/servlet/ServletException ?89:;<= !org/purl/sword/server/SWORDServer ? ? java/lang/StringBuilder Using >? as the SWORDServer@AB7 java/lang/ClassNotFoundException java/lang/InstantiationException java/lang/IllegalAccessException 7Unable to instantiate class from 'sword-server-class': ?C authentication-method ? ? DE None Authentication type set to: -1 ? ? CNo maxUploadSize set, so setting max file upload size to unlimited.F7GHI Setting max file upload size to >J java/lang/NumberFormatException ImaxUploadSize not a number, so setting max file upload size to unlimited. upload-temp-directory ? ? java.io.tmpdirKL4 file.separatorMN java/io/File #Upload temporary directory set to: >OPSQS 6Upload directory did not exist and I can't create it. RS /Upload temporary directory is not a directory: SS 1Upload temporary directory cannot be written to: &javax/servlet/http/HttpServletResponseTU org/purl/sword/base/Deposit java/util/Date Starting deposit processing at by *VAW7HIXYZ[\8Z]^8RS Basic realm="SWORD" WWW-Authenticate_`aU SWORD- - ? ?bY Package temporarily stored as: cd java/io/FileOutputStream ?e+fg,hij ?kl org/purl/sword/base/ErrorCodes 8http://purl.org/net/sword/error/MAX_UPLOAD_SIZE_EXCEEDED VThe uploaded file exceeded the maximum file size this server will accept (the file is >m 5kB but the server will only accept files as large as kB)23nS Unable to delete file: o7pq4 Received filechecksum: r8 Content-MD5s4 Received file checksum header: 5http://purl.org/net/sword/error/ErrorChecksumMismatch fThe received MD5 checksum for the deposited file did not match the checksum sent by the deposit client 9Bad MD5 for file. Aborting with appropriate error messagete org/purl/sword/base/HttpHeaders X-On-Behalf-Of reject 'org/purl/sword/base/SWORDErrorException 2http://purl.org/net/sword/error/TargetOwnerUnknown unknown user "reject" ?`u8 X-Packagingv8 X-No-Op X_NO_OP value is truewx false /http://purl.org/net/sword/error/ErrorBadRequest Bad no-op X-Verboseyx Bad verbose Slugz8 Content-Disposition{8|8TI}8~A8 Content-Length?U?? User-Agent.????8???A Location #application/atom+xml; charset=UTF-8???A?h8? ? 0org/purl/sword/base/SWORDAuthenticationException Basic?A???A "org/purl/sword/base/SWORDException &java/security/NoSuchAlgorithmException &org/purl/sword/base/SWORDErrorDocument org/purl/sword/atom/Title ERROR?8??/?? yyyy-MM-dd'T'HH:mm:ss.SSS'Z' java/text/SimpleDateFormat?????8 org/purl/sword/atom/Summary??????A Authorization java/util/StringTokenizer?S?A?N java/lang/String????? ?? java/lang/Exception????A ? )java/util/concurrent/atomic/AtomicInteger ?U $org/purl/sword/server/DepositServlet?? javax/servlet/http/HttpServlet &java/lang/ReflectiveOperationException java/io/IOException %javax/servlet/http/HttpServletRequest java/io/InputStream java/io/OutputStream java/lang/Throwable #org/purl/sword/base/DepositResponse java/util/Calendar getServletContext ()Ljavax/servlet/ServletContext; javax/servlet/ServletContext getInitParameter &(Ljava/lang/String;)Ljava/lang/String; org/apache/log4j/Logger fatal (Ljava/lang/Object;)V (Ljava/lang/String;)V java/lang/Class forName %(Ljava/lang/String;)Ljava/lang/Class; newInstance ()Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; info *(Ljava/lang/String;Ljava/lang/Throwable;)V equals (Ljava/lang/Object;)Z warn java/lang/Integer parseInt (Ljava/lang/String;)I (I)Ljava/lang/StringBuilder; java/lang/System getProperty endsWith (Ljava/lang/String;)Z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; exists mkdirs isDirectory canWrite sendError (I)V getRemoteAddr debug indexOf (I)I substring (II)Ljava/lang/String; setUsername (I)Ljava/lang/String; setPassword setHeader '(Ljava/lang/String;Ljava/lang/String;)V setStatus addAndGet getInputStream $()Ljavax/servlet/ServletInputStream; (Ljava/io/File;)V read ([B)I write ([BII)V close length ()J (J)Ljava/lang/StringBuilder; delete error !org/purl/sword/base/ChecksumUtils generateMD5 setMd5 getHeader setFile setOnBehalfOf setPackaging setNoOp (Z)V setVerbose setSlug setContentDisposition setIPAddress setLocation getContentType setContentType setContentLength doDeposit D(Lorg/purl/sword/base/Deposit;)Lorg/purl/sword/base/DepositResponse; getEntry "()Lorg/purl/sword/base/SWORDEntry; org/purl/sword/base/SWORDEntry setUserAgent getHttpResponse ()I getLocation getWriter ()Ljava/io/PrintWriter; marshall java/io/PrintWriter flush getErrorURI getStatus getDescription setContent setTitle (Lorg/purl/sword/atom/Title;)V getInstance ()Ljava/util/Calendar; getTime ()Ljava/util/Date; format $(Ljava/util/Date;)Ljava/lang/String; setUpdated setSummary (Lorg/purl/sword/atom/Summary;)V ()Lnu/xom/Element; nu/xom/Element toXML hasMoreTokens nextToken equalsIgnoreCase getBytes ()[B &org/apache/commons/codec/binary/Base64 decodeBase64 ([B)[B ([B)V getRequestURL ()Ljava/lang/StringBuffer; java/lang/StringBuffer getQueryString getLogger ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? / *? ? ? / ? ? ? ? ? ? ? N*? ? L+? ? ? ? Y? ?*+? ? ? ? ? ? Y? ? +? ? ? ? ? 9M? ? Y? ? +? ? ? ? Y? Y? ? +? ? ,? ?**? ? ? *? ? *? ? ? *? ? ? Y? ? *? ? ? ? *? ? M,? ,? ? ,!? ? *? "? #? $? 8*,? %? "? ? Y? &? *? "? '? ? ? N*? "? )? $**? *? ? +*? +? *? +? ? *,? -? +*? +.? -? /? ? Y? *Z? +? .? -? ? ? +? 0Y*? +? 1N? ? Y? 2? -? 3? ? -? 4? %-? 5? ? Y? Y? 6? -? 3? ? ?-? 7? 7? ? Y? 8? -? 3? ? ? Y? Y? 8? -? 3? ? ?-? 9? 7? ? Y? :? -? 3? ? ? Y? Y? :? -? 3? ? ?? "