[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-5953; jar override issue
adrian@jboss.org
do-not-reply at jboss.com
Tue Sep 30 10:07:24 EDT 2008
I don't see the crash problem that Shelley is seeing,
but I do see the test failing.
If I put a sleep between the copy of the file and redeploy,
then the test passes.
| [ejort at warjort testsuite]$ svn diff
| Index: src/main/org/jboss/test/jmx/test/UndeployBrokenPackageUnitTestCase.java
| ===================================================================
| --- src/main/org/jboss/test/jmx/test/UndeployBrokenPackageUnitTestCase.java (revision 78789)
| +++ src/main/org/jboss/test/jmx/test/UndeployBrokenPackageUnitTestCase.java (working copy)
| @@ -152,6 +152,8 @@
|
| Files.copy(goodjar, thejar);
| getLog().info("Redeploying testPackage: " + testPackage);
| +
| +Thread.sleep(10000);
|
| redeploy(testPackage);
| Object home = getInitialContext().lookup("EntityA");
|
So this is clearly either a caching issue inside the VFS/JDK
or there is some issue with the Files.copy() not flushing properly to the file system
so the server is seeing a corrupt file.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179581#4179581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179581
More information about the jboss-dev-forums
mailing list