wildfly

EJB on Wildfly calling remote EJB from another Wildfly

◇◆丶佛笑我妖孽 提交于 2020-01-03 11:46:24
问题 my current problem in general is, that i have two Wildfly 8.2.0Final instances running on my machine. I know, there are similar questions, but none of them really help with my problem. One of them holds a restful application that triggers a stateless session bean SenderBean when it receives a GET. Afterwards, this stateless session bean should invoke a method from a remote stateless session bean PrintBean , which is located on the other wildfly instance. I'll start of by explaining what i

EJB on Wildfly calling remote EJB from another Wildfly

倖福魔咒の 提交于 2020-01-03 11:46:07
问题 my current problem in general is, that i have two Wildfly 8.2.0Final instances running on my machine. I know, there are similar questions, but none of them really help with my problem. One of them holds a restful application that triggers a stateless session bean SenderBean when it receives a GET. Afterwards, this stateless session bean should invoke a method from a remote stateless session bean PrintBean , which is located on the other wildfly instance. I'll start of by explaining what i

Never ending periodic recovery of heuristic participants

早过忘川 提交于 2020-01-03 08:10:07
问题 For days our log has been full of this message 2018-06-15 12:19:23 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Transaction 0:ffff0a983f1e:1f3aa2ff:5a09aa02:d1c08c has 1 heuristic participant(s)! 2018-06-15 12:19:23 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could not find new XAResource to use for recovering non-serializable XAResource XAResourceRecord < resource:null, txid:< formatId=131077, gtrid_length=46, bqual_length=36, tx_uid=0:ffff0a983f1e:1f3aa2ff:5a09aa02

Table doesn't exist:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

随声附和 提交于 2020-01-03 05:30:28
问题 Entity 1: @Entity @Table(name = "META_INF") @Inheritance(strategy = InheritanceType.JOINED) public class META_INF { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; @NotBlank @Column(nullable = false) private Boolean aa; @ManyToOne private USER bb; @NotBlank @JoinColumn(nullable = false) @ManyToOne private USER cc; @NotBlank @Column(nullable = false) private Boolean dd; private String ee; @NotBlank @Column(nullable = false) private Boolean ff; @NotBlank @JoinColumn

Security exceptions when injecting an EJB in wildfly

心已入冬 提交于 2020-01-03 04:36:08
问题 I try to migrate from JBoss AS 7 to Wildfly 8.2. and from Java 1.6 to Java 1.7. and I get some security exceptions when injecting an ejb bean to my batch job. Here is my scheduler: (runs every minute) @Startup @Singleton public class MyBatchScheduler { @Inject MyBatch myBatch; @Schedule(second = "30", minute = "*/1", hour = "*", persistent = false) public void runBackgroundTasks() { myBatch.runBackgroundTasksAsync(); } } Here is my batch: (called by scheduler every minute) @Stateless public

How to deploy a EAR app as zipped from Eclipse into Wildfly using JBoss Tools plugin?

给你一囗甜甜゛ 提交于 2020-01-02 19:26:18
问题 My operating system is Windows 7 64-bit. I am using Eclipse Luna. I have JBoss Tools 4.2.3.Final plugin. I am using Wildfly 8.2.1.Final in Standalone mode. I have a EAR app named TestApp . To publish it to Wildfly from Eclipse, in the Servers view, I right click on the Wildfly server to open the pop-up menu and click on Publish option. When I publish it to Wildfly from Eclipse, it is deployed as exploded in standalone\deployments directory i.e. a sub-directory named TestApp.ear is created in

Arquillian wildfly8.2 embedded : JBAS014670: Failed initializing module org.jboss.as.logging

江枫思渺然 提交于 2020-01-02 13:40:23
问题 I'm trying to set up a project that uses arquillian to do some kind of integration testing. I already went through some tutorials but can't get my test running. The exception I get is: Cannot not load JBoss LogManager. The LogManager has likely been accessed prior to this initialization. Jul 14, 2015 10:30:37 AM org.jboss.msc.service.ServiceContainerImpl <clinit> INFO: JBoss MSC version 1.2.2.Final Jul 14, 2015 10:30:37 AM org.jboss.as.server.ApplicationServerService start INFO: JBAS015899:

WildFly Postgres DataSource remote connection-url ignored

别来无恙 提交于 2020-01-02 12:01:49
问题 I am running into some configuration troubles in setting up a Keycloak server in standalone clustered mode. Despite configuring the datasource to use a postgres database on {REMOTE_IP} , it is failing to start the server complaining that it cannot connect to localhost:5432 . I've been searching all over but I'm befuddled why the DataSource would try to connect to localhost when the connection-url is set to a remote host. Is there any mistake in my configuration? How can I figure out why PG is

WildFly Postgres DataSource remote connection-url ignored

为君一笑 提交于 2020-01-02 12:01:37
问题 I am running into some configuration troubles in setting up a Keycloak server in standalone clustered mode. Despite configuring the datasource to use a postgres database on {REMOTE_IP} , it is failing to start the server complaining that it cannot connect to localhost:5432 . I've been searching all over but I'm befuddled why the DataSource would try to connect to localhost when the connection-url is set to a remote host. Is there any mistake in my configuration? How can I figure out why PG is

Inserting Postgres' json column using wildfly

浪尽此生 提交于 2020-01-02 09:10:12
问题 I'm running a web application which is a rest API and I'm using wildfly 9.0.2 and PostgreSQL. The database connection is using the latest jdbc4.2 driver and the jre is oracle's jr8. I installed the jdbc following this topic, and got it running perfectly so far I installed the datasource using the wildfly admin console. So the issue arrived when I attempted to insert a json field. I quickly realized JDBC doesn't have a direct method to insert a json field as it has for let's say String,