OSB: Using Tuxedo transport with eclipse development environment

…service inside of eclipse the errors popped up again. Bernhard Mähr @ OPITZ-CONSULTING published at http://thecattlecrew.wordpress.com/ Click to share on Facebook (Opens in new window) Click to share on Twitter (Opens in new window) Click to share on WhatsApp (Opens in new window) Click to share on Telegram (Opens in new window) Click to print (Opens in new window) Click to email a link to a friend (Opens in new window) More Click to share on Pock…

Continue reading


Setting up a own CA for the enterprise

…cond step is to create the certificate of the root CA: 1 openssl req -x509 -new -days 3650 -md sha256 -config /etc/pki/tls/openssl.cnf -extensions root_ca_extensions -key ${ROOT_CA_KEY} -out ${ROOT_CA_CRT} -passin pass:${ROOT_CA_PWD} ROOT_CA_PWD is the password for the private key of the root certificate. ROOT_CA_CRT is the root certificate of the CA. Now our CA is ready to create certificates with associated private keys and signing certificate s…

Continue reading


Bringing Apache virtual hosts and and conf together

…. But in fact there is a much simpler solution: Don’t add links to the conf-enabled folder to enable the configurations. Instead add lines like “Include conf-available/wordpress.conf” to the virtual host configuration. Click to share on Facebook (Opens in new window) Click to share on Twitter (Opens in new window) Click to share on WhatsApp (Opens in new window) Click to share on Telegram (Opens in new window) Click to print (Opens in new window)…

Continue reading


Back to the roots: Nachvollziehbarkeit und Konsistenz – Vom Fachkonzept zum Code

…n a paper for the magazine OBJEKTspektrum. And here it is: http://www.opitz-consulting.com/fileadmin/redaktion/veroeffentlichungen/pdf/objekt_spektrum_2010_6_maehr_sicher.pdf Bernhard Mähr @ OPITZ-CONSULTING published at http://thecattlecrew.wordpress.com/ Click to share on Facebook (Opens in new window) Click to share on Twitter (Opens in new window) Click to share on WhatsApp (Opens in new window) Click to share on Telegram (Opens in new window)…

Continue reading


Reliable restart of the weblogic server

…n shell, that’s why we need to set some environment Variables 4 HOSTNAME=my-weblogic-server.opitz-consulting.com 5 export HOSTNAME 6 env 7 8 DOMAIN_NAME=base_domain 9 DOMAIN_HOME=”/u01/app/oracle/middleware/user_projects/domains/${DOMAIN_NAME}” 10 11 echo Trying to stop CI for 60 seconds … 12 13 cd ${DOMAIN_HOME} 14 ( ${DOMAIN_HOME}/bin/stopWebLogic.sh ) & sleep 60 ; kill $! 15 16 echo Killing CI if not stopped now … 17 18 pkill -f ${DOMAIN_NA…

Continue reading


OSB: Java Callout with XML input and output parameter

…ole thing to OSB and test it with the debug window.   Bernhard Mähr @ OPITZ-CONSULTING published at http://thecattlecrew.wordpress.com/ Click to share on Facebook (Opens in new window) Click to share on Twitter (Opens in new window) Click to share on WhatsApp (Opens in new window) Click to share on Telegram (Opens in new window) Click to print (Opens in new window) Click to email a link to a friend (Opens in new window) More Click to share on Pock…

Continue reading


Finding differences in two Open-Office-Writer documents

…string. This is done recursively until no further replace is possible: 1 [a-zA-Z0-9\-]+:[a-zA-Z0-9\-]+=”[^”]*” 2 <([a-zA-Z0-9\-]+:)?[a-zA-Z0-9\-]+\s*/> 3 <([a-zA-Z0-9\-]+:)?[a-zA-Z0-9\-]+\s*>\s*</([a-zA-Z0-9\-]+:)?[a-zA-Z0-9\-]+> 4 <text:changed\-region\s*>.*?<\/text:changed\-region> 5 <office:annotation\s*>.*?<\/office:annotation> 6 <text:bookmark-ref\s*>.*?<\/text:bookmark-ref> Finally we use the “Pretty print (libxml)” function of XML Tools to…

Continue reading


OSB: Configurable basic authentication

…to the business service in our configuration file.   Bernhard Mähr @ OPITZ-CONSULTING published at http://thecattlecrew.wordpress.com/ Click to share on Facebook (Opens in new window) Click to share on Twitter (Opens in new window) Click to share on WhatsApp (Opens in new window) Click to share on Telegram (Opens in new window) Click to print (Opens in new window) Click to email a link to a friend (Opens in new window) More Click to share on Pock…

Continue reading


Encrypted credentials in Maven with jasypt

…s: 1 <plugin> 2 <groupId>org.codehaus.gmaven</groupId> 3 <artifactId>groovy-maven-plugin</artifactId> 4 <executions> 5 <execution> 6 <id>decrypt-passwords</id> 7 <phase>validate</phase> 8 <goals> 9 <goal>execute</goal> 10 </goals> 11 <configuration> 12 <source> 13 import org.jasypt.properties.EncryptableProperties 14 import org.jasypt.encryption.pbe.StandardPBEStringEncryptor 15 16 if(properties[“jasypt.encryption.password”]==null){ 17 ant.echo “[…

Continue reading


Creating SSLContext for up-to-date HTTPS communiction with client certificate

…the blog post http://denistek.blogspot.co.at/2010/05/mutual-authentication-with-client.html. private static class AliasPreferingX509KeyManager implements X509KeyManager { private final X509KeyManager x509KeyManager; private final String alias; private AliasPreferingX509KeyManager(final X509KeyManager x509KeyManager, final String alias) { this.x509KeyManager = x509KeyManager; this.alias = alias; } @Override public String[] getClientAliases(final S…

Continue reading