tian-zhihui / cordysemailiocon

Automatically exported from code.google.com/p/cordysemailiocon
Apache License 2.0
0 stars 1 forks source link

Archive feature is not working #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to Email IO Administrator -> Archiving -> Do Archive
2. Select Completed on Include statusses field
3. Select File based on Choose archiving method field
4. Click on Start Archiving button

What is the expected output? What do you see instead?
A file containing all emails that match the search criteria. However, the file 
is generated with 0kb size.

What version of the product are you using? On what operating system?
Version 3.0.13 running on BOP4 CU16 and Windows 64.

Please provide any additional information below.
Error message:
 <ErrorDetails> 
 <Request> 
 <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" > 
 <SOAP:Header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" > 
 <header xmlns="http://schemas.cordys.com/General/1.0/" > 
 <Logger xmlns="http://schemas.cordys.com/General/1.0/" > 
<DC xmlns="http://schemas.cordys.com/General/1.0/" name="XForms" 
>/com-csc/emailioconnector/ui/mgmt/ArchiveOptions.caf</DC> 
<DC xmlns="http://schemas.cordys.com/General/1.0/" name="XForms" 
>/com-csc/emailioconnector/ui/mgmt/EmailIOAdministrator.caf</DC> 
<DC xmlns="http://schemas.cordys.com/General/1.0/" name="XForms" 
>/com/cordys/cusp/cusp.caf</DC> 
<DC xmlns="http://schemas.cordys.com/General/1.0/" name="hopCount" >0</DC> 
<DC xmlns="http://schemas.cordys.com/General/1.0/" name="correlationID" 
>005056A9-002D-11E2-E75B-AB633DC7D6AB</DC> 
</Logger> 
</header> 
</SOAP:Header> 
 <SOAP:Body> 
 <ArchiveEmails xmlns="http://emailioconnector.coe.cordys.com/2.0/inbound/dynamic" > 
 <search> 
<EmailBoxID/> 
<FromCreateDate/> 
<ToCreateDate/> 
<FromCompleteDate/> 
<ToCompleteDate/> 
<FromStatusChangeDate/> 
<ToStatusChangeDate/> 
<Status>COMPLETED</Status> 
</search> 
 <archiver> 
<class>com.csc.cordys.ac.emailio.archive.FileArchiver</class> 
 <parameters> 
<parameter name="ziplevel" type="string" >-1</parameter> 
<parameter name="location" type="string" 
>com-csc/emailioconnector/archives</parameter> 
</parameters> 
</archiver> 
</ArchiveEmails> 
</SOAP:Body> 
</SOAP:Envelope> 
</Request> 
 <Response> 
 <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" > 
 <SOAP:Header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" > 
 <header xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.cordys.com/General/1.0/" > 
 <sender> 
<reply-to>cn=CIM Email cimdev.cce 1,cn=CIM Email,cn=soap 
nodes,o=CIM,cn=cordys,cn=development,o=corp.ad.emb</reply-to> 
<organizationalContext>o=CIM,cn=cordys,cn=development,o=corp.ad.emb</organizatio
nalContext> 
<component>cn=CIM Email,cn=soap 
nodes,o=CIM,cn=cordys,cn=development,o=corp.ad.emb</component> 
</sender> 
 <receiver> 
<component>cn=webgateway@sjkap281,cn=cordys,cn=development,o=corp.ad.emb</compon
ent> 
<sent-to xmlns="http://schemas.cordys.com/General/1.0/" 
>socket://sjkap281:44119/</sent-to> 
</receiver> 
<msg-id>005056A9-002D-11E2-E75B-E29DB52FB6AB</msg-id> 
<license>License has expired since 765 day(s)</license> 
</header> 
</SOAP:Header> 
 <SOAP:Body> 
 <SOAP:Fault> 
<faultcode xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" 
>ns0:Server</faultcode> 
<faultstring xml:lang="en-US" >Error archiving container 
005056A9-002D-11E2-E75A-1A9DB36816AB</faultstring> 
<faultactor>http://emailioconnector.coe.cordys.com/2.0/inbound/dynamic</faultact
or> 
 <detail> 
 <cordys:FaultDetails xmlns:cordys="http://schemas.cordys.com/General/1.0/" > 
 <cordys:LocalizableMessage xmlns:cordys="http://schemas.cordys.com/General/1.0/" > 
<cordys:MessageCode xmlns:cordys="http://schemas.cordys.com/General/1.0/" 
>com.csc.cordys.ac.emailio.exception.ArchiverException.ARE_ERROR_ARCHIVING_CONTA
INER_0</cordys:MessageCode> 
<cordys:Insertion xmlns:cordys="http://schemas.cordys.com/General/1.0/" 
>005056A9-002D-11E2-E75A-1A9DB36816AB</cordys:Insertion> 
</cordys:LocalizableMessage> 
</cordys:FaultDetails> 
<cordys:FaultRelatedException 
xmlns:cordys="http://schemas.cordys.com/General/1.0/" 
>com.csc.cordys.ac.emailio.exception.ArchiverException: Error archiving 
container 005056A9-002D-11E2-E75A-1A9DB36816AB at 
com.csc.cordys.ac.emailio.archive.FileArchiver.doArchive(FileArchiver.java:117) 
at 
com.csc.cordys.ac.emailio.method.ArchiveEmails.execute(ArchiveEmails.java:93) 
at 
com.csc.cordys.ac.emailio.EmailIOTransaction.process(EmailIOTransaction.java:225
) at com.eibus.soap.SOAPTransaction.handleBodyBlock(SOAPTransaction.java:1304) 
at com.eibus.soap.SOAPTransaction.<init>(SOAPTransaction.java:601) at 
com.eibus.soap.SOAPTransaction.<init>(SOAPTransaction.java:175) at 
com.eibus.soap.Processor.onReceive(Processor.java:956) at 
com.eibus.soap.Processor.onReceive(Processor.java:929) at 
com.eibus.connector.nom.Connector.onReceive(Connector.java:417) at 
com.eibus.transport.Middleware$NonTransactionalWorkerThreadBody.run(Middleware.j
ava:1722) at com.eibus.util.threadpool.WorkerThread.run(WorkerThread.java:64) 
Caused by: java.lang.IllegalArgumentException: Input name is either empty or 
null at com.eibus.xml.nom.Node.createElementWithParentNS(Node.java:2825) at 
com.csc.cordys.ac.emailio.objects.EmailMessage.getXML(EmailMessage.java:174) at 
com.csc.cordys.ac.emailio.archive.FileArchiver.doArchive(FileArchiver.java:103) 
... 10 more </cordys:FaultRelatedException> 
</detail> 
</SOAP:Fault> 
</SOAP:Body> 
</SOAP:Envelope> 
</Response> 
</ErrorDetails> 

Thank you,
Cesar Lino

Original issue reported on code.google.com by cesar.l...@gmail.com on 30 Nov 2012 at 11:19