Monday, June 22, 2009

Deploying web application on WAS 6.1 fails, not all jars are in lib folder

When exporting an ear or war file from RAD, and there are backup files like ".#web.xml.1.6" (probably generated by cvs / RAD) in your WEB-INF folder, they get exported as well.

If you try to deploy this ear on your websphere application server (on windows), this succeeds. But those files with the special characters could not be copied. Somehow the copy progress of other jars in your WEB-INF\lib folders halts as well. So not all your jar files are in the lib folder of the deployed project.

Make sure there are no files with special characters (that the windows file system cannot handle) in your ear file.