42 questions
Score of 0
0 answers
45 views
LinkageError in tomee 10.1 with scope="request"
I have this xhtml snippet:
<!DOCTYPE html>
<html lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="jakarta.faces.core"
xmlns:c="...
Score of 1
0 answers
140 views
Upgrading from Apache TomEE 9.0.0-M8 to 9.1.3/10.0.0 fails with NoClassDefFoundError (OwbNormalScopeProxy) and missing Jakarta EE dependencies
I am attempting to upgrade Apache TomEE from version 9.0.0-M8 to a higher version (first to 9.1.3, then to 10.0.0), but I keep encountering deployment failures. The server starts, but the application ...
Score of 0
1 answer
219 views
Update TomEE 9.1.0 to 9.1.1/9.1.2 for JakartaEE 9.1 application results in UnsatisfiedResolutionException for specific inject
We are updating our applications from JavaEE 7 (JDK 1.8, TomEE-7.1.X) to JakartaEE 9.1 (JDK 11, TomEE-9.1.X).
As we ran into problems with cxf-3.5 being used in TomEE 9.1.0 we tried to update to a ...
Score of 0
2 answers
6340 views
ClassnotFoundException jakarta.Name:NamingException when running test CDITestRunner of deltaspike 1.9.6 with Jakarta
I am trying to use CDITestRunner in our tests using deltaspike with jakarta 1.9.6 versionand with apache open web beans.
which is not running the tests with CDITestRunner and throwing ...
Score of 1
1 answer
430 views
OWB 2.0.27, TomEE 8.0.14, JSF (myfaces) 2.3.10 startup errors
We are upgrading our webapp to JSF 2.3.10, OWB 2.0.22, and TomEE 8.0.14. I realize we should move to Jakarta EE, but, for now, this is our tech stack.
I'm seeing stacktraces in the catalina logs ...
Score of 2
0 answers
87 views
Possible typo in openwebbeans.properties in openejb-core.jar?
I had been dealing with a deployment issue in a recent TomEE version (8.0.11) that I could not make sense of, to which I finally found a workaround but not quite sure about the integrity of the ...
Score of 1
0 answers
251 views
Unexpected FacesException thrown during launch of JSF webapp on the browser
I'm new to JSF and was asked to migrate an old MyFaces 2.0 webapp (app1) from WebLogic Server 12.1.3 to Tomcat (I chose Tomcat 9 and OpenWebBeans 2.0.27). This was achieved only after being directed ...
Score of 0
1 answer
719 views
NullPointerException during initFaces of a MyFaces 2.0 application while migrating from WLS to Tomcat
I'm new to JSF and have been entrusted with the task of migrating what appears to me as an old MyFaces 2.0 webapp from WebLogic Server 12.1.3 to Tomcat (I chose Tomcat 9 and OpenWebBeans 2.0.20).
I ...
Score of 2
1 answer
704 views
Apache openwebbeans with JDK17
I am upgrading openwebbeans project from openJDK12 to OpenJDK17 . currently webeans version is being used 2.0.10 . When upgrading application is not coming up. Is there any apachewebbeans version ...
Score of 1
0 answers
293 views
Apache OpenWebBeans SEContainer throws UnsatisfiedResolutionException
I want to test my classes in an embedded CDI container. For this reason i'm using OpenWebBeans' integration for Junit 5. This is a sample test class:
@Cdi(disableDiscovery = true, classes = {...
Score of 2
1 answer
1821 views
OpenWebBeans gives error java.lang.NoClassDefFoundError when using with Tomcat 10
I am trying to use OpenWebBeans with Tomcat 10. I have followed the steps given in this link.
When I use Weld, it works fine. But when I use OpenWebBeans, I get the following error.
SEVERE: Error ...
Score of 1
1 answer
391 views
JSF initialization fails with @ViewScoped
I am building a JSF 2.3 application with Primefaces 8.0 on MyFaces 2.3.6, running on Tomcat 9. Also using OpenWebBeans 2.0.18.
One of my beans (controller) gives me an error when I change the scope ...
Score of 0
0 answers
316 views
NPE during navigation with viewscoped bean using Mojarra 2.2.x with openwebbeans 1.0 (CDI 1.0)
I am now running into a ViewScope issue on h:commandButton with navigation.
I am not sure if JSF 2.2 is supported with CDI 1.0
Error
May 28, 2020 5:57:07 PM com.sun.faces.context....
Score of 0
1 answer
218 views
Invalidating old httpsession drops current httpsession's context
My app handles logins with a @ViewScoped LoginBean, which is injected with a @SessionScoped SessionBean that stores user information and the current HttpSession. This app allows a user N separate ...
Score of 0
1 answer
156 views
EclipseLink: How to enable Bean Validation without JEE/CDI? (aka enabling in SE)
We have a test extension that creates an EntityManager for our tests:
Map<String, String> properties = new HashMap<String, String>();
properties.put(PersistenceUnitProperties.JDBC_DRIVER, ...