[
https://jira.jboss.org/jira/browse/JOPR-39?page=com.atlassian.jira.plugin...
]
corey welton commented on JOPR-39:
----------------------------------
This doesn't seem to work in jopr r310. It looks like it is parsing wrong.
If I
1. install a war (servlets-examples.war)
2. install again (and make a backup)
3. try to revert
Iit fails and I get the following
java.lang.RuntimeException: Error reverting from Backup: Backup file
/root/jboss/jboss-eap-4.3/jboss-as/server/production/deploy/servlets-examples.war/.bak
does not exist
at org.rhq.plugins.jbossas.WarComponent.invokeOperation(WarComponent.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Now, note the name of my backup directory:
drwxr-xr-x 4 root root 4096 Mar 25 15:54 servlets-examples.war.bak/
possibility to rollback application to previously backuped WAR/EAR
------------------------------------------------------------------
Key: JOPR-39
URL:
https://jira.jboss.org/jira/browse/JOPR-39
Project: Jopr
Issue Type: Feature Request
Components: Plugin - JBoss AS 4
Affects Versions: 2.1
Reporter: Joao Paulo Viragine
Assignee: Heiko W. Rupp
Priority: Optional
Fix For: 2.2
It would be nice if we could rollback application to previously backuped WAR/EAR (like we
can do with configurations)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira