Error when adding java agent in VM arguments while using OpenJPA

I found solution for my problem with OpenJPA here: Using TomEE and open JPA, i get the following error: SEVERE: JAVA AGENT NOT INSTALLED, but adding VM parameter as in question answer or documentation …

POIXMLException when updating excel file with apache-poi

When I try overwrite existing excel file, I get this error message: Exception in thread “main” org.apache.poi.ooxml.POIXMLException: OOXML file structure broken/invalid – no core document …

EAP 7.3 JPA+Hibernate REST Serialization of Bidirectional ManyToOne relationship (NOT SPRING)

I come from a Payara/EclipseLink background where this just works out of the box. My contract requires me to use EAP which does not support EclipseLink.persistance and I always prefer the “…

Using Vaadin Flow with Jakarta EE 9

I see that Apache Tomcat 10 (alpha) is now available. The major feature there is support for Jakarta EE 9 where package names for APIs have changed from javax.* to jakarta.*. Jakarta EE 9 now has a …

Package accessible from more than one module:

When trying to register an MBean in JMX Console I’m getting the following error message: The package javax.management is accessible from more than one module: , java.management I’m …

Replacements for deprecated JPMS modules with Java EE APIs

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon: java.activation with javax.activation package java.corba with javax.activity, javax.rmi, javax.rmi.CORBA,…

Signing a jnlp in order to get rid of the Security Warning

I am developing at a company where a jnlp file is used to start a swing web based java application. It has plenty of jars that are downloaded to the client’s jvm cache. When I updated my jvm to its …

Link fires method multiple no. of times

The problem is that whenever I click the link Next page on Home.xhtml to goto getMoreStatusList Page, the function getMoreStatusList is called non-stop until it throws a index out of bound exception. …

Sharing Cookies Between Sub Domains in java?

I have some cookies stored in http://sub1.myserver.com and I want to be able to see them in http://myserver.com

Mapping array with Hibernate

Can you please help me to map this class using Hibernate? public class MyClass{ private Long id; private String name; private int[] values; … } I’m using PostgreSQL and the column …