Default Project CR-338

OPENAM-1050: OpenDJ backup not being created on upgrade

Under Review for 4 months (due 4 months ago)

  •  
  •  
  •  
  •  
  • Author & Moderator
  • Reviewers
 

CR-338

  • Expand all
  • Collapse all
Summarize the review outcomes (optional)
 
#permalink

Details

Warning: no files are visible, they have all been filtered.
Participant Role Time Spent Comments Latest Comment
Author & Moderator 0m    
Reviewer - 0% complete      
Total   0m 0  
#permalink

Objectives

When deploying OpenAM 10 a backup of the current OpenDS folder needs to be created to allow for rollback. At the moment this is not working as intended.

From catalina.out:

amSetupServlet:01/10/2012 10:58:57:881 AM GMT: Threadpool-2-thread-1,5,main
DebugWriter is null.
java.io.FileNotFoundException: /home/sam/openam/backups/opendj.backup.20120110105857.zip (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at com.sun.identity.setup.AMSetupServlet.createOpenDJBackup(AMSetupServlet.java:332)
at com.sun.identity.setup.AMSetupServlet.checkOpenDJUpgrade(AMSetupServlet.java:304)
at com.sun.identity.setup.AMSetupServlet.init(AMSetupServlet.java:196)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
... (More)


amSetupServlet:01/10/2012 10:58:57:881 AM GMT: Threadpool-2-thread-1,5,main
ERROR: IOException
java.io.FileNotFoundException: /home/sam/openam/backups/opendj.backup.20120110105857.zip (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at com.sun.identity.setup.AMSetupServlet.createOpenDJBackup(AMSetupServlet.java:332)
at com.sun.identity.setup.AMSetupServlet.checkOpenDJUpgrade(AMSetupServlet.java:304)
at com.sun.identity.setup.AMSetupServlet.init(AMSetupServlet.java:196)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
... (More)

#permalink

General Comments

There are no general comments on this review.
/trunk/opensso/.../setup/AMSetupServlet.java Changed
/trunk/.../upgrade/UpgradeServices.java Changed

Review updated: Reload | Ignore | Collapse

You cannot reload the review while writing a comment.

 

Create Issue

X
Assign To Me
 

Log time against