java.lang.Exception: deploy is failing=Application with name [dukes-age] is not deployed

Java.net JIRA | oliviercailloux | 1 year ago
  1. 0

    Deploy a war application with eclipse using Glassfish tools integration. Then, using the administration console, undeploy the application (not going through eclipse, thus). Then modify anything in the eclipse application (so that it gets dirty), and ask eclipse to re-publish it. Eclipse says: “cannot Deploy dukes-age, deploy is failing=Application with name [dukes-age] is not deployed.” (And indeed the application is not deployed.) Same thing after restarting eclipse and glassfish. Eclipse log says: First, INFO: GlassFish: Deploy direcotry /usr/local/share/glassfish4/glassfish/domains/domain1/eclipseApps/dukes-age. Second, ERROR: java.lang.Exception: deploy is failing=Application with name [dukes-age] is not deployed at oracle.eclipse.tools.glassfish.GlassfishServerBehaviourDelegate.publishDeployedDirectory(GlassfishServerBehaviourDelegate.java:613) at oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModuleForGlassFishV3(GlassfishV4ServerBehavior.java:96) at oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModule(GlassfishV4ServerBehavior.java:56) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1091) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1183) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774) at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3157) at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Third, ERROR (same stacktrace repeated). Workaround: rename the application in eclipse, deploy it: it gets deployed. Then rename it back to its original name, deploy: it gets deployed.

    Java.net JIRA | 1 year ago | oliviercailloux
    java.lang.Exception: deploy is failing=Application with name [dukes-age] is not deployed
  2. 0

    Deploying app from Eclipse to GlassFish

    Stack Overflow | 2 years ago | user2783755
    java.lang.Exception: deploy is failing=Application with name [elearning] is not deployed
  3. 0

    [GLASSFISH-20616] Strange EntityManager errors in @Singleton @Startup @PostConstruct - Java.net JIRA

    java.net | 1 year ago
    java.lang.Exception: deploy is failing=Error occurred during deployment: Exception while loading the app : javax.ejb.CreateException: Initialization failed for Singleton TestStartup. Please see server.log for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [#GLASSFISH-20616] Strange EntityManager errors in @Singleton @Startup @PostConstruct

    java.net | 1 week ago
    java.lang.Exception: deploy is failing=Error occurred during deployment: Exception while loading the app : javax.ejb.CreateException: Initialization failed for Singleton TestStartup. Please see server.log for more details.
  6. 0

    Deserializing string to Seq[Case Class] returns Seq[HashMap]

    GitHub | 2 years ago | mrmeyers99
    java.lang.Exception: List(Map(name -> John Doe, age -> 32), Map(name -> Jane Doe, age -> 32)) is not equal to List(Person(John Doe,32), Person(Jane Doe,32))

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Exception

      deploy is failing=Application with name [dukes-age] is not deployed

      at oracle.eclipse.tools.glassfish.GlassfishServerBehaviourDelegate.publishDeployedDirectory()
    2. oracle.eclipse.tools
      GlassfishV4ServerBehavior.publishModule
      1. oracle.eclipse.tools.glassfish.GlassfishServerBehaviourDelegate.publishDeployedDirectory(GlassfishServerBehaviourDelegate.java:613)
      2. oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModuleForGlassFishV3(GlassfishV4ServerBehavior.java:96)
      3. oracle.eclipse.tools.glassfish.GlassfishV4ServerBehavior.publishModule(GlassfishV4ServerBehavior.java:56)
      3 frames
    3. Server Core
      Server$PublishJob.run
      1. org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1091)
      2. org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1183)
      3. org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987)
      4. org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      5. org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3157)
      6. org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
      6 frames
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame