Questions tagged [deltaspike]

Apache DeltaSpike (formerly Seam Solder) is a set of CDI extensions meant to ease application development both in and out of Java EE containers.

DeltaSpike (formerly Seam Solder) is designed to run on different implementations of CDI such as Apache OpenWebBeans and JBoss Weld as well as Java Enterprise servers such as Apache TomEE, JBoss AS7, JBoss WildFly 8, Oracle GlassFish, IBM Websphere, Oracle Weblogic Server 12c. There are also extensions to provide support in Apache Tomcat, JBoss Undertow and Jetty.

129 questions
0
votes
0 answers

CDI + DeltaSpike Interceptor not working after Maven install

I have a strange issue after using mvn install in my project. If I run mvn clean before all, and I start my project inside Eclipse, I have not problem. After running mvn install (I need this command to generate jar with assembly) and restarting…
Alessandro Mattiuzzi
  • 2,309
  • 2
  • 18
  • 24
0
votes
1 answer

DeltaSpike CDI Testing + NPE Faces Context

I want to implement a CDI Test with DeltaSpike. But when I try to call a function that depends on the Faces Context, I yield a Null Pointer Exception. Do I need to mock the class or can it be initialized in a better…
MiScha
  • 31
  • 5
0
votes
1 answer

Change order of executing CDI Interceprors and ContainerRequestFilter

I am using Deltaspike SecurityInterceptor to authorize methods with @LoggedIn annotation. At the same time I am authenticating user with token at ContainerRequestFilter. @Inject AuthenticationService authenticationService; @Override public void…
schaffe
  • 399
  • 2
  • 16
0
votes
2 answers

ContextNotActiveException: WELD-001303: No active contexts for scope type org.apache.deltaspike.core.api.scope.GroupedConversationScoped

I want to use DeltaSpike for CDI-based tests. I use a lot of GroupedConversationScoped Beans for my application and when I'm trying to test them, I always run into this failure: org.jboss.weld.context.ContextNotActiveException: WELD-001303: No…
MiScha
  • 31
  • 5
0
votes
1 answer

CDI injection - NPE of FacesContext when using Deltaspike @scheduled

I'm using a Deltaspike (1.4.0) with Quartz (2.2.1) to schedule a job. In the TestJob bean is injected ResourceBundle. The producer of ResourceBundle needs a facesContext, but this always is null. How can inject properly ResourceBundle in the…
0
votes
0 answers

OpenWebBeans configuration

I am using OpenWebBeans inside Apache Tomcat 7. I would like to use it together with DeltaSpike and RestEasy. The following is a list of dependencies for OWB. org.apache.openwebbeans
Sandah Aung
  • 6,156
  • 15
  • 56
  • 98
0
votes
1 answer

EntityManagerFactory cannot be injected in CDI producer

I am using Weld, RestEasy and DeltaSpike Data for my project. The project's dependency description is as follows. 3.0.10.Final
Sandah Aung
  • 6,156
  • 15
  • 56
  • 98
0
votes
2 answers

Injection failed with Jersey, Weld, and DeltaSpike

I'm working on a JAX-RS project. I uses Jersey, Weld, and DeltaSpike. @Path("test") public class TestResource { @GET @Path("now") public String now() { return new Date().toString(); } @GET @Path("myProperty") …
Jin Kwon
  • 20,295
  • 14
  • 115
  • 184
0
votes
1 answer

Alternative to Deltaspike Multi-Window Handling in Seam 3 Applikation

I have problems with the Multi-Window Handling in my appliacation. I currently using Conversation Scope to enable multi window / tab handling but in case the user opens a link (button) in a new tab the conversation is shared between the old and new…
user1127860
  • 150
  • 2
  • 14
0
votes
1 answer

JSF Session timeout NPE instead ViewExpiredException

JSF(jboss - 2.2.6), AS Wildfly 8.1.0, Deltaspike 1.0.3 After the session has expired, is pressed button (ajax call). The problem is that is thrown a NullPointerExceptiion instead of ViewExpiredException. There is an ExceptionHandlerWrraper. public…
0
votes
1 answer

Multiple Deltasike securityBindingType annotations on class

I'm using the Deltaspike (1.0.3) security Module with @Secured (functionality that allows to integrating 3rd party security frameworks). Is working well when I use only one annotation(SecurityBinding) on class level. When I add a second one…
Tvori
  • 298
  • 8
  • 19
0
votes
1 answer

jsf cdi application architecture

I have an architecture problem with the following use case. I have a JSF page for creating JPA entities, for example orders. The Order entity has two fields: invoiceRecipient and receiver. Both of the type Customer. There are two fields on the Order…
hidehawk
  • 81
  • 1
  • 6
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
0 answers

Deltaspike 0.7, Primefaces 5.0, tomee 1.6.0 and NPE

I have a quite large web project which has been running fine with deltaspike 0.5 and the os890 @viewaccesscoped implementation. Now, I've been trying to upgrade to DS 0.7 but have met quite a challenge. I've tried to reproduce the error in another…
Helge Waastad
  • 151
  • 1
  • 11
0
votes
0 answers

Deltaspike 0.5 @Transactional issues: JTA transaction does not seem to work; Also getting NPE if there is no injected EntityManager

We are deploying app to WildFly 8.0.0.Final. The app used to run on Jboss EAP 6.0/AS7.1 fine with Seam3 managing JTA transaction. However, since Seam3 does not work with WildFly, we are replacing it with DeltaSpike. We deployed the core and jpa…
user3243153
  • 45
  • 2
  • 8
1 2 3
8
9