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

Blazebit: java.math.BigDecimal cannot be cast to class java.lang.Long

I am using Blazebit and Deltaspike in a jakarta ee project. The database is oracle. https://github.com/joedayz/curso-java-sbs/tree/main/comparabienangular/concentrador-oracle In it repo, my problem is in the class ConsultaProductoServiceImpl and…
0
votes
0 answers

All Quartz Scheduler worker threads are in waiting state due to this Quartz jobs are not getting triggered

Currently we are upgrading JBOSS from EAP 6.4 version to 7.4 version. We are using quartz(2.3.2) for scheduling the jobs. Its looks like quartz scheduler is getting started and we have two scheduler: DefaultQuartzScheduler and the customised…
0
votes
1 answer

Apache Deltaspike @Configproperty not working with Jakarta EE10 / Wildfly 27 Final

I am using Apache Deltaspike to handle environment specific properties. Stack: Wildfly 27 final Java 17 Jakarta EE10 An Example of how i use it is listed below ` @RequestScoped public class KbMaxConnector { @Inject @ConfigProperty(name =…
0
votes
1 answer

createEJBContainer throws java.lang.IllegalStateException

on a Linux machine the container runs inside an exception which I don't understand. With ejbContainer = EJBContainer.createEJBContainer(); the embaddable container will be started. In the log file I see an exception: Caused by:…
Clueless
  • 163
  • 16
0
votes
0 answers

Open JPA for an element of type Array

We have a requirement to store the weekdays against a particular site. Below is the table structure. I couldn't able to map the text[] to the entity property. We are using the open JPA for the repository. Can someone suggest the solution to have…
0
votes
2 answers

How to save and view changes in DB immediately?

I'm developing an app that shows process status, the following structure [ProcessId, Message] is stored in a log table. First, the user run a process, log row is created (ID, 'STARTED'). Then, the process make some tasks, when each task is finished…
0
votes
1 answer

@Requires annotation of Seam Solder should receive a string or a class?

Seam Solder documentation says that the @Requires annotation requires an array of Class objects as a parameter. However, when I try to use it (from Seam Solder 3.0.0.Final API artifact - not the impl artifact, it is worth noting) Eclipse informs me…
brandizzi
  • 26,083
  • 8
  • 103
  • 158
0
votes
0 answers

How to use @Resource (in javax.annotation) or @InjectableResource (in DeltaSpike) to inject login-config.xml in JBoss 4.2.x?

As the title says, how do I load the login-config.xml file under jboss-4.2.3.GA\server\default\conf\ using DeltaSpike? The following gives a NullPointerException when trying to do properties.toString() (JBoss starts…
XoXo
  • 1,560
  • 1
  • 16
  • 35
0
votes
1 answer

How to execute a stored procedure in Apache Delta Spike

I'm using Apache Delta Spike's Data module in my project, however, I don't find in it's documentation a proper way to execute and get results from a stored procedure call... Can someone help me?
0
votes
0 answers

How to port DeltaSpike @WindowScoped annotated beans to the Spring framework?

I want to port an older CDI application using deltaspike, jsf, and primefaces to the spring framework. That means the CDI and deltaspike needs to be replaced by some spring code. What is the best approach to convert beans that are annotated with…
bollin
  • 185
  • 11
0
votes
1 answer

Error while injecting deltaspike properties

I am following an example for deltaspike config on github. I keep getting this exception: org.glassfish.hk2.api.UnsatisfiedDependencyException: There was no object available for injection…
ScottSummers
  • 310
  • 1
  • 13
0
votes
1 answer

Hibernate INSERT not appearing in database "JDBC transaction marked for rollback-only"

I'm working on the database portion of a project which uses DeltaSpike and Hibernate in Java SE. All SELECT statements work, however no INSERT statements appear in the database. There is no warning, error, or exception. I've gone through the logs…
Seth Falco
  • 313
  • 6
  • 22
0
votes
1 answer

DeltaSpike interface configuration not injectable

I'm following the DeltaSpike documentation to create an injectable interface that binds configuration properties. @Configuration(prefix = "application.") public interface AppConfig { @ConfigProperty(name = "name", evaluateVariables = false) …
Seth Falco
  • 313
  • 6
  • 22
0
votes
1 answer

Deltaspike TransactionStrategy Alternative Ambiguous dependencies

I'm defining the TransactionStrategy in apache-deltaspike.properties, using Global Alternatives…
m_junior
  • 591
  • 1
  • 8
  • 19
0
votes
1 answer

Java SE + Apache DeltaSpike: Unsatisfied dependencies for type Repository

I'm trying to use the DeltaSpike Data module with Weld, but every class annotated with @Repository shows a warning in my IDE and an exception at runtime. I've tried following the DeltaSpike documentation numerous times, checked Baeldung, and various…
Seth Falco
  • 313
  • 6
  • 22
1 2 3
8 9