users@glassfish.java.net

Re: Application client - "Error Launching Application"

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Jan 2008 09:18:50 PST

I'm using Glassfish which reports its version as "Sun Java System Application Server 9.1", client's JDK is actually JRE 1.6.0_03, Windows XP SP2 (the server and the client run on the same machine).

I've enabled logging (thanks for the tip!) and I see something suspicious there:

policy: evaluation (codesource) failed
policy: evaluate codesources:
        Policy CodeSource: (file:/C:/Documents%20and%20Settings/Sergej/Data%20aplikac%ef%bf%bd/Sun/Java/Deployment/cache/6.0/9/3a39d7c9-604594b8 <no signer certificates>)
        Active CodeSource: (file:/C:/Documents%20and%20Settings/Sergej/Data%20aplikac%c3%ad/Sun/Java/Deployment/cache/6.0/9/3a39d7c9-604594b8 <no signer certificates>)
policy: evaluation (codesource) failed

I'm using a localized Windows XP here and the Application Data directory is localized as well, with the localized name being "Data aplikací". Now, %C3%AD is URL-encoded UTF-8 i-acute, which is the correct character there. %EF%BF%BD is URL-encoded UTF-8 "Unicode replacement character", which seems to indicate some conversion error somewhere.

Any guess as to what is the root cause of this misconversion? I can attach the whole trace output if you need it, of course.

Thanks
[Message sent by forum member 'koser' (koser)]

http://forums.java.net/jive/thread.jspa?messageID=253014