wildfly

Webpage not available in Cordova Android app

坚强是说给别人听的谎言 提交于 2019-12-14 01:40:31
问题 EDIT: I have been progressing through this problem and retracing all of my steps. I am happy to reduce the size of this question and get more to the exact details if it is confusing. Currently I am at the point where it seems like Keycloak only intends to redirect me to https://, which should be a Wildfly server configuration issue, as far as I can tell. EDIT: I reduced my question, but this introduced confusion, so I rollbacked the question to what it was originally, the most relevant parts

Wildfly 10.0.0 Final does not Log boot logs for deployed application WAR

旧时模样 提交于 2019-12-13 21:22:51
问题 I have deployed MyApp.EAR and CAS.WAR on wildfly 10.0.0 Final. CAS.WAR uses higher version of Jackson so have used jboss-deployment-structure.xml is used for the same. So CAS.WAR/META-INF/jboss-deployment-structure.xml looks like, <?xml version='1.0' encoding='UTF-8'?> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"> <deployment> <exclusions> <module name="com.fasterxml.jackson.core.jackson-annotations" /> <module name="com.fasterxml.jackson.core.jackson-core" />

JSR 352: Wildfly9 / JBeret - How to call a batch job that it is not contained at the same deployment file level

纵然是瞬间 提交于 2019-12-13 12:36:44
问题 I have a WAR application that includes a JAR library. The JAR library contains the Batch Job and the Batch Artifacts ( META-INF/batch-jobs/... ). The WAR app includes this jar as a library and defines a JAX-RS Service that allows to clients to invoke the batch job calling the JobOperator Interface... When i run this deployment, the JSR 352 implementation (JBeret) keeps complaining that the Job cannot be found anyware when the JobOperator Interface is called... However, if the Batch Job and

SLF4J logging with jboss/wildfly 10

孤者浪人 提交于 2019-12-13 12:09:43
问题 I have a Java webapp running in a WildFly 10 server. I used to have the following libraries as Maven dependencies: <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> I would now like to use wildfly's builtin logging subsystem. Which

How deploy WARs one after other by script after startup wildfly?

一世执手 提交于 2019-12-13 08:57:24
问题 I have problem with starting Wildfly. I have more than 40 WARs on application server and XMX limitation. Sometimes server will start, sometimes not... There is any apportunity to deploy WARs one after other after startup Wildfly? Server has problem with start when is deploying all WARs during starting. 回答1: Yes, regardless how you deploy, you can deploy one-by-one. If you deploy by copying your WARs to standalone/deployments , then yes, you can (1) start an empty server and then (2) copy the

TLSv1.2 with Java 7 and Wildlfy 8 - handshake_failure

我的未来我决定 提交于 2019-12-13 08:46:12
问题 In our application we need send some data to foreign customer server web service JAX-WS. I generated required client files from WSDL with using wsimport . Then I tried connect to server side web service. But with Java 1.7.0_67 64bit connection wasn't successfull. When I change JAVA_HOME, Eclipse Java configuration and Wildfly 8 Runtime environment to Java 8, it was successfull. By https://www.ssllabs.com server support only TLSv1.2. Therefore I mean that Java 8 hasn't problem connect on this,

Automatically creating and/or extending JPA tables with Wildfly, EclipseLink and Postgres

戏子无情 提交于 2019-12-13 08:21:13
问题 I have experienced a strange matter with a Java EE application running on Wildfly 8.1.0 as the server and Postgres as our database system in combination with EclipseLink as the persistence provider (the reasons why I want to study the costs of migrating from built-in Hibernate to EclipseLink don't matter here) . I was getting used to the Hibernate feature of automatically extending the existing database tables by newly added columns when extending the corresponding Entity classes and it would

Disable logging of Exception in Bean

戏子无情 提交于 2019-12-13 07:23:46
问题 I'm using Wildfly 10 and JAX-RS (resteasy) and have a Bean being injected in another Bean: @Path("foo") public class FooResource { @Inject BarBean bar; ... } Then I'm calling a method on bar that throws a RuntimeException. I'm handling this Exception in FooResource , but Wildfly has interceptors that print the stack trace to the log. I don't want this to happen. Is there any way to disable this behavior? 回答1: I could only reproduce this when the @Inject ed bean was a EJB (with Wildfly-9). You

Wildfly, JAAS and SecurityContext

落花浮王杯 提交于 2019-12-13 07:17:18
问题 I'm still playin with Wildfly-9.0.1.Final and JAAS (see my previous question Wildfly and JAAS login module) in a web application that use a BASIC auth-method . While my custom login module works I got some problems about authorization. I use a RESTeasy RESTFul web service with annotation to test, here is the code: package it.bytebear.web.mongo; import it.bytebear.web.mongo.jaas.MongoModuleCallbackHandler; import it.bytebear.web.mongo.model.User; import java.security.Principal; import java

Jboss Wildfly EJB3 and Mybatis Deployment Error: NoSuchMethodError javax.persistence.Table.indexes()[Ljavax/persistence/Index;

非 Y 不嫁゛ 提交于 2019-12-13 06:59:47
问题 I'm trying to deploy a EAR file to Jboss Wildfly (8.1.0) but im getting the following exception: Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index; My EAR file contains an EJB jar which contains mybatis (version 3.2.7) persistnence Units which have a Dependency on the cglib (version: 3.1). This very same ear file deploy's and works without issues in JBoss 7 (version 7.1.1) Based on the error saying the method isnt found but i know the class and