users@glassfish.java.net

Re: Glassfish V2 + enterprise application using struts problem

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Dec 2007 09:02:31 PST

Hi, I had the same problem working on NetBeans 6.0. It seems to be a NetBeans' bug. Try this:

1. On NetBeans (assuming you are using it) you must only build your Enterprise application (including the struts web application). Do not deploy it there.

2. Open your GlassFish admin console (http://localhost:4848), login with admin (default password: adminadmin) and deploy your EAR there.

2.1. It may be necessary to undeploy the previous Enterprise application, if you already tried a deploy before on NetBeans. Or you can also redeploy...

It worked for me...

Hope it helps.

Take care,
Cesar.
[Message sent by forum member 'cesarc' (cesarc)]

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