Discussion:
Geronimo 3: FileUtils - Unable to record temporary file?
rwengr
2014-02-19 01:56:04 UTC
Permalink
This error may be the root cause of another downstream problem, but I think
it is unlikely. However, I still find it puzzling. It happens when I try
to build a CAR file in a maven project.

[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState
for:
org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.1/car?ServiceModule=org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.1/car,j2eeType=ConfigBuilder,name=ServiceBuilder
State changed from stopped to starting
[org.apache.geronimo.kernel.util.FileUtils] : Unable to record temporary
file /tmp/geronimo-fileutils8999408278146721711.tmpfile , it is required to
call beginRecordTempFiles first
[org.apache.geronimo.gbean.runtime.GBeanInstanceState] : GBeanInstanceState
for:
org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.1/car?ServiceModule=org.apache.geronimo.framework/geronimo-gbean-deployer/3.0.1/car,j2eeType=ConfigBuilder,name=ServiceBuilder
State changed from starting to running


I looked at source code and it appears related to use of ThreadLocal class
in
org.apache.geronimo.kernel.util.FileUtils.

As far as I can tell, no files get created in /tmp. /tmp is RWX for
everybody. Plus, I removed the sticky bit just in case that was an issue.
I even made /tmp owned by the user

Is this one of those "not really an error" errors?

Thanks in advance.




--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-FileUtils-Unable-to-record-temporary-file-tp3987641.html
Sent from the Users mailing list archive at Nabble.com.
rwengr
2014-02-20 23:45:45 UTC
Permalink
I will be deleting this post because it duplicates part of new post I want to
create due to new troubleshooting results.

If interested, please see my post about Apache Geronimo Kernel and
car-maven-plugin



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-FileUtils-Unable-to-record-temporary-file-tp3987641p3987644.html
Sent from the Users mailing list archive at Nabble.com.

Loading...