简体   繁体   中英

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.

If my Glassfish behaves crazy, I do:

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM