users@glassfish.java.net

Re: can not deploy war file to glassfish

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 19 Jun 2009 18:50:54 +0530

I think the problem here is that your war contains javax.servlet class,
but I certainly don't understand why the application should not deploy.
The container could just emit a warning that the bundled javax.servlet
class won't be used.

Sahoo

glassfish_at_javadesktop.org wrote:
> Hello,
>
> I was using tomcat as application server and I decided to migrate to glassfish. I want to deploy the war file to glassfish. I use the web GUI at port 4848(localhost:4848) to deploy war. I select the war file, deploy it and no errors until here. But when I click to launch link, my site does not open. instead a directory listing is opened with only one index.html file.
>
> At the time of deployment, Netbeans prints following lines to the console
> INFO: validateJarFile(/home/tuncer/NetBeansProjects/EFiyat-web/build/web/WEB-INF/lib/grizzly-servlet-webserver-1.7.3.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
> INFO: validateJarFile(/home/tuncer/NetBeansProjects/EFiyat-web/build/web/WEB-INF/lib/grizzly-servlet-webserver-1.7.3.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
> INFO: Unknown loader org.glassfish.internal.api.DelegatingClassLoader_at_6001ef4b class org.glassfish.internal.api.DelegatingClassLoader
> INFO: Loading application EFiyat-web at /EFiyat-web
> INFO: Deployment of EFiyat-web done is 32387 ms
>
>
> Does anybody have any idea about why this is happening and how can i solve the problem.
>
> Thanks.
> [Message sent by forum member 'tuncerkare' (tuncerkare)]
>
> http://forums.java.net/jive/thread.jspa?messageID=352054
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>