glassfish-embedded

Maven Embedded Glassfish plugin

五迷三道 提交于 2019-11-30 07:08:24
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> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> ... <build> <plugins> <plugin> <groupId>org.glassfish</groupId> <artifactId>maven-embedded-glassfish-plugin</artifactId> <version>3.0</version> <configuration> <goalPrefix>glassfish<

Embedded Glassfish, security and Arquillian questions

我的未来我决定 提交于 2019-11-30 02:22:54
I want to test my EJBs on an embedded Glassfish using Arquillian. The important thing is that I have to have security up because my bean logic does some programmatic security checking ( sessionContext.isCallerInRole(role) ). Is it possible to simulate a login with Arquillian on an Embedded Glassfish? How do I setup the Embedded Glassfish to use user and role property files? [EDIT] I found a post who's directions I decided to follow ( http://community.jboss.org/message/580290 ) but I still got issues. 1 my arquillian.xml isn't picked up 2 I get warnings concerning @Resource SessionContext 3 I

cannot get SLF4J working with glassfish 4

柔情痞子 提交于 2019-11-28 06:31:28
I have configured glassfish 3 to use SLF4J in the past by using the SLF4J JUL bridge and it worked fine. The problem I'm having now is that if I use my same setup, SLF4J complains about there being duplicate SLF4J bindings on the classpath and after searching, glassfish itself contains those reference. How do I get SLF4J working? I tried making my dependency upon the SLF4J-API as provided, and then removed LogBack Classic since glassfish already contains some logback code. Doing those things doesn't yield any successful results. Walter This may helps you Download Glassfish 4 , SLF4J and

cannot get SLF4J working with glassfish 4

一笑奈何 提交于 2019-11-27 01:23:01
问题 I have configured glassfish 3 to use SLF4J in the past by using the SLF4J JUL bridge and it worked fine. The problem I'm having now is that if I use my same setup, SLF4J complains about there being duplicate SLF4J bindings on the classpath and after searching, glassfish itself contains those reference. How do I get SLF4J working? I tried making my dependency upon the SLF4J-API as provided, and then removed LogBack Classic since glassfish already contains some logback code. Doing those things