Questions tagged [maven-glassfish-plugin]

The Maven Glassfish Plugin is a Maven plugin allowing management of Glassfish domains and component deployments from within the Maven build lifecycle.

18 questions
9
votes
2 answers

Maven GlassFish plugin: asadmin CreateProcess error=193

Normally I would just go to the java.net site and look up what the error code I am getting is about but their web site is currently offline. Basically I am following this…
thatidiotguy
  • 8,701
  • 13
  • 60
  • 105
9
votes
2 answers

How to define a test datasource for an embedded EJB container

I am trying to test my EJBs using an embedded EJB container. In production, I rely on a JTA datasource configured in the application server. However, during testing, I want to connect to a different DB (in-memory Derby). The problem is that I can't…
Ryan Bennetts
  • 1,143
  • 2
  • 16
  • 29
4
votes
2 answers

Maven Glassfish Plugin: Deploy application as exploded directory/folder

I need my JavaEE-application to be deployed on Glassfish as a directory, not a packaged WAR file. Is it possible to deploy a directory to Glassfish with the Maven Glassfish Plugin? With the admin console, it's possible. But i want to be also able…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
3
votes
1 answer

maven-glassfish-plugin tries to start the domain when it is already started

I have just started using maven-glassfish-plugin. I got the start-domain goal working. However when I try to execute the deploy goal, the plugin thinks that the domain is not started and tries to restart it - this obviously fails. See log below: >…
Naresh
  • 23,937
  • 33
  • 132
  • 204
3
votes
1 answer

How to Upgrade glassfish?

I want to upgrade Glassfish without internet connection. But I have already downloaded the latest version. I have done the following steps, For eg. galssfish-3.0 is the older version and glassfish-3.1 is the newer version. Step: 1 I just copied the…
3
votes
0 answers

Maven GlassFish embedded plugin. Redeploy after packaging

How I can configure auto redeploying after "Package"? After running server by command org.glassfish:maven-embedded-glassfish-plugin:3.1.1:run I run package goal on application (because I need recompile my app after some changes in source code) with…
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
2
votes
1 answer

How deploy with maven-glassfish-plugin on my Linux server?

I try to deploy my web application on Linux Server. When I deploy on local Server GlassFish : It's ok. But, when I try to deploy on Linux Server Glassfish : maven try to call "asadmin.bat" in my local computer (OS : Windows). So Build is failed. I…
2
votes
0 answers

Specify logging.properties in embedded Glassfish with maven-embedded-glassfish-plugin

I use a project template containing a Maven configuration for an embedded Glassfish (using the maven-embedded-glassfish-plugin). I need to enable logging, but I do not even know which logging engine is enabled in the Glassfish (since I did not…
Manuel Faux
  • 2,317
  • 5
  • 24
  • 35
2
votes
0 answers

Wrong rollback behaviour in a nested transactional context with JTA and DataNucleus

I will first explain my goal, then the symptoms, and then the setup of my environment. I am working on a project which should finally test the behavior of cumulus4j in a nested transactional context. Therefore I have first written the tests without…
1
vote
1 answer

Maven Glassfish plugin - Handling redeploy/deploy/undeploy Failure

I need to build and deploy the war into glassfish using maven(Problem explained below). Currently I managed to deploy the war using maven glassfish plugin and I've used the goal redploy as shown in the POM below:
user3660635
1
vote
1 answer

maven-glassfish-plugin remote delopy from windows IDE to linux Server

I want to deploy to a remote Linux server with maven-glassfish-plugin 2.1. But the plugin always try to call C:\...\asadmin.bat. Here are the error msg: [ERROR] Failed to execute goal org.glassfish.maven.plugin:maven-glassfish-plugin:2.1:deploy…
Khinsu
  • 1,487
  • 11
  • 27
1
vote
2 answers

Maven-glassfish-plugin: how to specify deploy target?

I'm using Maven 3.0.4 with maven-glassfish-plugin 2.1 (http://maven-glassfish-plugin.java.net/) and Glassfish 2.1.1. Relevant POM.XML fragment: deploy
Jerzyna
  • 579
  • 1
  • 6
  • 11
1
vote
2 answers

maven-glassfish-plugin in maven-3.0.4

Upon running mvn install glassfish:deploy I run into the following problems [...] [ERROR] Failed to execute goal org.glassfish.maven.plugin:maven-glassfish-plugin:2.1:deploy (default-cli) on project post-build-pom: Execution default-cli of goal…
Robert Heine
  • 1,820
  • 4
  • 29
  • 61
1
vote
1 answer

Maven maven-glassfish-plugin in a multiproject setup

Short version: I would like the maven-glassfish-plugin to only be executed in the root project in a hierarchical (inheritance based) maven multiproject setup. Long version: Following setup: project-root | +-pom.xml | + ear-module | | | …
Patrick
  • 809
  • 3
  • 9
  • 21
0
votes
1 answer

Where can the sources for maven-glassfish-plugin be downloaded?

When trying to get them from http://maven-glassfish-plugin.java.net/svn/maven-glassfish-plugin, all I get are svn OPTIONS 200 OK error, indicating that SVN server is not where I think it is. So, how can I get the sources to do the modifications I…
Riduidel
  • 22,052
  • 14
  • 85
  • 185
1
2