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
1 answer

Unsatisfied dependencies for type DatasourcesFraction

I'm trying to create a project using Thorntail and DeltaSpike. I created two different Maven projects. Web - this will have JSF and CDI. Core - This will have DeltaSpike data module, CDI and JPA. here are the POM files: Core Project jar …
Rabbit
  • 152
  • 2
  • 11
0
votes
0 answers

How to setup SparkJava CDI with DeltaSpike and Weld

So I've started setting up a simple SparkJava application from scratch with the basic goal of comparing it to a mirrored SpringBoot (with SpringData) application which I've already built. However I've been struggling with DeltaSpike (which is the…
vitorrrr
  • 70
  • 7
0
votes
0 answers

Deltaspike service layer catching PersistenceException unexpected behavior

I have a java ee 8 web app using deltaspike using core, data and jsf modules. I also added cdi bean (RegisterService using @trasactional) which calls a UserRepository public void createNewUser(User newUser){ try{ …
gdiazs
  • 100
  • 8
0
votes
1 answer

OutOfMemoryError causes commit of JPA transaction

When my system gets "OutOfMemoryError: Java heap space", it commits the transaction (marked with org.apache.deltaspike.jpa.api.transaction.Transactional annotation). How to avoid this and make a rollback instead? "Regular" exceptions do cause the…
Aivar
  • 6,814
  • 5
  • 46
  • 78
0
votes
0 answers

Deltaspike repository transaction commits but nothing persists in DB in Java SE

I'm using DeltaSpike repositories to persist an entity in Java SE and I'm using file based H2 database. The problem is that while there is no error in the console, nothing gets persisted in the database. I checked the database contents using an…
zaerymoghaddam
  • 3,037
  • 1
  • 27
  • 33
0
votes
1 answer

Deltaspike @Scheduled in jar file

I have a web application (jee7, war, running on Wildfly 10). The application depends on a jar file containing jpa entities and services used among different projects. I have added the Deltaspike Scheduler Module according to the documentation to…
Thomas S.E.
  • 1,528
  • 16
  • 28
0
votes
0 answers

Java Semaphore - permit granted without prior release

I'm writing this question because we faced an scenario in one of the qa environments where it seems like the semaphore failed. We have only one semaphore: private Semaphore lock = new Semaphore(1); It happened that one thread (Quartz job) was…
McCoy
  • 780
  • 1
  • 10
  • 21
0
votes
1 answer

Omnifaces not working

I have a .war web app with PrimeFaces 6.2 + OmniFaces 2.6.9 + DeltaSpike JSF module 1.8.2. I have a p:selectOneMenu with omnifaces.SelectItemsConverter and the bean is deltaspike @ViewAccessScoped. The selectItems list is in the bean. I have the…
SaGiTaRiO
  • 63
  • 1
  • 6
0
votes
1 answer

cdi bean injection for initialization code

I have a bean configured which have some initialization logic. I have annotated this bean using @ApplicationScoped annotation. But somehow, cdi is not picking this bean. beans.xml content:
G.G.
  • 592
  • 5
  • 16
0
votes
0 answers

Injecting Resource into DeltaSpike instantiated class

I'm using JBosss EAP 7. To avoid long turnaround cycles it would be nice to test WebService consumer directly without starting the Appserver. For this purpose we are working with DeltaSpike and Mockito. Besides this our application is based on an…
0
votes
1 answer

JSF ExternalContext.redirect infinite loop on IE window.open

I am trying to redirect to xhtml pages using the p:treenode and having externalContext.redirect on onNodeSelect method, it works perfect in firefox and chrome but not on IE (versions 9, 11 and edge are the ones I tried). On IE the page continuously…
0
votes
1 answer

HK2 Dependency Injection for DeltaSpike Data or Spring Data JPA

I'm developing Jersey-based RESTful Web Services. And, I'm choosing between DeltaSpike Data and Spring Data JPA for my repository layer. I have tried both of them. I'm amazed that they are almost the same. DeltaSpike Data: public interface…
Julez
  • 1,010
  • 22
  • 44
0
votes
0 answers

detached entity passed to persist ISSUE

I know this question has already been asked several times. Unfortunately, I have worked for 2 days to fix this issue : Detached entity passed to persist Here is my entities (Department and Area) : @Audited @Entity public class Area implements…
rbcvl
  • 406
  • 3
  • 13
0
votes
1 answer

Cannot find EntityManager Apache Deltaspike

I try to print the number of rows of a query included in a Repository. Here is the Repository : @Repository public interface TagRepository extends EntityRepository { /** * @param // * @return all Tag matched */ …
rbcvl
  • 406
  • 3
  • 13
0
votes
1 answer

"Argument bean must not be null" when packaging DeltaSpike & Weld SE as an uber-jar

I'm trying to package a command line application using CDI, DeltaSpike (to bootstrap) with Weld SE as the CDI implementation. The application runs fine when launched from my IDE but I'm getting an obtuse error message when packaging the application…
Yeroc
  • 1,054
  • 14
  • 21
1 2 3
8 9