During application deployment and Sync operation, the
application will be pushed to the node and then will get expanded in to
the installedApps folder. It requires the Java™ temp folder location while
expanding the application. java.io.tmpdir system property will be used as
a temp location and on Unix , it will be "/tmp" or "var/tmp" folder. In
this case , WebSphere® was not able to create /tmp folder in the OS root
level and caused the earExpander to fail. Client had a file named tmp in
the OS root level and it did not allow WebSphere to create the tmp folder.
The following exception is thrown in the nodeagent SystemOut.log file
and trace file.
[22/04/06 00:57:52:388 BST] 2ee83b60 AppBinThread E ADMA7008E: Unexpected
exception in expandEar. The ear file
cells/thornNetwork/applications/HelloWorldEAR.ear/HelloWorldEAR.ear will
not be extracted in following paths
[/opt/WebSphere/AppServer/installedApps/thornNetwork/HelloWorldEAR.ear].
Exception: java.io.FileNotFoundException: /tmp/tSync.10abee35d83 (Not a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
at
com.ibm.ws.management.application.sync.AppBinThread.extractFile(AppBinaryProcessor.java:1297)
at
com.ibm.ws.management.application.sync.AppBinThread.expandEar(AppBinaryProcessor.java:955)
at
com.ibm.ws.management.application.sync.AppBinThread.run(AppBinaryProcessor.java:878)
at java.lang.Thread.run(Thread.java:567)
|