users@glassfish.java.net

Re: Glassfish EAR deployment

From: <forums_at_java.net>
Date: Fri, 6 May 2011 02:15:36 -0500 (CDT)

Well, it turns out that some XML files generate when the EJB's are deployed
and those need to be on UTF-8 encoding, not just on the XML headers but
opened and saved in a text editor as UTF-8 enconding and uploaded back to
the server with programas like WinSCP that are to open spanish acute accented
characters, while having the glassfish server stopped.

The files are located on
/opt/SUNWappserver/domains/domain1/generated/policy/grant.policy, since I
have JAAS; also or if you didn't implement JAAS, on
/opt/SUNWappserver/domains/domain1/generated/xml/.../ejb-jar.xml and
sun-ejb-jar.xml, have to be on UTF-8 encoding and lines added indicating the
EJBs which have funny names with those characters.

 

Thank you!


--
[Message sent by forum member 'alexandroscgb']
View Post: http://forums.java.net/node/798477