reposting this here since things got a bit fragmented due to the separation of the mailing list merging with the forums. This is from anilam:
The team was aware of the com.sun.jsftemplating.layout.SyntaxException during server startup when using NetBeans. This exception was just a warning, and doesn't cause any function lost. Until recently, we also see java.lang.StackOverflowError showing up.
Please refer to the other thread
http://forums.java.net/jive/thread.jspa?messageID=202373. There are both issue filed against NetBeans
http://www.netbeans.org/issues/show_bug.cgi?id=92624
and against Glassfish.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=2048 relating to this.
The team is actively working on this issue, thanks for your patience while we are trying to resolve this.
AFAIK, this exception occurs for developer profile only. Cluster profile is fine. Also, for developer profile, restart is working fine, without any issue. A work around is to startup the server using Glassfish CLI instead of inside NetBeans.
Thanks.
[Message sent by forum member 'areplogle' (areplogle)]
http://forums.java.net/jive/thread.jspa?messageID=202506