Tmp dir holding the passivated beans are deleted during side by side deployment
Hi Everyone,
I am working on WLS 12.1.2. When performing redeployment of a EJB 3.1 application (Stateful session bean) , the temp directory holding the passivated beans are deleted and never recreated.
Due to which the following issue occurs:
Jan 22, 2014 6:17:03 PM IST> <Error> <EJB> <BEA-010024> <Error occurred during passivation: java.io.FileNotFoundException: /appl/oracle/middleware/user_projects/domains/otr_domain/servers/OTR1/tmp/pstore/-cehljw5zikbw/6771772139855946535.db (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
at weblogic.ejb.container.swap.DiskSwap.write(DiskSwap.java:182)
at weblogic.ejb.container.manager.StatefulSessionManager.swapOut(StatefulSessionManager.java:1592)