Affects Version/s: 4.0_b34
Fix Version/s: None
Problem when using appclient:
If there are space(s) at the Main-Class entry in MANIFEST.MF of warehouse-client.jar, appclient fails with ClassNotFoundException.
When the MANIFEST.MF is like this, it works.
When below MANIFEST.MF is used, appclient fails with ClassNotFoundException. See the space between 'Main-Class:' and 'warehouse'. You could try inserting two space between : and w, or inserting at least one space at the end of the line. In both cases, space character(s) are included in the class name and this fails with ClassNotFound.
Steps to reproduce the problem:
Sample programs are attached. Please extract the zip files to use them. The only difference between working.zip and notworking.zip are space for Main-Class in MANIFEST.MF
2.asadmin deploy --force=true --name warehouse .\warehouse.ear
3.asadmin get-client-stubs --appname warehouse .\client
4.appclient -client .\client\warehouseClient.jar
appclient fails with java.lang.ClassNotFoundException.
The problem is it is very difficult for a user to find the cause because the space is not a visible character.
I also tried the same for Class-Path: This worked even when there are space characters.