Questions tagged [glassfish-embedded]

104 questions
0
votes
1 answer

Testing Restful client from EJB3

I do not understand why when I am creating a JAX-RS client inside an EJB, cannot get the implementation of JAX-RS. I believe that it is assumed that an application server like Glassfish 3.1 should provide an JAX-RS implementation like Jersey, and I…
rvillablanca
  • 1,606
  • 3
  • 21
  • 34
0
votes
1 answer

Producer is discover by Weld in Arquillian process

While running a unit test with Arquillian using Glassfish embedded plugin, I get the following CDI error : 2015-09-18 06:25:24,376 DEBUG | main | org.jboss.weld.Reflection | WELD-000620: interface com.SupportedLocales…
ruddy32
  • 21
  • 7
0
votes
1 answer

embedded glassfish: java.lang.NoClassDefFoundError: java/util/ServiceLoader

I am trying to embed glassfish inside my java program using embeded api, I am using maven2 and its pom.xml is as follows
Xinus
  • 29,617
  • 32
  • 119
  • 165
0
votes
1 answer

Dependency conflict when including glassfish-embedded dependency

i ran into a dependency conflict, when i try to include the following dependency in my maven pom.xml: org.glassfish.main.extras glassfish-embedded-all
0
votes
1 answer

How to use Liquibase to update database in embedded Glassfish instance

I'm in the process of converting our db management to Liquibase. This is running along nicely. As a subsequent step I want to assure that all future modifications gets tested before deploy to common environments, continuous integration style. I try…
0
votes
1 answer

Cannot inject @Resource string into @Singleton EJB with GlassFish

I am desperately trying to inject a simple String into a singleton EJB on Glassfish. import java.net.URI; import java.net.URISyntaxException; import javax.annotation.Resource; import javax.ejb.Singleton; @Singleton public class…
0
votes
0 answers

Inject jndi string resource on embedded glassfish using CDI not working

So I created a custom reference in the domain.xml
th201101
  • 43
  • 2
  • 8
0
votes
1 answer

Unexpected behaviour of EntityManager.merge()

I am using embedded glassfish (3.1.2.2) with junit (4.11), with JDK 1.7, though my source and target is set to 1.6 (maven-compiler-plugin configuration). Following is my code: Person.java @Entity public class Person implements Serializable { …
Atul Acharya
  • 497
  • 2
  • 8
  • 21
0
votes
2 answers

How to exclude maven dependency while running test cases

Im working on ejb3 and testing with arqullian. I have following dependency in pom.xml org.glassfish.main.ejb javax.ejb
0
votes
1 answer

sample domain.xml that will work with arquillian

I've been testing my programs using arquillian for months now. I just recently installed jenkins in a glassfish container and have it build my project. I have a problem that arquillian is trying to use the same settings as the glassfish container…
0
votes
1 answer

GlassFish Installation error

I have installed NetBeans 7.1.1 . I had installed Tomcat intially and Glassfish was removed f . But I need to develop some Enterprise applications . Hence I have separately download and installed Glassfish 3.1 successfully. When i run in…
0
votes
1 answer

Deployed null when using embedded glassfish server

after reading several tutorials (e.g. ocpsoft, oracle) I started to use embedded glassfish for running my hello-world app. It does work with the remote server but for some reason nothing is deployed when using the embedded server. 1.) "Cannot find…
Mike
  • 121
  • 2
  • 8
0
votes
1 answer

Integration ActiveMQ5.6.0 web-console in GlassFish 3.0.1

Hello guys have such issue i do all like this tutorial says javadudeTutorial But i can not to deploy web-console.war in GlassFish. and the stack trace says me only There is no installed container capable of handling this application…
Igor Masternoy
  • 436
  • 1
  • 11
  • 36
0
votes
2 answers

Could not connect to glassfish ip address on windows server 2008

I have developed a servlet and deployed it on my server -windows server 2008- the server have an ip and the port of the glassfish 3.1.2 server is 11188, when i call the servlet from the local host it works fine, but when i call the server via the…
Mohammad Abu Hmead
  • 621
  • 2
  • 7
  • 18
1 2 3 4 5 6
7