I cannot seem to get the Maven Glassfish plugin working for the life of me:
<project>
...
<pluginRepositories>
<pluginRepository>
<id>glassfish-repository</id>
<name>Java.net Repository for Glassfish</name>
<url>http://download.java.net/maven/glassfish</url>
<layout>default</layout>
<snapshots...
Hi all,
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 gets wiped.
Is there a setting for that?
Walter
...
Hi all,
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 alive, running and well. It appears that Seam is not properly bound to any JSF l...
I am trying to embed glassfish inside my java program using embeded api, I am using maven2 and its pom.xml is as follows
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<mode...
I would like to be able to package my jpa-ejb-web project as a standalone application, by using Glassfish embedded API.
To use the JPA layer, I need to deploy the sun-resource.xml configuration, which should be possible with the asadmin command add-resources path\to\sun-resources.xml. I've this code to do it:
String command = "add-...
Hi there!
I am trying to setup embedded glassfish maven plugin and I succeeded, but I can't make jsp files to be hot-swapped.
Here is my config:
<plugin>
<groupId>org.glassfish</groupId>
<artifactId>maven-embedded-glassfish-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<instanceRoot>${project.bui...
I can't seem to get a web application running with the embedded glassfish plugin:
Plugin Configuration:
<plugin>
<groupId>org.glassfish</groupId>
<artifactId>maven-embedded-glassfish-plugin</artifactId>
<version>${glassfish.version}</version>
<configuration>
...
Hi all,
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 appear to ever be invoked. It simply writes to the logs that it was called.
C...
I'm using NetBeans and GlassFish 3.0.1 to create an EJB3 application. I have written a few Unit Tests, which get run via JUnit and make use of the embedded GlassFish. Whenever I run these tests on my development machine (so from within NetBeans), it's all good.
Now I would like to let Hudson do those tests. At the moment it is failing w...
Hi!
Well, the title says almost everything, how can I define a jdbc-connection in an embedded glassfish to be able to use a MySQL database as a jdbc resource??
Thanks for your replies!
...
Hi,
I am trying to use glassfish as a embedded server in my ejb3.1 project.
below are my maven dependencies..
But when I run my tests it fails to deploy ejb modules.
do I need to set javaee.home or some more variable ?
<dependency>
<groupId>org.glassfish.extras</groupId>
<artifactId>glassfish-embedded-all</artifa...
This questiong is regarding Java EE 6, using glassfish v3 embedded-all.
I have a unit test that uses EJBContainer to test my stateless EJB. Problem is I'm having trouble looking up the EJB (remote) using JNDI:
setup() {
ctx = EJBContainer.createEJBContainer().getContext();
}
...
test() {
BookService bookService = (BookService)ct...
Hi! I have a problem to connect my MySQL Database via Hibernate/ JPA2 on a Embedded Glassfish.
My Environment:
Maven 2
Embedded Glassfish (integrated via Maven Plugin)
Eclipse + M2Plugin
Hibernate 3.5.6
MySQL (@localhost) (runs and can be connected without container via Hibernate Sessionfactory)
Here is my Exception Stacktrace duri...