Deploying EAR as exploded fails with "Unable to save uploaded file to temp
directory"
-------------------------------------------------------------------------------------
Key: EMBJOPR-348
URL:
https://jira.jboss.org/browse/EMBJOPR-348
Project: Embedded Jopr
Issue Type: Bug
Environment: EAP 5.1.0.GA zip noauth,
OpenJDK,
RHEL 6
Reporter: Ondrej Zizka
Attachments: testscopedrar.ear
STR:
1) Deploy the attached EAR as Exploded, and see the EAP log.
11:09:31,751 ERROR [CreateContentBackedResourceAction] Unable to save uploaded file to
temp directory /root/RHEL6/eap51/server/default/tmp/embjopr.
java.io.FileNotFoundException: /root/RHEL6/eap51/server/default/tmp/embjopr/uploads (Is a
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at
org.jboss.on.embedded.ui.content.AbstractFileUploadAction.writeTempFile(AbstractFileUploadAction.java:79)
at
org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction.createContentBackedResource(CreateContentBackedResourceAction.java:114)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira