dev@glassfish.java.net

Re: [v3] deploy/undeploy command not working?

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 18 Jan 2008 00:24:47 -0800

Jane,

I guess you need to do a fresh build. I just deployed a war file
without any problems.

- Kedar

Jane Young wrote:
> Hi,
>
> Is deploy/undeploy command broken in v3?
>
> (1) Deploy
> I just did a fresh build and deployed hello1.war. The deployment was
> successful.
> When accessing this application from a browser, I got this message:
>
> org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
>
> PWC6199: Generated servlet error:
> [javac]
> /export/Glassfish/glassfish_v3_17Jan/v3/execute/glassfish/bin/work/com.sun.appserv/server/hello1/org/apache/jsp/index_jsp.java:3:
> package javax.servlet does not exist
> [javac] import javax.servlet.*;
> [javac] ^
> ...
>
> (2) Undeploy
> Undeploying the application was successful but when trying to redeploy
> again, you get this message:
>
> FAILURE : Error while creating directory for jar expansion
>
> "asadmin list-applications" displays no application deployed but when
> you look into domains/domain1/applications directory, you'll find
> "hello1" there.
>
>
> Is this a known issue?
>
> Jane
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>