users@glassfish.java.net

Glassfish v3 - S1ASCtxFactory ClassNotFoundException

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Jan 2010 12:10:34 PST

Just installed Glassfish v3 and now i'm trying to run an example from here:

http://javadude.wordpress.com/2009/01/09/tutorial-starting-with-glassfish-and-jms-part-2/

But i get this error:

javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.appserv.naming.S1ASCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.appserv.naming.S1ASCtxFactory]

I've added the appserv-rt.jar to the classpath, but the jar appears to be empty of any classes and is only 3kb in size?? What is going on?
[Message sent by forum member 'jmandawg' (jmandawg_at_hotmail.com)]

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