Use NetBeans6.9 , glassFish 3.1, jdk 6,jdr 6_22,
if use NB run client has no question¡C
set Java Web Start, The jnlp file include
<jar href="lib/appframework-1.0.3.jar"/><jar href="lib/swing-worker-1.1.jar"/><jar href="lib/AbsoluteLayout.jar"/><jar href="lib/derby.jar"/><jar href="lib/derbyclient.jar"/><jar href="lib/fscontext.jar"/><jar href="lib/imq.jar"/><jar href="lib/jms.jar"/><jar href="lib/gf-client.jar"/><jar href="lib/jndi-properties.jar"/><jar href="lib/DirManage-ejb.jar"/><jar href="lib/javax.persistence.jar"/>in localhost run
Throw
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
when ctx = new InitialContext(props);
Please give me a answer!
And When client run in a remote PC¡Aonly have jre ¡Awhere to include the jar in gf-client.jar?