Hi,

I do not know how to check fixed version, but given patch is buggy : when no 
server ip is configured --> NPE

You have to change  
    ServerSocket soc = null;
    if (dumpServerIpAddress.indexOf(':')!=-1)
    {
      String [] tmpStrArr = dumpServerIpAddress.split(":");

by
    ServerSocket soc = null;
    if (dumpServerIpAddress!=null && dumpServerIpAddress.indexOf(':')!=-1)
    {
      String [] tmpStrArr = dumpServerIpAddress.split(":");

Regards

Pierre

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de
Emmanuel Cecchet (JIRA)
Envoyé : 20 February 2008 13:25
À : [email protected]
Objet : [Sequoia] [JIRA] Commented: (SEQUOIA-830) Add port to Backuper
dumpServer specification


    [ 
https://forge.continuent.org/jira/browse/SEQUOIA-830?page=comments#action_14277 
] 

Emmanuel Cecchet commented on SEQUOIA-830:
------------------------------------------

I integrated the proposed fix in 2.10 branch. It works for me but please 
confirm that it also work for you,

> Add port to Backuper dumpServer specification
> ---------------------------------------------
>
>          Key: SEQUOIA-830
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-830
>      Project: Sequoia
>         Type: Improvement

>   Components: Backup System
>     Versions: Sequoia 2.10.2
>  Environment: All
>     Reporter: Neil Aggarwal
>     Assignee: Emmanuel Cecchet
>  Attachments: SEQUOIA-830.txt
>
>
> The Backuper options allows specification of a dump server IP address.  I 
> would like to add the ability to specify the port as well.
> Here is an example:
> <Backup>
>   <Backuper backuperName="postgres" className=
>    "org.continuent.sequoia.controller.backup.backupers.
>    PostgreSQLSplitPlainTextBackuper" 
>    options="dumpServer=192.168.1.8,splitSize=500m"/>
> </Backup>
> We should be able to specify:
> <Backup>
>   <Backuper backuperName="postgres" className=
>    "org.continuent.sequoia.controller.backup.backupers.
>    PostgreSQLSplitPlainTextBackuper" 
>    options="dumpServer=192.168.1.8:[PORT],splitSize=500m"/>
> </Backup>
> Thanks.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

This mail has originated outside your organization, either from an external 
partner or the Global Internet.
Keep this in mind if you answer this message.



The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other then the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.


_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to