Questions tagged [glassfish-embedded]
104 questions
2
votes
0 answers
How can I serve static content with Glassfish embedded?
I'm trying to setup Glassfish embedded with a WAR project that implements a REST API and then some static Javascript content that calls it. I got the WAR to deploy and the REST API is available with a context root of "/Users".
How can I use…

Andy Fiedler
- 513
- 1
- 5
- 8
2
votes
0 answers
Can't run test in arquillian and glassfish
I'm trying to deploy my EJB ear file to embedded glassfish server with Arquillian.
Here is my project structure.
Parent Module
-- EAR Module (maven-ear plugin creates the ear file)
-- UI Module
-- EJB Module (has dependencies to Entities, Utilities…

Dev2
- 153
- 1
- 9
2
votes
3 answers
Integration tests with maven2 fail-safe & embedded-glassfish
I've created a new project which will only run the integration test with
maven-ear-plugin
maven-failsafe-plugin
maven-embedded-glassfish-plugin
When I set the packaging to ear the ear file gets created, glassfish runs but the tests are being…

Dev2
- 153
- 1
- 9
1
vote
1 answer
Glassfish embedded + maven cobertura plugin
I've used embedded glassfish in the following way:
public static void createContainer() throws IOException {
File target = new File("target/classes");
Map properties = new HashMap();
…

joaosavio
- 1,481
- 3
- 17
- 20
1
vote
0 answers
Authorization problems with Embedded Glassfish 3.1.1
I'm using Embedded Glassfish to deploy a Java EE 5 web application. Using version 3.1 I was successful to:
Deploy it in a normal (not embedded) environment;
Based on the 1st step, create an embedded deploy.
Then, something changed that I cannot…

Nigini
- 454
- 1
- 5
- 16
1
vote
1 answer
Can not acces a running instance of embedded Glassfish from browser
I'm trying to use the embedded Glassfish for running some unit tests. I have managed to configure and start the server, but i can't access the management console from my browser. Nor can i access the REST Interface from tha java code. My questions…

sebi
- 1,791
- 3
- 25
- 43
1
vote
0 answers
Maven Glassfish embedded server using jax-ws
I tried to biuld my first Maven project using embedded glassfish server to provide a jax-ws webservice and static page.
My problem at this time is that the glassfish server start and I have glassfish 404 page on http://localhost:8080 and on…

BeRoots
- 81
- 12
1
vote
0 answers
Can't execute embedded Glassfish App at Apple platform
I'm having a problem running an JEE5 application at GF 3.1 Embedded at Apple computers... (the same environment works at Linux and Windows). The server starts ok, but when loading the APP the server returns a SEVERE message... My deployment is…

Nigini
- 454
- 1
- 5
- 16
1
vote
1 answer
How can JMX in embedded glassfish be activated?
how can one activate JMX in embedded glassfish (using maven-embedded-glassfish-plugin)?

konrad.kruczynski
- 46,413
- 6
- 36
- 47
1
vote
0 answers
Can't deploy an application twice using Glassfish Embedded v3.1
I'm having trouble with the following scenario:
Start JVM.
Start GlassFish Embedded v3.1.
Deploy my application EAR.
Undeploy my application.
Restart GlassFish Embedded v3.1, i.e., stop and start.
Deploy my application EAR. -- crashes
I've tried…

Thiago Negri
- 5,221
- 2
- 28
- 39
1
vote
1 answer
NoSuchMethodException: getProperties on jar execution
I have an embedded GlassFish server, which works well if I run the main file direclty from my IDE (IntelliJ IDEA Ultimate). When I try to export a jar using maven and run the jar from command line, I get the following error:
jul 07, 2018 11:48:43…

metahexane
- 119
- 11
1
vote
2 answers
Java EE 6 embedded glassfish embedded derby EJB unit test
questing is about javaee6 with embedded glassfish and embedded derby jndi lookup for data source at the time of deployment before unit test is executed....
Please find the persistence.xml here...
user237673
1
vote
1 answer
How to solve portable jndi name problem in unit tests?
I am using javaee6/ejb3.1 api with glassfish embedded server.
my application structure is ui-controller module ejbs calls biz-controller ejbs.
with the global jndi name format is java:global/myapp/mymodule/myejb.
But when I try to unit test both…
user237673
1
vote
0 answers
Arquillian and glassfish-embedded configuration issues,deployment fails
I was assigned to an application developed some months ago, but has never been deployed in production. It is a war, with embedded EJB. The target server was in JavaEE 7 (Weblogic 12.2.1), but as this server was not available on our infra, the…

Val Bonn
- 1,129
- 1
- 13
- 31
1
vote
1 answer
Embedded Glassfish - EJB 3.1 - @Schedule
I am new to Java EE 6 and working on getting a number of demo applications running finally.
I have an application scoped bean that has a @Schedule annotation on it that should in theory trigger that method every minute. However, that method doesn't…
Walter White