Friday, June 25, 2010


Im running a JMS application using a Glassfish application server.
It runs fine when I run it through netbeans.

But when I run it by clicking directly on the jar file, I get an error : 
cannot instantiate class com.sun.appserv.naming.S1ASCtxFactory (class not found: com.sun.appserv.naming.S1ASCtxFactory)

Ans : 
You need to make sure that appropriate jars are there, check this out

1 comment:

Blogger said...

BlueHost is the best hosting provider with plans for any hosting requirements.

Blog Archive