31.8.09

File name too long – Error on WebLogic Portal domain removal

Sometimes you need to recreate domain or just remove the domain for good. On Windows you might end up with situation where simple recursive WebLogic domain folder delete will cause “File Name too Long” errors and one or two files out of the domain directory cannot be deleted.

The reason for this is that the complete path (including sub-directories) is longer than 256 characters. The workaround is to reduce the names of the subdirectories one-by-one until you are able to delete the whole domain directory tree. You can start with “rename AdminServer 1” etc. until you are able to remove.

6 comments:

sap upgrade planning said...

Yes, I got this error once. The file name becomes too large because of the path name of the file is more than 256 characters. You can overcome this problem by using small sub-directory name one by one. Try this method when you face this problem.

Neng Silvi said...

Long path tool is the best solution for your problem. try it and solve your problem.

garry dam said...

With Path too long error I use "Long Path Tool" to get fast and easy fix .

joshua42 said...

I would recommend in this case to try program Long Path Tool

Damien said...

Long Path tool really worked for me !

Unknown said...

You have to checkout long path tool, it's an automated software for this type of errors