Bug 354602 - JBoss 7 temporary deployment directory not cleared and workbench crash
Summary: JBoss 7 temporary deployment directory not cleared and workbench crash
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2011-08-12 07:06 EDT by r.lopinski CLA
Modified: 2011-08-12 09:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description r.lopinski CLA 2011-08-12 07:06:22 EDT
Build Identifier: 20110615-0604

Deploying to JBoss 7 Server creates temporary files in 
.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_7.0_Localhost/tempDeploy
This directory is not cleaned if Eclipse is started with -clean option. The result is an fast increasing disk usage. 
It seems that an unclean shutdown left some corrupted data in that directory, which resulted in a crash, when trying to restart eclipse.

Root exception:
org.eclipse.core.internal.resources.ResourceException(null)[567]: java.io.UTFDataFormatException: malformed input around byte 13
        at java.io.DataInputStream.readUTF(DataInputStream.java:656)

Deleting all contents of the mentioned directory solved the problem, while the "-clean" option did NOT. 





Reproducible: Always
Comment 1 Remy Suen CLA 2011-08-12 09:20:35 EDT
(In reply to comment #0)
> Deploying to JBoss 7 Server creates temporary files in 
> .metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_7.0_Localhost/tempDeploy
> This directory is not cleaned if Eclipse is started with -clean option.

The -clean option is not for cleaning out the stuff in the .metadata/ folder.

> It seems that an unclean shutdown left some corrupted data in that directory,
> which resulted in a crash, when trying to restart eclipse.

Please report this bug with the developers of the JBoss plug-in if seemingly corrupt data in the folder is preventing Eclipse from starting up.