I am having no luck running glassfish v2 b41 and later - and i wonder if it's something silly I am just not seeing. When I start up glassfish v2 from within NetBeans 5.5, I get this error on the server console output:
com.sun.jsftemplating.layout.SyntaxException: Handler 'setResourceBundle' in event 'beforeCreate' is not declared! Ensure the '_at_Handler' annotation has been defined on the handler Java method, that it has been compiled with the annotation processing tool, and that the resulting 'META-INF/jsftemplating/Handler.map' is located in your classpath (you may need to do a clean build).
Here's what I do:
- download the glassfish v2 installer jar file.
- run it using "java -jar glassfish-installer.jar"
- cd into the glassfish folder, then run "lib\ant\bin\ant -f setup.xml" (this says it's all ready)
- start up NetBeans 5.5, and add Glassfish as a new Server using Server Manager.
= I tell netbeans 5.5 it is Sun App Server (the other choices are Tomcat, JBoss, ...), and I point it at the glassfish folder
- tell netbeans to start glassfish by right-clicking on the glassfish node in Runtime->Servers
It is a brand new installation of glassfish, so I am thinking the error must be coming from one of its default apps...
This happened to me on all of WinXP, Linux, Solaris (all x64) and Java 1.6....
Anyone know what I am doing wrong? I could use a hint :-)
Thank you!
Moises
[Message sent by forum member 'mlejter' (mlejter)]
http://forums.java.net/jive/thread.jspa?messageID=215270