user761796
user761796

Reputation:

Deploy Failed in GlassFish Server 3

I'm working on a Webapplication. I'm using NetBeans 6.9.1, Java, JSF and GlassFish Server 3.

If I try to deploy the project I get following error:

    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest: 
    compile:
    compile-jsps:
    In-place deployment at /home/ghost/Dokumente/fontys/s2/prj2/trunk/realisierun/program/prj2-m2-10b/build/web
    deploy?path=/home/ghost/Dokumente/fontys/s2/prj2/trunk/realisierung/program/prj2m2-10b/build/web&name=prj2-m2-10b&force=true on GlassFish Server 3 failed
    /home/ghost/Dokumente/fontys/s2/prj2/trunk/realisierung/program/prj2-m2-10/nbproject/build-impl.xml:784: The module has not been deployed.
    BUILD FAILED

But cleaning and building works fine. I could not find any solution.

Thanks.

Upvotes: 0

Views: 6665

Answers (2)

Martin Mecera
Martin Mecera

Reputation: 196

If my Glassfish behaves crazy, I do:

  • stop GF,
  • delete /domain1/generated/*,
  • delete /domain1/osgi-cache/*,
  • start GF.

Upvotes: 1

Ruwantha
Ruwantha

Reputation: 2653

I had the same issue. Just restart the server all will be fine.

Upvotes: 0

Related Questions