users@glassfish.java.net

Re: ClassNotFoundException when deploying dutside of glassfishv2

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Mon, 17 Mar 2008 10:18:27 -0400

SunDeploymentFactory is in this jar "appserv-deployment-client.jar"
under the glassfish/lib directory. This jar contains all the necessary
classes for a deployment client. Please add this jar to your classpath
and try again.

- Hong

glassfish_at_javadesktop.org wrote:

>The code that throws the exception:
>
>DeploymentFactory deploymentFactory = (DeploymentFactory)
> Class.forName(param
> .getDeploymentFactoryManagerClassName()).newInstance();
>
>
>where param.getDeploymentFactoryManagerClassName() returns "com.sun.enterprise.deployapi.SunDeploymentFactory".
>[Message sent by forum member 'lyeung' (lyeung)]
>
>http://forums.java.net/jive/thread.jspa?messageID=264250
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>