This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Job Exectuion Parmater für Hintergrundjob 'Nutzerdaten erstellen' | |
*/ | |
public CreateUserEntriesJobExecutinonParameter implements JobExcecutionParameter { | |
private Long emailId; | |
private boolean isPriority; | |
public CreateUserEntriesJobExecutinonParameter(Long eMailId, boolean priority) { | |
this.emailId = emailId; | |
this.priority = priority; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Job Exectuion Parmater für Hintergrundjob 'Nutzerdaten erstellen' | |
*/ | |
public CreateUserEntriesJobExecutinonParameter implements JobExcecutionParameter { | |
private Long userId; | |
private Long seasonId; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* coodoo Job Engine | |
* Job Execution Parameter Interface | |
*/ | |
public interface JobExcecutionParameter { | |
public default boolean isPriority() { | |
return false; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-post-size, value=20971520) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:undertow:1.0"> | |
... | |
<server name="default-server"> | |
<http-listener name="default" socket-binding="http" max-post-size="20971520"/> | |
<host name="default-host" alias="localhost"> | |
<location name="/" handler="welcome-content"/> | |
</host> | |
</server> | |
... | |
</subsystem> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.ejb.Singleton; | |
import javax.ejb.Lock; | |
import javax.ejb.LockType; | |
import javax.ejb.AccessTimeout; | |
/** | |
* Alle Methode erhalten per Default einen Timeout von 2 Minuten (60.000ms). | |
*/ | |
@Singleton | |
@AccessTimeout(value=60000) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.ejb.Singleton; | |
@Singleton | |
public class MyServiceSingleton { | |
public void doWork() { | |
// do the work.. | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Stateless | |
@Path("/my-rest-endpoint") | |
@Produces(MediaType.APPLICATION_JSON) | |
@Consumes(MediaType.APPLICATION_JSON) | |
public class MyResourceResource { | |
@Inject | |
MyImporter myImporter; | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://mvnrepository.com/artifact/org.jboss.ejb3/jboss-ejb3-ext-api --> | |
<!-- JBoss Transaction Timeout Annotation --> | |
<dependency> | |
<groupId>org.jboss.ejb3</groupId> | |
<artifactId>jboss-ejb3-ext-api</artifactId> | |
<version>2.2.0.Final</version> | |
<scope>provided</scope> | |
</dependency> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08:44:49,411 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) [] [] ARJUNA012117: TransactionReaper::check timeout for TX 0:ffffc0a80235:17a6ec81:5892e222:12 in state RUN | |
08:44:49,413 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) [] [] ARJUNA012095: Abort of action id 0:ffffc0a80235:17a6ec81:5892e222:12 invoked while multiple threads active within it. | |
08:44:49,503 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) [] [] ARJUNA012381: Action id 0:ffffc0a80235:17a6ec81:5892e222:12 completed with multiple threads - thread default task-2 was in progress with java.net.SocketInputStream.socketRead0(SocketInputStream.java) | |
java.net.SocketInputStream.socketRead(SocketInputStream.java:116) | |
java.net.SocketInputStream.read(SocketInputStream.java:170) | |
java.net.SocketInputStream.read(SocketInputStream.java:141) | |
com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:100) | |
com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:143) | |
com |