This file contains 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
ServerRoot "/home/karm/JBCS/2.4.37-ER2/jbcs-httpd24-2.4/httpd" | |
Listen 9800 | |
LoadModule authn_file_module modules/mod_authn_file.so | |
LoadModule authn_socache_module modules/mod_authn_socache.so | |
LoadModule authn_core_module modules/mod_authn_core.so | |
LoadModule authz_host_module modules/mod_authz_host.so | |
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so | |
LoadModule authz_user_module modules/mod_authz_user.so | |
LoadModule authz_core_module modules/mod_authz_core.so | |
LoadModule access_compat_module modules/mod_access_compat.so |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example</groupId> | |
<artifactId>demo</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<properties> | |
<failOnMissingWebXml>false</failOnMissingWebXml> |
This file contains 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
19:18:51,312 INFO [io.qua.dep.QuarkusAugmentor] Beginning quarkus augmentation | |
19:18:51,471 ERROR [io.qua.dev.DevModeMain] Failed to start quarkus: java.lang.NoClassDefFoundError: org/eclipse/microprofile/health/Liveness | |
at io.quarkus.smallrye.health.deployment.SmallRyeHealthProcessor.<clinit>(SmallRyeHealthProcessor.java:36) | |
at java.base/java.lang.Class.forName0(Native Method) | |
at java.base/java.lang.Class.forName(Class.java:374) | |
at io.quarkus.deployment.util.ServiceUtil.classesNamedIn(ServiceUtil.java:30) | |
at io.quarkus.deployment.ExtensionLoader.loadStepsFrom(ExtensionLoader.java:238) | |
at io.quarkus.deployment.ExtensionLoader.loadStepsFrom(ExtensionLoader.java:137) | |
at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:75) | |
at io.quarkus.runner.RuntimeRunner.run(RuntimeRunner.java:107) |
This file contains 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
"Check for segmentation faults" | |
Get-Content : Cannot find path 'C:\logs\error_log' because it does not exist. | |
At line:1 char:7 | |
+ if(@( Get-Content \logs\error_log | Where-Object { $_.Contains('fault') -or |
This file contains 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 java.util.HashMap; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
public class Main { | |
private static Map<Integer, String> jobs = new HashMap<Integer, String>() { | |
{ | |
IntStream.range(0, 100).forEach(n -> put(n, "Something "+n)); |
This file contains 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 java.util.HashMap; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
public class Main { | |
private static Map<Integer, String> jobs = new HashMap<Integer, String>() { | |
{ | |
IntStream.range(0, 100).forEach(n -> put(n, "Something "+n)); |
This file contains 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
version: '3' | |
services: | |
mp-starter: | |
image: "microprofile/start.microprofile.io:1.0-SNAPSHOT" | |
user: wildfly | |
ports: | |
- 443:8443 | |
- 80:8080 | |
restart: always | |
environment: |
This file contains 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
java.lang.ClassNotFoundException: javax.transaction.TransactionManager | |
java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) | |
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563) | |
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496) | |
java.base/java.lang.Class.getDeclaredConstructors0(Native Method) | |
java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3110) | |
java.base/java.lang.Class.getConstructor0(Class.java:3315) | |
java.base/java.lang.Class.getConstructor(Class.java:2108) | |
org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:72) | |
java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:325) |
This file contains 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<Context> | |
<!-- Narayana resources --> | |
<Transaction factory="org.jboss.narayana.tomcat.jta.UserTransactionFactory"/> | |
<Resource factory="org.jboss.narayana.tomcat.jta.TransactionManagerFactory" | |
name="TransactionManager" | |
type="javax.transaction.TransactionManager"/> | |
<Resource factory="org.jboss.narayana.tomcat.jta.TransactionSynchronizationRegistryFactory" | |
name="TransactionSynchronizationRegistry" | |
type="javax.transaction.TransactionSynchronizationRegistry"/> |
This file contains 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
#!/bin/bash | |
wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.4/bin/apache-tomcat-9.0.4.zip | |
unzip apache-tomcat-9.0.4.zip | |
export CATALINA_HOME=`pwd`/apache-tomcat-9.0.4/ | |
cat <<EOT >> ${CATALINA_HOME}/conf/logging.properties | |
org.apache.tomcat.tomcat-jdbc.level = ALL | |
org.h2.level = ALL | |
org.postgresql.level = ALL |