Recommended solutions based on your search
Make sure the glassfish server is running and hosts the file and is accessible to the public. If that's not the case, change the permissions of the file in the server's file system.
Use the relative path when providing the location of the file. Place the file in the project folder and access it according to the hierarchy. If you want to access a file outside the project folder, provide the absolute path.
Solutions on the web
java.io.FileNotFoundException: D:\Profiles\pvishal\jar:file:\D:\Profiles\pvishal\ohmygod.jar!\xmlapp.xml (The filename, directory name, or volume label syntax is incorrect)
at java.io.FileInputStream.open(Native Method)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)