Questions tagged [glassfish-embedded]
104 questions
3
votes
0 answers
How to exclude jars from an embedded glassfish scattered archive?
We would like to use an embedded glassfish for the Server part (EJB 3.1) of our desktop application.
While starting the glassfish server with our scattered archive, we experienced long startup times and high memory usage. We think this happens,…

bobndrew
- 395
- 10
- 32
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…

Gnik
- 7,120
- 20
- 79
- 129
2
votes
0 answers
Maven and Embedded Glassfish Plugin - How to provide the derby jdbc driver
When running the embedded glassfish plugin I get the following message.
INFO: Cannot find javadb client jar file, derby jdbc driver will not be available by default.
How to provide the javadb client jar file?

Can't Tell
- 12,714
- 9
- 63
- 91
2
votes
1 answer
glassfish-embedded-maven-plugin - how to deploy resources
I'm providing a quick and easy way for users to deploy my Java EE 6 application via glassfish-embedded-maven-plugin, so they don't have to install and configure a standalone glassfish. However, I'm running into trouble with resource deployment.
The…

Craig Ringer
- 307,061
- 76
- 688
- 778
2
votes
0 answers
integration testing with glassfish embedded - exception : expected stackmap frame
I had an assignment of writing unit tests, which gradually became writing integration tests. I'm rather new with embedded glassfish server. I'll try to explain my problem as best as I can, please bear with me.
This is my relevant pom.xml…

halil
- 800
- 16
- 33
2
votes
0 answers
Embedded ejb-Test-Get database
I got an embedded ejb container for test.
On the client side (test) I'd like to get DataSource using lookup mechanism.
The problem is that the lookup method always returns with an error:
javax.naming.NamingException: Lookup failed for
…

Bendzsamin Horn
- 21
- 4
2
votes
1 answer
Arquillian can't inject a local or remote EJB on Glassfish embedded container
I use Arquillian to test an EJB that has an explicit local and remote interface. But in the test Arquillian does not "inject" anything in a field that has the type of the local interface, or the remote interface.
I use the Glassfish embedded as…

Abder KRIMA
- 3,418
- 5
- 31
- 54
2
votes
2 answers
Arquillian:Could not setup GlassFish Embedded Runtime
I try to make a test with Arquillian in a maven project however in every execution of the test that gives me the following exception:
Grave: Exception in command execution : java.lang.NoClassDefFoundError:…

Abder KRIMA
- 3,418
- 5
- 31
- 54
2
votes
1 answer
Configuring Seam for Glassfish
I am still migrating to Glassfish instead of Jetty for our application servers and am running into some problems. The application starts up fine, the database tables are created by hibernate and data is imported by my database importer, so Seam is…
Walter White
2
votes
2 answers
Maven Embedded Glassfish Plugin - how to set the temporary directory?
I am using the Maven Embedded Glassfish Plugin and it works great, but unfortunately it creates a temporary directory in my main project directory. I would like it to use target so that every time I clean the project, the embedded directory also…
Walter White
2
votes
0 answers
Arquillian + Glassfish embedded
I'm trying to write integration tests to my jee application with arquillian and embedded ejb server (glassfish 3.1.2.2). My application uses jsr 303 bean validation. When I try to execute test I receive:
Caused by:…

Marcin Wiśniewski
- 255
- 4
- 19
2
votes
1 answer
Using Embedded Glassfish with Maven
Does anyone know anything about Embedded Glassfish? I want to run some of my EJB tests, but I do not want to start and stop the glassfish-embedded every time I run a test.
According to the plugin documentation I should put this in the POM :
…

Oliver Watkins
- 12,575
- 33
- 119
- 225
2
votes
0 answers
Setting logging level for an application deployed via Embedded Glassfish 4 and Maven
I'm having trouble configuring logging correctly for a deployed application using Maven and Embedded Glassfish 4. The server will show log messages that I have set to INFO but not DEBUG. The logging config I have works fine when deployed to…

nickebbitt
- 1,711
- 1
- 13
- 13
2
votes
2 answers
Using different eclipselink than bundled in glassfish-embedded-web
I use glassfish-embedded-web for integration tests inside a maven project:
org.glassfish.extras
glassfish-embedded-web
3.2-b06
…

Marek
- 7,337
- 1
- 22
- 33
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