jboss-eap-7

log4j2 logging of code in EJB jar on JBoss EAP 7

痴心易碎 提交于 2020-01-13 16:49:40
问题 I am doing the following: porting several legacy applications from WebLogic to JBoss EAP 7. Some of the components being ported are EJBs. Others are servlet apps that invoke these EJBs. These EJBs are deployed in ejb-jars. I know that I could wrap this whole thing into a big EAR file but we don't want to do that. The servlets and the EJB jars need to be separately deployable components. Then there is the logging setup. We are using log4j2 and we want to keep independent of the JBoss logging

TLS1.2 support in jboss

戏子无情 提交于 2020-01-07 04:54:04
问题 I am trying to connect to a remote web service from jboss EAP7. The service uses TLS1.2. I keep getting a socket read error when attempting to connect. Here is the jboss debug tracing for https: The certificate of the site I am trying to access: Subject: CN=*.smartpayform.com, OU=Domain Control Validated Issuer: CN=AlphaSSL CA - SHA256 - G2, O=GlobalSign nv-sa, C=BE Algorithm: RSA; Serial number: 0xc2d0a153e5915039e88cbf7 Valid from Mon Sep 05 12:33:58 EDT 2016 until Wed Sep 06 12:33:58 EDT

Jboss Error picklist render using showcase

Deadly 提交于 2020-01-06 04:29:07
问题 related links: PrimeFaces PickList with OmniFaces validateAll leads to NullPointerException this problem is similar with this link becuase when I do the debug of the picklistRender I got the same error showed in the link before,the same syntoms, but I am reading all issue history related, Thomas Andraschko sugguest is a problem of mojarra but I tried to test with myfaces-version-22 and myfaces-version-23 and I face the same problem Im trying to figure out to resolve my example works like

Spring beans not getting created as required by myfaces

落爺英雄遲暮 提交于 2019-12-25 01:48:55
问题 We are migrating application from weblogic to jboss, In this Spring Myfaces applications, in jboss, while loading xhtml page managed bean defined in spring and faces config xmls are not creating the beans which results in null pointer exception while application is trying to load xhtml page. In spring applicationcontext config xml, following entry is there to scan the packages <context:component-scan base-package="com.thehartford.pi.sales.web.controller.auto.*" > <context:include-filter type=

“WFLYJCA0041: Failed to load module for driver [com.mysql]” on Jboss 7 with MySQL database

梦想与她 提交于 2019-12-24 00:40:08
问题 I am creating a web application for JBoss EAP 7 and trying to connect to MySQL 8.0 database. Am getting the error as [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 39) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "datasources"), ("jdbc-driver" => "mysql")]) - failure description: "WFLYJCA0041: Failed to load module for driver [com.mysql]" My module.xml file in \jboss-eap-7.1.0\modules\system\layers\base\com\mysql\main is as follows: <?xml

Exclude provided jackson version from JBoss 7 EAP

痞子三分冷 提交于 2019-12-20 04:18:11
问题 I am trying to use a newer version of Jackson as JBoss 7 EAP delivers. To solve my issue I have created a jboss-deployment-structure.xml file which is contained in my war deployment. <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"> <deployment> <exclusions> <!--<module name="com.fasterxml.jackson.core.jackson-core" slot="main" />--> <!--<module name="com.fasterxml.jackson.core.jackson-annotations" slot="main" />--> <module name="com.fasterxml.jackson.core.jackson

Install Teiid with jboss

天涯浪子 提交于 2019-12-13 03:49:43
问题 I have downloaded jboss EAP 7 and installed Teiid Designer 10.4 in it. I don't know how to install Teiid. What are the zip files I need to download from Teiid. How can I install them. Thanks in advance. 回答1: For Teiid go to downloads section and download "9.3.3 With WildFly/Console" link or whatever is latest. The follow directions here for installation https://teiid.gitbooks.io/documents/content/admin/Installation_Guide.html For Teiid Designer goto http://teiiddesigner.jboss.org/designer

How to configure Wildfly load balancing with redirect

拜拜、爱过 提交于 2019-12-11 12:04:11
问题 I am working with wildfly undertow load balancer , and I added following configuration in standalone-load-balancer.xml but my request is not getting redirected? I added reverse proxy handler and host to the Undertow subsystem as : <handlers> <reverse-proxy name="keycloak-handler"> <host name="keycloak-host" outbound-socket-binding="remote-host" path="/auth"/> </reverse-proxy> </handlers> And then I defined outbound socket bindings for remote hosts as : <outbound-socket-binding name="remote

Configuring database connection in Jboss FUSE

只谈情不闲聊 提交于 2019-12-10 00:05:15
问题 One way I know to configure DB in JBOSS FUSE is to use blueprint.xml. Below configuration in blueprint.xml works <bean id="gemsDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" /> <property name="url" value="${gems_url}" /> <property name="username" value="${gems_username}" /> <property name="password" value="${gems_password}" /> <property name="maxIdle" value="5" /> <property name=

Keycloak create a custom identity provider mapper

此生再无相见时 提交于 2019-12-08 07:04:21
问题 i have an open id provider and i use this provider as identity broker of keycloak. I want to map roles (claims) which sent from broker to keycloak (and keycloak will sent mapped roles in its jwt). I want to know how to implement and add a custom mapper to keycloak (like hardcodedmapper, attributemapper in keycloak). Can i do this? Thanks 回答1: Create your new provider class, I extended the existing org.keycloak.broker.saml.mappers.AttributeToRoleMapper class. When building your jar ensure you