users@glassfish.java.net

Applet access ejb3 in glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Jan 2008 19:26:52 PST

i using applet to access ejb3,but report java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory
exception,my project structure is
project
  ejb.jar
  client.jar
  META-INF
     application.xml
  lib

in lib ,there all jar user for project..and in ejb.jar,client.jar i add Class-path attribute ...
lib/antlr-2.7.6.jar lib/appserv-rt.jar lib/asm-attrs.jar lib/asm.jar lib/c3p0-0.9.1.jar lib/cglib-2.1.3.jar lib/classes12.jar lib/commons-beanutils.jar lib/commons-collections-3.2.jar lib/commons-dbcp.jar lib/commons-httpclient-3.1.jar lib/commons-io-1.3.2.jar lib/commons-lang-2.3.jar lib/commons-logging.jar lib/commons-math-1.1.jar lib/commons-pool-20070724.jar lib/commons-validator-1.3.0.jar lib/concurrent.jar lib/dom4j-1.6.1.jar lib/ehcache-1.2.3.jar lib/hibernate-annotations.jar lib/hibernate-client.jar lib/hibernate-entitymanager.jar lib/hibernate3.jar lib/javaee.jar lib/javassist.jar lib/jstl-1.2.jar lib/jta.jar lib/junit-3.8.1.jar lib/l2fprod-common-all.jar lib/log4j-1.2.11.jar lib/msbase.jar lib/nachocalendar-0.23.jar lib/oscache-2.1.jar lib/spring-richclient-full-0.2.1.jar lib/trove.jar lib/xerces-2.6.2.jar lib/xml-apis.jar
[Message sent by forum member 'gaofengcn' (gaofengcn)]

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