Tag Archives: Java

Compressed HTTP Requests

Optimizing traffic size is a important thing for two main reasons: speed and traffic — saving time and bandwidth. For example think of mobile applications.

Posted in Software Development, System Administration | Tagged , , , | Leave a comment

GlassFish, OS X and launchctl

While testing an application with Arquillian, GlassFish and Maven I got launchctl bsexec failed: Inappropriate ioctl for device from OS X. GlassFish cannot be started, failing with lots of org.osgi.framework.BundleExceptions.

Posted in Software Development, System Administration | Tagged , , , | Leave a comment

Installing Jenkins on FreeBSD 8.3

Install Jenkins is as easy as downloading the .war or using a port.

Posted in Software Development, System Administration | Tagged , | Leave a comment

JAX-WS 2.2 and Method Not Found

Just got Method not found for required = false when working on a Maven based project in IntelliJ IDEA 12.

Posted in Software Development | Tagged , , | Leave a comment

Java And NPT Library Not Found Error

Finding Just got a NPT ERROR: Cannot open library while starting Java application server GlassFish Open Source Edition 3.1.2.2 under FreeBSD 8.3 with OpenJDK 7 in –debug=true mode.

Posted in Software Development | Tagged , | Leave a comment

Convert An Existing Tomcat User Database To Digested Passwords

I had to convert an existing, XML-backed Tomcat user database (conf/tomcat-users.xml) containing plain text passwords to MD5 digests for use with HTTP digest authentication.

Posted in Software Development | Tagged , | Leave a comment

Polymorphie und Kovarianz unter Kängurus

Diese Frage bezieht sich auf mein Java Videotraining “Einstieg in Java”, Galileo Press, Kapitel 5.3 – Vererbung.

Posted in Software Development | Tagged , | Leave a comment

JSF Converters and equals, hashCode

When working with JSF converters, take care of having implemented the boolean equals() and int hashCode() methods in your class. If they are not implemented, JSF will throw a validation error.

Posted in Software Development | Tagged , | Leave a comment

Logische und Bit-Operatoren in Java

Ich bekam eine Anfrage von einem Nutzer meines Videotrainings Java für Einsteiger und möchte sie hier beantworten.

Posted in Software Development | Tagged , | Leave a comment

Using Apache As Proxy For Java Applications

Just a short how-to enable Apache web server to serve as a proxy for Java applications. I assume a Java application server bound to localhost:8080. The commands shown relate to a Debian GNU/Linux.

Posted in Software Development, System Administration | Tagged , | Leave a comment

Cannot Launch Java After Mountain Lion Upgrade

After upgrading to Mountain Lion (OS X 10.8) I could not start any Java applications and got the following error message:

Posted in System Administration | Tagged , , | Leave a comment

Script To Find A Java Class in A Bunch Of Jars

I had to find a class in a directory with a huge count of jars… JBoss AS 7 in this case.

Posted in Software Development | Tagged , | Leave a comment

Galileo-Videotraining Einstieg in Java und twitter4j

Im Videotraining Einstieg in Java wird als Projekt ein Twitter-Client unter Verwendung der twitter4j Bibliothek erstellt. Als ich das Training im November 2010 aufgenommen habe war die aktuelle Version 2.1.7-SNAPSHOT. Leider wird diese Version nicht mehr wie im Video gezeigt … Continue reading

Posted in Software Development | Tagged , | Leave a comment

Single or Double Quotation Marks In Groovy

In Groovy you can choose between single quotation marks ‘ or double quotation marks ” to represent a string. As opposed to Java, where single quotation marks denote a single character and double quotation marks denote a string.

Posted in Software Development | Tagged , , | Leave a comment

Installing Java 6 And GlassFish 3.1 On FreeBSD 8.0

I’m in the process of creating a HA cluster based on FreeBSD, GEOM, HAST and ZFS. For our customers we need Java and GlassFish as well.

Posted in System Administration | Tagged , , , | Leave a comment

Configuring JDK 6 On Mac OS X

I needed to install Oracle JDeveloper and WebLogic Server, but the installer did not find an existing Java installation. After some research I saw that the directory structure of the JDK is not compatible to the “normal” setup. After some … Continue reading

Posted in Software Development, System Administration | Tagged , , | Leave a comment

Java Training für Einsteiger

Mein neues Java-Training für Einsteiger (erschienen Dezember 2010 bei Galileo Press, ISBN-10 3-8362-1568-3, ISBN-13 978-3-8362-1568-8) ist auf Platz 1 der Bestseller-Liste bei Amazon im Bereich Software/Java!

Posted in Software Development | Tagged , | Leave a comment