if there is no Constants.java in the plugin you can add an entry in
org.apache.axis2.databinding.Constants.java
//add the constant BASE_BUFFER_SIZE
public static final int BASE_BUFFER_SIZE=10240;
(good call btw)
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung.
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 13 Mar 2011 02:21:00 +0000
> From: [email protected]
> To: [email protected]
> Subject: [jira] Created: (AXIS2-4978) Copying data from inputStream to
> OuputStream needs appropriate buffer size
>
> Copying data from inputStream to OuputStream needs appropriate buffer size
> --------------------------------------------------------------------------
>
> Key: AXIS2-4978
> URL: https://issues.apache.org/jira/browse/AXIS2-4978
> Project: Axis2
> Issue Type: Bug
> Components: modules
> Affects Versions: 1.5.4
> Reporter: Xiaoming Shi
>
>
> In the file
>
> ./axis2-1.5.4/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java
> line:323
>
> The buffer size is fixed at 1024 bytes.
>
> To copy 10M data with 1024-byte buffer it takes 338,591,180 nano-second,
> while it takes 105,384,689 nano-second with a 10240-byte buffer.
>
>
> Similar code can be found at:
>
> ./axis2-1.5.4/modules/kernel/src/org/apache/axis2/util/IOUtils.java
> ./axis2-1.5.4/modules/kernel/src/org/apache/axis2/classloader/IoUtil.java
> ./axis2-1.5.4/modules/kernel/src/org/apache/axis2/classloader/JarResourceLocation.java
> ./axis2-1.5.4/modules/tool/axis2-idea-plugin/src/main/java/org/apache/axis2/tools/wizardframe/WizardFrame.java
>
>
> This is similar to the Apache Bug
> https://issues.apache.org/bugzilla/show_bug.cgi?id=32546
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>